Contributor doc set #103
Notifications
Due Date
No due date set.
Depends on
#94 AI-assistance policy and commit trailer
Mortis/Kamino
#100 How friends get code in
Mortis/Kamino
Reference: Mortis/Kamino#103
Reference in new issue
Block a user
Part of #87
Question
Which contributor-facing documents exist, what does each own, and what do the issue and pull request templates ask for?
Decide: the split between
README.md,CONTRIBUTING.mdandAGENTS.mdso nothing is said twice; a Code of Conduct; a stated semver and support policy; a role index and support matrix;.gitea/ISSUE_TEMPLATE/and.gitea/PULL_REQUEST_TEMPLATE.md(with a verified / not verified section); CODEOWNERS.Context
CONTRIBUTING.mdwith copy-pasteable test commands; the Ansible collection requirements ask for a Code of Conduct, a semver statement and a communication section in the README.Input from Resolve stale and contradictory claims: the
CLAUDE.md/CONTRIBUTING.mdduplication is this ticket's to settle. Topics said in both (line ranges as ofmainat967fb34):Also: whether raising the ansible-core floor (2.19 → 2.22, in #164) is a major or minor change depends on the semver policy this ticket decides.
Resolution
Each topic lives in exactly one file; others link. Agents get progressive disclosure in three layers: root
AGENTS.md(always loaded), nestedAGENTS.md(by directory), and one contributor file per trigger (by pointer).1. Files and what each owns
README.md(consumers): what the collection is, installing, the role table (Section 4), semver and support policy (Section 3), Communication (Section 5), Roadmap, licence, and one line pointing toCONTRIBUTING.md. The "Status: Release 1.5.0 holds…" line goes; the README names no version.CONTRIBUTING.md(entry point, short): the three positions (trusted contributor, friend, outsider) and how each gets code in, plus a one-line index ofdocs/contributing/. The "Maintainer setup" section is deleted (superseded by Recommended repository settings and branch protection); "Dependency and image updates" moves toimages/AGENTS.mdandscripts/AGENTS.md.docs/contributing/, one file per trigger, each self-contained (no "see above"), every rule in the map's form (rule, one-sentence reason, how held):setup.md:scripts/dev-setup.sh,apm install.making-a-change.md: branches, commits, fragments, the issue and pull request templates, Verified / Not verified, third-party material (NOTICE,REUSE.toml).ai-assistance.md: the rules from AI-assistance policy and commit trailer.code-style.md: the five code-style rules from Guiding principles for agents and humans in full form.reviewing.md: approve a fork's runs only after reading that push's workflow, script, hook and molecule changes; review a friend's PR before merging; a human closes an outsider's fork PR with a pointer to issues, no agent or automation does; review an unmerged branch's hook and script changes before running them locally.releases-and-secrets.md: a release happens only by merging the generated release PR, contributors write fragments, never the version; each secret is referenced by exactly one workflow.AGENTS.md: unchanged scope from AGENTS.md structure, plus one pointer per contributor file, each with its trigger, and: "before filing an issue or opening a pull request: use the headings of the matching template in.gitea/, never your tool's built-in body; readdocs/contributing/making-a-change.md" (held by review; API-filed issues and PRs bypass templates).AGENTS.md: the judge-script rule ("a script that judges a PR's own diff runs frommain's copy; a content or artefact check runs from the PR's") lives in.gitea/workflows/AGENTS.md, since that is where the choice is made.renovate.json: the two Renovate rules (descriptions at most two short sentences; a broken unattended merge earns a test, an exception only when no test can, naming the incident) go in its top-leveldescription, not rootAGENTS.md(would break the always-loaded test). Fallback ifrenovate-config-validatorrejects it:making-a-change.md.SECURITY.md: unchanged..gitea/AGENTS.md: templates and CODEOWNERS are self-explanatory.CONTRIBUTING.md's index and rootAGENTS.md's pointers link the same files with different content (description vs trigger); lychee (#184) catches breakage.2. Code of Conduct
None for now. Its only hard requirement is inclusion in the Ansible package (out of scope); contributors are known to the maintainer and outsiders only file issues. Revisit when registration opens or outsiders can open pull requests.
3. Semver and support policy
Version bumps map onto fragment sections, so release automation and the policy agree:
breaking_changes,removed_features): removing or renaming a role or variable; changing a default so an existing playbook changes the host; dropping an Ubuntu release; raising the ansible-core floor.Support: latest release only, no backports; Ubuntu 24.04 and 26.04; ansible-core ≥ 2.22. Exception: the 2.19 → 2.22 floor correction in #164 is a minor release with a note that 2.19 was never tested, so never supported.
4. Role index and support matrix
A README table: role, one-line purpose, link to its README. The matrix is one sentence (every role supports the same platforms, per Role standard). Held by review (adding a role is rare and maintainer-reviewed; a custom check does not earn its place).
5. Communication
README: questions, bugs and proposals go to issues; vulnerabilities to the address in
SECURITY.md; accounts are created by the maintainer, no sign-up. No chat channel. The "write to the SECURITY.md address to discuss a contribution" line goes.6. Templates
Research (Gitea docs, GitHub Copilot agent guidance, kernel and Zulip policies; Cursor forum on agents overriding repo templates): Gitea supports YAML forms and
config.yml;markdownfields render on the form only; the API,teaand gitea-mcp bypass templates; agents tend to use their built-in PR body and tick unchecked boxes..gitea/ISSUE_TEMPLATE/, guidance inmarkdownfields,config.ymlwithblank_issues_enabled: falseand a contact link toSECURITY.md:regex), Ubuntu release (dropdown: 24.04, 26.04, other), minimal playbook (textarea,render: yaml), expected and actual (required)..gitea/PULL_REQUEST_TEMPLATE.md: What and why (link the issue), Verified (commands run, CI runs linked), Not verified. Two checkboxes, phrased as the human's own statement: third-party material recorded inNOTICEandREUSE.tomlor none; as approver of a friend's PR, I read this push's workflow, script, hook and molecule changes. NoAssisted-by:box: review of the commit list holds the trailer (#94), and an unchecked box is the one agents tick blindly. No boxes for what a control holds (fragments, Conventional Commits).7. CODEOWNERS
#144 also covers the files that hold the rules:
CONTRIBUTING.md, everyAGENTS.md,SECURITY.md,GLOSSARY.md,docs/contributing/**(an agent rewriting its own instructions is the mistake the threat model guards against)..gitea/**already covers the templates;README.mdstays unowned.ADR
None: documentation placement, cheap to reverse.
Review of the map (2026-11-17).
Partly superseded by The friend boundary once the approval facts are known: the approver checkbox leaves the pull request template, and
reviewing.mdsays to read the whole diff, with no path list.Partly superseded by Supported and tested ansible-core versions: every floor raise is a major release, the 2.19 → 2.22 one included. The exception in section 3 is gone.
Partly superseded by What a role's platform declaration means, and supported entry points: a role declares the platforms of the hosts it targets, so the support matrix is not one sentence for all roles.
Partly superseded by Committed skills as agent instructions: ownership, updates and required tools:
setup.mddoes not tell contributors to runapm install.Open after this review: the doc set has no file for what only the maintainer does (Where the maintainer's own procedures live, and what "held by review" means for them), and no named home for "architecture" (Where the last unplaced rules live: architecture, the three positions and the trailer rule).