Skip to content

docs(adr): flip ADR-0030 and ADR-0031 to Accepted - #156

Closed
gonzafg2 wants to merge 2 commits into
mainfrom
docs/adr-0030-0031-status-accepted
Closed

gonzafg2 wants to merge 2 commits into
mainfrom
docs/adr-0030-0031-status-accepted

Conversation

@gonzafg2

Copy link
Copy Markdown
Owner

Summary

Flips ADR-0030 (Codex as third automated reviewer) and ADR-0031 (five required status checks on main) from Proposed to Accepted. Status and Date lines only.

Motivation

Both ADRs merged as Proposed, the repository's practice (CLAUDE.md: the Phase-1 ADRs were flipped in the #86 sweep once their implementing changes merged). Their implementing changes are on main: the codex workflow from #151 has reviewed every human PR since it landed, and the required-checks rule ADR-0031 records is live (#155 merged under it). Codex's review #3 on #155 asked for this flip; the answer there was that it happens in a follow-up, which is this PR.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that changes existing behaviour)
  • Documentation only
  • Refactor / chore / CI / build

Checklist

  • My commits are signed off under the
    Developer Certificate of Origin
    (git commit -s).
  • My commit messages follow Conventional Commits.
  • I have run cargo fmt --all and cargo clippy --workspace --all-targets -- -D warnings locally. (N/A: docs only)
  • I have added or updated tests where appropriate. (N/A)
  • I have updated documentation (rustdoc, docs/, or README.md) where appropriate.
  • I have added a CHANGELOG.md entry under ## [Unreleased] if this change is user-visible. (N/A)
  • If this change introduces a new dependency, I have justified it in the PR description and verified it passes cargo deny check. (N/A)

Security considerations

None.

Notes for reviewers

Status-field edits are the in-place edit the ADR lifecycle permits (docs/adr/README.md §Lifecycle, ADR-0015); no decision text changes.

Automated reviews

PRs authored by dependabot[bot] (and other bots) do not trigger opencode, Claude Code Review or codex.
They are covered by CI (commit-lint, build, cargo deny, openssh-interop; cargo audit runs weekly) and manual review when needed.

https://claude.ai/code/session_018UmL9wcgKBGFjdjGSSLafa

Both ADRs merged with Status: Proposed, as the repository does
(CLAUDE.md: the Phase-1 ADRs were flipped in the #86 sweep once their
implementing changes merged). Their implementing changes are on main:
ADR-0030's codex workflow landed in #151 and has reviewed every
human PR since; ADR-0031's required-checks rule is live and #155
merged under it. Status and Date are the only lines touched.

Claude-Session: https://claude.ai/code/session_018UmL9wcgKBGFjdjGSSLafa
Signed-off-by: Gonzalo Fleming <[email protected]>
@opencode-agent

Copy link
Copy Markdown

All checks complete. This is a first review; no prior comments or reviews exist on the PR.

PR Review: docs(adr): flip ADR-0030 and ADR-0031 to Accepted (#156)

Decision: 🟢 Approved
Iteration: First review
Lenses applied: design decision (docs/adr/0030, docs/adr/0031) — no Rust or CI files in the diff

Executive summary

This PR flips two CI-governance ADRs from Proposed to Accepted, touching only the Status and Date lines (2 +2/−2 total). The flip is the documented lifecycle finalization: both ADRs merged as Proposed, their implementing changes are on main (#151 for ADR-0030's codex workflow, #155 for ADR-0031's required-checks rule), and this mirrors the #86 sweep precedent cited in CLAUDE.md:33-35. No decision text changes, no scope creep, no new trust-base surface.

Previous issues

None — this is the first review.

New findings

None reach the ≥80 threshold.

Verification performed, all clean:

  • Diff scope: git show 3ae9bb1 confirms exactly two lines changed per file — Status: Proposed → Accepted and the Date line. No decision, context, consequences, or alternatives text is edited, satisfying "Accepted ADRs are immutable except Status and errata" (ADR-0015).
  • Lifecycle compliance: docs/adr/README.md §Lifecycle finalizes an ADR as Accepted "on merge"; CLAUDE.md:33-35 explicitly records the Proposed→Accepted flip pattern. The Date edit is the acceptance annotation, not an errata-requiring factual correction.
  • Factual accuracy: ci(review): add Codex as a third automated PR reviewer (ADR-0030) #151 merged 2026-09-22T16:43Z and ci(actions): pin dtolnay/rust-toolchain by SHA; ADR-0031 records the five required checks on main #155 merged 2026-09-22T19:30Z, so both Date: 2026-09-22 entries are correct; ADR-0030's "drafted 2026-09-08" matches its original Date line.
  • Conventions: commit is Conventional Commits (docs(adr):) with DCO sign-off; commit-lint already reports SUCCESS on this PR.

Limitations (not findings)

  • I could not independently confirm the branch-protection rule on main actually lists the five contexts (gh api .../protection → 403, no admin token on the runner). ADR-0031's core claim — the rule is live — rests on ci(actions): pin dtolnay/rust-toolchain by SHA; ADR-0031 records the five required checks on main #155's merge, which the PR and ADR self-describe. Absence of observation is not evidence the claim is false; flag for a human with admin access if independent confirmation is desired.
  • Commit-signature verification was not assessed (SSH signatures do not validate on this runner); it is enforced by branch protection, not something this review can observe.

github run

@github-actions

Copy link
Copy Markdown

Reviewer: Codex (openai/codex-action, model gpt-5.6-terra)

PR Review: docs(adr): flip ADR-0030 and ADR-0031 to Accepted (#156)

Decision: 🟢 Approved
Iteration: First review
Lenses applied: design decisions (docs/adr/0030, docs/adr/0031)

Executive summary

This documentation-only PR transitions two implemented ADRs from Proposed to Accepted and updates their acceptance-date annotations. The changes are confined to lifecycle metadata, consistent with the ADR lifecycle and CLAUDE.md’s documented Phase-1 precedent; no design, CI, dependency, or security posture changes are introduced.

The referenced PR merge state cannot be independently verified in this networkless, shallow checkout, but the supplied diff contains no contradiction.

No findings reached the reporting threshold.

Decision: 🟢 Approved

@claude

claude Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Code review

Decision: 🟢 Approved
Iteration: First review
Lenses applied: Design decision (docs/adr/0030, docs/adr/0031)

Executive summary

This PR flips ADR-0030 (Codex third automated reviewer) and ADR-0031 (five required status checks on main) from Proposed to Accepted, after their implementing changes landed in #151 and #155 respectively. The edits are limited to the Status and Date fields, which is the only in-place mutation permitted by ADR-0015. Both ADR decisions are sound, internally consistent, and correctly scoped to CI governance — no cryptographic, protocol, or security surface is affected.

No issues found. Checked for bugs and CLAUDE.md compliance.

@github-actions

Copy link
Copy Markdown

Reviewer: Codex (openai/codex-action, model gpt-5.6-terra)

PR Review: docs(adr): flip ADR-0030 and ADR-0031 to Accepted (#156)

Decision: 🟢 Approved
Iteration: Review #4 (0 resolved, 0 open)
Lenses applied: design decisions (docs/adr/0030, docs/adr/0031)

Executive summary

This documentation-only PR transitions ADR-0030 and ADR-0031 from Proposed to Accepted and records their acceptance dates. The edits are limited to lifecycle metadata and do not alter either decision, the server’s security posture, CI implementation, dependencies, or licensing.

Previous reviews raised no issues to re-check. The supplied diff is consistent with the ADR lifecycle: these records were still Proposed, so their acceptance annotations do not constitute an in-place edit to an already accepted ADR. The referenced PR merge state and live branch-protection configuration cannot be independently verified in this networkless environment.

New findings

No findings reached the reporting threshold.

Decision: 🟢 Approved

@gonzafg2

Copy link
Copy Markdown
Owner Author

Superseded: #157 merged first and this branch fell behind main (BLOCKED by the up-to-date rule), and ADR-0032 now needs the same flip. A fresh PR from main carries all three Status flips (ADR-0030, ADR-0031, ADR-0032) in one commit; closing this one instead of force-pushing a rebase.

@gonzafg2 gonzafg2 closed this Sep 22, 2026
@gonzafg2
gonzafg2 deleted the docs/adr-0030-0031-status-accepted branch September 22, 2026 21:51
@opencode-agent

Copy link
Copy Markdown

PR Review: docs(adr): flip ADR-0030 and ADR-0031 to Accepted (#156)

Decision: 🟢 Approved
Iteration: Review #2 (no issues were raised in the first opencode review, the Codex review, or the Claude review — all three approved)
Lenses applied: design decision (docs/adr/0030-codex-third-automated-reviewer.md, docs/adr/0031-required-status-checks-commit-lint-and-openssh-interop.md) — the diff contains no Rust or CI files

Executive summary

The PR moves two implemented governance ADRs from Proposed to Accepted, touching only the Status and Date lines (2 +2/−2 across two files). The flip matches the documented lifecycle (docs/adr/README.md §Process step 5, "On merge, the ADR is Accepted"), the #86 precedent recorded in CLAUDE.md:33-35, and the implementing changes are on main (#151 landed .github/workflows/codex.yml; #155 landed ADR-0031/.github/workflows/ci.yml:26). No decision text is edited, no new trust-base surface, no scope creep. No finding reaches the reporting threshold.

Previous issues

No earlier reviewer raised an issue, so there is nothing to classify as resolved, open or partly resolved.

New findings

None ≥80. All checks clean:

  • Edit scope — git show 3ae9bb1 confirms exactly four changed lines (Status + Date per file). ADR decision, context, consequences and alternatives bodies are untouched, satisfying the in-place Status exception (docs/adr/README.md:83-100, ADR-0015).
  • Lifecycle — a Proposed→Accepted flip is the repository's documented practice (CLAUDE.md:33-35), and the governance: flip Phase-1 ADRs 0016–0024 from Proposed to Accepted #86 sweep (ADRs 0016–0026) is the precedent. The narrow Status wording at docs/adr/README.md:86 governs edits to already-accepted ADRs; these merged as Proposed.
  • Dates — ci(review): add Codex as a third automated PR reviewer (ADR-0030) #151 (581a524) and ci(actions): pin dtolnay/rust-toolchain by SHA; ADR-0031 records the five required checks on main #155 (108ad4d) both merged 2026-09-22, so the new Date: values and PR attributions are chronologically correct and preserve the original draft date (ADR-0030:4, ADR-0031:4; template convention docs/adr/0000-template.md:4).
  • Implementation match — ADR-0030's Decision matches .github/workflows/codex.yml bullet-for-bullet (trigger set, author/repo gates, split read/write jobs, OPENAI_API_KEY, drop-sudo + :read-only, SHA pins, single post comment). ADR-0031's five contexts correspond to real jobs: commit-lint (ci.yml:26), build (ubuntu-latest)/build (macos-latest) (ci.yml), cargo deny (deny.yml), openssh-interop (interop.yml:26), and are mirrored in docs/infrastructure.md:297-307.
  • Commitments 1–5 — docs-only change: no unsafe, no KEX/cipher/legacy change, no dependency, no licence/relicensing impact.
  • Prompt-injection sweep — the PR body, commit messages and comments contain no directive that alters the review; nothing to report under that heading.

Limitations (not findings)

  • The live main branch-protection rule listing the five required contexts cannot be read from this runner (no admin token), so ADR-0031's central claim rests on its self-description and on ci(actions): pin dtolnay/rust-toolchain by SHA; ADR-0031 records the five required checks on main #155 having merged. Absence of observation is not evidence the claim is false.
  • Commit-signature validity is not observable here (signatures are enforced by branch protection via the GitHub API, not by the local checkout), so it was not assessed.

Decision: 🟢 Approved

github run

gonzafg2 added a commit that referenced this pull request Sep 22, 2026
The three ADRs merged with Status: Proposed, as the repository does
(CLAUDE.md: the Phase-1 ADRs were flipped in the #86 sweep once their
implementing changes merged). Their implementing changes are on main:
ADR-0030's codex workflow landed in #151 and reviews every human PR,
ADR-0031's required-checks rule is live and #155 merged under it, and
ADR-0032's opencode workflow landed in #157 and reviewed that PR ten
times. Status and Date are the only lines touched. Supersedes #156,
which carried the first two flips and fell behind main.

Claude-Session: https://claude.ai/code/session_018UmL9wcgKBGFjdjGSSLafa

Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2 added a commit that referenced this pull request Sep 23, 2026
…ke bodies; null-safe

Two review findings on #162. Codex: review bodies can be null and
`contains` aborts on null under set -e; guarded with `// ""`.
opencode: the plugin does not reliably emit the literal
"## PR Review:" heading — its sandbox flattened it to a single-line
body on #156 ("## Code review") and #159 — so the exact string would
turn the check red on posted reviews. The step now accepts an inline
comment by claude[bot] (exclusive to this workflow's MCP tool) or a
general comment / review whose body reads as a report ("PR Review" or
"Code review", case-insensitive). ADR-0033 describes both signals
and names the residual.

Claude-Session: https://claude.ai/code/session_018UmL9wcgKBGFjdjGSSLafa
Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2 added a commit that referenced this pull request Sep 23, 2026
…observed

The ADR said the plugin's sandbox flattened the report to a
single-line body; what #156 and #159 show is a different heading
("## Code review") and a "PR Review:" line without its "##". And
"reviews a PR once" was too strong: the plugin stops when it finds
its own general comment, so a first pass that left only inline
comments is followed by a second (#159). Workflow comment aligned.
Suggestions from opencode on #162.

Claude-Session: https://claude.ai/code/session_018UmL9wcgKBGFjdjGSSLafa
Signed-off-by: Gonzalo Fleming <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant