Repository navigation
Ratify honour-grandfather-dispositions-in-ratified-provenance: an ARCHIVED record's grandfathered finding reports at info with its citation (Brett Heap, 2026-09-11) - #945
Conversation
…chived record the owner grandfathered is reported at info, not critical (DRAFT, refs #939) A DRAFT PROPOSAL WITH ITS REALIZATION. Status: draft on every document, drafting provenance with NO approval pair, and nothing under openspec/specs/ is edited. Brett Heap's multiple-choice word of 2026-09-11 ~01:3xZ, verbatim "Commission the packet", commissions the AUTHORING and decides no wording. THE DEFECT, measured on main @ 96b4835 against the real aggregation dispositions file (opensoft/xFactory @ bc84d325): ratified-provenance reports 41 rows, every one critical, and EIGHTEEN of them are archived records the owner has already grandfathered — fifteen openxFactory records disposed on #877 (xFactory PR #420) and codexFactory's three (xFactory PR #412), each entry dated and cited. fam_ratified_provenance reads no disposition at any of its five arms; the runner's uncited_resolutions arm reads the file but adjudicates a DISAPPEARED contested finding only, and this family is auto-fixable. THE DELTA adds ONE scenario to ONE requirement and edits no promoted byte. "Governed corpus membership and the lifecycle scan set" is SLICED from canon (lines 878-936, sha256 d32aaa43..., byte-identical both sides) and gains "A finding is grandfathered by a recorded disposition". derive_units over both blocks: 29 canon units, 0 uncarried, 5 of 5 scenario titles carried, 8 units added, 0 markers on either side. THE REALIZATION rides this pull request (code_surface non-empty, target_release: implemented): one last pass in scripts/doc_health/families.py, whose admission rule is DELEGATED to promotion_fidelity.load_dispositions rather than re-decided, plus 17 new tests. After it the same 41 rows read 23 critical + 18 info: the eighteen are exactly the eighteen disposition keys, all archived, and the other twenty-three are byte-identical. TWO DECLARED VETO POINTS: design.md D1 (an info row carrying the citation, against SILENCE on the four sibling requirements' suppression precedent) and D2 (the ARCHIVED-only boundary, an active packet's record being a plain fix rather than a ruling's subject). tasks.md section 1 (ratification) and section 6 (archive) are entirely open; #939 closes at the ARCHIVE and not at this landing. refs #939, refs #877, refs #878 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…ext to its number `tasks.md` § 6.2 opened with the keyword immediately followed by the origin issue's number, and `proposal.md`'s last bullet did the same inside a negation. Both are the exact adjacency GitHub auto-links on — a closing keyword followed by an issue number — and a negation does not disarm it. Neither line sits in a pull request body or a commit message, so neither could have linked anything by itself, but the packet's own rule is that the form appears NOWHERE on this branch, and a reader who copies a line out of a task list into a body is exactly how the form escapes. This message therefore describes both lines rather than quoting them. Both now name the issue by number in prose and put the keyword nowhere near it, and § 6.2 states the rule it is keeping: a commit message auto-links exactly as a body does, so the guard greps both. refs #939 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Reviewer's GuideThis draft proposes and implements a final post-processing pass for ratified-provenance findings: cited dispositions for immutable archived packets are reported at info with a bounded citation instead of critical, while active paths, unrelated entries, single-repository runs, and all other findings remain unchanged; no promoted specification or disposition data is modified. Sequence diagram for grandfathered provenance finding handlingsequenceDiagram
participant Runner
participant Families as fam_ratified_provenance
participant Fidelity as promotion_fidelity.load_dispositions
participant Dispositions as health_dispositions
participant Report
Runner->>Families: fam_ratified_provenance(ctx)
Families->>Families: Build findings from five arms
Families->>Fidelity: load_dispositions(ctx, ratified-provenance)
Fidelity->>Dispositions: Read family disposition entries
Dispositions-->>Fidelity: Admitted repo/path keys
Fidelity-->>Families: Disposition keys
Families->>Dispositions: Read citation text
Dispositions-->>Families: Cited dispositions
loop Each finding
alt Archived path with matching cited disposition
Families->>Families: replace severity with info
Families->>Families: Add grandfathered rule and cite excerpt
else Active, unmatched, or uncited finding
Families->>Families: Preserve finding unchanged
end
end
Families-->>Runner: Findings with 18 info and 23 critical rows
Runner->>Report: Render report and regression inputs
Flow diagram for archived disposition eligibilityflowchart TD
A[ratified-provenance finding] --> B{Aggregation dispositions available?}
B -- No --> C[Keep critical]
B -- Yes --> D{Matching cited disposition?}
D -- No --> C
D -- Yes --> E{Path starts with openspec/changes/archive/?}
E -- No --> C
E -- Yes --> F[Report at info with bounded citation]
F --> G[Preserve family repo path and resolution class]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
🟡 Changes recommended
One or more issues must be addressed before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds disposition-aware handling for archived ratified-provenance findings, reporting cited grandfathered records at info while preserving their report identity.
Changes:
- Adds archived-only disposition downgrading and citation excerpts.
- Adds 17 focused tests.
- Adds the draft OpenSpec packet and README active-record entry.
File summaries
| File | Description |
|---|---|
| tests/doc-health/test_grandfather_dispositions.py | Updated as part of this pull request. |
| scripts/doc_health/families.py | Updated as part of this pull request. |
| README.md | Updated as part of this pull request. |
| openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/tasks.md | Updated as part of this pull request. |
| openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/specs/doc-health/spec.md | Updated as part of this pull request. |
| openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/proposal.md | Updated as part of this pull request. |
| openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/design.md | Updated as part of this pull request. |
| openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/.openspec.yaml | Updated as part of this pull request. |
Review details
Suppressed comments (2)
openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/tasks.md:199
- This section is titled “Verification — DONE IN THIS PULL REQUEST” and the PR reports these commands as passing, but every 5.1–5.9 checkbox remains open. That contradicts the packet's own evidence and the repository's completed-task convention; tick the validations that are actually complete, leaving only any genuinely post-ledger/final-tree reruns open.
## 5. Verification — DONE IN THIS PULL REQUEST
- [ ] 5.1 `OPENSPEC_TELEMETRY=0 openspec validate
honour-grandfather-dispositions-in-ratified-provenance --strict`.
- [ ] 5.2 `OPENSPEC_TELEMETRY=0 openspec validate --all --strict`, with the
scripts/doc_health/families.py:422
- The added scenario requires a disposition to carry a date, but
load_dispositions()only filters on family, non-emptycite, and string repo/path. This second pass checkscitebut notdate, so an undated entry can still downgrade an archived finding toinfo, violating the new contract. Require a non-empty date here (and add a regression test for an undated entry).
if key in admitted and cite:
- Files reviewed: 8/8 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…fied-provenance Brings the branch up to `f0eea7ed` (the #941 register act) before the fix round. No file in this packet's surface is touched by the three commits merged in: they move `governance/review-authority/` and one walk record under `openspec/changes/register-gate-rules-council-seats/`, and this branch moves `scripts/doc_health/families.py`, `tests/doc-health/`, `README.md` and its own packet directory. A clean merge, no conflict resolved, no byte of either side edited here. refs #939 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…ry, and the identity invariant is tested at the pass TWO TAKEN, NEITHER COSMETIC. THREAD 1 — `_grandfather_cites`' second pass keyed `(repo, path)` alone. `admitted` is keyed that way because a FINDING is: it carries a repo and a path and no third coordinate to match an entry's `family` on. The admission gate was therefore right and the CITATION LOOKUP was not — an entry for another family at the same path would supply the text, and the row would be downgraded correctly while quoting a ruling that was never about this defect. This is a shape the standing file HAS, not one it might acquire: the live `health/dispositions.yaml` already carries `location-conformance` and `document-catalog` over one `ideation/staging/` path, and `setdefault` takes whichever is written first. The pass now re-applies the family test. The same thread's second half is a divergence between the delta and the code. The added scenario reads *"carrying this family, that repository, that path, A DATE, and a non-empty `cite`"*, and `promotion_fidelity.load_dispositions` tests family, repo, path and `cite` and has never tested a date — so an UNDATED entry was honoured by a realization of a requirement that asks for one. The `date` is now checked in the same pass, on presence exactly as `cite` is checked on presence; adjudicating its value is not this family's authority (`design.md` D6). BOTH PREDICATES ONLY NARROW, which is why they do not re-open D3. The shared reader still answers, alone, WHICH ENTRIES ARE RECORDED; these two answer what a recorded entry may REACH, which is where the archived-path prefix already sat. No entry is honoured here that the shared reader would refuse. THREAD 2 — the identity invariant was documented and not covered. The test compared findings from two separate `_run` calls, so `graded[path] == plain[path]` could only ever compare dataclass VALUES: a pass that rebuilt every finding it was handed satisfied it exactly as well as one that let them through. The arms now run ONCE, under `agg_root=None` (the scope in which the pass returns its argument untouched), and `_honour_grandfather_dispositions` is called on that very list under a context that has an aggregation root, with `is` on every untouched row and `is not` on the one rebuilt. MEASURED, NOT ASSERTED. Against the pre-fix `families.py` the two new tests FAIL (`_grandfather_cites` returns the foreign cite; the undated entry is honoured) and the rewritten identity test PASSES. Against a probe build whose pass rebuilds every untouched finding, the retired two-run form PASSES and the rewritten one FAILS on the first untouched row. `tests/doc-health` 1689 -> 1708; the 17 -> 19 rise is the two new cases, and no test outside this new file is edited, renamed, flipped or deleted. The measured 41/18/23 figures do not move: all eighteen standing `ratified-provenance` entries carry a `date` and none shares a path with another family's entry, both re-checked against `opensoft/xFactory` today. refs #939 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…ed by #945) Written by the sanctioned tool, never by hand: `python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#945'`, run after the draft pull request existed because the tool stamps `moved_by` with its number. THE DIFF IS ONE LINE. The change classes `co-modifier` on ARCHIVED partners only — the archived changes carrying a `## MODIFIED` block for "Governed corpus membership and the lifecycle scan set" — so no partner's class flips, no other row's provenance moves and no MOVEMENT LOG entry is owed. It declares `sequenced_after: []`, a root claim, no active change writing that requirement beside it. `--ledger-diff` goes from 8 findings (`missing row` and seven derived-total mismatches) to *"per-change sweep ledger consistent with the corpus (198 rows)"*, exit 0. `tasks.md` § 4.6 ticks with the tool's own output quoted. refs #939 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…laim a count rather than a characterisation § 5 GOES FROM TEN OPEN BOXES TO TEN COMMANDS WITH THEIR EXIT CODES AND THEIR OWN OUTPUT QUOTED, every one of them run on the tree this branch now carries — the merge of `origin/main` `f0eea7ed`, the review round and the ledger seed. THE MEASUREMENT WAS RE-TAKEN RATHER THAN RE-ASSERTED (§ 5.9). An aggregation was assembled today at `opensoft/xFactory` `5fc9bc53` with `codexFactory` `eb093294` under `xFactories/` and `openxFactory` checked out at each side of the comparison. `health/dispositions.yaml` is the SAME FILE D0 measured — blob `414ed86e` at `bc84d325`, at `5fc9bc53` and in the checkout — so the two measurements read identical bytes. Before, at `f0eea7ed`: 41 critical, 0 info. After, on this tree: 23 critical, 18 info, over the same 41 keys, with `MOVED == DISPOSITION KEY SET: True` and `all moved paths archived: True`. AND ONE CLAIM IS CORRECTED IN THREE PLACES. "The only other line of the report that moves is the headline" was true of the `## Findings By Family` rendering and silent about the second one: the report renders every finding AGAIN under `## Ranked Plan`, and the eighteen are re-banded there too. The claim is now a count anybody can reproduce — 74 differing lines, 36 a side for the eighteen findings in their two renderings plus the one headline, and nothing else — which is a stronger statement than the one it replaces, not a weaker one: the Ranked Plan keeps all 41 rows, so an `info` row is re-banded there rather than dropped. `openspec validate --strict` exit 0 after the edit; `proposal-support verify`, `validate-sequenced-after .` and `--ledger-diff`, and `validate-scope-globs .` all re-run at exit 0. refs #939 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
Unresolved specification, malformed-input handling, and resolution-classification issues require correction; validation-count documentation also needs alignment.
Review details
Suppressed comments (5)
README.md:558
- The PR description's realization section says this file adds 17 tests and the gate table says 1706
tests/doc-healthpasses, but this file contains 19test_functions and the packet's owntasks.md/README entries report 19 new tests and 1708 total. Please update the PR description so the validation evidence is internally consistent.
`scripts/doc_health/families.py` and 19 new tests, after which the same 41
openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/proposal.md:2
- The PR description says the new test file has 17 tests, but this packet and the submitted file contain 19 top-level
test_functions. Please update the PR description's verification figures to match the actual tree.
code_surface: openxFactory — `scripts/doc_health/families.py` and the tests that pin it in `tests/doc-health/test_grandfather_dispositions.py` (NEW). ONE LAST PASS IS ADDED TO ONE FAMILY AND NOTHING ELSE MOVES: `fam_ratified_provenance` returns `_honour_grandfather_dispositions(ctx, findings)` instead of `findings`, and that pass downgrades a finding to `info` exactly when the finding's `(repo, path)` carries a DATED, cited `family: ratified-provenance` entry in the aggregation's `health/dispositions.yaml` AND the path is under `openspec/changes/archive/`. The admission rule is NOT re-decided here — `promotion_fidelity.load_dispositions`, the estate's one reader of that file, is asked which entries are RECORDED and this module supplies only the citation TEXT a downgraded finding quotes, narrowing that set by the `date` the scenario asks for and by nothing else (a narrowing, never a widening). NOTHING ELSE MOVES: no arm, no scope, no document set, no threshold, no resolution class, no other family, no report field, no workflow, no contract member, no schema and no path; every finding the five existing arms build is returned as they built it, by identity, unless it is one of the dispositioned archived rows. NINETEEN tests are ADDED in one new file (`tests/doc-health` 1689 -> 1708); NO existing test is edited, renamed, flipped or deleted.
openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/specs/doc-health/spec.md:67
- This new scenario conflicts with the unchanged scenario at
spec.mdlines 41-44: a dispositioned archivedStatus: ratifiedrecord with no citation satisfies both WHEN clauses, but one MUST require the original severity while this one MUST useinfo. The new citation-arm test exercises exactly that overlap, so amend the earlier severity bullet (or otherwise state an explicit exception) rather than leaving two contradictory MUSTs.
#### Scenario: A finding is grandfathered by a recorded disposition
- **WHEN** a finding this family raises against a document under `openspec/changes/archive/` is named by an entry in the aggregation's `health/dispositions.yaml` carrying this family, that repository, that path, a date, and a non-empty `cite`
- **THEN** the run MUST report that finding at `info` rather than at the severity its own arm assigned, and MUST quote the recorded citation in the finding, because the record is IMMUTABLE and no repair is available to anyone — a permanent defect reported at `critical` teaches a reader to disbelieve the band, and a defect withheld altogether hides a standing population behind a file nobody opens
scripts/doc_health/families.py:451
- The shared loader skips non-string
repo/pathvalues before adding tuple keys (promotion_fidelity.py:762-764), but this second pass reads the raw values and evaluates(entry.get("repo"), entry.get("path")) in admitted. A malformed same-family entry with a list/dict repo or path will therefore raiseTypeErrorwhenever any valid disposition makesadmittednon-empty, aborting the aggregation run; reapply the loader's string guard before constructingkey.
key = (entry.get("repo"), entry.get("path"))
cite = entry.get("cite")
if key in admitted and cite:
scripts/doc_health/families.py:503
- These replacements preserve the family's default
auto-fixableresolution class. The doc-health contract definesauto-fixableas a mechanical defect, whilecontestedcovers a deliberately set state or prior gate decision (openspec/specs/doc-health/spec.md:198-205). This row is explicitly a human disposition over an immutable record and its action says no repair is owed, so the report misclassifies it and a later disappearance will not enter the cited-resolution path. Set the downgraded copy toCONTESTEDand update the corresponding report/regression tests and handling.
out.append(replace(
finding,
severity=INFO,
rule=_GRANDFATHERED_RULE_PREFIX + finding.rule,
action=_GRANDFATHERED_ACTION + _cite_excerpt(cite)))
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
…ovenance Resolves README.md ## OpenSpec Records conflict by keeping both sides: this packet's active-change entry plus origin/main's newly-landed state-header-window-budget and amend-repo-boundary-governance-scope-first-line entries. tests/sequenced_after/corpus-ledger.yaml auto-merged clean, retaining all three packets' rows. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: openxfactory-1 (openXfactory-1) WORD 2026-09-11T10:11:50Z — Brett Heap (openxFactory operator authority), multiple choice over design.md D1 and D2, each with the recommendation first: D1 "info row carrying the citation" (not suppression); D2 "Archived-only boundary" (not active paths). Both encoded options → the wording stands unchanged: ratify as encoded. Encode follows the verify-and-freeze pass now in flight, as a separate commit; landing on the standing 'land each when green'; archive on realization evidence (this PR's green suite at canon's grain); #939 closes at the archive. |
There was a problem hiding this comment.
🟡 Changes recommended
Fix disposition validation for malformed entries and citations, and reconcile the inconsistent test totals.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (4)
openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/tasks.md:169
- The verification totals are inconsistent with the pull-request description: the new test file contains 19
test_functions and this task records 19 tests / 1689→1708, while the description still reports 17 tests / 1689→1706. Please reconcile the body and task evidence so the claimed gate result is reproducible.
- [x] 3.8 **NO EXISTING TEST IS EDITED, RENAMED, FLIPPED OR DELETED.**
`tests/doc-health` goes **1689 → 1708**, the whole rise being the new
file. `test_ratification_record_subject.py`'s real-tree measurements are
untouched by construction: they build their `Context` with
`agg_root=None`, which is the scope this arm does nothing in.
scripts/doc_health/families.py:451
- A truthy non-text or whitespace-only
citeis admitted here: for example,cite: " "passes both this check andload_dispositions, then_cite_excerptcollapses it to an empty string and the emittedinfoaction ends withCite:but quotes no ruling. Require a non-blank string before creating the downgrade (and add a regression test), rather than treating malformed citation data as a valid grandfather disposition.
if key in admitted and cite:
scripts/doc_health/families.py:325
- This new constant is not actually the single source of truth promised by the comment: the five
Findingconstructions infam_ratified_provenanceand theFAMILIESregistration still hard-code"ratified-provenance"(for example at lines 843, 853, 878, 902, 912, and 1603). A future family-id rename can therefore leave disposition lookup and emitted findings mismatched; use_RATIFIED_PROVENANCEfor those constructions or remove the claim that the id is spelled once.
#: This family's id, spelled once. It is the `family:` key a
#: `health/dispositions.yaml` entry must carry to reach these findings AND the
#: string every `Finding` below already carries, so the two can never drift.
_RATIFIED_PROVENANCE = "ratified-provenance"
tests/doc-health/test_grandfather_dispositions.py:308
- This test does not actually pin the stated no-read guarantee: it creates a valid
dispositions.yaml, so an implementation that opens the file before returning[]would still pass. Make the read observable (for example, monkeypatch the shared loader orPath.read_textto fail) so the early-return behavior is covered rather than only the empty result.
def test_a_run_with_no_findings_reads_no_file(tmp_path):
"""The early return: a clean corpus never opens the dispositions file."""
agg = _dispositions(tmp_path, _entry())
clean = _doc(ARCHIVED, "# Proposal Ratification: real-change\n\n"
"Status: ratified\nRatified by: real-change\n")
assert _run(clean, agg_root=agg) == []
- Files reviewed: 9/9 changed files
- Comments generated: 1
- Review effort level: Lite
…ovenance origin/main moved from 1fb6d5c to 22efcbe while this branch sat at its frozen head 468df2e, so the merge is taken FIRST and as its OWN commit, before the ratification encode, and every figure the ratification records is derived on a tree that already carries current main. ZERO CONFLICT AND ONE OVERLAPPING FILE. The five main commits since the merge-base (ede0edb, 6154aa2, 1d20edd, f80ef2e, 22efcbe) touch five workflows, the admit-review-lane-repin-to-merge-approval-envelope packet (ratified there), the register-gate-rules-council-seats walk record, one openxwallet-consumer-gate test and README.md. README.md is the only file both sides write and both sides are kept: the merged README is byte-equal to origin/main's plus this packet's own thirty-four-line OpenSpec Records block and nothing else, proved by diff against origin/main:README.md. NOTHING THIS PACKET OWNS IS TOUCHED BY THE MERGE. No file under openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/, scripts/doc_health/ or tests/doc-health/ appears on either side of the overlap, the sweep-ledger row is unmoved, and openspec/specs/doc-health/ spec.md is byte-unmoved on main, so the MODIFIED block's slice is still byte-faithful to canon. Refs #939 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…ort the run FOUR TAKEN, TWO REFUSED WITH THE REASON RECORDED, ON THE HEAD THE RATIFICATION WORD LANDED ON. Copilot reviewed at 2026-09-11T10:18:18Z and posted one thread plus four suppressed comments; this commit dispositions the round item by item rather than in aggregate, and none of it touches the delta, the two decisions the word ruled or any promoted byte. TAKEN 1 - A CRASH, and the one comment posted as a thread. _grandfather_cites built its lookup key from the RAW entry. The shared reader promotion_fidelity.load_dispositions refuses an entry whose repo or path is not a string, but this pass did not, so a same-family entry with a list- or dict-valued repo made (repo, path) UNHASHABLE and `key in admitted` raised TypeError - out of fam_ratified_provenance, out of the runner and out of the whole nightly - whenever any valid entry made `admitted` non-empty. Reproduced first at families.py:451 against the frozen head, then guarded with that same reader's isinstance test taken BEFORE the key is built. The guard is not a new predicate: an entry it drops is one the shared reader never admitted, so the honoured set is identical either way; it is there because an unhashable key cannot reach the membership test at all. Pinned by test_a_malformed_entry_is_ignored_rather_than_aborting_the_run, MEASURED BOTH WAYS - it fails on the pre-fix module with exactly "TypeError: unhashable type: 'list'" and passes on the fix - and asserted beside a valid entry, alone, and against the shared reader's admitted set. TAKEN 2 - a truthy but EMPTY citation. cite: ' ' is truthy, passes the shared reader, and emits an info row reading "Cite: " with no ruling after it: an info row asserting that an owner ruled while carrying no word of the ruling, which is this arm's own defect in miniature. A non-blank STRING is now required, and a non-string cite is refused rather than coerced, str(5) not being a citation. Both are NARROWINGS - strictly fewer entries honoured than the shared reader admits, never one more - and the whitespace case is asserted against that reader's admitted set so the narrowing is visible as this arm's own act. TAKEN 3 - a comment that was not true. _RATIFIED_PROVENANCE's docstring claimed the family id was "spelled once" while the five arms and the FAMILIES registration still spell the literal at six sites. The CLAIM is corrected, not the arms rewritten: section 3.1 leaves them byte-unmoved, so the constant is one more spelling of the id rather than the only one and a rename has to move all of them together. TAKEN 4 - a test that proved only its own result. test_a_run_with_no_findings_reads_no_file created a valid dispositions file and asserted an empty list, which passes whether or not the file was opened. The shared reader is now monkeypatched to RAISE and the clean run must still return [], which it can only do by never reaching the read; the dirty corpus is asserted to raise so the probe is known live rather than silently bypassed. REFUSED 1 - that the added scenario CONTRADICTS "A proposal carries an uncited ratified header" and that the older severity bullet should be amended. REFUSED ON CUSTODY FIRST: that bullet is PROMOTED CANON carried here byte-faithfully as the MODIFIED block's pre-text, sha256 d32aaa43dc6ad118af3a57d58a2a3ffcb80c66ae128ca36b2921224a30bfdbe3 on both sides and re-verified on this tree, so amending it would edit promoted text, break section 4.1's carriage proof and owe a marker section 4.2 measures as not owed - and the ratification word of 2026-09-11T10:11:50Z landed on this text with the comment already more than six hours on the record. ON THE MERITS IT IS ALSO NOT A CONTRADICTION: the older bullet asserts PARITY between the lifecycle scan set and the governed corpus - "the same severity it would carry for a governed-corpus document, because the defect is the same defect" - and this pass is scope-blind, keying on (family, repo, path) and an archived path, so it would downgrade a governed-corpus document identically and the parity the bullet exists to protect is exactly preserved. The newer scenario is the more specific rule over a strictly narrower subject, which is how the four sibling "A finding is dispositioned" scenarios already sit beside their own families' severity rules with no exception clause - and those four SUPPRESS, which departs further. REFUSED 2 - that the downgraded row should carry CONTESTED rather than the family's auto-fixable class. REFUSED AS A RE-DECISION RATHER THAN A FIX. Section 3.5 keeps the resolution class on purpose, the proposal's "What this proposal does NOT do" says so in terms, and section 2.6 MEASURES the consequence: the eighteen leave the regression axis and enter no other, report.parse_previous returning 0 contested. CONTESTED would route them into report.uncited_resolutions, the arm the proposal's "Why" shows adjudicates a DISAPPEARED finding and never a standing one. It is a successor's question, beside section 7's residue, and it needs its own word. THE ACCOUNTING IS MOVED WITH THE CODE, because a count that no longer holds is the defect the last two rounds were about. The new file goes 19 -> 20 tests and tests/doc-health 1689 -> 1709, measured on this tree (pytest tests/doc-health -q: 1709 passed, exit 0), and the figure is corrected in proposal.md's code_surface, tasks.md 3.7 and 3.8, and the README OpenSpec Records row. tasks.md 3.2 now says THREE narrowing predicates rather than two, and a new 5.11 records this round with every TAKE and both REFUSALS. NO DELTA BYTE MOVES: git diff -- the packet's specs/ directory is empty, and the pre-text still hashes to d32aaa43. Refs #939 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Handle scalar-root dispositions safely and reconcile the inconsistent verification counts.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 9/9 changed files
- Comments generated: 2
- Review effort level: Lite
…ovenance Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> # Conflicts: # README.md
There was a problem hiding this comment.
🔵 Needs a closer look
One or more issues must be addressed before approval.
Review details
Suppressed comments (2)
openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/tasks.md:289
- This verification record contradicts §3.7/§3.8 and the added test file: the new file contains 20
test_functions, so with the stated 1,689 baseline the doc-health total should be 1,709 (+20), not 1,708 (+19). Please rerun this measurement and update the recorded evidence (and aggregate count if needed).
66 subtests passed**. `tests/doc-health` alone, taken on this tree and on
an `origin/main` worktree in the same shell: **1708** and **1689**,
+19 — the new file entire, and nothing else.
openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/tasks.md:162
- The PR description's gate summary is stale: this packet currently adds 20 tests and records
tests/doc-healthas 1689 → 1709, while the description still says 17 tests and 1689 → 1706. Please update the description so the reported validation result matches this tree.
- [x] 3.7 `tests/doc-health/test_grandfather_dispositions.py` (**NEW, 20
tests**): the downgrade on BOTH covered arms; an undispositioned archived
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
There was a problem hiding this comment.
🔵 Needs a closer look
One or more issues must be addressed before approval.
Review details
Suppressed comments (4)
README.md:538
- The PR title/description still says this packet is DRAFT, has no approval pair, and leaves ratification open, but this diff now records the opposite:
Status: ratified,approved_by/approved_on, and checked ratification tasks. Please update the PR metadata (or revert the ratification artifacts) so the packet's lifecycle state is unambiguous.
— filed 2026-09-11, **`Status: ratified`** (2026-09-11, Brett Heap,
openxFactory operator authority — a MULTIPLE-CHOICE ruling over `design.md`
**D1** and **D2** with the recommendation presented first in each, given in
session at 2026-09-11T10:11:50Z and recorded on PR
[#945](https://github.com/opensoft/openxFactory/pull/945#issuecomment-5632913794)
openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/.openspec.yaml:94
- The PR title/description still declares this packet
DRAFT/NOT RATIFIEDand says no approval pair, but this diff addsapproved_by/approved_onhere and marks the proposal, tasks, and README entryStatus: ratified. Please reconcile the PR metadata with the tree (or revert the ratification encode); otherwise lifecycle automation and reviewers receive contradictory state.
approved_by: >-
Brett Heap (openxFactory operator authority) — on 2026-09-11, lane
`openxfactory-1` (display `openXfactory-1`), a MULTIPLE-CHOICE ruling over
`design.md` D1 and D2 with the recommendation presented first in each:
verbatim **"info row carrying the citation"** for D1 and verbatim
**"Archived-only boundary"** for D2. Given in session at
2026-09-11T10:11:50Z and recorded on openxFactory PR #945 at
2026-09-11T10:11:56Z (comment 5632913794).
openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/proposal.md:10
- The current PR title/description still says this packet is
DRAFT — NOT RATIFIED, leaves tasks §1 open, and reports the older 17-test/1706 total, but this changed proposal (and the README/tasks) records ratification and the final 22-test/1711 total. Please update the PR metadata before merge so the lifecycle state and verification figures are not contradictory to the committed packet.
Status: ratified
Ratified: 2026-09-11 by Brett Heap (openxFactory operator authority) — D1 "info row carrying the citation", D2 "Archived-only boundary"; record at review/ratification-2026-09-11.md
scripts/doc_health/runner.py:768
- The new root-type guard is not covered on the code path it changes.
test_a_malformed_dispositions_FILE...callsload_dispositionsand the family directly, while the onlyrunner.mainregression uses a list root; removing this branch would leave tests green but restoreTypeErrorin aggregation runs for a scalar-root file. Add an end-to-endrunner.mainassertion for the scalar-root case.
_entries = _yaml.safe_load(dispo_path.read_text()) or []
for d in (_entries if isinstance(_entries, list) else []):
- Files reviewed: 14/14 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
There was a problem hiding this comment.
Sorry @brettheap, your pull request is larger than the review limit of 150,000 diff characters
|
@/tmp/claude-1000/-home-brett-projects-xFactory-openxFactory/b4e65b3c-fe05-41cc-9b31-589ea1364fe9/scratchpad/freeze-945.md |
|
Lane: openxfactory-1 (openXfactory-1) LANDING — lane openxfactory-1, session b4e65b3c@Eagle, 2026-09-11T13:25:24Z, PR #945 into openxFactory main (RATIFIED honour-grandfather-dispositions-in-ratified-provenance at f50b3fc (encode e60ad2f); Brett Heap's words D1 "info row carrying the citation" + D2 "Archived-only boundary" 10:11Z + "land each when green" + "archive both when landed" 12:08Z) Guard at 2026-09-11T13:25:24Z on head |
|
Lane: openxfactory-1 (openXfactory-1) LANDED — lane openxfactory-1, 2026-09-11T13:25:44Z, PR #945 → 34bb5c7 (openxFactory main; honour-grandfather-dispositions-in-ratified-provenance RATIFIED (code surface; archive on the landing's realization evidence at canon's grain; #939 closes there); admin merge commit on 'land each when green'; Rule 6 window closed) |
…E rows Lane: openxfactory-1 README `## OpenSpec Records` active-list conflict resolved by keeping BOTH this packet's ratified row and PR #945's `honour-grandfather-dispositions-in-ratified-provenance` row (main moved the latter into ratified form); `tests/sequenced_after/corpus-ledger.yaml` auto-merged cleanly, keeping both packets' rows. Nothing else touched; `.openspec.yaml` stays byte-identical to `7215c207`. refs #914 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…tch-to-declared-test-companion README.md conflicted inside `## OpenSpec Records`, and BOTH SIDES ARE KEPT: this packet's bullet stays first under `Active changes:`, and every row and move `main` made is carried exactly as `main` has it -- the ratified `honour-grandfather-dispositions-in-ratified-provenance` entry (#945) and the #961 mapping row included. `diff origin/main:README.md README.md` reports only this packet's own bullet and its separating blank line. refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
`main` moved to 34bb5c7 while this packet was open: PR #945 landed `honour-grandfather-dispositions-in-ratified-provenance` (ratified, active) and #961 recorded the codexFactory transfer. ONE CONFLICT, in README's `## OpenSpec Records` block, and BOTH SIDES ARE KEPT: this branch's active `Status: draft` row for `rule-inherited-unit-naming-marker-spent` and main's active `Status: ratified` row for `honour-grandfather-dispositions-in-ratified-provenance`, in that order, each byte-for-byte as its own side wrote it. Nothing is dropped, reworded or re-ordered inside either row. `tests/sequenced_after/corpus-ledger.yaml` auto-merged and CARRIES BOTH ROWS — `honour-grandfather-dispositions-in-ratified-provenance` (moved_by "#945") and `rule-inherited-unit-naming-marker-spent` (moved_by "#962") — verified rather than assumed: `validate-sequenced-after.py . --ledger-diff` reports the ledger CONSISTENT WITH THE CORPUS at 201 rows, so no re-seed is owed by this merge. WHAT THIS MERGE DOES NOT CLEAR, said plainly: the ordered-delta parent `amend-merged-into-empty-tail-standing` is PR #947, which is still OPEN (mergeStateStatus BLOCKED) and therefore still absent from `main`. The plain `validate-sequenced-after.py .` run still exits 1 on the one finding tasks § 4.7 predicts — "a dangling parent reference is unwalkable" — and the two `tests/sequenced_after` cases that wrap it still fail. That is not fixable inside this packet: the only edit that would clear it is withdrawing the `sequenced_after:` declaration, which is the packet's whole point. It clears when #947 lands and `main` is merged again. No spec byte moves in this merge; the delta block is unchanged at sha256 51fb9a86749c1f28230fc31b928ee47d95e284a0f01e09b73a4244d0b6d88370. Still a DRAFT, refs #955. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…ied 2026-09-11, landed at 34bb5c7) `code_surface: openxFactory` is NON-EMPTY, so under `release-realization` this packet archives on MERGED-PLUS-GREEN REALIZATION EVIDENCE rather than on landing. The rule is quoted rather than paraphrased: its *Realization archive gate* reads "A change with a non-empty code surface SHALL NOT archive until realization evidence exists: its code merged on the implemented target through the owning domain's engineering gates, and -- where the surface is runnable -- a green run of that surface", and its scenario *Realization completes* reads "WHEN merge evidence and a green run exist on the implemented target / THEN the change archives and its deltas promote, exactly as doc-only changes do on landing". THE EVIDENCE IS CITED RATHER THAN ASSERTED, AND IT IS MAIN'S OWN RUN ON THE MERGE COMMIT ITSELF. PR #945 merged into main as 34bb5c7 at 2026-09-11T13:25:33Z; ratifying commit e60ad2f, the last commit to touch .openspec.yaml; records review/ratification-2026-09-11.md (Status: ratified) and the two gate captures review/verification-2026-09-11.md and review/verification-2026-09-11-post-bench.md (Status: record), all MOVED and untouched here. The green run is 34604231434 -- workflow pytest-suite, event push, head 34bb5c7, conclusion success, job 13:25:41Z to 13:51:03Z -- so NO TREE-EQUALITY ARGUMENT IS NEEDED AND NONE IS MADE: the tested tree IS the merge commit's tree, the run's head being the merge commit. PR #945'S OWN GREEN RUN IS EXPLICITLY NOT THE GROUND, which is measured rather than waved past: run 34600369729 on head f50b3fc tested GitHub's test-merge onto main as it stood at 12:43:09Z (38c076d), and `git merge-tree --write-tree 38c076d f50b3fc` is 086ec44, which is NOT the merge commit's tree 91a3675. The base moved to 2cdaf06 at 12:57:39Z, mid-run. That run is named as courtesy only and this archive does not rest on it. THE ARCHIVE WORD IS BRETT HEAP'S, 2026-09-11T12:08Z in session, verbatim "land each when green, archive both when landed, claim 955 and 956", recorded on openxFactory #939 at issuecomment-5634202632 -- given in advance and CONDITIONALLY, the condition being the landing above, which came 77 minutes after the word. Performed with `TZ=UTC python3 scripts/proposal-support.py . archive honour-grandfather-dispositions-in-ratified-provenance --date 2026-09-11 --yes` through the pinned @fission-ai/[email protected] artifact (content-addressed, integrity sha512-oFE2Lj7WVSc87nSi... verified over the 80-package pinned dependency closure openspec-cli-pin.1.12.0.package-lock.json, lockfile_integrity sha512-aw5lIN45tQq2WZll..., installed with `npm ci --ignore-scripts`) -- never a bare `openspec archive`. The origin-retention gate fires INSIDE the wrapper and passed: ORIGIN RETAINED honour-grandfather-dispositions-in-ratified-provenance (declaration unchanged since the ratifying commit e60ad2f). The child reported `doc-health: update` / `~ 1 modified` / `Totals: + 0, ~ 1, - 0, -> 0` / `Change ... archived as '2026-09-11-honour-grandfather-dispositions-in-ratified-provenance'`, exit 0. Both standalone archive gates were then re-run against the ARCHIVED path at --ratified-ref e60ad2f and pass: sequenced_after retention gate passed and scope_globs scope-retention gate passed, both exit 0. THE PROMOTED REQUIREMENT IS BYTE-IDENTICAL TO THE ARCHIVED DELTA'S MODIFIED BLOCK -- both extracted programmatically (the `### Requirement: Governed corpus membership and the lifecycle scan set` heading through the last non-blank line before the next heading) and hashed: 68 lines, 5,782 bytes, sha256 138a0d51f42f77aa9f0418c5ec1570681f63e0409bc0a43596e8356dca06e5dd, on both sides, `diff` empty. `git diff -w --numstat` equals `git diff --numstat` at 9/0, so ZERO lines changed by whitespace only and the promotion is a PURE ADDITION -- nine lines, one hunk at -U0 and one at default context, no promoted byte rewritten or removed, which is what tasks.md 4.2 promised and why no `Removed from canon` marker is owed or written. All eight packet files are `git diff -M` pure renames at 100% similarity, 0 changed lines, and the old directory is gone from BOTH the working tree and the index (`git ls-files` over it returns 0). NO ORDERED-DELTA CHILD DECLARES THIS PACKET AS A PARENT: over all 38 remaining active changes, no proposal front matter and no .openspec.yaml names it. README's `## OpenSpec Records` row moves from *Active changes* to *Archived changes* in the archived form. refs #939, refs #945, refs #877, refs #964, refs #965, refs #966, refs #967, refs #968. No closing keyword appears in this message in any form. Lane: openxfactory-1 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…e recording in 6.1 and 6.2 ONE ROW MOVES and it is seeded with the sanctioned tool rather than hand-written: `python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#969'` wrote tests/sequenced_after/corpus-ledger.yaml (200 rows, 1 moved by #969) -- honour-grandfather-dispositions-in-ratified-provenance, state active -> archived, moved_by "#945" -> "#969", moved_on 2026-09-11 unchanged, every other field of the row and every other row byte-unmoved (`git diff --numstat` 1/1). The seed is taken AFTER the pull request exists, because the real number does not exist until it does. `--ledger-diff` now reports "per-change sweep ledger consistent with the corpus (200 rows)", exit 0, where before the seed it reported STALE with exactly four findings: this change's row plus the three derived totals it feeds (active 39 != 38, archived 161 != 162, active_co_modified 24 != 23). THE NUMBER IS NAMED ON THE RECORDING. The archived tasks.md 6.1 and 6.2 tick clauses now carry #969 itself rather than "this archive pull request", 6.1 carries the byte-identity figures the box required (68 lines, 5,782 bytes, sha256 138a0d51..., diff empty, promotion a pure addition of nine lines with `git diff --numstat` 9/0 identical under -w, so no `Removed from canon` marker is owed or written) and names the seed commit, and 6.2 records that #969's `closingIssuesReferences` is exactly [939], measured through GraphQL rather than assumed, with openxFactory 939 verified OPEN when #969 was opened. README's archived OpenSpec Records row names #969 as the archiving pull request, in the house style PR #958's row uses. No closing keyword appears in this message or in either edited document in any form. refs #939, refs #945. Lane: openxfactory-1 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…ry figure on the merged tree
THE SELF-GATE'S EXACT SET IS AN OBLIGATION ON EVERY LANE, NOT A COST THIS
PACKET CAN DEFER. `tests/doc-health/test_modified_block_currency_self_gate.py`'s
test_every_carriage_ledger_finding_over_the_real_tree_is_named compares the
family's INFO population with `==` and never `<=` — "a subset comparison would
let a newly lossy MODIFIED block land unreported" — so an active MODIFIED block
that opens a row and does not name it reds the required pytest-suite check for
every open pull request in this repository, not only for this one. The
assertion's own message says to "update the named subjects in this module, in
the same commit, saying which subject moved and why". That is done here.
ONE ROW ADDED, taking the set from NINE to TEN:
("rule-inherited-unit-naming-marker-spent", "doc-health",
"Currency of an active change's MODIFIED requirement blocks")
WHY THE ROW EXISTS, recorded beside it as the mechanism rather than the
outcome: `_arm_ordering` applies a basis override only where a group holds at
least TWO ACTIVE RATIFIED writers (`ratified = [b for b in group if b.standing
== _RATIFIED]; if len(ratified) < 2`). This packet is Status: draft and its
ordered-delta parent is not on main at all, so the group holds ONE writer, no
override applies, and the block is measured against CANON — where exactly 1 of
144 body units and scenario bullets is uncarried and it is the sentence the
PARENT's own ratified block retires. Against the parent's OUTCOME, the basis
release-realization names, the same block reads 0 uncarried, 0
uncarried-and-unsuppressed, 0 marker defects. So the row records a BASIS the
checker cannot yet apply, not a lossy carriage — the first row in that ledger
of that kind — and it retires on either of two expected events: this packet
being ratified, or the parent archiving.
THE CODE-SURFACE CLAIM IS CORRECTED RATHER THAN LEFT STANDING. The proposal's
front matter said "NO PRODUCTION FILE AND NO TEST IS TOUCHED"; one test file is
now touched and the sentence says so. `code_surface:` STAYS `none`, and the
reading is offered for veto rather than asserted: release-realization scopes
the field to "the repositories whose RUNTIME ARTIFACTS it changes", and this
edit moves no predicate, no severity, no threshold and no assertion — it
records which subjects the corpus currently reports, exactly as the README row
and the sweep-ledger row do, and it retires rather than standing as behaviour.
There is also nothing left to realize once this pull request lands, which is
the test the realization archive gate actually applies. If Brett Heap reads it
the other way the remedy is one front-matter line naming that test module, and
the packet's text does not move either way (design D4, tasks 3.13, 6.7).
MEASURED ON THE MERGED TREE, every figure re-taken against the new base
origin/main @ 34bb5c7 rather than carried from 38c076d:
- pytest tests/doc-health tests/sequenced_after -q: 2 failed, 1982 passed in
507s. A tests/doc-health-only run over the same tree: 1711 passed, ZERO
failures — the self-gate is GREEN, and `0 named subject(s) NO LONGER
reported` confirms no other row moved. THE TWO REMAINING FAILURES ARE THE
DANGLING PARENT AND NOTHING ELSE (test_corpus_sequenced_after_all_validate,
test_THE_LIVE_PLAIN_RUN_IS_GREEN_WITH_ZERO_UNDISPOSITIONED), and neither is
fixable inside this packet: the only edit that clears them is withdrawing the
sequenced_after: declaration, which is the packet's whole point.
- doc-health.py --single-repo .: exit 0, 101 findings against the 34bb5c7
control's 100, and the difference is EXACTLY ONE LINE — a diff of the two
ranked-plan lists with the repo label normalized returns a single row and it
is this delta's own transient info carriage-ledger row. Marker defects 0 on
both sides.
- openspec validate --all --strict (PATH 1.2.0): exit 1, 100 passed / 2 failed
(102 items) against the control's 99 passed / 2 failed (101 items); the
failure sets are IDENTICAL by diff (disposition-codexfactory-declared-renames,
disposition-codexfactory-floor-relocation-retitle), neither of them this
change. validate-openspec-cli-pin.py --all (PINNED 1.12.0): exit 0, 0
UNDISPOSITIONED failures. Single-change validate: exit 0 on both binaries.
- proposal-support verify exit 0; validate-scope-globs exit 0;
validate-sequenced-after --ledger-diff exit 0, 201 rows consistent, no
re-seed owed by the merge.
- D0 RE-TAKEN AND EVERY MARKER FIGURE HELD: 18 markers (15 removed, 1 merged,
2 pairing), 16 unit-naming, 16 fully spent, 0 partially spent, 13
requirements, 7 specifications, 641 requirements in 62 promoted
specifications. The ONE figure that moved is the active-block count, 29 ->
31, PR #945's landing bringing two more blocks the family reads, neither
carrying a marker — corrected in design D0, proposal D0, the README row and
the block's own dated note.
- The block's bytes after the dated note's re-take: sha256
70bf549efa2a8c2452995b43e683ea183ae571d03ff92817cf4bb4f3e0b320c5, 53,818.
The byte-faithfulness proof is unchanged in every other figure: parent 172
units / 1 marker, this block 186 / 0, 0 parent units missing, 14 added,
titles 22 -> 24 all carried, 0/0/0 against the parent's outcome.
Still a DRAFT. No approval pair, no Status: ratified, no promotion, no archive;
design D1 remains Brett Heap's open multiple choice, refs #955.
Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…positions-in-ratified-provenance TWO FILES OVERLAP AND BOTH SIDES ARE KEPT. `main` advanced from 34bb5c7 -- the commit this branch was cut from and the commit the archive's realization evidence names -- to ac688c4 (PR #960, amend-register-act-5b-projection-proof). `comm -12` over the two changed-file sets gives exactly README.md and tests/sequenced_after/corpus-ledger.yaml; every other file on either side is untouched by the other. README.md conflicted in the `## OpenSpec Records` *Active changes* block and is resolved by KEEPING BOTH SIDES' INTENT: main's new active row amend-register-act-5b-projection-proof stands, and the stale ACTIVE honour-grandfather-dispositions-in-ratified-provenance row main still carried is dropped because this branch MOVED it to the *Archived changes* list. After the resolution the file carries exactly one honour-grandfather row and it is the ARCHIVED one; `git diff origin/main -- README.md` over the row lines is that one line removed and one line added, and nothing else. tests/sequenced_after/corpus-ledger.yaml auto-merged: main's new row is added and this branch's one moved row stands -- honour-grandfather-dispositions-in-ratified-provenance state active -> archived, moved_by "#945" -> "#969" -- so `git diff origin/main` over the ledger is that single row and no other. THE ARCHIVED DIRECTORY IS UNTOUCHED BY THIS MERGE. All eight files under openspec/changes/archive/2026-09-11-honour-grandfather-dispositions-in-ratified-provenance/ are unchanged, the old active directory stays gone from both the index and the working tree (`git ls-files` over it returns 0), and openspec/specs/doc-health/spec.md keeps the promoted block byte for byte. THE REALIZATION EVIDENCE IS UNCHANGED BY THIS MERGE and is not re-derived from the new base: it is main's own decided green pytest-suite run 34604231434 on 34bb5c7, the merge commit of PR #945, which is an ancestor of this merge. No closing keyword appears in this message in any form. refs #939, refs #945, refs #960. Lane: openxfactory-1 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…which merge moved which figure `main` moved twice under this pull request during its fix round — to 34bb5c7 (PR #945 plus #961) and then to ac688c4 (amend-register-act-5b-projection- proof, PR #960) — so the records now name ac688c4 as the base and every figure is a reading of the tree this branch actually carries. RE-MEASURED, NOT CARRIED OVER: - openspec validate --all --strict (PATH 1.2.0): exit 1, 101 passed / 2 failed (103 items) against the ac688c4 control's 100 passed / 2 failed (102 items); the failure sets are IDENTICAL by diff and neither is this change. Tasks 4.3. - validate-sequenced-after.py . --ledger-diff: exit 0, "per-change sweep ledger consistent with the corpus (202 rows)" — all three rows present (this change's, #945's and #960's) and NO re-seed owed by either merge. Tasks 4.7. - doc-health.py --single-repo .: exit 0, 101 findings against the ac688c4 control's 100, and the difference is EXACTLY ONE LINE — this delta's own transient info carriage-ledger row. Marker defects 0 on both sides. Tasks 4.8. - pytest tests/doc-health tests/sequenced_after -q: 2 failed, 1982 passed in 642 s, the SAME two figures the first merged tree gave in 507 s. The self-gate is GREEN on both, and the two failures are the dangling parent of tasks 4.7. Tasks 4.9 now records both runs rather than the later one alone. - D0 re-taken and unchanged in every marker figure: 18 markers (15 removed, 1 merged, 2 pairing), 16 unit-naming, 16 fully spent, 0 partially spent, 13 requirements, 641 requirements in 62 promoted specifications. The one figure the first merge moved was the active-block count, 29 -> 31; THE SECOND MERGE MOVED NO FIGURE AT ALL, 31 re-measured as 31, and design D0, proposal D0 and the README row say so. - The byte-faithfulness proof re-runs unchanged: parent 172 units / 1 marker, this block 186 / 0, 0 parent units missing, 14 added, titles 22 -> 24 all carried, 0/0/0 against the parent's outcome. Block sha256 70bf549efa2a8c2452995b43e683ea183ae571d03ff92817cf4bb4f3e0b320c5, 53,818 bytes — NO BYTE OF THE DELTA MOVED IN THIS COMMIT. Still a DRAFT. No approval pair, no Status: ratified, no promotion, no archive; design D1 remains Brett Heap's open multiple choice, refs #955. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…ght in the move commit, R078 for tasks.md over the whole pull request TAKEN FROM COPILOT'S THIRD ROUND on PR #969 (2026-09-11T14:33:36Z, a SUPPRESSED item against README.md:2866). The finding is correct and the claim was unscoped: "This says all eight packet files are 100% pure renames, but tasks.md is modified in this PR (the added archive hunk replaces the open checkboxes and adds the archive evidence). Please qualify this as the archive move commit's diff, or report tasks.md as a rename with modifications." BOTH SCOPES ARE NOW MEASURED AND BOTH ARE STATED, because they differ and the difference is the point. In the ARCHIVE MOVE COMMIT bc1f25c alone, all EIGHT packet files are `git diff -M` R100 at 0 changed lines -- the move edits not one packet byte. Over the pull request as a WHOLE (34bb5c7..HEAD), SEVEN stay R100 at 0 changed lines and tasks.md is R078 at 172 added / 6 removed. Those modifications are the section 6 and section 7 ticks in their own EARLIER commit bbb3152 -- which cannot follow the move, `scripts/proposal-support.py` refusing any change whose tasks.md still matches `^- \[ \]` with no bypass flag -- and the naming of #969 in the LATER commit 818e75f. The three review/*.md records, .openspec.yaml, proposal.md, design.md and the spec delta are R100 in BOTH scopes: they are not edited anywhere on this branch. The same correction is made in the pull request body. No closing keyword appears in this message in any form. refs #939, refs #945. Lane: openxfactory-1 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>



Lane: openxfactory-1 (openXfactory-1)
refs #939, refs #877, refs #878
Ratified
RATIFIED 2026-09-11 BY BRETT HEAP (openxFactory operator authority) — a MULTIPLE-CHOICE ruling over
design.md's two declared veto points, the recommendation presented first in each, given in session at 2026-09-11T10:11:50Z and recorded on this pull request at 2026-09-11T10:11:56Z (comment5632913794):BOTH ARE THE OPTIONS THIS PACKET HAD ALREADY ENCODED, SO THE WORDING STANDS UNCHANGED — nothing was substituted, restored or deleted.
git diff --name-only 468df2ef..HEAD -- openspec/changes/honour-grandfather-dispositions-in-ratified-provenance/specs/returns 0 files: the delta has not moved since the head the word was given over. D0 and D3–D6 were carried beside them and none was vetoed.THE ENCODE IS COMMIT
e60ad2ff(round-5 bench fixf50b3fc8rides beside it — see § The bench). The encode flipsStatus: draft→Status: ratifiedonproposal.md,design.mdandtasks.md, each with exactly ONE citation line naming both ruled options verbatim; ADDSapproved_by/approved_onto.openspec.yamlbeside an untouchedorigin:block (git diff --numstatreads42 0on that file, and lines 1–86 hash tosha256 486829b1…before and after); tickstasks.md§ 1 (1.1–1.4) and nothing else; and moves the README## OpenSpec Recordsrow from the draft standing to the ratified one.THE RECORDS.
review/ratification-2026-09-11.mdcarriesStatus: ratified;review/verification-2026-09-11.mdandreview/verification-2026-09-11-post-bench.mdeach carryStatus: record, their subject being the gate run rather than the ratification — the second is a SEPARATE dated capture at its own path (a committed run report is never rewritten), taken after the fifth Copilot round moved the tree.§ 6 (ARCHIVE) STAYS ENTIRELY OPEN, AND SO DOES § 7.
code_surfaceis non-empty, so underrelease-realizationthis packet archives on MERGED-PLUS-GREEN REALIZATION EVIDENCE AT CANON'S GRAIN — this pull request merged intomainand a greenpytest-suiteat the tree the merge carries — on its own pull request, where openxFactory #939 closes. Brett Heap's word of 2026-09-11T12:08:24Z ("land each when green, archive both when landed, claim 955 and 956", comment5634204587) reaffirms the standing LANDING word and gives that ARCHIVE word in advance; neither act is performed here, and the evidence the archive needs does not exist until this lands. This body carries no closing keyword, and neither does any commit message on this branch.The defect
scripts/doc_health/families.pyfam_ratified_provenancebuilds every finding atcritical, from five arms, and reads no disposition at any of them. Eighteen archived records therefore stood atcriticalin the report-only nightly with no repair available to anyone and a recorded ruling saying none is owed: fifteen openxFactory ratification records grandfathered on #877 (opensoft/xFactoryPR #420 →5bfa1fe4) and codexFactory's three (opensoft/xFactoryPR #412). Each entry carriesfamily: ratified-provenance, its repo, its path, adateand acitequoting Brett Heap first-hand. Each record is ARCHIVED, which is the ground of the grandfather —record-immutability/govern-archived-record-editsput its bytes beyond a plain fix.The runner does load that file, but for
report.uncited_resolutions, which adjudicates a disappearedcontestedfinding and never a standing one — and this family is registeredauto-fixable, so it is not even in the set that arm reads. The grandfather was granted and the nightly had never heard of it.The measurement — 41 rows, 18 move, 23 byte-identical
Taken at authoring time against the real aggregation dispositions file:
opensoft/xFactory@bc84d325(40 entries, 8 families, 18 of themfamily: ratified-provenance), withopenxFactory@96b4835bandcodexFactory@a67fb0aematerialized under it,python3 scripts/doc-health.py --repo-root <aggregation> --family ratified-provenance --as-of 2026-09-10.(repo, path)keys on both sides — no row added, none withheld.moved == disposition key set: True— a set equality, not a count that happens to agree ·all moved paths archived: True·dispositioned but NOT reported: 0.report.unparsed_plan_rows→[]; the moved rows leave the regression axis and enter no other.--single-repois untouched:health/dispositions.yamllives at the aggregation root and a self-gate run hasagg_root is None.RE-TAKEN ON THE RATIFIED TREE, AGAINST TODAY'S AGGREGATION, and the re-take is in
review/verification-2026-09-11.md§ 10 with its rig named (opensoft/xFactory@f5dba67f, dispositions blob1f4e1cef,codexFactory@ef180510— the pin that head carries): 35 rows, 35critical→ 20critical+ 15info, same key sets, moved == the disposition keys that are live, all moved paths archived, every moved row carrying its citation, the other twenty byte-identical, and the whole report diff 62 changed lines (15 findings × two renderings × two sides, plus the headline each side). THE PACKET'S CLAIM IS UNCHANGED AND ONE FIGURE HAS MOVED, SO THE RECORD SAYS SO: the file still records eighteen entries for this family, but codexFactory's three records were REPAIRED at the pin the aggregation now carries, so they draw no finding and three entries are now stale — which is exactly the successortasks.md§ 7.1 names, whose population is no longer zero.The delta — one scenario, no promoted byte edited
openspec/specs/doc-health/spec.md, Governed corpus membership and the lifecycle scan set, sliced from canon (lines 878–936) with the bounds asserted by the generator, then one#### Scenario:appended. Slicesha256 d32aaa43dc6ad118af3a57d58a2a3ffcb80c66ae128ca36b2921224a30bfdbe3— identical on both sides,diffempty.modified_block_currency.derive_unitsover both blocks: 29 canon units, 0 uncarried, 5 of 5 promoted scenario titles carried, 8 units added (one title + its seven bullets), 0 markers on either side. Nothing removed, so noRemoved from canonmarker is owed and none is written.The two veto points, as they were put and as they were ruled
D1 — THE BAND — RULED "info row carrying the citation", the recommended option. The report is where a reader learns what the corpus carries; the dispositions file is where the owner records a ruling; an
inforow is the one artifact that says BOTH — this record is out of contract and the owner ruled nothing is owed, here is the word — in the place a reader is already looking. It keeps the grandfathered population countable and makes a stale entry visible rather than invisible. The declined alternative was the PRECEDENT and that is why it was a veto point: all four sibling A finding is dispositioned scenarios SUPPRESS. Suppression would have been a smaller diff and would have matched four promoted requirements exactly; it would have cost the eighteen their trace, the count its readability, and a stale entry its visibility. The argument that carried was the SUBJECT, not the mechanism — those four dispose a finding somebody can still repair, so a suppressed row is a closed question; this one's subject is an IMMUTABLE record whose defect is PERMANENT.D2 — THE BOUNDARY — RULED "Archived-only boundary", the recommended option, against admitting an entry over an ACTIVE packet's record.
finding.path.startswith("openspec/changes/archive/")is the whole test; theandthat admitting active paths would have cost was not added and the scenario's ACTIVE-packet bullet was not removed. D1 and D2 rest on no shared predicate; either would have stood whichever way the other went.Both alternatives are retained in
design.mdas the record of what was put and declined, not as work owed.The realization (rides this PR)
code_surfacenon-empty,target_release: implemented→ underrelease-realizationthis archives on merged-plus-green realization evidence, not on landing.scripts/doc_health/families.py:fam_ratified_provenancereturns_honour_grandfather_dispositions(ctx, findings). That onereturnexpression is the only edit to the function body; the five arms above it are byte-unmoved.promotion_fidelity.load_dispositions(ctx, "ratified-provenance")— the one reader promotion fidelity, duplicate packet and modified-block currency already share — answers which entries are live; this module supplies only the citation TEXT that reader does not return. No new dependency, no cycle.dataclasses.replace, same family/repo/path/class,severity → info. Every untouched finding is returned by identity, not rebuilt.families.py, across two files, added over two bench rounds: round 4 added a guard each inpromotion_fidelity.load_dispositionsandrunner.mainrefusing a dispositions FILE whose root is not a list (that abort is OLDER than this packet —origin/mainalready exits 1 atrunner.py:758over a42-rooted file — so the guard is in both readers or it buys nothing); round 5 added a secondrunner.mainguard, atrunner.py:770, skipping one ENTRY whose(family, repo, path)key cannot be hashed (a list- or dict-valued field madeset.addraiseTypeErrorout of the whole nightly, on the same unconditional, pre-existing read). All three narrow nothing: every non-list root and every unhashable-keyed entry already yielded nothing usable by construction, and over the real file the report is byte-identical to the one taken without the guards.tests/doc-health/test_grandfather_dispositions.py— NEW, 22 tests.tests/doc-health1689 → 1711, both counts re-measured in the same shell on this tree and on anorigin/main(38c076d1) worktree beside it. No existing test is edited, renamed, flipped or deleted.Gates — re-derived on the RATIFIED tree, at the round-5 fix head
f50b3fc8OPENSPEC_TELEMETRY=0 openspec validate <change> --strictOPENSPEC_TELEMETRY=0 openspec validate --all --strict(1.2.0 onPATH)Totals: 99 passed, 2 failed (101 items)— failure set identical toorigin/main38c076d1's (98 passed, 2 failed (100 items)):change/disposition-codexfactory-declared-renames,change/disposition-codexfactory-floor-relocation-retitle. This change is in NEITHER set and the item count moves by exactly onevalidate-openspec-cli-pin.py --all --no-cache(pinned 1.12.0, content-verified, 80-package closure)Totals: 99 passed, 2 failed (101 items)— "every target validated--strictwith 0 UNDISPOSITIONED failures", the two being the PRE-EXISTING accepted exceptions (add-chain-attestation,add-composed-view-authoring) on Brett Heap's word of 2026-09-05 "take exit 2", neither of them this changeproposal-support.py . verify <change>validate-sequenced-after.py .validate-sequenced-after.py . --ledger-diffvalidate-scope-globs.py .doc-health.py --single-repo .32 critical, 5 error, 47 warning, 15 info— and the report is NORMALIZED-IDENTICAL toorigin/main38c076d1's,diffreturning 0 lines over 99 finding lines each once the checkout directory name is normalised. 28ratified-provenancerows, allcritical, 0info— this arm does nothing in a single-repo scope — and 0 findings name this packetpytest tests/doc-health -qf50b3fc8(origin/main38c076d1worktree, same shell: 1689 passed, exit 0)pytest tests/doc-health tests/sequenced_after tests/scope_globs tests/proposal-support -qf50b3fc8(prior measurement pre-round-5 fix, ate60ad2ff: 2199 passed / 66 subtests,+1tracks doc-health's own+1)Full output with exit codes, command lines and the control runs is in
review/verification-2026-09-11.mdandreview/verification-2026-09-11-post-bench.md.The bench
SIX COPILOT ROUNDS, EIGHT THREADS, ALL TAKEN, ZERO UNRESOLVED. Round 1 (02:44Z, 2 threads) — the citation lookup keyed
(repo, path)alone and honoured an undated entry, and the pass-through-by-identity invariant was uncovered: both TAKEN in2dc6c303. Round 3 (10:18Z, 1 thread) — an unhashable lookup key aborted the family over a malformed ENTRY: TAKEN incd27180c, with two further items REFUSED and the reason recorded intasks.md§ 5.11 (amending promoted canon the block carries byte-faithfully; re-classing the row asCONTESTED). Round 4 (11:01Z, 2 threads) — the scalar-root FILE abort and the inconsistent test counts: both TAKEN in5a8bba3e. Round 5 (12:23Z, 2 threads) — an unhashable ENTRY key in the runner's own read, and the test count moving once more: both TAKEN inf50b3fc8(review/verification-2026-09-11-post-bench.md). Round 6 (12:41Z, 1 thread) — this pull request's own title/body still described the packet as draft, with no approval pair and the pre-round-5 test count: TAKEN by this retitle and body rebuild (a PR-metadata edit, not a commit). Rounds 2 opened no thread. Sourcery posted a reviewer's guide and no finding. SonarCloud's quality gate PASSED. Codex's outcome is recorded verbatim inreview/verification-2026-09-11.md§ 12; an absence is recorded as an absence and never as approval.What this pull request does NOT do
openspec/specs/is edited; promotion is the ARCHIVE's act.tasks.md§ 6 or § 7.health/dispositions.yamllives inopensoft/xFactoryand is not touched here.(family, repo, path).document-lifecycle. The rule that a ratification record carriesStatus: ratifiedis unchanged and unweakened (design.mdD4).tasks.md§ 7.🤖 Generated with Claude Code