Repository navigation
DESIGN.md recut: rules kept, rulings typed, half the words - #13679
Merged
Merged
Conversation
…lf the words DESIGN.md is regenerated from a recut gunbc.design_document, with the same sections. Restatements are cut and dated operator rulings are moved into a typed carrier, which the document cites by symbol through gunbc.documentary_refs. "Building & checks" is now a short page for the one-job gate. - New gunbc.design_ruling: one DesignRuling row per dated ruling (12 rows), with an on-demand view expected_design_rulings_md. - documentary_refs gains one DeclarationRef per ruling. Its witness now requires EVERY row to render in the document, and its fixture covers them. - Conformance narratives in gunbc.design_argument are cut to their rule and scope boundaries. Mechanism detail is already stated in the home modules. The map-key equality trigger was stated nowhere else, so it moves to a std.algebra annotation. - Citation fixes: product.node_power_envelope (not gunbc.product.*) and the dag/std/os.dag path. Removed a backticked name that is not a declaration (compiler_pipeline_entry_is_ambiguous). - Docs: deleted (zero consumers, checked by name) docs/notes/allocation-ui-handoff.md, docs/notes/tracker-bundle-handoff.md, docs/plans/v1-closeout-pr-accounting.md, and docs/plans/s2-v2-self-emit-brief.md (which targets the byte fixed point §7 rejects), plus its doc_graph_roots row and the one inbound link. Fixed the doubled relative links in replacement-migration-doctrine.md. Size (same render instrument, before and after): 96,434 -> 59,160 bytes, 14,434 -> 8,394 words. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ment) Tightens §3 (witness rule, migrations), §3d, §4, §4b, §5, §6b, §3c and Building & checks. Every rule is kept. The document witnesses rerun green: documentary refs 4/4, review role 13/13, §3d 1/1. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
gunbai-bot
Bot
force-pushed
the
session/sunny-ant-669-recut
branch
from
October 10, 2026 15:29
a168f17 to
457776f
Compare
Review on #13679: DesignRuling carried a second copy of each rule and the ruling population was registered in six places. The row now carries only reference/decided/section/provenance; DESIGN.md is the rule's sole home. design_rulings() is the one roster: documentary_refs derives the ruling refs from it, design_document cites rows by import, and the witness derives its fixture from it. A live keyed decl_facts_at claim pins each row's reference to its real declaration (mutant: a misspelt self-reference reds it). DESIGN.md bytes unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- 3b roster: ConformanceDomain carries owns / boundaries / home groups (label + purpose) instead of one narrative string; each domain renders as its own subsection with homes one per line under grouped headings. The flat home population is derived from the groups, so reviewer briefs and DESIGN.md still name one population. - 5: absorbing fallback, escape hatch, workaround and scaffold collapse under one parent rule (stop visibly, never conceal the deficit); externalization stays distinct. - 6b: a numbered method plus one upstream/local example; PR specimens move into the chain_re_derivation ruling's provenance. - Building & checks keeps the CI contract; CLIs, local checks, hooks and regeneration move to docs/onboarding.md (gunbc.contributor_onboarding_path onboarding_reference). - 3b three-valued answer, 3d outcomes and the delete-first carve-outs become lists. Witnesses: review role 13/13, documentary refs 5/5, onboarding 18/18. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
gunbai-bot Bot
pushed a commit
that referenced
this pull request
Oct 10, 2026
…moved the heal-publisher sentence this PR amended, so main's design document and its projection are taken as they are
briansrls
pushed a commit
that referenced
this pull request
Oct 10, 2026
review 78457 on #13679: the recut's §2 summary dropped load-bearing distinctions std.materialization_ladder still enforces (a single undeclared pure demand recomputes; when a reuse obligation arises; demand minimization vs cache purity before §6 picks the realization). Restored from the pre-recut text as an ordered list. Co-authored-by: gunbc-ci-auto-heal <gunbc-ci-auto-heal@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Recuts DESIGN.md and the repository docs. Targets
main(#13641 has merged; the branch was replayed onto main).What changed
gunbc run --entry dag/gunbc/design_document.dag --function expected_design_md. The section structure (§1 to §7, Building & checks) is unchanged and every rule is still there. Restatements are cut, stale citations are repaired, and "Building & checks" is now a short operator page for the one-job gate.dag/gunbc/design_ruling.dagholds 12DesignRulingrows (when decided, section, rule, provenance). DESIGN.md cites each one by symbol throughgunbc.documentary_refs, andexpected_design_rulings_mdgives an on-demand view of them.gunbc.design_argumentare cut down to their rules and scope boundaries.docs/notes/allocation-ui-handoff.mddocs/notes/tracker-bundle-handoff.mddocs/plans/s2-v2-self-emit-brief.md, along with itsdoc_graph_rootsbind and the link to itdocs/plans/v1-closeout-pr-accounting.mdreplacement-migration-doctrine.mdare now relative.Review follow-ups
DesignRulingno longer copies the rule; a ruling holds only its reference, date, section and provenance.design_rulings()is the single roster: documentary refs, DESIGN.md citations (by import) and the witness fixture all derive from it. A new live-lookup claim (decl_facts_at) fails if a ruling's reference doesn't name its real declaration (mutant-checked).ConformanceDomainnow hasowns,boundariesand grouped homes (label + purpose) instead of one narrative string. Each domain renders as its own subsection with one declaration per line. Review identity still hashes only key/question/tells/algebra/homes; the flat home order changed for the grouped domains, so prior conformance review observations for fabric/compute and keys/hashing will re-plan once.docs/onboarding.md(newonboarding_referencerows).Evidence
documentary_refs_witness_test, 4/4. It now requires every ruling ref to be rendered. As a mutant control, removing one citation turns it red.roadmap_review_role_witness_test, 13/13realization_selection_witness_test, 1/1rung_drop_standing_partition_witness_test, 4/4required_lane_claim_agreementw_no_projected_ledger_denies_a_lane_the_roster_requiresledger_row_coherence, which fails to resolve on unrelated host and auth modulesNot yet done
tools.generated_artifact_gatemain_wet/mainhave not been run; DESIGN.md and onboarding.md were rendered from their authorities with the seed (gunbc run --function).🤖 Generated with Claude Code