Regenerate architecture map and gate its freshness in CI#139
Merged
Conversation
The map went stale on main within hours of landing (#129 added PRD-0016 between merges) because nothing ran the generator's --check. Adds it to the CI checks job next to the layer check, and regenerates the page (now 15 PRDs). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FWVy56w8xjBRQKwC94Har3
11 tasks
tieguy
pushed a commit
that referenced
this pull request
Jul 12, 2026
Brings in the Wikidata entity read path (#119), the citation repair/insertion browser surface (#109), the architecture map + CI freshness gate (#118/#139), coordination fail-closed (#146), the as-built ADRs 0020-0023, and the docs attic move. Conflicts were the book-citation lane (this branch) and the bare-URL repair lane (main) touching the same seams; resolved by union: - BlockRef carries both book_sources (branch) and is_bare_url_ref (main); parsoid threads RefSources and the ref_bare map side by side. - CitationFinding carries both book_scan and is_bare_url_ref. - verify_page keeps the books pass; main's re-verify surface (select_reverify_use_site / apply_reverified_finding) now tallies through the five-argument tally_stats with book resolutions intact. - STATUS.md keeps both progress bullets. Regenerated docs/platform/architecture.md for the new citation modules (openlibrary, search_inside, enrich, openlibrary_apply). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012u5MVp3vAN44KhsVg3vroY
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
The generated architecture map went stale on
mainwithin hours of the doc PRs landing — #129 added PRD-0016 between merges, and nothing runs the generator's--checkyet. Two changes:docs/platform/architecture.mdregenerated (now 15 PRDs; picks up PRD-0016 and the post-merge status states)../scripts/generate-architecture-map.sh --check. The job already has cargo, and the check is a deterministic diff — any PR that adds a crate, ADR, or PRD without regenerating the map now fails with a one-line "run the script and commit" message.Type
Validation Required
Risk
Notes For Reviewers
One behavioral note: the freshness gate means doc-only PRs that touch ADRs/PRDs will need
cargo metadatalocally to regenerate the map (the generator's only cargo dependency — no build). That's the same requirementcheck-layering.shalready imposes.🤖 Generated with Claude Code
https://claude.ai/code/session_01FWVy56w8xjBRQKwC94Har3
Generated by Claude Code