Do trusted contributors work on branches in this repository or from forks, how do they get an account, and what does an outsider's contribution path look like?
Context
Today three files say fork pull requests are not accepted and that there is no self-registration; the design contract itself accepts fork pull requests on a disposable runner as a residual risk.
Same-repository branches expose the organisation Actions secrets and give molecule root on the runner to the author. Fork pull requests run the author's code on the runner and skip molecule.
The answer changes CONTRIBUTING.md, CLAUDE.md, docs/agents/issue-tracker.md and the molecule fork guard.
Part of #87
## Question
Do trusted contributors work on branches in this repository or from forks, how do they get an account, and what does an outsider's contribution path look like?
## Context
- Today three files say fork pull requests are not accepted and that there is no self-registration; the design contract itself accepts fork pull requests on a disposable runner as a residual risk.
- Same-repository branches expose the organisation Actions secrets and give molecule root on the runner to the author. Fork pull requests run the author's code on the runner and skip molecule.
- The answer changes `CONTRIBUTING.md`, `CLAUDE.md`, `docs/agents/issue-tracker.md` and the molecule fork guard.
Constraint from Threat model: what we defend against and what we accept: write access is secret access. A branch pushed to this repository runs its own workflows with every organisation secret and as root on the runner, before any review. So write access goes only to people trusted with the secrets; anyone else contributes through a fork, where every push waits for the maintainer's approval. CODEOWNERS on the files that make up the gate (ci: require maintainer review for gate files through CODEOWNERS) controls what merges, not what runs.
Constraint from [Threat model: what we defend against and what we accept](https://git.rkdr.net/Mortis/Kamino/issues/99): **write access is secret access.** A branch pushed to this repository runs its own workflows with every organisation secret and as root on the runner, before any review. So write access goes only to people trusted with the secrets; anyone else contributes through a fork, where every push waits for the maintainer's approval. CODEOWNERS on the files that make up the gate ([ci: require maintainer review for gate files through CODEOWNERS](https://git.rkdr.net/Mortis/Kamino/issues/144)) controls what merges, not what runs.
Defame1297
was assigned by Claude2026-11-15 18:43:43 +00:00
Repository collaborator with write; not an organisation member
An account, no repository permission
An account, no repository permission
Code route
Branches in this repository; merges their own pull request once the required checks pass (CODEOWNERS holds gate files)
A fork. Each push runs only after the maintainer or a trusted contributor approves it, having read that push's changes to .gitea/, scripts/, the hook config and molecule/. A trusted contributor or the maintainer merges it after reviewing the diff; a friend never merges.
None: a fork pull request is closed by a human (the maintainer or a trusted contributor) with a pointer to issues, and its workflows are never approved. Revisited when ephemeral runners exist.
Secrets
Yes
No
No
A trusted contributor may also work from a fork. Friend is the way in; write access is a separate, later grant of trust. The terms are in GLOSSARY.md: Trusted contributor, Friend, Outsider.
Accounts
Self-registration stays closed (an instance setting; recommendation only). The maintainer creates accounts. CONTRIBUTING.md says so in one line and describes no request process (the maintainer's choice).
Molecule
The fork condition in the molecule.yml guard goes; github.repository == 'mortis/kamino' stays. It was added on 2026-10-25 (12c70ec) because the runner was not isolated at the time. It has since been isolated, and the fork test showed that the guard never stopped an approved fork's own job. With the condition gone, an approved friend's fork runs Molecule like a branch here.
The fog item "recommended repository settings" was waiting on this decision and becomes its own ticket.
Not verified
How Gitea 28 treats a required check whose job is skipped (passes or blocks). This only matters while the guard still skips forks; the implementation issue records the answer.
Whether a trusted contributor with write (not admin) can press "Approve all workflows". Expected yes.
## Resolution (2026-11-15)
Built on [Threat model: what we defend against and what we accept](https://git.rkdr.net/Mortis/Kamino/issues/99) (write access is secret access; ephemeral runners are needed before the first fork approval for anyone outside the friends tier) and [Test what a fork pull request can do on this Gitea](https://git.rkdr.net/Mortis/Kamino/issues/89) (each push from a fork waits for approval, and an approved fork runs its own workflows on both runner labels without secrets).
### Three positions
| | Trusted contributor | Friend | Outsider |
|---|---|---|---|
| Access | Repository collaborator with write; not an organisation member | An account, no repository permission | An account, no repository permission |
| Code route | Branches in this repository; merges their own pull request once the required checks pass (CODEOWNERS holds gate files) | A fork. Each push runs only after the maintainer or a trusted contributor approves it, having read that push's changes to `.gitea/`, `scripts/`, the hook config and `molecule/`. A trusted contributor or the maintainer merges it after reviewing the diff; a friend never merges. | None: a fork pull request is closed by a human (the maintainer or a trusted contributor) with a pointer to issues, and its workflows are never approved. Revisited when ephemeral runners exist. |
| Secrets | Yes | No | No |
A trusted contributor may also work from a fork. Friend is the way in; write access is a separate, later grant of trust. The terms are in `GLOSSARY.md`: Trusted contributor, Friend, Outsider.
### Accounts
Self-registration stays closed (an instance setting; recommendation only). The maintainer creates accounts. `CONTRIBUTING.md` says so in one line and describes no request process (the maintainer's choice).
### Molecule
The fork condition in the `molecule.yml` guard goes; `github.repository == 'mortis/kamino'` stays. It was added on 2026-10-25 (12c70ec) because the runner was not isolated at the time. It has since been isolated, and the fork test showed that the guard never stopped an approved fork's own job. With the condition gone, an approved friend's fork runs Molecule like a branch here.
### Rules (where they live waits on [Contributor doc set](https://git.rkdr.net/Mortis/Kamino/issues/103))
- Approve a fork's runs only after reading that push's changes to workflows, scripts, hook config and molecule files. Held by review.
- Review a friend's pull request before merging it; the friend stays its author under the AI-assistance policy. Held by review.
- A human closes an outsider's fork pull request with a pointer to issues; no agent or automation closes pull requests. Held by review.
### Other effects
- "PRs as a request surface" in `docs/agents/issue-tracker.md` stays `no`.
- No ADR of its own: [docs(adr): record the threat model as ADR 0001](https://git.rkdr.net/Mortis/Kamino/issues/143) gets one line naming the three positions.
- The fog item "recommended repository settings" was waiting on this decision and becomes its own ticket.
### Not verified
- How Gitea 28 treats a required check whose job is skipped (passes or blocks). This only matters while the guard still skips forks; the implementation issue records the answer.
- Whether a trusted contributor with write (not admin) can press "Approve all workflows". Expected yes.
Partly superseded by The friend boundary once the approval facts are known: a friend's pushes are approved until the friend's first merged pull request, not on every push, and the approver reads the whole diff, not a path list.
Partly superseded by [The friend boundary once the approval facts are known](https://git.rkdr.net/Mortis/Kamino/issues/205): a friend's pushes are approved until the friend's first merged pull request, not on every push, and the approver reads the whole diff, not a path list.
The friend position. Two positions remain: trusted contributor (write access, and with it the secrets) and outsider (contributes through issues). People once called friends become trusted contributors or contribute through issues.
Fork approval by the maintainer or a trusted contributor, and "review a friend's pull request before merging it". A fork or AGit pull request always comes from an outsider: a human closes it without approving its runs and points to an issue; it is never approved or merged. "Never approve a fork run, never merge a fork pull request" lives in docs/contributing/reviewing.md, held by aspirational. A trusted contributor may carry the change into a pull request of their own after reading every line, and is its author of record.
Removing the Molecule fork guard. The if: fork condition in molecule.yml stays.
Still holds: write access is secret access; registration stays closed and the maintainer creates accounts; a human, never an agent or automation, closes a fork pull request with a pointer to issues; "PRs as a request surface" stays no.
## Superseded in part by [Where the maintainer's own procedures live, and what "held by review" means for them](https://git.rkdr.net/Mortis/Kamino/issues/250) (2026-11-20)
No longer holds:
- **The friend position.** Two positions remain: trusted contributor (write access, and with it the secrets) and outsider (contributes through issues). People once called friends become trusted contributors or contribute through issues.
- **Fork approval by the maintainer or a trusted contributor**, and "review a friend's pull request before merging it". A fork or AGit pull request always comes from an outsider: a human closes it without approving its runs and points to an issue; it is never approved or merged. "Never approve a fork run, never merge a fork pull request" lives in `docs/contributing/reviewing.md`, held by aspirational. A trusted contributor may carry the change into a pull request of their own after reading every line, and is its author of record.
- **Removing the Molecule fork guard.** The `if:` fork condition in `molecule.yml` stays.
Still holds: write access is secret access; registration stays closed and the maintainer creates accounts; a human, never an agent or automation, closes a fork pull request with a pointer to issues; "PRs as a request surface" stays `no`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #87
Question
Do trusted contributors work on branches in this repository or from forks, how do they get an account, and what does an outsider's contribution path look like?
Context
CONTRIBUTING.md,CLAUDE.md,docs/agents/issue-tracker.mdand the molecule fork guard.Constraint from Threat model: what we defend against and what we accept: write access is secret access. A branch pushed to this repository runs its own workflows with every organisation secret and as root on the runner, before any review. So write access goes only to people trusted with the secrets; anyone else contributes through a fork, where every push waits for the maintainer's approval. CODEOWNERS on the files that make up the gate (ci: require maintainer review for gate files through CODEOWNERS) controls what merges, not what runs.
Resolution (2026-11-15)
Built on Threat model: what we defend against and what we accept (write access is secret access; ephemeral runners are needed before the first fork approval for anyone outside the friends tier) and Test what a fork pull request can do on this Gitea (each push from a fork waits for approval, and an approved fork runs its own workflows on both runner labels without secrets).
Three positions
.gitea/,scripts/, the hook config andmolecule/. A trusted contributor or the maintainer merges it after reviewing the diff; a friend never merges.A trusted contributor may also work from a fork. Friend is the way in; write access is a separate, later grant of trust. The terms are in
GLOSSARY.md: Trusted contributor, Friend, Outsider.Accounts
Self-registration stays closed (an instance setting; recommendation only). The maintainer creates accounts.
CONTRIBUTING.mdsays so in one line and describes no request process (the maintainer's choice).Molecule
The fork condition in the
molecule.ymlguard goes;github.repository == 'mortis/kamino'stays. It was added on 2026-10-25 (12c70ec) because the runner was not isolated at the time. It has since been isolated, and the fork test showed that the guard never stopped an approved fork's own job. With the condition gone, an approved friend's fork runs Molecule like a branch here.Rules (where they live waits on Contributor doc set)
Other effects
docs/agents/issue-tracker.mdstaysno.Not verified
Partly superseded by The friend boundary once the approval facts are known: a friend's pushes are approved until the friend's first merged pull request, not on every push, and the approver reads the whole diff, not a path list.
Superseded in part by Where the maintainer's own procedures live, and what "held by review" means for them (2026-11-20)
No longer holds:
docs/contributing/reviewing.md, held by aspirational. A trusted contributor may carry the change into a pull request of their own after reading every line, and is its author of record.if:fork condition inmolecule.ymlstays.Still holds: write access is secret access; registration stays closed and the maintainer creates accounts; a human, never an agent or automation, closes a fork pull request with a pointer to issues; "PRs as a request surface" stays
no.