Skip to content

Document architecture anchors for scoped PR reviews - #615

Merged
Dong1017 merged 1 commit into
mainfrom
codex/architecture-anchors-574
Nov 24, 2026
Merged

Dong1017 merged 1 commit into
mainfrom
codex/architecture-anchors-574

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Governing Issue and delivery slice

Refs #574

  • Accepted scope and delegation — The first of two agreed deliveries. The owner accepted the architecture anchor and review workflow direction, including the later blocker citation amendment. Accepted direction · Amendment confirmation · Claim
  • Delivery — Document nine stable architecture anchors and their canonical rules and evidence. Update the existing review-pr and open-pr skills for blocker citations, re-review and declaration of anchor-governed changes.
  • Separate delivery — Advisory CI for protected contract scope and an anchor reference drift test follow in a second PR from main. A9 is review-only until that CI delivery lands.

Anchors touched: A1–A9 under #574

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "c13452b59c993766abb503916051d39d1c81d2a4",
  "human_only": false,
  "material_ai_authors": [
    {"tool": "Codex", "model_id": "unknown", "effort": "unknown", "role": "author"}
  ]
}

Changed artifacts and evidence

  • docs/architecture.md defines A1–A9 and points to existing contracts and checks. The local check resolved all nine anchors, 26 link targets and seven test references.
  • review-pr asks reviewers to cite an anchor, an acceptance criterion or a concrete verified defect for a blocker. It explains how to handle a missing citation and preserves the binding review disposition. open-pr asks authors to declare the touched anchors for contract-governed changes.

Checks and dependencies

  • Passed git diff --check, ruff check src tests tools, the compiled skill index check, the anchor reference check and the six focused architecture and PR reference suites (214 tests and 332 subtests).
  • The local Windows full-suite attempt is not green. The first failure, test_all_actual_revision_bytes_retained_before_checks, reproduced on exact baseline 1d1185d6cf327904608ed4456d8c61a4eb13a025 and reports CRLF versus LF. Browser suites require Playwright and one fixture requires symlink support. Repository CI will test the proposed revision independently.
  • The prerequisite collaboration guidance is already on main through docs: let agents carry work end to end, with human stop and high-risk gates #571.

Remaining work and Issue closure

  • The second delivery covers advisory CI and reference drift. The content in this PR is ready for independent review. Overall Issue acceptance remains pending with @Dong1017.

Agent-assisted-by: Codex / unknown effort=unknown (implementer)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PASS
dot, acting for @zengchuang-hw.

Reviewed c13452b59c993766abb503916051d39d1c81d2a4 against 1d1185d6cf327904608ed4456d8c61a4eb13a025 for #574's accepted documentation slice. A1–A9 point to the controlling contracts, distinguish existing checks from review-only criteria, and preserve the legacy compatibility boundary. The two existing skills now route missing citations back to the reviewer without letting an integrator override a binding review. No workflow or permission changes are included.

Non-blocking: the PR summary's “anchor + criterion + verified defect” reads as an AND. The skill correctly treats those as alternative bases; please align the summary.

Checked the three-file diff, linked contracts and named test definitions. No tests or CI run or consulted. Advisory CI and the reference-drift test are the separate second delivery.

@Dong1017 Dong1017 added area:process Repo-wide process, governance, privacy and security rules kind:docs Documentation and template delivery labels Nov 24, 2026
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @Dong1017.

@david6666666 PTAL when available. This docs-only slice needs a second independent review on c13452b5. The scope is the nine anchors and the accepted review rule, including the routing for missing blocker citations. The PR summary now matches the skill wording. The CI permissions change is a separate PR.

@amy-why-3459 amy-why-3459 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Codex, acting for @amy-why-3459.

PR review verdict — PASS

审阅范围与依据

已核对 base 1d1185d6cf327904608ed4456d8c61a4eb13a025、head c13452b59c993766abb503916051d39d1c81d2a4 的三文件差异及 #574 的修订决定。A1–A9 指向相应架构规则;开 PR 时声明涉及的条目,审阅者可依据架构条目、已接受的验收条件、PR 声明或具体缺陷提出阻塞意见。缺少依据时由原审阅者补充或修改判断,正式的 Request changes 仍须经复审批准或授权撤销才能解除。

Ready CI 八项检查均已通过,包括 Python 3.10 和 3.11 的完整测试和安装包检查。本次批准覆盖文档与审阅流程;CI 权限和引用漂移检查属于另一个交付。

@Dong1017
Dong1017 merged commit ae8fb24 into main Nov 24, 2026
12 checks passed
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @Dong1017.

Squash-merged the architecture anchors and PR skill updates as ae8fb24 on main. The merged head was c13452b, formally approved by zengchuang-hw and amy-why-3459.

The current-head checks passed. The final readback confirmed the governing Issue, dependency merges, current base, and empty automatic merge and Issue closing links. The advisory CI and drift check are the second delivery under #574.

@Dong1017
Dong1017 deleted the codex/architecture-anchors-574 branch November 24, 2026 08:08
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).

No further review is needed here: #615 merged at ae8fb240 on head c13452b5 at 07:22Z, two minutes after @amy-why-3459's second independent Approve on that exact head (07:20:04Z), so the second review this thread asked for is already recorded and no verdict is open.

I deliberately posted no formal review. The PR is closed/merged and this account is its author, so a review from it is COMMENTED at best and not an independent vote (#597 7090489855, #371 7089393818). If @david6666666 still wants a reading on the merged content on the record, that belongs as a note on #574 rather than a review on a merged PR.

Nothing blocking was found in the merged diff; the residual work stays where #574 already put it — the advisory CI and reference-drift delivery, with A9 review-only until it lands (decision 7125195963). Tests and CI were not run by me.

What I checked in the merged diff
  • Scope matches the accepted slice: nine anchors A1–A9 in docs/architecture.md, plus the citation rule in .agents/skills/review-pr/SKILL.md §3 and the Anchors touched line in open-pr. No workflow, permission or CI change is in the three-file diff.
  • The two anchor targets the new normative text depends on exist on the merged head: ## Architecture anchors at docs/architecture.md:51 (the #architecture-anchors target used by both skills) and ### PR review and merge at docs/agent-collaboration.md:114 (the #pr-review-and-merge target used by the new Request-changes paragraph and by A9).
  • The ../../../docs/... relative paths in .agents/skills/{open-pr,review-pr}/SKILL.md resolve to the repository root, so the links are correct from that depth.
  • The amended summary now matches the skill: §3 lists anchor, accepted criterion, PR claim and verified defect as alternative bases, not a conjunction — this closes zengchuang-hw's non-blocking wording note.
  • The missing-citation routing preserves disposition: the author flags, the reviewer supplies the basis or revises; a binding Request changes still clears only by re-review to Approve or an authorized dismissal with a recorded reason. A9's Checked by review correctly states it is review-only pending the CI delivery.

Not verified by me: the 26 link targets and seven test references the body claims, and the test files the anchors cite — no tests, CI or repository scan were run in this session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:process Repo-wide process, governance, privacy and security rules kind:docs Documentation and template delivery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants