Public design contract replacing the ADR 0004 references #92

Closed
opened 2026-11-11 22:02:56 +00:00 by Claude · 3 comments
Owner

Part of #87

Question

Which decisions of the Collection's design contract are restated in this repository's docs/adr/, in what form, and what are the rules for ADRs here?

Context

  • The contract (ADR 0004) lives in the maintainer's private environment repository, so contributors cannot read the document they are held to. Several files here cite it.
  • Its content, at the level safe to restate: identity and semver starting at 1.0.0; annotated vX.Y.Z tags equal to galaxy.yml, pushed only by the maintainer; antsibull-changelog fragments; the gate set (pre-commit, build, sanity, galaxy-importer, molecule); image pinning by version and digest; no pull_request_target.
  • Agreed ADR rules to confirm: about one page each, a real status (not "proposed" forever), a residual-risk section, no infrastructure detail.
Part of #87 ## Question Which decisions of the Collection's design contract are restated in this repository's `docs/adr/`, in what form, and what are the rules for ADRs here? ## Context - The contract (ADR 0004) lives in the maintainer's private environment repository, so contributors cannot read the document they are held to. Several files here cite it. - Its content, at the level safe to restate: identity and semver starting at 1.0.0; annotated `vX.Y.Z` tags equal to `galaxy.yml`, pushed only by the maintainer; antsibull-changelog fragments; the gate set (pre-commit, build, sanity, galaxy-importer, molecule); image pinning by version and digest; no `pull_request_target`. - Agreed ADR rules to confirm: about one page each, a real status (not "proposed" forever), a residual-risk section, no infrastructure detail.
Claude added the
Wayfinder
Grilling
label 2026-11-11 22:02:56 +00:00
Author
Owner

Constraint from Sanitise private-environment references: this repository stands alone, with no cross-references to any other repository of the maintainer's. Whatever replaces the ADR 0004 pointers cannot cite that ADR or say where the content came from; it has to be complete in this repository. The pointers themselves were left in place for this ticket to remove.

