Context and Problem Statement
Under 0002 code.overheid.nl holds read-only mirrors and checks every mirrored commit (rule 3 there). Those checks read files: publiccode.yml, licenses, leaked secrets, known vulnerabilities. A proposal from within the team goes two steps further.
The first step is building. To say something about quality, code.overheid.nl would build each repository and, while building, produce an SBOM, run the unit tests and measure coverage. Many repositories have no workflow for that, so the proposal adds those workflows to the copy on code.overheid.nl and offers the same change to the origin as a pull request.
The second step is suggestions that the quality picture does not need but that are still worth offering. A missing license is the example: code.overheid.nl cannot choose one for the author, and it can propose EUPL-1.2.
Next to this, a set of template repositories is being made on the forge of developer.overheid.nl and mirrored to code.overheid.nl: an EUPL license, a README, a publiccode.yml with an nl section, an SBOM workflow, trufflehog, pre-commit, and the API Design Rules linter for API templates.
The proposal collides with 0002 in two places. Rule 1 says the mirror is read-only and the origin is the one source of truth, so a workflow added to the copy has nowhere to live. Rule 6 says no account of Code Punt signs in at a forge, and the confirmation of 0002 ends with "code.overheid.nl keeps no account and no access token on any forge"; a pull request at the origin needs some identity there. This ADR decides how far the proposal goes, and where 0002 changes.
An example to hold on to: a municipality has a repository with a Dockerfile, a test directory, no workflows and no license file. It is public and mirrored.
Decision Drivers
- The mirror is identical to the origin, commit for commit (0002, rule 1).
- code.overheid.nl holds no account and no token at a forge that did not ask for one (0002, rule 6).
- An organization decides what enters its repository. Only the rightsholder licenses code.
- A maintainer who did not ask for pull requests gets none, and a suggestion that was declined stays declined.
- Every mirror gets the same evidence, whether or not its origin runs Actions.
- A result can be traced to one commit and to who built it.
- The cost of building is bounded before the first build runs.
- It works with Forgejo as it is.
- A new repository starts with the right files, so fewer repositories need a suggestion at all.
Considered Options
Where build and test results come from:
- C1. Workflows committed to the copy on code.overheid.nl
- C2. A pipeline definition of Code Punt, applied to the mirrored commit from outside the repository
- C3. Only what the origin builds and reports itself
- C4. No builds, only the checks of 0002
What happens to what is built:
- K1. Thrown away after the run; only the evidence stays
- K2. Published in the package registry of code.overheid.nl, signed by Code Punt
- K3. Published in that registry as the run left it, unsigned
How a suggestion reaches the origin:
- D1. No suggestions; the check results are the message
- D2. Shown on the page of the mirror, for a maintainer to apply by hand
- D3. Pull requests by a bot account of code.overheid.nl at the forge
- D4. Pull requests in the name of a maintainer, through the acting route of 0002 rule 2
- D5. The origin fetches its suggestions and opens the pull request with its own token
- D6. Templates only: good defaults at creation, nothing afterwards
Decision Outcome
Chosen option: "C2. A pipeline definition of Code Punt, applied to the mirrored commit from outside the repository". What is built is published and signed: "K2. Published in the package registry of code.overheid.nl, signed by Code Punt". Suggestions are always shown on the mirror (D2) and can be sent by a maintainer in their own name (D4). Pull requests that nobody has to click for come from a bot account of code.overheid.nl (D3) at the forges of organizations that admit it in the register, and from the origin's own workflow (D5) elsewhere. The templates (D6) are where the content of every suggestion comes from.
D3 is an exception to rule 6 of 0002, made per organization and by that organization. A forge that did not admit the bot has no account of code.overheid.nl on it, as before.
flowchart TB
tmpl["Templates<br/>forge of developer.overheid.nl"]
origin["Origin forge"]
subgraph cod["code.overheid.nl"]
direction TB
mirror["Read-only mirror"]
pipe["Pipeline definition of Code Punt<br/>runs on runners of Code Punt"]
evidence["Results with signed provenance"]
sugg["Suggestions, as patches"]
mirror --> pipe --> evidence
mirror --> sugg
end
origin == "pull mirror" ==> mirror
tmpl -- "mirrored" --> sugg
sugg -. "sent by a maintainer,<br/>in their own name" .-> origin
sugg -. "pushed by the bot, where<br/>the organization admits it" .-> origin
sugg -. "fetched by a workflow<br/>at the origin" .-> origin
The rules continue the numbering of 0002.
10. code.overheid.nl builds from a definition outside the repository. The pipeline definition lives in a repository of Code Punt on code.overheid.nl. A run takes the address of a mirror and a commit, checks that commit out and builds it on runners of Code Punt. Nothing is committed or pushed to the mirror, so rule 1 stands as written. Committing a workflow to the copy (C1) would do more than break a rule: the commit that carries the workflow has a different hash than any commit at the origin, and the results would then describe code that exists only on code.overheid.nl.
The pipeline builds what it can recognize, starting with a Dockerfile and the common package manifests, and a repository can name its build and test commands in the nl section of publiccode.yml. For the example repository it builds the image, writes an SBOM of the result, runs the tests and records coverage. A repository it cannot build shows "not built" with the reason, which is not a failed check. Builds run for the head of the default branch and for release tags, with a time limit per run. That matches what the proof of concept of 0002 checks today (the head of each default branch) and keeps the bill proportional to the number of repositories, not the number of commits. We have no measurement of the cost yet.
Every mirror is built, including mirrors of government code whose organization is not in the register, such as code on GitHub.
Next to that pipeline, a mirror runs the origin's own workflows, exactly as the YAML at the origin says. A push or a tag that arrives through the mirror sync starts them, and so do schedule and workflow_dispatch. Pull requests are off on a mirror, so those triggers never fire. code.overheid.nl has none of the origin's secrets, so a job that needs one fails. Artifacts of jobs that succeed are kept, and published and signed under rule 11. They are the origin's own artifacts, made by the origin's definition; the SBOM, the test result and the coverage figure still come from the pipeline of Code Punt.
A build runs code that code.overheid.nl did not write, and so does a workflow of the origin. Each run gets a fresh runner without secrets, and the runner does not hold the signing key of rule 11. Dependencies have to be downloaded, so the runner has outbound network access; a build that needs a private registry fails and shows "not built".
11. A build result is evidence about one commit, and what was built is published, both signed by code.overheid.nl. Every run produces a provenance statement that names the origin's address, the commit, the version of the pipeline definition and the digests of what was built. A service outside the runner signs it. The SBOM, the test report and the coverage figure hang on that statement, and the bot that posts the results of rule 3 sets them as commit statuses on the mirror. A forge that reports back (rule 3) receives them the same way as the other results, and decides in its branch protection what they block.
What a run builds is published in the package registry of code.overheid.nl, which is Forgejo's own: container images in its OCI registry, SBOMs and other build output as generic packages. They sit under the organization on code.overheid.nl, next to the mirror, and anyone can download them. This holds for the pipeline of Code Punt and for the artifacts of the origin's workflows on the mirror (rule 10).
A run does not publish anything itself. In Forgejo 15.0.11 the automatic token of a run cannot write packages: services/packages/perm.go gives the actions user read access at most. A workflow therefore only leaves Actions artifacts. Code Punt collects them after a successful run, told by an organization webhook and by polling, and publishes them by a naming convention. An artifact with an image.tar becomes an image tagged with the commit and the tag, a *.cdx.json or sbom*.json becomes the SBOM, and any other file a generic package.
Code Punt signs in a step of its own, after the run and outside the runner, with a key that the repository's code cannot read. An image gets a cosign signature, the SBOM and the provenance statement become signed attestations, and any other file gets a detached signature. The public key is published, so anyone can verify. This is another key than the one a forge signs its own commits with (0002, rule 7). That one shows which forge made a commit. This one says: Code Punt saw this as the output of run X of commit Y on its runner. The statement is SLSA provenance v1, signed by the platform. It does not say that the code is safe, and it says nothing about the artifact the organization itself released.
That statement is as strong as the isolation of the build. On a shared runner in host mode a job can pose as the runner, and the provenance is then weak. Production needs a runner that is thrown away after each job. Coverage is shown as a number, without a threshold.
In production the signing key lives in a hardware security module (HSM). The service asks the HSM for a signature and never holds the key, so whoever takes over the service does not walk away with it. The HSM does not judge what it signs. Someone in control of the service can still ask for a signature on a false statement, and the HSM records who asked and when. The proof of concept keeps the key in the service. It records its signatures in no public transparency log, so a verifier has to tell cosign not to look for one (--insecure-ignore-tlog=true). Whether signatures go into a public log such as Rekor, which shows everything that was ever signed, is still open.
12. A suggestion is a change taken from the templates. The templates on the forge of developer.overheid.nl are the one source: a new repository starts from them, and a suggestion for an existing repository is the template's file where the repository has none. There are two groups.
The first group is the workflows that do at the origin what the pipeline of rule 10 does on code.overheid.nl: build, SBOM, tests, coverage. code.overheid.nl keeps building either way, since every mirror gets the same evidence. The gain for the origin is feedback on a pull request before it is merged, which code.overheid.nl never sees. These suggestions exist only for forge software the templates have workflows for, and they need Actions at the origin.
The second group is everything else the templates carry: a license, a README, a publiccode.yml with its nl section, secret scanning with trufflehog, pre-commit, and the API Design Rules linter where the repository publishes an OpenAPI description.
A suggestion never changes a file the organization wrote. A repository with an MIT license gets no suggestion to move to EUPL. The one kind of file code.overheid.nl proposes changes to is a file it suggested itself: when a template changes, it offers the update where its earlier suggestion was merged and the file is still byte for byte what was merged. Once the organization has edited the file, it is the organization's and gets no more updates.
13. Every suggestion is shown on the mirror, and delivery goes as far as the repository and its organization choose. One key takes three values. off: code.overheid.nl makes no suggestions. show: suggestions appear on the page of the mirror, each as a patch with the command to apply it, and with the button of rule 14. pull-request: suggestions also arrive at the origin as pull requests without anyone clicking. The organization sets the value in the register (rule 9) and a repository sets it in the nl section of its publiccode.yml. The repository wins, and where neither says anything the value is show. A repository can also list single suggestions that do not apply, with a reason, as it can for checks under rule 3.
In the register pull-request is more than a default. With it the organization admits the bot of rule 14 to its forge.
14. A pull request at the origin comes from a person, from the bot where the organization admits it, or from the origin's own workflow.
By a person: under show and pull-request, someone the owning organization vouches for sees a button next to each suggestion on the mirror, and nobody else does. code.overheid.nl then pushes the suggested commit to refs/for/<target branch>/code-overheid-<suggestion> at the origin, in that person's name and with their consent, as in rule 2 but without a fork. The commit names code.overheid.nl as author; the pull request is the person's.
By the bot: an organization whose register entry says pull-request creates an account for the bot of code.overheid.nl on its forge, in no team and without rights on any repository, and gives Code Punt a token for it outside the register. The bot pushes suggestions to the same AGit reference, under its own name, for every repository of that organization whose value is pull-request. A repository there that says show or off is left alone. When the organization changes its entry, Code Punt destroys the token and the organization removes the account. For a forge that Code Punt runs (rule 8) the organization's administrator creates the account, the same as anywhere else.
By the origin: a repository that says pull-request in an organization without the bot gets its pull requests from the workflow of rule 3. That workflow fetches the suggestions for its repository along with the results and opens the pull request with the origin's own token. Adding the workflow is itself a suggestion of the first group, sent once by a person.
An organization that is not in the register has nobody who is vouched and no entry that could admit the bot. Its repositories are built and their suggestions are shown, with the patch. They never get a pull request from code.overheid.nl, whatever their publiccode.yml says.
15. One suggestion at a time, and closing one means no. A repository has at most one open pull request from suggestions. The topic in the branch name is fixed per suggestion, so sending the same suggestion twice updates the pull request that is there and never opens a second. The order is fixed too: the license comes first, then publiccode.yml, then the workflows, and updates under rule 12 last. The next suggestion follows no sooner than a week after the previous one was merged or closed.
When a pull request from a suggestion is closed without a merge, code.overheid.nl records that suggestion as declined for that repository and does not deliver it again. It stays visible on the mirror as declined, and someone of the organization can reopen it there. code.overheid.nl learns the state by reading the origin's public API without signing in. The bot closes its own pull request when the origin has settled the matter another way; that is not a decline.
16. A license suggestion is a proposal by code.overheid.nl and a decision by the organization. The suggestion adds the EUPL-1.2 text as LICENSE, the license the templates use, and only where the repository has no license file and names no license in publiccode.yml. Its description says three things: that the code is not licensed until someone who may decide that for the organization merges it, that the organization has to hold the rights to all of the code, including contributions from suppliers and outside contributors, and that it has to check its dependencies against the EUPL.
The license suggestion is never delivered automatically. The bot does not push it and the origin's workflow does not open it; under every value it is shown, and it becomes a pull request only through the button of rule 14, so a person of the organization has chosen to put the question. While it waits for that click it does not hold up the suggestions after it.
A public repository without a license may be public without being meant as open source. The organization says so by marking the license check as not applicable with a reason (rule 3). code.overheid.nl then shows that reason on the mirror, with the notice that the code can be read and not reused, and makes no license suggestion.
Changes to ADR 0002
The changes are made in 0002. In short:
- Rule 1: the mirror stays read-only for code and issues. Added: code.overheid.nl never commits to a mirror, builds from a definition outside it, and runs the origin's own workflows on it (rule 10).
- Rule 3: the examples of checks gain what a build shows. The
nlsection gains the key of rule 13. The report-back workflow is no longer "a ready change on the page of the mirror" but a suggestion under rule 12, and it fetches suggestions as well as results. - Rule 4: code.overheid.nl acts in someone's name for rule 2 and for sending a suggestion that person chose to send. The second OAuth2 application and its scope stay the same.
- Rule 6: "none of these accounts signs in at a forge" gets one exception, the bot at a forge whose organization admits it.
- Rule 7: the seven things a forge does to join stay. An eighth is added as optional: an account for the bot.
- Rule 8: Code Punt keeps no account or token on a forge it set up, except the bot where the organization admits it.
- Rule 9: the register gains the organization's value for suggestions, which is also where it admits the bot.
- The mission paragraph and the last confirmation of 0002 are adjusted to match: code.overheid.nl builds for evidence, runs the workflows an origin already has and publishes what it builds in its registry, and the no-account check allows the admitted bot.
- The open item "signed results" is needed from the first build under rule 11.
Consequences
- Good, because the mirror stays identical to the origin and every result is about a commit that exists there.
- Good, because code.overheid.nl has an account only at forges whose organization wrote that choice into the register, where anyone can read it.
- Good, because the example municipality gets an SBOM, a test result and a coverage figure without changing anything, and a license question a colleague can put with one click.
- Good, because templates and suggestions cannot drift apart: a fix in a template reaches new repositories, open suggestions and merged ones that were left untouched.
- Bad, because in an organization that keeps the default, a repository whose maintainers never look at the mirror never hears about a suggestion.
- Bad, because code.overheid.nl now holds a token at some forges. A leaked token cannot change code, since the account has no rights; it can open pull requests under the bot's name at that forge until the token is revoked.
- Bad, because there are two kinds of forge to keep apart, with and without the bot, in the register, in the confirmation checks and in what Code Punt has to rotate and guard.
- Bad, because code.overheid.nl runs unknown build scripts and strangers' workflows on its own runners, with outbound network access. Isolation of the runners becomes part of what Code Punt has to run and watch.
- Bad, because the origin's workflows run on runners of Code Punt for every mirrored repository, at whatever length and frequency the origin chose. That is a second running cost next to the pipeline.
- Bad, because a workflow with side effects, such as a deploy or a release, starts on the mirror too. Without secrets it should fail, and a step that needs none still runs.
- Bad, because a scheduled workflow runs twice, at the origin and on the mirror.
- Bad, because recognizing how to build a repository is guesswork for anything beyond the common cases, and "not built" will be frequent at first.
- Good, because anyone can download an image or an SBOM of government code and verify that code.overheid.nl built it from a commit at the origin.
- Bad, because the registry stores every published build. How long an artifact is kept, and which builds are kept at all, is not decided here.
- Bad, because a signature will be read as approval. It attests where an artifact came from, and a signed image can still hold a vulnerability or worse.
- Bad, because without a runner per job the provenance does not hold, so the cost of isolation comes before the first signature that means something.
- Bad, because publishing rests on file names. An artifact that does not follow the convention ends up as a generic package, or not at all.
- Bad, because Code Punt becomes a source of signed government artifacts and answers for its key. Whoever has the key signs anything in the name of code.overheid.nl, so guarding, rotating and revoking it is part of running the platform.
- Bad, because an organization finds artifacts under its name that it did not release, and someone may run those in place of the organization's own release.
- Bad, because the evidence is about a build by code.overheid.nl. An organization that ships a different artifact from the same commit gets no statement about that artifact.
- Bad, because build minutes are a running cost that grows with every mirror, and mirrors of code on GitHub add to it while their organizations carry no obligations toward Code Punt.
- Bad, because a pull request that adds a workflow asks the origin to run something code.overheid.nl wrote, with the origin's token. A compromised code.overheid.nl could offer a harmful workflow to every repository at once, and through the bot it arrives without anyone at the organization having sent it. A maintainer still has to merge it, and the suggested workflows pin every action to a digest.
- Bad, because code.overheid.nl cannot close a pull request that a person or the origin's workflow opened. When the origin fixes the matter another way, that pull request stays open until someone there closes it.
- Bad, because the acting token of rule 4 is now used for a second kind of action, with the reach described in 0002.
- Bad, because an update under rule 12 depends on comparing the file with what was merged. One reformatting commit at the origin ends the updates for that file without the organization having meant that.
- Neutral, because the workflow suggestions are written for Forgejo Actions. An origin on GitLab gets the second group only until the templates have GitLab equivalents.
Confirmation
- After a build, the mirror's refs and objects are equal to the origin's. A check over all mirrors compares them.
- Each build result carries a provenance statement whose signature verifies, and whose commit exists at the origin.
- A runner holds no secret: a build that prints its environment and reads its file system finds no token and no key.
- An image built for a mirror can be pulled from code.overheid.nl without signing in, and
cosign verifywith the published key succeeds. A file from the generic registry verifies against its detached signature. - A push at the origin starts the origin's workflow on the mirror after the sync. A job that reads a secret fails there, and an artifact of a job that succeeded is on the mirror.
- A repository with
offhas no suggestions on its mirror and receives none. A repository without the key, in an organization without a value, shows them and receives none. - The button of rule 14 is absent for someone signed in from another organization.
- In an organization with the bot, a repository that says
showreceives no pull request from it, and no repository receives the license suggestion from it. - A mirror of a repository on GitHub is built and shows its suggestions, and no pull request appears there.
- Sending the same suggestion twice leaves one pull request at the origin.
- Closing a pull request from a suggestion without a merge marks it declined on the mirror, and neither the bot nor the origin's workflow opens it again.
- A file from a merged suggestion that the organization edited gets no update proposal.
- A repository that marks the license check as not applicable gets no license suggestion, and its mirror shows the reason.
- The set of forges where code.overheid.nl holds a token equals the set of organizations whose register entry says
pull-request. Each of those accounts is in no team and has no rights on any repository.
The proof of concept collects, publishes and signs artifacts as rule 11 describes, on a shared runner. The rest is not built. Five things have to be tried on Forgejo before the decision is firm: that a mirror sync starts the workflows in the mirrored commit, that an account without rights can open a pull request on a public repository through AGit and with which token scope, that a workflow at the origin can open a pull request with the automatic token of its run, that a push to the same AGit topic after the pull request was closed does not silently reopen it, and that a run in a repository of Code Punt can be started per mirrored commit with the commit as input.
Pros and Cons of the Options
Scored against the drivers as in 0002: ✓ meets it, ~ meets it partly or at a cost, ✗ does not.
| Driver | C1 | C2 | C3 | C4 |
|---|---|---|---|---|
| The mirror is identical to the origin | ✗ | ✓ | ✓ | ✓ |
| Every mirror gets the same evidence | ✓ | ✓ | ✗ | ~ |
| A result is traceable to one commit and a builder | ✗ | ✓ | ~ | ✓ |
| The cost of building is bounded | ~ | ~ | ✓ | ✓ |
| Works with Forgejo as it is | ✗ | ✓ | ✓ | ✓ |
How a suggestion reaches the origin. D3 is scored as an account at every forge; the decision takes it only where the organization admits it, which turns its first two rows into ✓ for everyone else.
| Driver | D1 | D2 | D3 | D4 | D5 | D6 |
|---|---|---|---|---|---|---|
| No account or token at a forge that did not ask | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ |
| No pull request unasked | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ |
| The organization decides what enters | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| The suggestion reaches a maintainer who is not looking | ✗ | ✗ | ✓ | ~ | ~ | ✗ |
| Existing repositories are covered | ~ | ✓ | ✓ | ✓ | ✓ | ✗ |
| Works with Forgejo as it is | ✓ | ✓ | ✓ | ✓ | ~ | ✓ |
D3 is the only option that reaches a maintainer who never asked, and as a rule for all forges the only one that fails the account rule.
C1. Workflows committed to the copy on code.overheid.nl
- Good, because the build is described in the repository, in a form the origin can take over as it is.
- Bad, because Forgejo accepts no push to a pull mirror, so the copy would have to become an ordinary repository that code.overheid.nl keeps in step itself.
- Bad, because the added commit changes the hash, and every result is then about a commit the origin does not have.
C2. A pipeline definition of Code Punt, applied to the mirrored commit from outside the repository
See rule 10.
- Good, because one definition serves every mirror and changes in one place.
- Bad, because the definition has to guess how each repository builds.
C3. Only what the origin builds and reports itself
The origin runs its own workflows and sends signed results to code.overheid.nl.
- Good, because it costs Code Punt no build minutes and the organization builds what it actually ships.
- Bad, because a repository without workflows or without Actions shows nothing, which is the case this decision starts from.
- Neutral, because it can be added to C2 later: a signed result from the origin shown next to the one from code.overheid.nl.
C4. No builds, only the checks of 0002
- Good, because it runs nobody's code and costs nothing extra.
- Bad, because an SBOM read from manifests misses what a build resolves, and tests and coverage are not available at all.
K1. Thrown away after the run; only the evidence stays
- Good, because code.overheid.nl stores nothing and nobody mistakes its build for a release.
- Bad, because a statement about an artifact nobody can fetch is hard to check, and the build is done for the statement alone.
K2. Published in the package registry of code.overheid.nl, signed by Code Punt
See rule 11.
- Good, because the artifact, its SBOM and its provenance can be fetched and verified by anyone, with Forgejo as it is.
- Bad, because of storage, retention and a signing key that Code Punt has to guard.
K3. Published in that registry as the run left it, unsigned
- Good, because it needs no key and no signing step.
- Bad, because nothing shows that an artifact under an organization's name was built by code.overheid.nl from a given commit.
D1. No suggestions; the check results are the message
- Good, because a failed license check already tells a maintainer what is missing.
- Bad, because the maintainer still has to find the right file and the right workflow, which the templates already contain.
D2. Shown on the page of the mirror, for a maintainer to apply by hand
This is what rule 3 of 0002 does for the report-back workflow.
- Good, because it needs nothing at the origin.
- Bad, because applying a patch by hand for each suggestion in each repository is work that will mostly not happen.
D3. Pull requests by a bot account of code.overheid.nl at the forge
The forge creates an account for code.overheid.nl, which pushes suggestions through AGit. On Forgejo any signed-in account can open a pull request on a public repository this way, so the account needs no rights. See rule 14 for the form the decision takes it in.
- Good, because it is what the proposal asks for, and the only route that reaches every repository of an organization without anyone there acting first.
- Good, because the bot can withdraw its own pull request when it is no longer needed.
- Bad, because code.overheid.nl then holds a credential at the forge. As an obligation for every forge that would reverse rule 6 and the last confirmation of 0002.
- Bad, because a pull request from the central platform arrives with more weight than a suggestion should have. For the license that weight is the reason rule 16 keeps the bot away from it.
- Neutral, because the account has no rights; the damage of a leaked credential is unwanted pull requests at that forge.
D4. Pull requests in the name of a maintainer, through the acting route of 0002 rule 2
See rule 14.
- Good, because the person who sends it is someone the organization vouches for, and the pull request has an owner who can answer review comments.
- Bad, because it takes a person per suggestion, and that person has to visit the mirror.
D5. The origin fetches its suggestions and opens the pull request with its own token
See rule 14. This is how a self-hosted dependency bot works: the bot runs at the repository and carries the repository's own credentials.
- Good, because it is automatic and leaves code.overheid.nl without an account, so one repository can have it while its organization keeps the bot out.
- Bad, because the workflow has to get into the repository first, and it needs Actions at the origin.
D6. Templates only: good defaults at creation, nothing afterwards
- Good, because a repository that starts from a template needs no suggestion, and nobody receives anything.
- Bad, because it does nothing for the repositories that exist today.
More Information
- 0002, rules 1, 3, 4, 6, 7, 8 and 9.
- GovForges note on software security, for evidence kept apart from policy.
- SLSA provenance and in-toto attestations, the candidate formats for the statement of rule 11.
Still open, each for a later decision:
- The time limit per build and the budget per organization, once the first builds have been measured.
- The narrowest token the bot can work with, and how often Code Punt rotates it.
- The names of the keys in the
nlsection, which depend on the open item about that section in 0002. - How long evidence is kept for a commit that is no longer the head of its branch.
- A transparency log such as Rekor, and rotation of the signing key. Until then a verifier skips the log and trusts the key at its published address.