docs(contributing): write maintaining.md for the maintainer's standing procedures #262
Notifications
Due Date
No due date set.
Blocks
Depends on
Reference: Mortis/Kamino#262
Reference in new issue
Block a user
Spec: Where the maintainer's own procedures live, and what "held by review" means for them, resolution points 1, 2 and 4, as changed by What Molecule proves before a merge, and who acts on the nightly run and Where the last unplaced rules live: architecture, the two positions and the trailer rule.
What to build
A new
docs/contributing/maintaining.mdwith what only the maintainer does, and a triggered pointer to it from the rootAGENTS.md: "before cutting a release, granting or withdrawing access, rotating a secret, or changing repository or organisation settings". The rootAGENTS.mdtrigger line is written by the rootAGENTS.mdissue #185, not here.Sections:
.gitea/workflows/and the decisions on bot accounts and settings, secrets and the release bot.mainmerge allowlist (save, reload, check the name survived). Withdraw: remove both, then rotate every secret.mainand tag protection onv*; "Require approval from code owners"; "Dismiss stale approvals" (required approvals stay at zero); the merge allowlist; the push allowlist onrelease/*(norenovate/*rule); the agent account in a team with Actions read; wiki off; the runner registered for this repository only and the skills source's runner isolated from it; self-registration closed; Gitea ≥ 28.4.0.vX.Y.Ztag equal togalaxy.yml's version), held by tag protection and the Build version check. When the release workflow lands, this becomes "a release happens only by merging the generated release pull request". Two rules, each in the rule form:Nightly Molecule run failedand closes it when green (#270).mainsucceeded; after a fix, dispatch Molecule onmainand re-run the release pull request's checks. Reason: a release must not ship drift the nightly has seen. Held by control: the release-content check (#176).scheduleorworkflow_dispatchrun ofmolecule.ymlonmain.Every rule in the rule form: the rule, a one-sentence reason, and Held by: aspirational unless a control is named (nobody else sees these acts), as the two release rules above name one.
Acceptance criteria
AGENTS.mdtrigger line is written by #185, with the wording above; this issue does not write it. TheCONTRIBUTING.mdindex entry for the file is written here only if the index of #189 does not already list it, so the two issues do not both claim the same line. This issue is blocked by #189 and #185, so both files exist when it lands..gitea/workflows/appears in the rotation list.Notes
The settings are applied by the maintainer; this file records what they should be.
releases-and-secrets.mdis not created: its release procedure lives in this file (the Releases section), as decided in Where the last unplaced rules live.Scope added from What Molecule proves before a merge, and who acts on the nightly run (2026-11-20)
Two rules for
maintaining.md, each in the rule form:Nightly Molecule run failedand closes it when green (#270).mainsucceeded; after a fix, dispatch Molecule onmainand re-run the release pull request's checks. Reason: a release must not ship drift the nightly has seen. Held by control: the release-content check (#176).A full run is a
scheduleorworkflow_dispatchrun ofmolecule.ymlonmain.Scope added by Where the last unplaced rules live: architecture, the two positions and the trailer rule (2026-11-20)
docs/contributing/releases-and-secrets.mdis not created; its release procedure lives here.vX.Y.Ztag equal togalaxy.yml's version), held by tag protection and the Build version check. When the release workflow lands, it becomes "a release happens only by merging the generated release pull request".Body edited on 2026-11-20 (final validation round of the map, #87 (comment)): replaced the stale Notes sentence that said whether
releases-and-secrets.mdfolds in "is open in #258" with the outcome from the comment of 2026-11-20 (it is not created; its release procedure lives here), and completed the "Intended settings" list per the decided settings (branch and tag protection, code-owner approval, "dismiss stale approvals", merge allowlist, push allowlist onrelease/*, the agent account's Actions-read team). The comments of 2026-11-20 on the nightly rules, the Releases section and the root trigger line still apply.Final validation round, second pass (2026-11-20): body edited.
vX.Y.Ztag, held by tag protection and the Build version check) and what it becomes when the release workflow lands.AGENTS.mdtrigger line is written by #185; theCONTRIBUTING.mdindex entry is written here only if #189's index does not already list the file. Acceptance says "five sections".Scope added by #294, the pull request for #185: the root
AGENTS.mdleaves out themaintaining.mdpointer, because the file does not exist yet and the link would be broken. The pull request that createsdocs/contributing/maintaining.mdadds this line to the "Before you start" list of the rootAGENTS.md: