Skip to content

Commit 2a1cf68

Browse files
authored
Merge pull request #68 from eduralph/chore/67-relicense-apache2
chore(license): relicense to Apache-2.0 + DCO/NOTICE/CONTRIBUTING
2 parents 5448eb3 + d6f4786 commit 2a1cf68

13 files changed

Lines changed: 569 additions & 1353 deletions

File tree

CONTRIBUTING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Contributing to pdca-harness
2+
3+
Thanks for contributing. This project is licensed under the
4+
[Apache License, Version 2.0](LICENSE); contributions are accepted under the same
5+
license.
6+
7+
## Developer Certificate of Origin (sign-off)
8+
9+
Contributions are gated on the [Developer Certificate of Origin](DCO) (DCO 1.1).
10+
By signing off you certify the DCO's terms for your contribution. Sign off every
11+
commit with:
12+
13+
```bash
14+
git commit -s
15+
```
16+
17+
This appends a `Signed-off-by: Your Name <you@example.com>` trailer (using your
18+
`git config user.name` / `user.email`). Amend a commit that's missing it with
19+
`git commit --amend -s`.
20+
21+
## Engineering discipline
22+
23+
- One logical change per commit / PR; split unrelated changes.
24+
- A change ships with the means to verify it — a test, or a stated reason why a test
25+
is impractical plus a manual repro.
26+
- Keep the offline suite green: `cd template && PYTHONPATH=src python3 -m unittest discover -s tests`.
27+
28+
See the vendored process model under `template/PCDA/quality-cycle/` for the full
29+
Plan · Do · Check · Act discipline this harness embodies.

DCO

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Developer Certificate of Origin
2+
Version 1.1
3+
4+
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
5+
6+
Everyone is permitted to copy and distribute verbatim copies of this
7+
license document, but changing it is not allowed.
8+
9+
10+
Developer's Certificate of Origin 1.1
11+
12+
By making a contribution to this project, I certify that:
13+
14+
(a) The contribution was created in whole or in part by me and I
15+
have the right to submit it under the open source license
16+
indicated in the file; or
17+
18+
(b) The contribution is based upon previous work that, to the best
19+
of my knowledge, is covered under an appropriate open source
20+
license and I have the right under that license to submit that
21+
work with modifications, whether created in whole or in part
22+
by me, under the same open source license (unless I am
23+
permitted to submit under a different license), as indicated
24+
in the file; or
25+
26+
(c) The contribution was provided directly to me by some other
27+
person who certified (a), (b) or (c) and I have not modified
28+
it.
29+
30+
(d) I understand and agree that this project and the contribution
31+
are public and that a record of the contribution (including all
32+
personal information I submit with it, including my sign-off) is
33+
maintained indefinitely and may be redistributed consistent with
34+
this project or the open source license(s) involved.

LICENSE

Lines changed: 202 additions & 674 deletions
Large diffs are not rendered by default.

NOTICE

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pdca-harness
2+
Copyright 2026 Eduard Ralph
3+
4+
This product is licensed under the Apache License, Version 2.0 (the "License").
5+
You may obtain a copy of the License in the LICENSE file at the repository root
6+
or at http://www.apache.org/licenses/LICENSE-2.0

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,14 @@ See `template/PCDA/quality-cycle.md` for the model and the maturity ladder.
116116

117117
Copyright © 2026 Eduard Ralph.
118118

119-
pdca-harness is free software, licensed under the **GNU General Public License,
120-
version 3** ([LICENSE](LICENSE)) — use, study, modify, and redistribute it under
121-
the GPLv3; derivative works must also be GPLv3. The driver code and docs this
122-
template copies into a rendered project carry the GPLv3 into that project.
119+
pdca-harness is licensed under the **Apache License, Version 2.0**
120+
([LICENSE](LICENSE), [NOTICE](NOTICE)) — a permissive license. The driver code and
121+
templates this project copies into a rendered repo are Apache-2.0, so the rendered
122+
output carries no copyleft and is compatible with a permissive license policy (e.g. a
123+
`cargo-deny`-style allowlist); a host repo keeps its own license. A rendered project
124+
declares its own license via the `project_license` copier question (default
125+
`Apache-2.0`).
126+
127+
Contributions are accepted under Apache-2.0 and gated on the
128+
[Developer Certificate of Origin](DCO) — sign off commits with `git commit -s`. See
129+
[CONTRIBUTING.md](CONTRIBUTING.md).

