Repository navigation
Repair the three dangling cl-plane-1 cluster refs in the corpus snapshot (#1159) - #1184
Conversation
…ow (#1159) The corpus snapshot's three possibles that claim cl-plane-1 (pos-derived-cross-domain-persona-framework-package, pos-derived-roster-promotion-conformance-checklist, pos-derived-cross-layer-cost-accountability-pipeline) dangle because no document still declares plane-1 where the snapshot generator reads it. The generator derives a document's clusters from the FIRST line of its Topics: header, and only inside the 15-line lifecycle header window (openxdox/generator.py: parse_topics -> _header_value, HEADER_SCAN_LINES = doc_health.corpus.STATUS_SCAN_LINES = 15). The drift is b75d7ee (PR #785, merged as 97f14f7, 2026-09-08). The 24 domain files left for their destination repositories, and with them went the only three documents that declared plane-1 inside that window: codexfactory-domain-roster-draft.md and the two *-domain-hermes-content staged fragments. Measured with each revision's own generator and validator: at 02bec9e, where the three possibles landed, and at b75d7ee^ the snapshot carries cl-plane-1 and validates 0/0; at b75d7ee and at 97f14f7 it carries no cl-plane-1 and fails with exactly the three findings. The cluster record itself never went away. The readiness index that the same PR regenerated (60ed7db) keeps cl-plane-1 with three members, because the readiness scorer reads the whole header block, continuation lines included. This document is one of those members, and it declares plane-1 on the first line of its Topics: header. Its eleven-line Summary pushed that line to line 16, one past the window. This commit reflows the Summary paragraph so the Topics: header sits on line 15. It is whitespace only: not one word changes, the first Summary line is byte-identical, and the header keeps the order ideation/README.md requires. The snapshot then derives cl-plane-1 from this document again, and the strict validator reports 0 errors, 0 warnings. The possibles are untouched, because they record what derive run DPOSS-d347d926a111 read. The index is untouched, because the readiness scorer's parse of this header is identical before and after. Refs #1159 Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR fixes the three strict dangling Flow diagram for restoring the Plane-1 cluster referenceflowchart LR
A["Whitespace-only reflow"] --> B["Topics header enters 15-line scan window"]
B --> C["Snapshot generator derives cl-plane-1"]
C --> D["Three existing possible references resolve"]
D --> E["Strict validation passes"]
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Add a regression assertion covering cl-plane-1 derivation and strict precheck validation.
Review effort: Lite
Findings: None
What changed in this PR
This PR restores cl-plane-1 cluster derivation through a whitespace-only header reflow, resolving strict snapshot validation failures.
Changes:
- Moves
Topics:within the generator’s scan window. - Preserves document content and readiness-index data.
| File | Summary |
|---|---|
ideation/brainstorm/client-layer-roster-draft.md |
Reflows the header to restore cluster discovery. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
|
Lane: openxfactory-5 (openXfactory-5) Answering Copilot's review Not added in this PR, on purpose; raised to the coordinator instead.
|
There was a problem hiding this comment.
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 1 day and 4 hours by commenting @sourcery-ai review. Upgrade to get a review now.
|
Lane: openxfactory-5 (openXfactory-5) LANDING — lane openXfactory-5, session b254fdd5-0bdf-44e0-bb45-5a780234009f@Eagle, 2026-09-27T17:06:54Z, PR #1184 into opensoft/openxFactory main |
Brings in #1175 and #1184 (a9e7db7). #1184 repairs the three dangling cl-plane-1 cluster refs (#1159), so the real seal of this branch runs over the corpus the nightly will seal next. Neither touches a file of this change. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Drops the idle #1159 entry from KNOWN_STRICT_FINDINGS in the dashboard refresh lane: #1184 repaired the three dangling cl-plane-1 cluster refs, so the real snapshot validates and the row is never consulted. The table is now empty with its row shape kept in the annotation; the citation tests run against a stand-in row so the citation code stays covered, and a new test asserts nothing is tracked today. No regression gate added, per Brett Heap's word "remove the idle #1159 row, skip the gate for now". Real seal: precheck validated, 400 documents, no citation consulted. Refs #1159. Landed on the word of 2026-09-27, verbatim "land #1188 when green". Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]>



Lane: openxfactory-5 (openXfactory-5)
The real corpus snapshot failed strict contract validation with three
snapshot-dangling-cluster-reffindings tocl-plane-1. This PR restores the cluster those refs intend; it does not retarget them. The change is one whitespace-only reflow of one brainstorm header. With it, the real seal's pre-dispatch validator passes at this head.What was wrong
At
main(133e37d9), the refresh lane's real seal (render plus--strictvalidator, run the way the worker runs them) refused the snapshot:The three records are possibles in the
possibles_registerofideation/cross-reference.yaml. Derive runderive-possibles-30186143362-1(jobDPOSS-d347d926a111, source revision41e005ff) proposed them forcl-plane-1, and02bec9e8(2026-08-26) landed them. Each one carriesclaiming_clusters: [cl-plane-1]andprovenance.section: derived-from cluster cl-plane-1.cl-plane-1was not renamed, merged or split, and it was always defined. Its record is still in the index (topic_entries, "Plane 1", three members). What the snapshot lost is the ability to derive it, because two readers parse the same headers differently:openXdox/code/src/openxdox/generator.py) makes a clustercl-<topic>for every topic a document declares. It reads only the first line of aTopics:header, and only inside the 15-line lifecycle header window (parse_topics→_header_value,HEADER_SCAN_LINES = doc_health.corpus.STATUS_SCAN_LINES = 15).scripts/doc_health/ideation_readiness.py::_parse_header) reads the whole header block, continuation lines included.The drift commit is
b75d7ee5("The 24 domain files leave openxFactory…"), PR #785, merged as97f14f76on 2026-09-08. It removed the only three documents that declaredplane-1where the generator reads it:ideation/brainstorm/codexfactory-domain-roster-draft.mdand the two staged*-domain-hermes-content.mdfragments.The same PR regenerated the index (
60ed7db7), which keptcl-plane-1with the three remaining members. All three declareplane-1, but none where the generator reads:ideation/brainstorm/)Topics:on lineplane-1onclient-layer-roster-draft.mdclient-layer-scaffold.mdproject-layer-scaffold.mdMeasured with each revision's own in-tree generator and validator:
cl-plane-1in the snapshot02bec9e8(the possibles land)0 error(s), 0 warning(s)b75d7ee5^(543d47a9)0 error(s), 0 warning(s)b75d7ee597f14f76(#785's merge)133e37d9(main)What this changes
The PR touches one file,
ideation/brainstorm/client-layer-roster-draft.md, the Client Plane-1 roster itself. ItsSummary:paragraph is reflowed, whitespace only, so itsTopics:header moves from line 16 to line 15, inside the window.plane-1was already on that header's first line.Summary:line is byte-identical, so the snapshot'ssummaryfor this document does not move.ideation/README.mdrequires. § "Ideation Header Format" lists the fields "in this order", withSummary:beforeTopics:. That is why this is a reflow and not a move ofTopics:aboveSummary:; no corpus document has that order (0 of the 253 with aTopics:header)._parse_headerreturns an identical dict for this document before and after.Why restore rather than retarget. Nothing replaced
cl-plane-1: it is still defined, and this document is one of its members. The three possibles record what derive runDPOSS-d347d926a111read, so rewriting theirclaiming_clusterswould falsify that record.60ed7db7names this trap when it keeps eight possibles that cite departed files: "Rewritingprovenance.documentwould falsify the record of a run".This document is the remaining member closest to the three possibles. It is the Plane-1 roster, it is the provenance and evidence of
pos-derived-cross-layer-cost-accountability-pipeline, and it is the kind of roster the other two describe.Snapshot delta (this head against
main, same anchors):client,client-hermes,company-policy,plane-1,house-team,authority-personas).cl-plane-1is added: name "Plane 1" (read from the index), one document edge,possible_links: 3.cl-authority-personas,cl-client,cl-client-hermes,cl-company-policy,cl-house-team) each gain this document's edge.plane-1, and the same five keywords' counts rise by one.possibles,staged_topicsandchangesare identical.Evidence
measure-real-seal.py(the real leg sealer, the real pre-dispatch render and the--strictvalidator):133e37d9:"sealed": false, "strict_failed": true, with the three findings above;76d52bf2:"sealed": true,"precheck": {"entry": "scripts/ideation-dashboard-cli.py", "documents": 400, "strict": true, "outcome": "validated", "returncode": 0}.CONTRACTS_DIR=openXdox/spec/contracts python3 openXdox/code/scripts/validate-ideation-dashboard-contracts.py --strict <snapshot>.3 error(s);validate-ideation-dashboard-contracts: 0 error(s), 0 warning(s).snapshot-dangling-cluster-refcount: 3 → 0.python3 scripts/doc-health.py --single-repo .): rc 0 at both base and head, with "Findings: 31 critical, 26 error, 49 warning, 21 info. New regressions vs previous report: 0." The critical/error/warning set is identical, and no finding names the touched file.python3 scripts/validate-openspec-cli-pin.py --all): rc 0 at both, output identical apart from a node process id ("every target validated --strict with 0 UNDISPOSITIONED failures … 1 finding(s) are ACCEPTED EXCEPTIONS").python3 scripts/validate-ideation-cross-reference.py): output identical at both, rc 1 from three pre-existing errors, all intests/ideation-dashboard/fixtures/base-repo/and none in the real index.python3 -m pytest -q -p no:cacheprovider tests/ideation-dashboard): 1383 passed.python3 -m pytest tests/ -q -m "not postgres" -p no:cacheprovider, from a checkout path without "one"): 8682 passed, 21 skipped, 338 deselected, 391 subtests passed. One test failed:tests/hermes_runtime_contracts/test_validator_cli.py::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization], asubprocess.TimeoutExpiredon its fixed 30 s timeout while the machine's load average was near 11. Re-run alone, it fails the same way at base133e37d9in the same checkout kind (1 failed, 1 passedat both), and it passes in CI.pytest-suitesuccess ("8725 passed, 6 skipped, 338 deselected, 9 warnings, 412 subtests passed";failures=0 errors=0), and all 14 check-runs completed with success.python3 -m pytest -q -p no:cacheprovider) stops at the same 10 collection errors at base and head, so it does not measure this change. Nine are in the product legs' own test trees, and one is anAlreadyRegisteredcollision those trees cause intests/ideation-dashboard.test_this_checkout_seals_and_its_corpus_renders_from_the_sealaccepts either verdict by design ("Whether the verdict isvalidatedis a property of the corpus, not of the seal"), and it now takes itsvalidatedbranch. Thecl-plane-1citation tests use stand-in validators with synthetic findings.Left for the coordinator (outside #1159 as filed)
KNOWN_STRICT_FINDINGS(scripts/ideation_dashboard/dashboard_refresh_lane.py) stays. The row is built to go quiet on its own once the finding is gone, so it is harmless. Removing it, and pointing the three citation tests at a synthetic row, is a separate call.Topics:header, 38 place it past line 15 and 99 continue it onto a following line. The generator reads neither; the scorer reads both. So the index can hold clusters the snapshot never derives.cl-plane-1's snapshot cluster now has one edge where the index lists three members.cl-plane-1was the only one.Held for
Closes #1159
🤖 Generated with Claude Code