Adds docs/contributing/maintaining.md, which records what only the maintainer does. It has five sections:
Secrets and rotation: a table of the four secrets the workflows reference (variable name, workflow, account by role, token scope, where it is issued), plus the rotation rule.
Granting and withdrawing a trusted contributor.
Agent and bot accounts.
Intended settings as a checklist.
Releases: the hand-cut annotated tag, the red-nightly rule and the no-release-while-red rule.
Also adds the maintaining.md pointer to the root AGENTS.md "Before you start" list (scope from the #294 comment on #262) and an entry to the CONTRIBUTING.md index, which did not list the file.
Deviations from the issue text, both agreed with the maintainer:
The two release rules are held by aspirational, not control. The nightly-failure issue and the release-content check they would name don't exist yet. "No release while red" is worded for any release, not only for a release pull request, because releases are still cut by hand. #270 and #176 have comments saying what to change in this file when they land.
No issue numbers in the file.
Choices made during review:
"Only the maintainer creates agent and bot accounts" is held by aspirational. Closed self-registration does not stop another admin from creating an account, so it doesn't fully hold the rule.
The release bot and the release bot's token are not listed, because no workflow references either yet. #174 has a comment on what to add.
Found and left alone: the renovate.yml header calls RENOVATE_BOT_TOKEN a repository secret, but it is an organisation secret (#210, point 4). The table records the true state, and the header fix belongs with #239 or its own issue.
Verified
pre-commit run --all-files passes, and the commit hooks passed on both commits.
The pre-push hook (ansible-test sanity) passed on push.
Every secrets.* name under .gitea/workflows/ appears in the table (PACKAGE_PUSH_USER, PACKAGE_PUSH_TOKEN, RENOVATE_BOT_TOKEN, GITHUB_TOKEN), checked by grep.
Every relative link in the three changed files resolves.
The file contains no personal account names, no hosts and no secret values, checked by grep.
Token scopes, allowlists and settings match the resolutions of #179, #209, #210, #250, #256 and #258, checked by a separate review agent.
Not verified
The live forge: the file records the intended settings and scopes, not what is applied today.
Lint, Build and Molecule: they run in CI on this pull request.
The Gitea 28.4.0 floor is taken from #250 and not re-checked against Gitea's release notes.
I confirm third-party material is recorded in NOTICE and REUSE.toml, or there is none.
Assisted-by: Claude Code
## What and why
Closes #262
Adds `docs/contributing/maintaining.md`, which records what only the maintainer does. It has five sections:
- **Secrets and rotation:** a table of the four secrets the workflows reference (variable name, workflow, account by role, token scope, where it is issued), plus the rotation rule.
- **Granting and withdrawing a trusted contributor.**
- **Agent and bot accounts.**
- **Intended settings** as a checklist.
- **Releases:** the hand-cut annotated tag, the red-nightly rule and the no-release-while-red rule.
Also adds the `maintaining.md` pointer to the root `AGENTS.md` "Before you start" list (scope from the #294 comment on #262) and an entry to the `CONTRIBUTING.md` index, which did not list the file.
Deviations from the issue text, both agreed with the maintainer:
- **The two release rules are held by aspirational, not control.** The nightly-failure issue and the release-content check they would name don't exist yet. "No release while red" is worded for any release, not only for a release pull request, because releases are still cut by hand. #270 and #176 have comments saying what to change in this file when they land.
- **No issue numbers in the file.**
Choices made during review:
- **"Only the maintainer creates agent and bot accounts" is held by aspirational.** Closed self-registration does not stop another admin from creating an account, so it doesn't fully hold the rule.
- **The release bot and the release bot's token are not listed**, because no workflow references either yet. #174 has a comment on what to add.
Found and left alone: the `renovate.yml` header calls `RENOVATE_BOT_TOKEN` a repository secret, but it is an organisation secret (#210, point 4). The table records the true state, and the header fix belongs with #239 or its own issue.
## Verified
- `pre-commit run --all-files` passes, and the commit hooks passed on both commits.
- The pre-push hook (`ansible-test sanity`) passed on push.
- Every `secrets.*` name under `.gitea/workflows/` appears in the table (`PACKAGE_PUSH_USER`, `PACKAGE_PUSH_TOKEN`, `RENOVATE_BOT_TOKEN`, `GITHUB_TOKEN`), checked by grep.
- Every relative link in the three changed files resolves.
- The file contains no personal account names, no hosts and no secret values, checked by grep.
- Token scopes, allowlists and settings match the resolutions of #179, #209, #210, #250, #256 and #258, checked by a separate review agent.
## Not verified
- The live forge: the file records the intended settings and scopes, not what is applied today.
- Lint, Build and Molecule: they run in CI on this pull request.
- The Gitea 28.4.0 floor is taken from #250 and not re-checked against Gitea's release notes.
---
- [x] I confirm third-party material is recorded in `NOTICE` and `REUSE.toml`, or there is none.
Assisted-by: Claude Code
Claude
added this to the Open to contributors milestone 2026-11-24 17:15:48 +00:00
Add docs/contributing/maintaining.md with what only the maintainer does:
the secret rotation list, granting and withdrawing a trusted contributor,
agent and bot accounts, the intended settings and releases. Point to it
from the root AGENTS.md and the CONTRIBUTING.md index.
The two release rules (red nightly, no release while red) are held by
aspirational until their controls exist.
Closes#262
Assisted-by: Claude Code
List the remaining decided main protection settings, the tag and
release/* allowlist members and the Owners rule; name the workflows
that use the job token; hold account creation as aspirational; define
a full run before its first use.
Assisted-by: Claude Code
CODEOWNERS rules
requested review from Defame1297 2026-11-24 17:15:48 +00:00
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.
What and why
Closes #262
Adds
docs/contributing/maintaining.md, which records what only the maintainer does. It has five sections:Also adds the
maintaining.mdpointer to the rootAGENTS.md"Before you start" list (scope from the #294 comment on #262) and an entry to theCONTRIBUTING.mdindex, which did not list the file.Deviations from the issue text, both agreed with the maintainer:
Choices made during review:
Found and left alone: the
renovate.ymlheader callsRENOVATE_BOT_TOKENa repository secret, but it is an organisation secret (#210, point 4). The table records the true state, and the header fix belongs with #239 or its own issue.Verified
pre-commit run --all-filespasses, and the commit hooks passed on both commits.ansible-test sanity) passed on push.secrets.*name under.gitea/workflows/appears in the table (PACKAGE_PUSH_USER,PACKAGE_PUSH_TOKEN,RENOVATE_BOT_TOKEN,GITHUB_TOKEN), checked by grep.Not verified
NOTICEandREUSE.toml, or there is none.Assisted-by: Claude Code