copier.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@ author_email:
7171
help: Primary author / maintainer email
7272
default: ""
7373

74+
# License the rendered project declares (pyproject + NOTICE). The harness itself is
75+
# Apache-2.0; the rendered output carries no copyleft, so a permissive host can keep
76+
# its own policy. An SPDX identifier (e.g. Apache-2.0, MIT, BSD-3-Clause). The shipped
77+
# LICENSE file is the Apache-2.0 text — swap it if you choose a different license here.
78+
project_license:
79+
type: str
80+
help: SPDX license the rendered project declares (Apache-2.0 keeps the shipped LICENSE)
81+
default: "Apache-2.0"
82+
7483
# ----------------------------------------------------------------------------
7584
# Integration: tracker (docs 05 item 1)
7685
# ----------------------------------------------------------------------------

docs/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ meta:
1010
title: "PDCA Harness — verified AI contribution, one quality cycle at a time"
1111
description: "A Copier template for an AI-driven PDCA quality-cycle harness: Plan, Do, Check, Act over every contribution, with a human at the three touch points that matter."
1212
og_title: "PDCA Harness — verified AI contribution, one quality cycle at a time"
13-
og_description: "Turn each AI contribution into one PDCA cycle: a precise brief, an automated build, a deterministic red→green Check, and a human sign-off. Copier template, GPLv3."
13+
og_description: "Turn each AI contribution into one PDCA cycle: a precise brief, an automated build, a deterministic red→green Check, and a human sign-off. Copier template, Apache-2.0."
1414

1515
hero:
1616
status: "Iterating your way to a better process, one contribution at a time."

template/CONTRIBUTING.md.jinja

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Contributing to {{ project_name }}
2+
3+
This project is licensed under the [{{ project_license }}](LICENSE) license;
4+
contributions are accepted under the same license.
5+
6+
## Developer Certificate of Origin (sign-off)
7+
8+
Contributions are gated on the [Developer Certificate of Origin](DCO) (DCO 1.1).
9+
By signing off you certify the DCO's terms for your contribution. Sign off every
10+
commit with:
11+
12+
```bash
13+
git commit -s
14+
```
15+
16+
This appends a `Signed-off-by: Your Name <you@example.com>` trailer. Amend a commit
17+
that's missing it with `git commit --amend -s`.
18+
19+
## Quality cycle
20+
21+
This project runs the PDCA quality cycle (Plan · Do · Check · Act). Read
22+
`PCDA/quality-cycle/` for the model and `docs/INTEGRATION.md` for this repo's
23+
concretizations. Keep the deterministic Check gates green before contributing — see
24+
`pdca gates` and `.github/` for how they re-run at the merge boundary.

template/DCO

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Developer Certificate of Origin
2+
Version 1.1
3+
4+
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
5+
6+
Everyone is permitted to copy and distribute verbatim copies of this
7+
license document, but changing it is not allowed.
8+
9+
10+
Developer's Certificate of Origin 1.1
11+
12+
By making a contribution to this project, I certify that:
13+
14+
(a) The contribution was created in whole or in part by me and I
15+
have the right to submit it under the open source license
16+
indicated in the file; or
17+
18+
(b) The contribution is based upon previous work that, to the best
19+
of my knowledge, is covered under an appropriate open source
20+
license and I have the right under that license to submit that
21+
work with modifications, whether created in whole or in part
22+
by me, under the same open source license (unless I am
23+
permitted to submit under a different license), as indicated
24+
in the file; or
25+
26+
(c) The contribution was provided directly to me by some other
27+
person who certified (a), (b) or (c) and I have not modified
28+
it.
29+
30+
(d) I understand and agree that this project and the contribution
31+
are public and that a record of the contribution (including all
32+
personal information I submit with it, including my sign-off) is
33+
maintained indefinitely and may be redistributed consistent with
34+
this project or the open source license(s) involved.

0 commit comments

Comments
 (0)