Constraint from [Sanitise private-environment references](https://git.rkdr.net/Mortis/Kamino/issues/88): this repository stands alone, with no cross-references to any other repository of the maintainer's. Whatever replaces the `ADR 0004` pointers cannot cite that ADR or say where the content came from; it has to be complete in this repository. The pointers themselves were left in place for this ticket to remove.
Defame1297 was assigned by Claude 2026-11-14 16:32:45 +00:00
Author
Owner

Resolution

No design-contract document. The contract is split up. Decisions with a real trade-off become ADRs in docs/adr/. Rules go to the contributor docs, each with how it is held. The term "design contract" is dropped.

How each item is classified:

Item Kind Owner
Identity, semver from 1.0.0 Rule (Ansible collection requirement) contributor docs
Annotated vX.Y.Z tag equal to galaxy.yml Rule, enforced by the build.yml tag check contributor docs
Only the maintainer pushes tags ADR candidate Release automation
antsibull-changelog fragments Rule, enforced by the changelog lint contributor docs
Gate set (pre-commit, build, sanity, importer, molecule) Rules held by controls Enforcement map for each prose-only rule
Image pinning by version and digest, tags never moved ADR candidate CI image pipeline: keep, simplify or replace
No pull_request_target Rule, no control today Threat model and Enforcement map

This ticket writes no ADR. Both ADR candidates were left as comments on the tickets that own them.

Rules for ADRs (held by review):

  • When: something gets an ADR only if it is hard to reverse, surprising without context, and the result of a real trade-off. The bar is written out in this repository, not left to a skill.
  • Status: accepted or superseded by NNNN. A proposal lives in an issue or pull request and is never committed as "proposed".
  • Length: one screen at most. Context, decision and reason come first. Considered options are listed only when a rejection isn't obvious.
  • Residual risk: this section is required only when the decision accepts a risk.
  • Content: no infrastructure detail (hostnames, addresses, runner sizing, account or secret names).
  • Acceptance: an ADR is accepted when the maintainer merges its pull request. Review is the only check for now. A control such as CODEOWNERS is left to the repository-settings fog.

Where the ADR rules live waits on Contributor doc set. The leaning is a section of the contributor docs rather than a docs/adr/README.md.

Citations: all 9 ADR 0004 citations are deleted, each sentence keeps its reason inline, and no forward pointer is added. Filed as docs: remove the ADR 0004 citations.

## Resolution **No design-contract document.** The contract is split up. Decisions with a real trade-off become ADRs in `docs/adr/`. Rules go to the contributor docs, each with how it is held. The term "design contract" is dropped. **How each item is classified:** | Item | Kind | Owner | |---|---|---| | Identity, semver from 1.0.0 | Rule (Ansible collection requirement) | contributor docs | | Annotated `vX.Y.Z` tag equal to `galaxy.yml` | Rule, enforced by the `build.yml` tag check | contributor docs | | Only the maintainer pushes tags | ADR candidate | [Release automation](https://git.rkdr.net/Mortis/Kamino/issues/98) | | antsibull-changelog fragments | Rule, enforced by the changelog lint | contributor docs | | Gate set (pre-commit, build, sanity, importer, molecule) | Rules held by controls | [Enforcement map for each prose-only rule](https://git.rkdr.net/Mortis/Kamino/issues/102) | | Image pinning by version and digest, tags never moved | ADR candidate | [CI image pipeline: keep, simplify or replace](https://git.rkdr.net/Mortis/Kamino/issues/96) | | No `pull_request_target` | Rule, no control today | [Threat model](https://git.rkdr.net/Mortis/Kamino/issues/99) and [Enforcement map](https://git.rkdr.net/Mortis/Kamino/issues/102) | This ticket writes no ADR. Both ADR candidates were left as comments on the tickets that own them. **Rules for ADRs** (held by review): - **When:** something gets an ADR only if it is hard to reverse, surprising without context, and the result of a real trade-off. The bar is written out in this repository, not left to a skill. - **Status:** `accepted` or `superseded by NNNN`. A proposal lives in an issue or pull request and is never committed as "proposed". - **Length:** one screen at most. Context, decision and reason come first. Considered options are listed only when a rejection isn't obvious. - **Residual risk:** this section is required only when the decision accepts a risk. - **Content:** no infrastructure detail (hostnames, addresses, runner sizing, account or secret names). - **Acceptance:** an ADR is accepted when the maintainer merges its pull request. Review is the only check for now. A control such as CODEOWNERS is left to the repository-settings fog. **Where the ADR rules live** waits on [Contributor doc set](https://git.rkdr.net/Mortis/Kamino/issues/103). The leaning is a section of the contributor docs rather than a `docs/adr/README.md`. **Citations:** all 9 `ADR 0004` citations are deleted, each sentence keeps its reason inline, and no forward pointer is added. Filed as [docs: remove the ADR 0004 citations](https://git.rkdr.net/Mortis/Kamino/issues/128).
Author
Owner

Superseded in part by Where the maintainer's own procedures live, and what "held by review" means for them (2026-11-20)

Rules for ADRs:

  • Acceptance: "an ADR is accepted when the maintainer merges its pull request" becomes "an ADR is accepted on the maintainer's approval of its pull request, which sets status accepted". "Review is the only check for now" no longer holds: docs/adr/ goes under CODEOWNERS, so that approval is a control.
  • Residual risk: accepted risks live in the "Accepted risks" section of SECURITY.md (risk, why accepted, trigger, planned reduction; no infrastructure detail). Later decisions add entries there, not to an ADR.

The other rules (when, status values, one screen, no infrastructure detail) still hold.

## 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) Rules for ADRs: - **Acceptance:** "an ADR is accepted when the maintainer merges its pull request" becomes "an ADR is accepted on the maintainer's approval of its pull request, which sets status `accepted`". "Review is the only check for now" no longer holds: `docs/adr/` goes under CODEOWNERS, so that approval is a control. - **Residual risk:** accepted risks live in the "Accepted risks" section of `SECURITY.md` (risk, why accepted, trigger, planned reduction; no infrastructure detail). Later decisions add entries there, not to an ADR. The other rules (when, status values, one screen, no infrastructure detail) still hold.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#92