Repository navigation
Propose report-stale-grandfather-dispositions: report a stale grandfather disposition in ratified-provenance (#965) - #981
Conversation
…ance The other half of one set equality. `_honour_grandfather_dispositions` reads the aggregation's `health/dispositions.yaml` and downgrades what it MATCHES; nothing reads what it matched NOTHING. An entry naming a record since REPAIRED, or a path since VANISHED, stops disposing anything in silence — no finding, no severity, no row — and the file keeps it. `_stale_grandfather_dispositions` is a second last pass over the same file, taken after the first: the entries this family honours, minus the findings this family raised, reported at `warning` against the aggregation's own `health/dispositions.yaml` under the repository id `fam_submodule_pin_drift` already reports the aggregation as. The row names the entry's target and quotes the ruling it records, so a reader prunes the right line without opening the file. Two narrowings, each measured rather than assumed. A repository this run did not enumerate is passed over — an unmaterialized submodule reports nothing, and every entry naming it would otherwise be called stale on a measurement nobody took. And `--single-repo` reports nothing at all, inherited exactly as the downgrade inherits it: no aggregation root, no file, no entries (refs #968). Measured over the real aggregation, `opensoft/xFactory` main `0ecb370e8fec2c1ac78498adf8f6a4ea3ca1c9bb` with openxFactory at the pin `b91af6ea` and codexFactory at `2dd4e5a3`: 49 entries, 18 of them `family: ratified-provenance`, 15 matching a live finding and THREE matching nothing — all three codexFactory, all three because the record has since been repaired and now carries its citation. The family's report moves from `20 critical, 0 warning, 15 info` to `20 critical, 3 warning, 15 info` over a 12-line diff, the same 35 rows plus the three new ones in each of the two places the report renders a finding. TWELVE tests are added to `tests/doc-health/test_grandfather_dispositions.py` (22 -> 34 test functions, both counts measured at this tree and on an `origin/main` `8015d45f` worktree beside it). TWO existing tests in that file move, and both moves are the new behaviour rather than a repair: `test_an_undispositioned_archived_record_stays_critical` keeps its own assertion and gains the stale row its fixture's entry now earns, and `test_a_run_with_no_findings_reads_no_file` is split — the downgrade pass's early return still holds and is asserted directly, while the family-level no-read it used to imply is deliberately given up, because a clean corpus is the extreme case of the class this change reports. refs #965, refs #939, refs #945. Lane: openxfactory-1 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…randfather-dispositions
…andfather disposition in ratified-provenance The grandfather pass landed on #939 downgrades what it MATCHES in the aggregation's health/dispositions.yaml. The converse is reported nowhere: an entry naming a record since repaired, or a path since vanished, matches no finding, moves no severity and appears in no row. This packet takes that half. Measured, not assumed. opensoft/xFactory main 0ecb370e: 49 entries, 18 of them family: ratified-provenance (15 openxFactory, 3 codexFactory), all dated, all cited, all naming archived paths. Fifteen match a live finding and THREE match nothing. All three are codexFactory's and all three are stale BY REPAIR; zero by a vanished path. The same 15/3 split at the aggregation's own pins (b91af6e / 2dd4e5a3), at 8015d45 / dc67ad82, and again at this branch's merge base c521504 / c3108adc. D1 is put to Brett Heap as a MULTIPLE-CHOICE question with the recommendation first: a stale entry is (1, RECOMMENDED) a PRUNE PROMPT at warning against the aggregation's own health/dispositions.yaml, (2) the expected residue of a repair at info with no action, or (3) an aggregation defect at error. The packet encodes (1); a veto re-authors one THEN bullet and one constant. One ## MODIFIED block over "Governed corpus membership and the lifecycle scan set", canon's lines 878-945 sliced byte for byte (sha256 138a0d51, diff exit 0 against the delta) with one scenario appended. sequenced_after: [] — no change on main writes that requirement, and #966's own packet (draft PR 978) writes a different one, a branch-only parent never being declared. Status: draft throughout, no approval pair, nothing promoted. The code surface rides this branch and was committed at 89a6ae1; under release-realization the archive waits for merged-plus-green realization evidence. The origin issue is retired at the archive pull request and nowhere on this branch. refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Reviewer's GuideThis draft proposal adds a post-processing pass to report honoured ratified-provenance dispositions that no longer match any finding as warning-level, auto-fixable findings on the aggregation dispositions file, while preserving existing downgrade behavior and scope boundaries; it also adds extensive tests and documents the proposed OpenSpec change, measurements, alternatives, and pending ratification/archive steps. Sequence diagram for stale disposition detectionsequenceDiagram
participant Run as doc-health run
participant Family as fam_ratified_provenance
participant Reader as _grandfather_cites
participant Findings as Existing findings
participant Report as Report
Run->>Family: fam_ratified_provenance(ctx)
Family->>Findings: Build lifecycle findings
Family->>Reader: _grandfather_cites(ctx)
Reader-->>Family: Honoured disposition entries
Family->>Family: _honour_grandfather_dispositions(ctx, findings)
Family->>Family: _stale_grandfather_dispositions(ctx, graded)
Family->>Family: Compare entry keys with (f.repo, f.path)
alt Entry matches a finding
Family-->>Report: Preserve graded finding
else Entry is unmatched and repository is in scope
Family-->>Report: WARNING finding on health/dispositions.yaml
else Repository is not enumerated
Family-->>Report: No stale finding
end
Flow diagram for stale grandfather disposition reportingflowchart LR
D["health/dispositions.yaml"] --> A["_grandfather_cites(ctx)"]
A --> H["_honour_grandfather_dispositions(ctx, findings)"]
H --> G["graded findings"]
A --> S["_stale_grandfather_dispositions(ctx, graded)"]
G --> C{"entry matches a finding?"}
S --> C
C -->|yes| I["Preserve existing finding downgrade"]
C -->|no, repository in scope| W["warning finding on xFactory/health/dispositions.yaml"]
C -->|repository not enumerated| X["Skip"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
…tions (#981) `python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#981'` rewrote the ledger from the live corpus: 204 rows, exactly ONE moved — report-stale-grandfather-dispositions, stamped `moved_by: "#981"`, `moved_on: "2026-09-11"`. Every other row's provenance is preserved byte for byte, which is what the one-line diff shows. The row reads `{state: active, class: co-modifier, declares: [], depth: 0, prose: false}`: an explicit empty root claim, because no change on main writes *Governed corpus membership and the lifecycle scan set* and #966's own packet (draft pull request 978) writes a different requirement — a branch-only parent is never declared. Taken AFTER the pull request existed, as its own commit, so `--moved-by` names a pull request a reader can follow. `--ledger-diff` now exits 0: "per-change sweep ledger consistent with the corpus (204 rows)"; before the seed it exited 1 on four derived-total mismatches naming this change. refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: openxfactory-1 (openXfactory-1) |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
🔵 Needs a closer look
Three moderate implementation issues and one checklist inconsistency remain unresolved.
Pull request overview
Adds warning-level reporting for stale ratified-provenance dispositions while preserving existing grandfathering behavior.
Changes:
- Implements stale-disposition detection.
- Expands targeted regression coverage.
- Adds and registers the draft OpenSpec packet.
File summaries
| File | Summary |
|---|---|
tests/doc-health/test_grandfather_dispositions.py |
Adds coverage for stale, repaired, vanished, and scoped dispositions; duplicate-target coverage remains requested. |
scripts/doc_health/families.py |
Implements stale reporting. Moderate issues remain around action pinning, duplicate targets, and archived-path filtering. |
README.md |
Registers the draft change. |
openspec/changes/report-stale-grandfather-dispositions/tasks.md |
Contains a nit: the “other five” decision list enumerates six decisions. |
openspec/changes/report-stale-grandfather-dispositions/specs/doc-health/spec.md |
Adds the draft requirement scenario. |
openspec/changes/report-stale-grandfather-dispositions/proposal.md |
Documents the proposal. |
openspec/changes/report-stale-grandfather-dispositions/design.md |
Documents design decisions and scope. |
openspec/changes/report-stale-grandfather-dispositions/.openspec.yaml |
Defines draft metadata and provenance. |
Review details
Suppressed comments (4)
openspec/changes/report-stale-grandfather-dispositions/tasks.md:33
- The ratification checklist is internally inconsistent: this says “other five” but enumerates D0, D2, D3, D4, D5, and D6 (six labels), while
proposal.mdsummarizes the decisions as D0–D5 anddesign.mdcontains a separate D6 section. Please either remove D6 from this decision list or consistently include it and update the count and summary; otherwise the approval checklist can miscount or omit a packet decision.
- [ ] 1.2 **THE OTHER FIVE DECISIONS ARE CARRIED BESIDE D1 AND EACH IS
scripts/doc_health/families.py:370
- This new operator action is not independently pinned. The existing
ratified-provenanceaction table runs withagg_root=None, so this stale branch is never behaviorally harvested, and the static harvester cannot resolve the concatenated_STALE_ACTION + _cite_excerpt(...). The new stale test also compares against_STALE_ACTIONimported from this same module, so changing the production text keeps the test green. Add an aggregate-root action-pin case (or a literal expected-action assertion) so this guidance cannot drift silently.
_STALE_ACTION = (
"prune the entry, or re-point it at the record that still carries the "
"defect: the grandfather it records reaches no finding this run raises, "
"so it disposes nothing and cannot be read back from the report. Cite: ")
scripts/doc_health/families.py:621
- This loop iterates the
(repo, path) -> citemapping, so it can emit at most one row per target._grandfather_citesusessetdefaultand silently drops later valid entries sharing a target; that contradicts the packet's explicit one-row-per-entry contract (design.md§ 267-272), so a second stale ruling cannot be reported or individually pruned. Preserve the admitted entries as a list/multimap and emit each one, with a duplicate-target regression test.
for repo, path in sorted(cites):
if repo not in in_scope or (repo, path) in reported:
continue
# ONE LINE, AS THE PASS ABOVE COLLAPSES A CITE. `report.PLAN_RE` is
# anchored and read one line at a time, and `repo`/`path` here are
scripts/doc_health/families.py:619
- This complement is broader than the set the downgrade can actually honour:
_grandfather_citesadmits active paths, while_honour_grandfather_dispositionsexplicitly applies only to paths under the archive prefix. If an active disposition points to a packet that is later repaired or removed, there is no finding inreportedand this loop emits a stale warning even though the active-path boundary says that entry is inert, not a grandfathered disposition. Filter stale candidates with the same archived-path boundary (and cover a clean active target in the tests).
if repo not in in_scope or (repo, path) in reported:
continue
- Files reviewed: 9/9 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
🔵 Needs a closer look
The stale-disposition scope and duplicate-entry handling need correction.
Review details
Suppressed comments (2)
scripts/doc_health/families.py:618
- This scope check is not sufficient for the aggregation anchor:
corpus.discover_reposdeliberately addsopenxFactorywhenever the directory exists, even when an unmaterialized submodule is just an empty directory (scripts/doc_health/corpus.py:127-177). In that statectx.repo_pathscontainsopenxFactorybut_lifecycle_scope(ctx)reads no records, so this complement reports every openxFactory disposition as stale based on an unmeasured checkout. Use the actual materialized/scan scope (or make discovery distinguish this case) before reporting residue.
reported = {(f.repo, f.path) for f in findings}
in_scope = set(ctx.repo_paths)
out = []
for repo, path in sorted(cites):
if repo not in in_scope or (repo, path) in reported:
scripts/doc_health/families.py:619
- Duplicate
ratified-provenanceentries with the same(repo, path)are collapsed by_grandfather_citesbefore this loop (setdefaultkeeps only the first citation), so this pass can emit one stale row while silently losing the other recorded entry and its ruling. The new scenario/test describes one row per entry; either reject duplicate same-family keys explicitly or preserve them through the stale comparison and add a duplicate fixture.
for repo, path in sorted(cites):
if repo not in in_scope or (repo, path) in reported:
continue
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
…randfather-dispositions
…he stale pass's scope to the documents this family read Copilot reviewed the packet twice on PR #981 and opened no thread; six comments arrived suppressed inside the two review bodies. Five are answered in prose and tests, and ONE is taken as a code change. THE CODE CHANGE (design.md D2b, tasks.md 4.7). `_stale_grandfather_dispositions` read its scope off `ctx.repo_paths`. `corpus.discover_repos` admits the aggregation's ANCHOR on `is_dir()` alone while every other pinned repository must pass `_is_materialized_repo`, so an aggregation checkout whose openxFactory pin is unmaterialized leaves an EMPTY DIRECTORY that enumerates as a repository and contributes no document -- and the complement over `ctx.repo_paths` then reports every openxFactory entry in the file as stale on a checkout nobody measured. MEASURED, over the standing health/dispositions.yaml at opensoft/xFactory 0ecb370e with the anchor emptied: FIFTEEN false warning rows before, ZERO after. Against the fully materialized aggregation both readings report the SAME 15 matched / 3 stale, exit 0, so the fix costs nothing that is measured. The scope is now `{doc.repo for doc in _lifecycle_scope(ctx)}` -- the exact document set the family's five arms read. corpus.discover_repos is NOT moved (tasks.md 7.8): its lax anchor admission is every fixture aggregation's route in, and narrowing it would change what every family measures. THE FIVE ANSWERED IN PROSE AND TESTS. The operator wording is pinned as a LITERAL sentence rather than against the constant that builds it (families.py:370). The duplicate-target question, raised in both reviews (families.py:621, :619), is REFUSED as a code change and TAKEN as a test and a named limit: `cites.setdefault(key, cite)` is the parent's landed line and a multimap here would report a residue the downgrade half cannot honour -- measured at 0ecb370e, 49 entries and 49 DISTINCT (family, repo, path) triples, so the shape does not exist today (tasks.md 7.7). The archived-path asymmetry (families.py:619) becomes design.md D2a: the boundary is a property of the FINDING the downgrade moves, so an entry over a CLEAN ACTIVE path IS reported; measured population ZERO at 0ecb370e. And tasks.md 1.2 said "five" over a list of six labels; the count is now taken from the list -- the packet takes NINE decisions and proposal.md, design.md and tasks.md name the same nine. TESTS. tests/doc-health/test_grandfather_dispositions.py: 23 -> 39 test functions (`grep -c '^def test_'`, 23 read at origin/main d4d96cc and again at 0805c3b), sixteen added in all -- twelve at the authoring and four in this round. One test this packet itself added, test_an_entry_naming_a_repository_out_of_scope_is_never_stale, is RE-AUTHORED so that its in-scope half supplies the codexFactory document the new predicate asks for; no test the repository already had is edited, renamed, flipped or deleted. `_doc` gains a `repo=` keyword and every existing call site reads the default. `python3 -m pytest tests/doc-health/test_grandfather_dispositions.py -q` -> 39 passed, exit 0. The spec delta's scope bullet is re-worded to match the code: a repository the run READ NO DOCUMENT FROM, rather than one it did not enumerate. NOTHING IS RATIFIED AND NOTHING IS PROMOTED. The PR stays DRAFT and D1 is still Brett Heap's to rule. refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…966) The late coordination caught the change it was taken late to catch. PR #981, `report-stale-grandfather-dispositions`, opened 2026-09-11T20:40Z as a DRAFT on `change/report-stale-grandfather-dispositions`, after the two earlier `gh pr list --search 965` runs had both returned only this pull request. Measured off the branch rather than assumed: its `specs/doc-health/` delta carries exactly ONE `### Requirement` heading under a single `## MODIFIED Requirements` block — *Governed corpus membership and the lifecycle scan set*. That is not this packet's heading, so the two deltas touch disjoint requirements of the same capability and neither owes `sequenced_after:` to the other. #981's own `related:` records this pull request and reaches the same conclusion, which is the two lanes agreeing rather than one deciding for both. Two differences are recorded for a later reader: #981 carries a code surface where this packet carries none, and both branches seed a corpus-ledger row — a textual merge matter for whichever lands second, never a sequencing one. The sequencing plan is restated for the pair: if either packet later moves a delta onto the other's heading, the LATER-LANDING packet declares `sequenced_after:` at its encode, and neither declares a branch-only parent. `openspec validate decide-disposition-reading-per-family --strict` exit=0. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…randfather-dispositions
0805c3b This branch merged origin/main 0805c3b, whose only file change against the previous merge base is docs/doc-health.md -- PR #977 (docs/967-doc-health-family-table-currency, the act of #967) merged. Section 7.5 quoted family-table row 3 as still reading "Every `Ratified by:` resolves to an existing OpenSpec change", and that sentence no longer exists: #977 rewrote the row to spell out all five arms AND the grandfather downgrade. RE-READ AT THE MERGE THIS BRANCH NOW CARRIES rather than corrected from memory. Row 3 now ends at the downgrade -- "a downgrade rather than a suppression, because an archived record is beyond the plain repair every other arm asks for" -- and says nothing of this packet's second last pass, so the table is current for main and incomplete for this branch by exactly the one addition this packet makes. The point of 7.5 therefore stands and its evidence is replaced: the table's currency is #967's standing subject, this branch edits docs/doc-health.md not at all (the merge took #977's version whole), and a row for the stale pass is owed at RATIFICATION rather than at drafting, since D1 may yet re-author what that row would say. No conflict arose in the merge; the README "## OpenSpec Records" ACTIVE row for this packet is unmoved and no code-line citation moved. refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Lifecycle scope handling has a moderate correctness issue, and several verification summaries need updating.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (4)
openspec/changes/report-stale-grandfather-dispositions/tasks.md:357
- This verification snapshot is stale for the current tree: the test file now contains 39
test_functions, while this block still records 34 and 13 added definitions. The same packet records 23 → 39 elsewhere, so please re-run this measurement and reconcile the counts before relying on it for the archive evidence.
- [x] 5.10 **THE RIG FILE ALONE: `pytest
tests/doc-health/test_grandfather_dispositions.py -q` → EXIT 0, 34
PASSED** (0.41s). Counted rather than characterised: `git diff
origin/main...HEAD` over that file shows **13** `+def test_` lines and
**1** `-def test_` line — twelve NEW subjects plus the one rename § 4.4
openspec/changes/report-stale-grandfather-dispositions/tasks.md:231
- The preceding paragraph explicitly says
test_a_run_with_no_findings_reads_no_fileis split and renamed, so the statement that no pre-existing test was renamed is self-contradictory. Qualify this sentence as applying to no other pre-existing tests.
answer. **No test the repository already had before this packet is
edited, renamed, flipped or deleted** — § 4.7's re-authoring is of a test
this packet itself added.
scripts/doc_health/families.py:975
- This new docstring calls
_stale_grandfather_dispositionsthe “second last pass”, but the return at lines 1075–1076 appends it as the final pass; the preceding text also calls_honour_grandfather_dispositionsthe last pass. Please update the pass-order wording so the module documentation matches execution.
`_stale_grandfather_dispositions` is the second last pass, taken after the
first: a recorded entry whose target draws no finding from this family —
the record REPAIRED, or the path VANISHED — matched nothing, moved nothing
and was reported nowhere, so the file kept it and no artifact a reader
reads ever said so. That residue is reported at `warning` against the
scripts/doc_health/families.py:633
- The draft requirement scopes this class to repositories that contributed a document to the lifecycle scan set (
spec.md:78), but_lifecycle_scope(ctx)includes the governedctx.docsas well asctx.lifecycle_docs. Consequently, a repository with only governed-corpus documents can be treated as in scope and get a stale warning even though no lifecycle document from it was read; derive this set fromctx.lifecycle_docsand update the fixtures to populate that field for lifecycle documents.
in_scope = {doc.repo for doc in _lifecycle_scope(ctx)}
- Files reviewed: 9/9 changed files
- Comments generated: 1
- Review effort level: Lite
There was a problem hiding this comment.
🔵 Needs a closer look
Two moderate findings and two nits remain unresolved.
Review details
Suppressed comments (4)
README.md:561
- This active-change index still reports
22 → 34, but the packet's current test file contains 39 test functions and the packet's later design/tasks measurements record23 → 39. Leaving the authoring snapshot here makes the repository index misstate the code surface; please update it to the current count.
`tests/doc-health/test_grandfather_dispositions.py` goes **22 → 34** test
openspec/changes/report-stale-grandfather-dispositions/tasks.md:356
- This verification entry is stale relative to the file it claims to measure: the current branch has 39 test functions, not 34, and the diff contains 17
+def test_lines with one renamed-def test_line. The recorded 34-pass result and22 − 1 + 13 = 34arithmetic should be updated so the task ledger remains a truthful record of the gate run.
tests/doc-health/test_grandfather_dispositions.py -q` → EXIT 0, 34
PASSED** (0.41s). Counted rather than characterised: `git diff
origin/main...HEAD` over that file shows **13** `+def test_` lines and
openspec/changes/report-stale-grandfather-dispositions/tasks.md:230
- This statement contradicts the test-change accounting immediately above and the actual edits:
test_an_undispositioned_archived_record_stays_criticalis edited, andtest_a_run_with_no_findings_reads_no_fileis renamed. Only the §4.7 scope test was added by this packet and then re-authored, so the claim that no pre-existing test was edited or renamed is false.
answer. **No test the repository already had before this packet is
edited, renamed, flipped or deleted** — § 4.7's re-authoring is of a test
scripts/doc_health/families.py:633
- The new requirement defines this boundary in terms of repositories that contributed a document to the lifecycle scan set, but
_lifecycle_scope(ctx)returns bothctx.docsandctx.lifecycle_docs(runner.py:57-66,families.py:653-675). A repository represented only in the governed corpus is therefore eligible for a stale warning even though it contributed no lifecycle-scan document. Please align the implementation and delta—either narrow this set toctx.lifecycle_docs, or explicitly change the requirement/design to the combined family scope and add that boundary test.
in_scope = {doc.repo for doc in _lifecycle_scope(ctx)}
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
…s with that run's Section 5's figures were the first authoring's, taken against a c521504 control. The bench round moved both the branch and main, so every gate was re-run in the packet's own clone at this head and every one that can differ was run a second time on a FRESH 0805c3b control worktree beside it, with its submodules materialized so the two sides differ only by this branch. 5.1 openspec validate <change> --strict, PATH 1.2.0 exit 0 5.2 the same through the 1.12.0 pin, --no-cache exit 0 5.3 --all --strict, PATH 1.2.0 branch exit 1 (101 passed / 2 failed) control exit 1 (100 passed / 2 failed) IDENTICAL failure set, entry for entry (`diff` of the two sorted failure lists is empty): the two codexFactory disposition changes. 5.4 --all through the pin exit 0 BOTH SIDES, the same 2 accepted exceptions with the same recorded acceptance. 5.5 proposal-support verify exit 0 5.6 validate-sequenced-after . exit 0 and --ledger-diff exit 0 "per-change sweep ledger consistent with the corpus (204 rows)" -- the seed taken at 3742734 still agrees at this head, so no re-seed is owed. 5.7 validate-scope-globs . exit 0 5.8 doc-health.py --single-repo . exit 0, headline BYTE-IDENTICAL to the control's (32 critical / 7 error / 47 warning / 14 info, 0 new regressions); ZERO findings name this packet. 5.9 pytest tests/doc-health -q --tb=no branch exit 0, 1728 passed, 0 FAILED, 400s. Control exit 1, 1711 passed, 1 failed -- and that one failure is the CONTROL RIG's, not main's: the resolver test whose premise is a directory with no enclosing repository, which a worktree nested inside this clone cannot provide. It PASSES on the branch. The branch's FAILED set is EMPTY and is therefore a strict subset of the control's. Collected 1728 against 1712 -- exactly the sixteen tests this packet adds. 5.10 the rig file alone exit 0, 39 passed. 17 `+def test_` lines and 1 `-def test_` line against origin/main, so 23 - 1 + 17 = 39. 5.11 the code surface is TWO files: families.py 127 added / 1 removed and test_grandfather_dispositions.py 502 added / 21 removed. The only other file under tests/ in the branch diff is the sweep ledger's +1 seed row. 5.12 the delta's canon block re-verified at 0805c3b: `diff` exit 0 over 878-945 vs 5-72 AND 878-946 vs 5-73, digest 138a0d51 on both sides, and the canon file byte-unmoved across 8015d45, c521504 and 0805c3b. refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…measured 23 -> 39 Copilot's third review on PR #981 opened a thread on README.md:563 -- the active-change index still read "22 -> 34" while the branch's test file carries 39 definitions and the packet's own proposal and design say 23 -> 39. TAKEN. RE-MEASURED rather than copied from the packet: `grep -c '^def test_'` on tests/doc-health/test_grandfather_dispositions.py returns 23 at origin/main 0805c3b and 39 on this branch. The row now carries both figures with the command that produced them and says why the before-figure moved -- main added one test to that file between the first authoring and the bench round, and the bench round added four. refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved moderate findings affect the specification, README measurements, and lifecycle-scan test coverage; verification counts also need updating.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (3)
README.md:561
- This active-change summary is stale for the branch being reviewed:
test_grandfather_dispositions.pycurrently contains 39 test functions, and the packet's own current verification records 23 → 39 after the bench round (tasks.md:209-215,design.md:438-446). Keeping 22 → 34 here understates the code surface and conflicts with the current packet measurements; update this entry or explicitly label it as the historical authoring-time count.
`tests/doc-health/test_grandfather_dispositions.py` goes **23 → 39** test
openspec/changes/report-stale-grandfather-dispositions/tasks.md:348
- The PR description still advertises 1,723
tests/doc-healthpasses, while this updated verification records 1,728 passes (and the current test file contains 39 test functions). Please refresh the PR description so reviewers are not relying on stale verification counts.
- [x] 5.9 **`python3 -m pytest tests/doc-health -q --tb=no` → EXIT 0, 1728
PASSED, 0 FAILED** (7 warnings, 400s). The control at `0805c3bb` in a
worktree beside it: EXIT 1, **1711 passed, 1 failed**, and **THE ONE
FAILURE IS THE CONTROL RIG'S AND NOT `main`'s** —
`test_modified_block_currency_self_gate.py::test_the_resolver_fails_on_a_checkout_it_cannot_confirm_and_never_walks_up`
tests/doc-health/test_grandfather_dispositions.py:830
- This test claims the in-scope branch supplies a lifecycle-scan document, but
_ctx_reposstores both_docvalues inContext.docsand leaveslifecycle_docsempty. It therefore cannot catch a regression that uses governed-corpus scope instead of the lifecycle scan set named by the scenario; construct the codexFactory fixture inlifecycle_docs(and assert that field) to pin this boundary.
within = fam_ratified_provenance(
_ctx_repos(_doc(OTHER_ARCHIVED, SUBJECT_TEXT),
_doc(ARCHIVED, CLEAN_TEXT, repo="codexFactory"),
agg_root=agg, repos=(REPO, "codexFactory")))
- Files reviewed: 9/9 changed files
- Comments generated: 1
- Review effort level: Lite
…randfather-dispositions README.md OpenSpec Records conflict resolved by keeping both rows: main's disposition-codexfactory-regular-pr-council-clearance-archive row first, this packet's row after it, no other edit and no reflow. tests/sequenced_after/corpus-ledger.yaml auto-merged (main's new row added). refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Reconcile the draft/not-ratified PR description with the committed ratified state and correct the ratification record’s family count.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (2)
README.md:536
- The PR description still declares
Status: draft — NOT RATIFIED, but this change now records the packet as ratified in the proposal,.openspec.yaml, README, and ratification record. Please reconcile the PR description with the committed lifecycle state before merging; otherwise reviewers and automation receive contradictory approval status.
**`Status: ratified`** (2026-09-12T15:45:22Z, Brett Heap, openxFactory
openspec/changes/report-stale-grandfather-dispositions/review/ratification-2026-09-12.md:207
- This says there are seven other families, but the packet's own measurement consistently identifies eight other families and 31 entries (
tasks.md:545-550,design.md:541-544, and.openspec.yaml:135). That makes this ratification record's residue summary factually inconsistent; please correct the count.
- **THE RESIDUE NAMED AND NOT TAKEN**: `tasks.md` § 7 — the other seven
- Files reviewed: 11/11 changed files
- Comments generated: 1
- Review effort level: Lite
There was a problem hiding this comment.
🔵 Needs a closer look
Reconcile the PR’s draft/not-ratified description with ratified metadata in .openspec.yaml and proposal.md.
Review details
Suppressed comments (2)
openspec/changes/report-stale-grandfather-dispositions/.openspec.yaml:96
- The PR description still says this packet is draft, has no approval pair, and must stay draft, but this changed block records
approved_by/approved_onand the packet is marked ratified inproposal.mdandREADME.md. Please synchronize the PR metadata with the ratified state (or revert the ratification artifacts); the current description gives reviewers and lifecycle tooling contradictory status claims.
approved_by: >-
Brett Heap (openxFactory operator authority) — on 2026-09-12, lane
`openxfactory-1` (display `openXfactory-1`), a MULTIPLE-CHOICE ruling over
`design.md` D1 with the recommendation presented first: verbatim **"do all
as recomended"**, given in the lane's window in answer to the
orchestrator's list of open rulings (each put with its recommendation
first) and recorded on openxFactory PR #981 at 2026-09-12T15:45:22Z
(comment `5646922774`; mirrored on openxFactory issue #965 at
2026-09-12T15:45:23Z, comment `5646922894`).
THIS IS THE RATIFICATION ACT AND IT IS ADDED, NOT SUBSTITUTED. The drafting
openspec/changes/report-stale-grandfather-dispositions/proposal.md:10
- The PR description still declares this packet “Status: draft — NOT RATIFIED” and says the commissioning word creates no approval, but this commit changes the packet to
Status: ratifiedand adds the 2026-09-12Ratified:/approval records. Please reconcile the PR description with the submitted lifecycle state (or revert the ratification metadata); otherwise reviewers and lifecycle tooling receive contradictory status claims.
Status: ratified
Ratified: 2026-09-12 by Brett Heap (openxFactory operator authority) — D1 option 1, a PRUNE PROMPT at `warning` ("do all as recomended", https://github.com/opensoft/openxFactory/pull/981#issuecomment-5646922774); record at review/ratification-2026-09-12.md
- Files reviewed: 11/11 changed files
- Comments generated: 0 new
- Review effort level: Lite
…ther-dispositions README.md's ## OpenSpec Records conflicted with main's new decide-disposition-reading-per-family row; resolved by keeping BOTH rows (main's row first, this packet's row after), no other edit, no reflow. tests/sequenced_after/corpus-ledger.yaml auto-merged clean. No file under scripts/ or tests/ changed by this merge (git diff --stat 5972c8f 45a98fa -- scripts/doc_health tests/doc-health is empty), so this packet's own gate figures are unaffected. refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
… README mention Copilot flagged origin/main advanced again while this PR's checks were running (PR #998, repoint-chain-anchoring-medxchain-citation). README.md auto-merged clean; tests/sequenced_after/corpus-ledger.yaml conflicted on adjacent alphabetical rows (repoint-chain-anchoring-medxchain-citation / report-stale-grandfather- dispositions) — resolved by keeping both rows, in alphabetical order, each exactly as its own side authored it (validate-sequenced-after.py --ledger-diff confirms 207 rows consistent). Also takes Copilot's review-thread finding (PRRT_kwDOTAvnrs6hx_6v, posted after the previous merge push): this packet's own README.md entry still called PR #978 a "DRAFT PR" after #978 was ratified and merged. Fixed the wording in place (no reflow, no other edit) to say "since ratified and merged" instead. The one file PR #998 touched under tests/ (test_modified_block_currency_ self_gate.py) adds three ledger rows and updates one existing test's docstring/expected count (9 -> 12 named subjects); it adds no `def test_` function, so this packet's own net-new-test-function figures (tests/ doc-health 1742 vs 1725 control = +17; test_grandfather_dispositions.py 40 passed) are unaffected. refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
…ispositions origin/main advanced a third time while this PR's checks were running (PR #1005, an unrelated tasks.md amendment on split-opendox-two-layer- product). Clean auto-merge, no conflict: the only file it touches is that other packet's own tasks.md; nothing under scripts/ or tests/, and no README.md OpenSpec Records collision this time. refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
A provenance inconsistency remains in tasks.md, and the broad change warrants final human review.
Review details
Suppressed comments (1)
openspec/changes/report-stale-grandfather-dispositions/tasks.md:487
- This provenance claim conflicts with the verification record:
review/verification-2026-09-12.md:6-15says the commands were run after the ratification edits but immediately before the ratification commit, whereas this task says they ran after the commit itself. Please describe the state consistently so readers do not treat pre-commit working-tree evidence as post-commit evidence.
ratification commit itself, in the existing clone. The capture with
- Files reviewed: 11/11 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
|
Lane: openxfactory-1 (openXfactory-1) LANDING — lane openxfactory-1, session a0729f@Eagle, 2026-09-12T18:07:59Z, PR #981 into openxFactory main (RATIFIED report-stale-grandfather-dispositions at 522412a — Brett Heap 2026-09-12T15:45Z verbatim 'do all as recomended' (PR #981 issuecomment-5646922774); CODE SURFACE — archives only on realization evidence, not at this landing; refs #965) Guard at 2026-09-12T18:07:59Z on head |
|
Lane: openxfactory-1 (openXfactory-1) LANDED — lane openxfactory-1, 2026-09-12T18:08:27Z, PR #981 → 177ba81 (openxFactory main; ratification of report-stale-grandfather-dispositions (#965) landed at head 522412a; code surface: archive owed on realization evidence (main's decided green pytest-suite on the merge commit, or tree equality); #965 closes at the archive, not here; admin merge commit on 'land each when green'; Rule 6 window closed) |
Bookkeeping only. `origin/main` moved a72f0a7 -> 177ba81 (#981 report-stale-grandfather-dispositions landed while this packet's own merge of a72f0a7 was in flight). README `## OpenSpec Records` conflicted on the same heading a third time: main's new `report-stale-grandfather-dispositions` row kept FIRST, verbatim, with this packet's row immediately after it; the earlier `decide-disposition-reading-per-family` row (already merged in db20851) is untouched, and no other row is reflowed. `tests/sequenced_after/corpus-ledger.yaml` auto-merged with both sides' rows intact; `scripts/doc_health/families.py`, `tests/doc-health/test_grandfather_dispositions.py` and the new `report-stale-grandfather-dispositions` change directory came in from main unmodified by this merge. The packet's own gate re-run on the merged tree: exit 0 — 45 active proposals, 45 declaring, 21 `implemented`, 3 a named release, 21 named by the register, 0 outside the vocabulary. `pytest tests/target_release -q` 84 passed, unchanged. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
origin/main advanced to 177ba81 (PR #981, report-stale-grandfather-dispositions) since this branch's last push at a72f0a7. Conflict in README.md's OpenSpec Records block: main's copy carried a now-stale ACTIVE row for THIS packet (decide-disposition-reading-per-family, still showing Status: ratified, "RATIFIED != ARCHIVED... archive is a separate act on a separate word, still OWED") predating this PR's own archive of the same packet. Resolved by dropping that stale active row rather than duplicating it — this branch already carries the packet's archived-form entry under Archived changes, and README must not list the same change twice. PR #981's own active row (report-stale-grandfather-dispositions, a different, unrelated change) is kept unchanged. tests/sequenced_after/corpus-ledger.yaml auto-merged clean (disjoint keys). Lane: openxfactory-1 refs #966 Co-Authored-By: Claude Fable 5.1 <[email protected]>
… (fifth) origin/main moved to 4756149 via two PRs: #981 (report-stale-grandfather- dispositions, a new active change adding an ADDED requirement plus tests/scripts of its own to the doc-health family) and archive PR #1007 (archiving decide-disposition-reading-per-family to openspec/changes/archive/2026-09-12-decide-disposition-reading-per-family/, removing its active README row and adding its archived one). Neither PR touches this packet's own change directory, openspec/specs/doc-health/ spec.md's *Currency of an active change's MODIFIED requirement blocks* requirement, or scripts/doc_health/modified_block_currency.py -- verified by `git diff ed75803..HEAD --stat -- openspec/changes/rule-inherited-unit- naming-marker-spent/` returning empty. Both README.md and tests/sequenced_after/corpus-ledger.yaml auto-merged clean this time (git reported "Auto-merging", no conflict markers, no manual resolution needed) -- unlike the prior four merges, this one did not collide with this packet's own README row or the self-gate test file, since neither #981 nor #1007 inserts at the same point in the active-changes list or touches test_modified_block_currency_self_gate.py. refs #955 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: openxfactory-1 (openXfactory-1) ARCHIVE WORD for Brett Heap, 2026-09-12T22:25:43Z (given in the lane's window, first-hand, in answer to the orchestrator's statement that the two remaining code-surface packets —
Scope, as the words were put: this is the separate post-ratification ARCHIVE word for BOTH packets, and this comment records it for refs #965 (closes at the archive pull request, not here). |
…lock
Performed with:
TZ=UTC python3 scripts/proposal-support.py . archive \
report-stale-grandfather-dispositions --date 2026-09-12 --yes
through the pinned @fission-ai/[email protected] artifact (integrity and
dependency-closure verified, npm ci --ignore-scripts) — never a bare
`openspec archive` — on Brett Heap's separate archive word,
2026-09-12T22:25:43Z verbatim "archive both", recorded on PR #981
(issuecomment-5649094329) and mirrored on issue #965
(issuecomment-5649094412), with the condition it was given on already
met: PR #981 (the ratification, Brett Heap 2026-09-12T15:45:22Z "do all
as recomended") merged into main as
177ba81 at 2026-09-12T18:08:16Z, and
main's own pytest-suite run 34710282045 (event push, headBranch main,
head == the merge commit itself) ran conclusion success.
ORIGIN RETAINED: the declaration is unchanged since the ratifying
commit 5d099ac.
Rename purity: all 7 packet files move R100 (byte-identical rename,
git diff --cached -M --name-status). The old directory is gone from
the tree, the index and the worktree.
Promotion byte-identity, measured: the archived delta's full
`### Requirement: Governed corpus membership and the lifecycle scan
set` and the promoted requirement in openspec/specs/doc-health/spec.md
are BOTH 8,394 bytes, sha256
68be1ba5ea476431aa2792f530de36b03d6a114b5d6a394ae882d2613caa6670 —
byte-for-byte equal. git diff --numstat and -w --numstat over
openspec/specs/doc-health/spec.md both read `9 0` — a pure addition of
the one new scenario, `A recorded disposition matches no finding`; no
`Removed from canon` marker is owed and none is written, matching
tasks.md 3.2's own declaration.
refs #965
Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…eed the ledger Three things, on the recording, now that PR #1015 exists to cite: 1. README.md `## OpenSpec Records` — moves this packet's row from Active to Archived form (newest archive at the top), citing PR #1015, the merge commit, main's own pytest-suite run, the archive word, the ratification word, the promotion byte-identity, and how all twelve tasks.md boxes ticked (§6.1-6.4 on evidence+word; §7.1/#966 and §7.4/#968 on named successors now closed; §7.5/#967 with a gap disclosed rather than hidden; §7.3/§7.7 as decided-and-tested boundaries; §7.2/§7.6/§7.8 re-confirmed not taken, no successor filed). 2. `review/ratification-2026-09-12.md` — appended a new "## 8. Addendum — the separate archive word and its evidence" section, recording Brett Heap's 2026-09-12T22:25:43Z verbatim "archive both" (PR #981 issuecomment-5649094329, mirrored on #965 issuecomment-5649094412) and the realization evidence it names (PR #981 merged 177ba81- eb3f946ca8291b9ba4e92, main's own pytest-suite run 34710282045 at that exact head, conclusion success). An ADDITION after the existing prose, never an edit to it — the file's own § 6 already anticipated this word as owed and not yet given; it is now given. 3. `tests/sequenced_after/corpus-ledger.yaml` — seeded via `validate-sequenced-after.py . --seed-ledger --moved-by '#1015'`. Exactly one row changed: report-stale-grandfather-dispositions from {state: active, moved_by: "#981", moved_on: "2026-09-11"} to {state: archived, moved_by: "#1015", moved_on: "2026-09-12"}. `--ledger-diff` confirms the corpus sweep ledger is consistent with the corpus (209 rows) afterward. The self-gate (`tests/doc-health/test_modified_block_currency_self_gate.py`) needs no edit: this packet never carried a row in `_LEDGER_SUBJECTS` (its own MODIFIED block is a pure addition, no removed-unit marker, per tasks.md 3.2), confirmed green (19 passed) both before and after this commit. refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>



Lane: openxfactory-1 (openXfactory-1)
Status: ratified. Brett Heap, 2026-09-12T15:45:22Z — PR comment
5646922774(mirrored on openxFactory issue #965 at 15:45:23Z) — given in the lane's window in answer to the orchestrator's list of open rulings (D1 put with its recommendation first), verbatim "do all as recomended". The earlier word of 2026-09-11 ~18:20Z — verbatim "usage reset, resume all. read handoff and resume and fan out wide and do as much as possible in parallel" — decided nothing above and is not read as an approval; it stays the ORIGIN of the authoring only. D1 RULED: option ① (a PRUNE PROMPT,warning) TAKEN; ② and ③ NOT taken — the ruled option is the one this packet had already encoded, so not one byte of the arm or its tests moved for the ratification.proposal.md,design.mdandtasks.mdnow carryStatus: ratifiedwith a citation each;.openspec.yamlgainsapproved_by/approved_onADDED BESIDE the byte-unmoved drafting provenance (kind,id,reason,proposed_by,proposed_onuntouched;git diff --numstatreads43 0, pure addition); recordreview/ratification-2026-09-12.md, gate set re-derived atreview/verification-2026-09-12.md. RATIFIED ≠ ARCHIVED: archive is a separate act on a separate word —tasks.md§ 6 stays entirely open, and openxFactory #965 closes THERE, not here. This pull request is ready for review; it does not merge itself — landing is the orchestrator's act, on green.Carries § 7.1 of the archived
honour-grandfather-dispositions-in-ratified-provenance(openxFactory #965). The grandfather pass landed on #939 reads the aggregation'shealth/dispositions.yamland downgrades a finding toinfowhen the finding's(repo, path)carries a dated, citedfamily: ratified-provenanceentry over an archived path. The converse is reported nowhere. An entry naming a record since REPAIRED, or a path since VANISHED, matches no finding, moves no severity and appears in no row — it stops disposing anything, silently, and the file keeps it. The parent'sdesign.mdD6 named this class as a successor rather than smuggling it in, on the measured ground that its population was then ZERO. It is no longer zero.D0 — the measurement, taken before the design (three rigs, every figure with its sha)
THE FILE.
opensoft/xFactorymain0ecb370e8fec2c1ac78498adf8f6a4ea3ca1c9bb— 49 entries across NINE families, 18 of themfamily: ratified-provenance(15openxFactory, 3codexFactory), every one dated, every one cited, every one naming a path underopenspec/changes/archive/.openxFactoryb91af6ea,codexFactory2dd4e5a3origin/main(first authoring)openxFactory8015d45f,codexFactorydc67ad82openxFactoryc521504c,codexFactoryc3108adcThe aggregation's
openxFactorypin is 237 commits behind that repository'sorigin/mainat the encode, which is why the split was re-measured twice rather than carried: the residue is a fact about the FILE, not about the pin. The aggregation itself is byte-unmoved at0ecb370eacross all three.WHY EACH OF THE THREE IS STALE, READ OFF THE RECORD RATHER THAN INFERRED. All three are codexFactory's and all three are stale BY REPAIR — each names a
review/ratification-2026-09-05.mdthat EXISTS and now carriesStatus: ratifiedwith aRatified:line naming an approver and a date, so no arm of this family opens a finding against it and the entry that grandfathered it reaches nothing:openspec/changes/archive/2026-09-05-add-floor-addition-grace/review/ratification-2026-09-05.mdopenspec/changes/archive/2026-09-09-adopt-openspec-cli-pin-gate/review/ratification-2026-09-05.mdopenspec/changes/archive/2026-09-09-prepare-openspec-1.12-readiness/review/ratification-2026-09-05.mdZERO are stale by a vanished path today. The arm reports both shapes because a repaired record and a deleted one produce the same absence, and its whole predicate is the absence.
THE FAMILY, BEFORE AND AFTER (rig A,
--family ratified-provenance): 35 rows → 38;20 critical / 0 warning / 15 info→20 critical / **3 warning** / 15 info. No existing row moves — not a severity, not a rule, not an action, not a resolution class.D1 — RULED: option ① (put as a multiple-choice question, recommendation FIRST; ✅ TAKEN / ❌ NOT TAKEN marked below)
RULED 2026-09-12T15:45:22Z — Brett Heap, PR comment
5646922774(mirrored on openxFactory issue #965 at 15:45:23Z), given in the lane's window in answer to the orchestrator's list of open rulings, verbatim "do all as recomended". What IS a stale entry? The packet encoded option 1 at authoring; the ruling confirms it — ① TAKEN, ② and ③ NOT TAKEN.✅ ① TAKEN — a PRUNE PROMPT: a new finding class at
warning, against the file.The run reports it at
warningagainst the AGGREGATION's ownhealth/dispositions.yaml— the file the entry is a line of — naming the entry's repository and path and quoting the ruling it records, action "prune the entry, or re-point it at the record that still carries the defect". The file then converges on the set the run reports.Cost: three
warningrows today, and a governance file that acquires a standing obligation to be kept current. Consequence: the disposition file becomes CHECKABLE — its only evidence of correctness today is that somebody once wrote it.warningis canon's own word for this ("drift or first-stage aging"). It reds no gate and enters no comparison:--fail-on critical/--fail-on errorare the two dials that exist,report.regressionsconsiders onlycritical/error, and the family carries nocontestedclass, so a stale row can never be a regression nor open an issue. The estate has already ruled this way once, inscripts/validate-sequenced-after.py's archive-date arm, which reports a stale disposition on the stated ground that "a stale disposition silences a finding on a fact nobody can check" and tells the author to remove it. The ruled option is the one this packet had already encoded, so not one byte of the arm (scripts/doc_health/families.py) or its tests moved for the ratification (tasks.md§ 1.1).❌ ② NOT TAKEN — the EXPECTED RESIDUE of a repair, graded
info, no action.Cost: the row asks for nothing, so nothing converges — the file grows monotonically and no reader can say which entries still do anything. Consequence:
infowould then carry TWO different facts for one family ("this record is grandfathered" and "this entry grandfathers nothing"), and the parent choseinfoprecisely so the grandfathered population stayed countable. Cheapest option; changes least.❌ ③ NOT TAKEN — an AGGREGATION DEFECT, at
error.Cost: it punishes the good act — the three entries are stale BECAUSE somebody repaired three records, and
erroris the band that OPENS AN ISSUE, so three repairs would have opened one. Consequence: it also REDS A GATE (--fail-on error) on a file in the aggregation that no repository's own--single-repogate can even see. Strongest reading; take it if the file is a pinned inventory rather than a ledger of rulings — not the reading ruled.No veto occurred, so D2 through D5 stand exactly as designed below, except that D2's band sentence follows D1 —
tasks.md§ 1.1 ticks D1 itself GIVEN; § 1.2 records that D0 and D2 through D5 (plus D2a, D2b) were carried beside D1 and none was vetoed.D2 – D5 (and D2a, D2b), one line each
fam_ratified_provenanceendsgraded = _honour_grandfather_dispositions(ctx, findings); return graded + _stale_grandfather_dispositions(ctx, graded). It runs AFTER the downgrade because canon requires a grandfathered finding to keep "its family, its repository and its path", so the key set is identical on both sides of it (asserted, not argued). The unmatched set isset(_grandfather_cites(ctx))minus{(f.repo, f.path) for f in findings}— ONE admission rule serves both halves, so an entry that would not have downgraded anything is not counted as residue either. Two measured narrowings: a repository absent fromctx.repo_pathsis passed over (no measurement, no verdict), and a--single-reporun reports nothing at all — the parent's pinned asymmetry, pinned again rather than quietly widened, with doc-health --single-repo has no route to the aggregation dispositions file, so all 28 ratified-provenance rows stay critical in this repo's own gate run (design.md D6); § 7.4 of honour-grandfather-dispositions-in-ratified-provenance #968 named as the open sibling. The row lands on the FILE under the existing repository idxFactory, and the resolution class staysauto-fixabledeliberately:contestedwould armuncited_resolutions, so PRUNING the entry — doing exactly what the row asks — would raise anerrornext nightly, and a rule whose compliance manufactures an error is not a rule._honour_grandfather_dispositionsapplies the archive prefix to the FINDING it moves;_grandfather_citesadmits an entry at any path. So an entry over a clean ACTIVE path — which can never be honoured — IS reported stale rather than silently dropped: it is the strongest case of an entry that disposes nothing, not an exception to it. Measured population ZERO at0ecb370e(all 18 entries name archived paths), so the decision is about what the rule says, not about tonight's report.ctx.repo_paths(added in the bench round, from Copilot, and the one code change of that round).corpus.discover_reposadmits the aggregation's ANCHOR onis_dir()alone while every other pinned repository must pass_is_materialized_repo, so an unmaterializedopenxFactorypin is an empty directory that enumerates as a repository and yields no document. MEASURED: over the standinghealth/dispositions.yaml(0ecb370e) with the anchor emptied, thectx.repo_pathsreading reported FIFTEEN falsewarningrows — every openxFactory entry this family honours — and the new reading reports ZERO; against the fully materialized aggregation both report the same 15 matched / 3 stale, exit 0.in_scopeis now{doc.repo for doc in _lifecycle_scope(ctx)}— the governed corpus TOGETHER WITH the lifecycle scan set, the union being deliberate: narrowing toctx.lifecycle_docsalone would silence a genuinely vanished target in a repository the run did read.corpus.discover_reposis not moved.tests/doc-health/test_grandfather_dispositions.py: 23 → 40 test functions (18+def test_, 1-def test_; the one removal is a rename § 4.4 names), seventeen added — twelve at the authoring and five in the PR Propose report-stale-grandfather-dispositions: report a stale grandfather disposition in ratified-provenance (#965) #981 bench round. Both shapes of the class, the negative case, the extreme (a clean corpus makes every in-scope entry stale), both narrowings, malformed input unchanged, the shared admission rule, the D2 boundary, composition by identity, the row's own grammar — and from the bench: the operator wording pinned LITERALLY, the duplicate-target answer, D2a, D2b's unmaterialized anchor, and D2b's union boundary.code_surfaceis NON-EMPTY, so underrelease-realizationthis packet archives on merged-plus-green realization evidence, at canon's grain: this pull request's green run onrefs/pull/N/mergeTOGETHER with proof the merge commit's tree is the tree that ran.tasks.md§ 6 is entirely open.ratified-provenance's entries and nothing else; the 31 entries the other EIGHT families carry at0ecb370eare health/dispositions.yaml: the other eight families' 31 entries are unread by their own families — downgrade, suppress or ignore is undecided per family; § 7.2 of honour-grandfather-dispositions-in-ratified-provenance #966's subject. health/dispositions.yaml: the other eight families' 31 entries are unread by their own families — downgrade, suppress or ignore is undecided per family; § 7.2 of honour-grandfather-dispositions-in-ratified-provenance #966's own packet — PR Propose decide-disposition-reading-per-family: decide per family what the aggregation dispositions file means (#966) #978, since ratified and landed — does NOT collide, RE-VERIFIED at its then-headee243dd2: its## MODIFIEDblock writes Finding severity and regression handling, this one writes Governed corpus membership and the lifecycle scan set. Disjoint bytes. NOsequenced_after:EITHER WAY — that field names a change onmain, and Propose decide-disposition-reading-per-family: decide per family what the aggregation dispositions file means (#966) #978's packet exists only on its own branch; a branch-only parent is never declared, and whichever lands second declares at its own encode if it then needs to. The one contact point is a CITATION: D1 leans on the band sentence in the requirement Propose decide-disposition-reading-per-family: decide per family what the aggregation dispositions file means (#966) #978 modifies, anddiffof canon lines 199–208 at0805c3bbagainst Propose decide-disposition-reading-per-family: decide per family what the aggregation dispositions file means (#966) #978's delta lines 6–15 exits 0, so the ground D1 stands on is the same either side of that landing.The delta
ONE
## MODIFIEDREQUIREMENT, ONE SCENARIO APPENDED, NOT ONE BYTE OF PROMOTED TEXT EDITED. The block is canon's own bytes —openspec/specs/doc-health/spec.mdlines 878–945,sha256 138a0d51f42f77aa9f0418c5ec1570681f63e0409bc0a43596e8356dca06e5ddon both sides; taking the blank separator with them,diffof canon 878–946 against this delta's lines 5–73 exits 0. No body paragraph added, edited or removed; no promoted scenario moved, retitled or shortened; no marker declared, there being nothing removed to declare. The canon file is byte-unmoved between8015d45f,c521504cand0805c3bb, each pair'sgit diff --statover it empty, so the slice taken before the merges is the slice carried after them.Gates — re-run in the clone at
0ac015ef, controls on a freshorigin/main0805c3bbworktree beside itEvery figure below is that re-run's, taken after this branch merged
origin/main0805c3bband after both bench rounds. The control worktree'sopenDox/openXdoxsubmodules were materialized so the two sides differ only by this branch.0ac015ef)origin/main0805c3bb)OPENSPEC_TELEMETRY=0 openspec validate report-stale-grandfather-dispositions --strict(PATH 1.2.0)validate-openspec-cli-pin.py --change … --no-cache)openspec validate --all --strict(PATH 1.2.0)disposition-codexfactory-declared-renames,disposition-codexfactory-floor-relocation-retitlediffof the two sorted✗lists is emptyvalidate-openspec-cli-pin.py --all --no-cache(pinned 1.12.0)python3 scripts/proposal-support.py . verify report-stale-grandfather-dispositionspython3 scripts/validate-sequenced-after.py .python3 scripts/validate-sequenced-after.py . --ledger-diffpython3 scripts/validate-scope-globs.py .python3 scripts/doc-health.py --single-repo .python3 -m pytest tests/doc-health -q --tb=nopython3 -m pytest tests/doc-health/test_grandfather_dispositions.py -q0805c3bbTHE BRANCH'S
FAILEDSET IS EMPTY AND IS THEREFORE A STRICT SUBSET OF THE CONTROL'S. The control's one failure is the CONTROL RIG's, notmain's:test_modified_block_currency_self_gate.py::test_the_resolver_fails_on_a_checkout_it_cannot_confirm_and_never_walks_upfails because the control is a WORKTREE NESTED INSIDE the packet's clone and the test's premise is a directory with no enclosing repository. That same test PASSES on the branch, which is a top-level clone. Collected: 1729 branch against 1712 control (1711 passed + that 1 failed) — a difference of exactly the seventeen tests this packet adds.The code surface is two files and nothing else:
git diff --numstat origin/main...HEAD -- scripts tests/doc-health→scripts/doc_health/families.py134 added / 1 removed andtests/doc-health/test_grandfather_dispositions.py549 added / 21 removed ("2 files changed, 683 insertions(+), 22 deletions(-)"). The only other file undertests/in the whole branch diff istests/sequenced_after/corpus-ledger.yaml, +1 line, the per-change sweep ledger's seed row.Review bench — ten suppressed comments across four Copilot reviews, one thread, and Codex ABSENT
Copilot reviewed four times (20:46Z, 20:53Z, 21:42Z, 21:50Z) and opened one review thread; everything else arrived as "Suppressed comments" inside a review body, which opens no thread. Ten items, reducing to eight distinct subjects (the duplicate-target question and the § 5.10 snapshot were each raised twice). Each is dispositioned individually in this comment. In summary: one taken as a CODE change (D2b's scope), one refused as a code change and taken as a test plus a named limit (the duplicate-target multimap —
cites.setdefaultis the parent's landed line, and the file carries 49 entries at 49 distinct(family, repo, path)triples, so the shape does not exist today), one refused as a narrowing and taken as a requirement widening plus a test (_lifecycle_scopeis the union of both document sets, deliberately), and the rest taken as named decisions, tests, re-measured figures or prose corrections. The thread (r3993730260, a stale README count) was taken, replied to and resolved; unresolved threads: 0.Codex — ABSENCE, recorded verbatim. One review request was posted; the connector replied eight seconds later: "You have reached your Codex usage limits for code reviews. … you can upgrade your account or add credits to your account and enable them for code reviews in your settings." That is an absence, not a clean review, and no second request has been posted. Sourcery posted a Reviewer's Guide with no findings; SonarCloud's Quality Gate passed.
What this pull request does NOT do
Status: ratified(with a citation each) inproposal.md,design.mdandtasks.md; the approval pair in.openspec.yaml;review/ratification-2026-09-12.mdandreview/verification-2026-09-12.md— all landed in one commit,5d099acb. D1 ruled ① (the recommended reading); ② and ③ were not taken, and not one byte of the delta, the arm or its tests moved for the ratification itself.openspec/specs/is edited.code_surfaceis non-empty, so the archive is a separate act on merged-plus-green realization evidence and a separate word. No closing keyword appears in this body or in any commit message on this branch — a commit message auto-closes exactly as a body does, and the branch was grepped.health/dispositions.yamllives inopensoft/xFactoryand is not touched here at all.--single-repoa route to an aggregation dispositions file (doc-health --single-repo has no route to the aggregation dispositions file, so all 28 ratified-provenance rows stay critical in this repo's own gate run (design.md D6); § 7.4 of honour-grandfather-dispositions-in-ratified-provenance #968).docs/doc-health.md— that sweep is docs/doc-health.md family table row 3 still summarises ratified-provenance as one arm ("EveryRatified by:resolves to an existing OpenSpec change") — incomplete since the two-spelling ruling, more so after #939; § 7.3 #967, and its PR Bring the doc-health family table current with every family's landed arms (#967) #977 has since MERGED intomainat0805c3bb, which this branch took whole;tasks.md§ 7.5 is re-pointed to the row as it now reads, and a row for this packet's pass is owed at RATIFICATION rather than at drafting.Gates at the FINISHER's final head,
f742c090— re-run in full a second timeEverything in the "Gates" section above was measured at
0ac015ef, anintermediate head from a mid-bench-round commit. This FINISHER
pass (lane openxfactory-1) re-ran the entire battery, unchanged in method, at the head this pull
request now stands at, control refreshed to a then-current
origin/mainworktree beside it (submodules materialized identically on both sides):
f742c090)origin/main972b484a)python3 -m pytest tests/doc-health/test_grandfather_dispositions.py -qopenspec validate report-stale-grandfather-dispositions --strict(PATH 1.2.0)validate-openspec-cli-pin.py --change … --no-cache)openspec validate --all --strict(PATH 1.2.0)disposition-codexfactory-declared-renames,disposition-codexfactory-floor-relocation-retitlediffof the sorted✗lists is emptyvalidate-openspec-cli-pin.py --all --no-cache(pinned 1.12.0)python3 scripts/proposal-support.py . verify report-stale-grandfather-dispositionspython3 scripts/validate-sequenced-after.py .python3 scripts/validate-sequenced-after.py . --ledger-diffpython3 scripts/validate-scope-globs.py .python3 scripts/doc-health.py --single-repo .python3 -m pytest tests/doc-health -q --tb=noThe branch's
FAILEDset is empty, a strict subset of the control's. Thecontrol's one failure is the control rig's own artifact (a worktree nested
inside this clone, tripping
test_modified_block_currency_self_gate.py::test_the_resolver_fails_on_a_checkout_it_cannot_confirm_and_never_walks_up),and that same test passes on the branch. Collected 1729 vs 1712 (1711
passed + 1 failed) = the seventeen tests this packet adds, unmoved since the
table above.
Every figure in this section is identical to the run at
0ac015ef.git log --first-parent --oneline 0ac015ef..f742c090lists eightcommits (
67f05d85,ed384a59,4bd49124,9170edf7,e06333d6,dc134738— the merge fromorigin/main—da65ae70,f742c090), andgit diff --stat 0ac015ef f742c090 -- openspec/changes/report-stale-grandfather-dispositions/ README.mdis the whole of what they touch beyond the merge's own incoming files
(
docs/opendox-carve-admissions.yaml,docs/opendox-cutover-runbook.md,scripts/verify-carve-arrival.py,tests/carve_arrival/— allorigin/main's own PR #979, none of themauthored here): continuing the same review-and-disposition bench this
section describes, including this FINISHER pass's own three rounds (a
standalone-possessive grammar nit in five files, an imprecise
sequenced_after: []claim in two files, and two self-contradictorydesign.mdsentences that each reused a phrase its own preceding sentencehad already used for something else). None of the eight touches
scripts/ortests/. This table exists to cite the exact final headrather than an intermediate one, not because anything measured moved.
Review bench, continued. Copilot posted fifteen reviews on this
pull request in total (
gh api repos/opensoft/openxFactory/pulls/981/reviews --paginate, filtered tocopilot-pull-request-reviewer[bot], counted atf742c090) and opened four review threads in total — all fouralready resolved (re-confirmed via GraphQL after every push cited in this
section:
isResolved: trueon all four,headRefOidmatching each push inturn). All four threads were opened and resolved before this FINISHER
pass began (one from review three, three more from reviews five, seven
and ten by submission time) —
tasks.md§§ 4.6–4.11 gives the full,already-verified account of reviews one through ten. Reviews eleven
through fifteen — all suppressed comments, no new threads — were
dispositioned in this pass:
the eleventh review's five-file grammar nit,
the twelfth and thirteenth reviews'
sequenced_afterwording,and
the fourteenth review's two design.md ambiguities.
The fifteenth review (
5184289700, 23:46:28Z, on this pass's own headf742c090) is the first of the fifteen to carry nothing at all — zerosuppressed comments, zero new threads. Codex's ABSENCE (a usage-limit
reply) stands as recorded above; no second request has been posted.
Gates at the ratification encode,
5d099acb(control: a freshorigin/main1f068646worktree)Ratifying the packet touched seven files:
README.md(29 added / 15 removed),.openspec.yaml(43 added / 0 removed — pure addition),design.md(31/9),proposal.md(24/11),tasks.md(72/30), plus two new records,review/ratification-2026-09-12.md(221/0) andreview/verification-2026-09-12.md(92/0). The spec delta itself is untouched (git diff 5d099acb^ 5d099acb -- openspec/specs/empty) and no byte ofscripts/doc_health/families.pyortests/doc-health/test_grandfather_dispositions.pymoved — the ruled option was the one already encoded.5d099acb)origin/main1f068646)python3 -m pytest tests/doc-health/test_grandfather_dispositions.py -qpython3 -m pytest tests/doc-health -q --tb=no+def test_, 1-def test_rename)openspec validate report-stale-grandfather-dispositions --strict(PATH 1.2.0)openspec validate --all --strict(PATH 1.2.0)disposition-codexfactory-*exceptionsvalidate-openspec-cli-pin.py --all --no-cache(pinned 1.12.0)python3 scripts/proposal-support.py . verify report-stale-grandfather-dispositionspython3 scripts/validate-sequenced-after.py .python3 scripts/validate-sequenced-after.py . --ledger-diffpython3 scripts/validate-scope-globs.py .python3 scripts/doc-health.py --single-repo .The branch then merged
origin/mainonce more before this comment,5972c8f3(PR #1004) →5e1af826, conflicting inREADME.md's## OpenSpec Recordsblock ONLY (resolved by keeping both rows, no reflow);git log 1f068646..5972c8f3 -- scripts testsis empty, so the 1742/1725/17 figures above stood unmoved at5e1af826.mainhas since advanced again (PR #978, the sibling ratification ofdecide-disposition-reading-per-family) and this branch will take that merge too — the same README-only conflict shape — before FREEZE. The exact final head, its required-check results and its thread count are named in this PR's FREEZE comment rather than re-stated here, so this section does not go stale on the next merge frommain.refs #965
🤖 Generated with Claude Code
Summary by Sourcery
Report stale ratified-provenance dispositions as non-blocking warnings while preserving existing grandfathering behavior and repository-scope boundaries.
New Features:
Enhancements:
Documentation:
Tests:
Chores: