Repository navigation
docs(adr): introduce errata mechanism and apply Copilot review fixes - #16
Merged
Merged
Conversation
Reconciles the ADR process with what the project has already done, and applies the remaining accuracy fixes Copilot's automated reviews raised on PRs #13 and #14. ADR-0015 formalises a `Post-acceptance errata` mechanism. The original process in `docs/adr/README.md` declared accepted ADRs immutable except for the Status field. In PR #13 the project corrected factual errors in ADR-0003 (preload-eligibility wording) and ADR-0011 (two-predicate description) by editing the ADRs in place, against the strict reading of the process. Copilot's review of PR #13 flagged the violation explicitly. ADR-0015 is the considered response: permit in-place edits **only** for factual errata, with a `Post-acceptance errata` banner near the top of the ADR documenting the date, the PR or CHANGELOG entry, and what was corrected. Decision changes still require a new ADR that supersedes the old one. The README is updated to reflect the new rule. ADR-0003, ADR-0011, and ADR-0013 are retroactively annotated with their errata banners under the new rule. The substance of the past edits is unchanged; only the meta-record of how they happened is added. ADR-0011 file is renamed from `0011-ci-guards-python-tomllib.md` to `0011-ci-guards-workspace-state.md` (git mv to preserve history) so the filename slug reflects the corrected scope — the ADR is about two narrow workspace-state predicates, not a single `tomllib` predicate. Inbound links in `docs/infrastructure.md`, ADR-0009, and CHANGELOG are updated in the same commit. Accuracy fixes from Copilot's PR #14 review: - The `Records reference` table in `docs/infrastructure.md` listed the DMARC TXT record as `p=none` while the "Authentication posture" section already described `p=reject`. Internal inconsistency. Table row updated to `p=reject`. - DMARC-related claims in `docs/infrastructure.md`, `CHANGELOG.md`, and `docs/adr/0013-dmarc-tightened-to-p-reject.md` stated absolutely that "Receivers reject mail". `p=reject` is a policy request and enforcement varies across the receiver ecosystem (major mailbox providers honour it; some legacy mailservers ignore DMARC). Wording qualified to "DMARC-compliant receivers" / "receivers are instructed to reject" in all three places. Additional accuracy fixes from Copilot's PR #13 review: - ADR-0011's description of when `Cargo.lock` appears at the repo root is refined: the previous wording implied a build event, but the workflow predicate checks for the file in the repository checkout. The corrected wording makes the commit step explicit. - The earlier `[Unreleased] -> Changed` CHANGELOG bullet about ADR introduction still said "CI guards via Python `tomllib`", which did not match the two-predicate description in the subsequent `[Unreleased] -> Fixed` entry. The earlier bullet is updated to describe the two-predicate split. Cosmetic: - ADR-0003's Status field is rewrapped across multiple lines to match the line-wrapping style used in other ADRs. The Status field is the one field the original process always permitted to be edited, so this is not an errata edit. Signed-off-by: Gonzalo Fleming <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s ADR governance to allow narrowly-scoped, auditable post-acceptance factual corrections (“errata”), and applies a set of documentation accuracy/linking fixes (DMARC wording, ADR-0011 rename, and related cross-references) across ADRs, infrastructure docs, and the changelog.
Changes:
- Introduces ADR-0015 and updates the ADR lifecycle rules to permit annotated factual errata edits on accepted ADRs.
- Adds “Post-acceptance errata” banners to affected ADRs and applies DMARC enforcement-qualification wording consistently.
- Renames ADR-0011 to match its corrected scope and updates inbound links; syncs the infrastructure DMARC record table with the described posture.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/infrastructure.md | Updates DMARC record/table and qualifies DMARC enforcement language; updates ADR-0011 link after rename. |
| docs/adr/README.md | Updates ADR lifecycle rules to add an errata exception (with required banner). |
| docs/adr/0015-permit-annotated-errata-in-adrs.md | Adds a new ADR defining/justifying the annotated errata mechanism. |
| docs/adr/0013-dmarc-tightened-to-p-reject.md | Adds errata banner and qualifies “receiver rejection” wording to reflect DMARC’s best-effort enforcement. |
| docs/adr/0011-ci-guards-workspace-state.md | Adds errata banner, refines Cargo.lock description, and reflects the ADR-0011 rename/scope. |
| docs/adr/0009-workspace-no-members-during-phase-0.md | Updates references to the renamed ADR-0011 filename. |
| docs/adr/0003-hsts-preload-deferred.md | Wraps Status field and adds errata banner documenting prior factual correction. |
| CHANGELOG.md | Updates prior entries for ADR-0011 rename and DMARC wording qualification; adds new Fixed items documenting the corrections. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+69
to
+89
| ADRs are **never edited in place** after acceptance, with two narrow | ||
| exceptions: | ||
|
|
||
| 1. **The Status field**, when the ADR is superseded or deprecated. | ||
| 2. **Factual errata** — corrections to factual claims that were wrong | ||
| at the time of acceptance (typographical, numerical, descriptive, | ||
| or logical errors). Errata edits **must** add a | ||
| `Post-acceptance errata` banner near the top of the ADR documenting | ||
| the date, the PR or CHANGELOG entry that records the edit, and a | ||
| short description of what was corrected. The full pre-edit wording | ||
| remains in git history; the banner is what makes the editing event | ||
| discoverable from the file itself. | ||
|
|
||
| Errata are explicitly **not** a mechanism for decision changes. If | ||
| you want to change the decision the ADR records — revise it, narrow | ||
| it, broaden it, reverse it — write a new ADR that supersedes the old | ||
| one. Errata are for "we said X but X is incorrect"; supersession is | ||
| for "we decided X, now we decide Y". | ||
|
|
||
| The errata mechanism was introduced by [ADR-0015](0015-permit-annotated-errata-in-adrs.md); | ||
| that ADR is the authoritative reference for the rule and its rationale. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reconciles the ADR process with what the project has already done (in-place edits on accepted ADRs for factual corrections) and applies the remaining accuracy fixes Copilot's automated reviews raised on PR #13 and PR #14.
Why
Two coupled problems:
Process violation surfaced in PR docs: fix two accuracy issues caught in Copilot PR reviews #13 review. Copilot raised that the project's strict ADR-immutability rule was being violated by in-place edits to ADR-0003 and ADR-0011 (corrections of factual errors). The substance of those edits was right; the meta-process was not.
Several accuracy issues in PR docs: tighten DMARC to p=reject and bump HSTS max-age to one year #14 (DMARC
Receivers rejectoverclaim in three locations;Records referencetable out of sync with theAuthentication posturesection) and the residual PR docs: fix two accuracy issues caught in Copilot PR reviews #13 findings (file slug doesn't match content;Cargo.lockdescription is imprecise; earlierChangedCHANGELOG bullet stale).What this PR does
New ADR-0015: errata mechanism
Permits in-place edits on accepted ADRs only for factual errata, with a
Post-acceptance erratabanner near the top of the affected ADR documenting the date, the PR or CHANGELOG entry, and what was corrected. Decision changes still require a new ADR that supersedes the old one.docs/adr/README.mdupdated to reflect the new lifecycle rule.Retroactive annotation
Post-acceptance erratabanner added for the PR docs: fix two accuracy issues caught in Copilot PR reviews #13 correction of the HSTS preload-eligibility wording. Status field is also rewrapped across multiple lines (the Status field has always been editable, so this is cosmetic, not errata).Post-acceptance erratabanner added covering: (a) PR docs: fix two accuracy issues caught in Copilot PR reviews #13's two-predicate restructure, (b) this PR'sCargo.lockwording refinement, (c) the filename rename from0011-ci-guards-python-tomllib.mdto0011-ci-guards-workspace-state.md(git mv to preserve history). Inbound links updated indocs/infrastructure.md,docs/adr/0009-workspace-no-members-during-phase-0.md, and the earlier CHANGELOG entry.Post-acceptance erratabanner added for this PR's qualification of the absolute "Receivers reject" wording. DMARCp=rejectis a policy request; major mailbox providers honour it but some legacy receivers ignore DMARC.Non-ADR accuracy fixes
docs/infrastructure.md"Records reference" table: DMARC row updated fromp=nonetop=reject(was out of sync with the Authentication posture section below it).docs/infrastructure.md"Authentication posture" prose: "Receivers reject" → "DMARC-compliant receivers are instructed to reject", with explicit acknowledgement of varying enforcement.CHANGELOG.mdPR docs: tighten DMARC to p=reject and bump HSTS max-age to one year #14 entry: same qualification applied.CHANGELOG.mdearlier[Unreleased] -> Changedbullet about ADR introduction: "CI guards via Pythontomllib" → "CI workflow gating via two narrow workspace-state predicates" with both predicates named.[Unreleased] -> Fixedentries documenting all of the above.Verification
git mv(preserves history).grep -r "0011-ci-guards-python-tomllib"returns empty in repo working tree.Post-acceptance erratablockquote pattern formalised in ADR-0015.MANIFIESTO.es.md(which has an unrelated pre-existing authorial edit) is not in the diff of this PR.Risks
Files changed
docs/adr/0015-permit-annotated-errata-in-adrs.md— new (errata mechanism)docs/adr/README.md— lifecycle rule updateddocs/adr/0003-hsts-preload-deferred.md— errata banner + Status wrapdocs/adr/0011-ci-guards-workspace-state.md— renamed (was0011-ci-guards-python-tomllib.md) + errata banner + Cargo.lock wordingdocs/adr/0013-dmarc-tightened-to-p-reject.md— errata banner + Receivers qualificationdocs/adr/0009-workspace-no-members-during-phase-0.md— inbound link updateddocs/infrastructure.md— Records ref table + Receivers prose + ADR-0011 linkCHANGELOG.md— multiple updates (ADR rename, qualification, newFixedentries)