Skip to content

Disposition the archive-date-vs-commit finding for gate-code-surface-declarations (prepared 2026-09-16, landed 2026-09-17) - #1099

Merged
brettheap merged 2 commits into
mainfrom
fix/gate-code-surface-archive-date
Sep 18, 2026
Merged

brettheap merged 2 commits into
mainfrom
fix/gate-code-surface-archive-date

Conversation

@brettheap

@brettheap brettheap commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-5 (openXfactory-5)

Finding

Lane openxfactory-1 measured, on a clean origin/main worktree at
5dd0a8dc39899820ab9fad6f02ae9b364bb43dc6 (and 24f7a213...), that
python3 scripts/validate-sequenced-after.py . reports one undispositioned
archive-date-vs-commit finding for 2026-09-16-gate-code-surface-declarations:
dated 2026-09-16, added 2026-09-17 by 5dd0a8dc39899820ab9fad6f02ae9b364bb43dc6,
undispositioned.

Reproduced on a fresh clone here. python3 -m pytest tests/sequenced_after -q
is red because of this: 3 of 286 tests fail, all three tracing to the same
undispositioned fact, not independent defects -
test_archive_commit_dates.py::test_THE_LIVE_RECORD_DISPOSITIONS_ONLY_REAL_DISAGREEMENTS_and_NAMES_FACTS,
test_archive_commit_dates.py::test_THE_LIVE_PLAIN_RUN_IS_GREEN_WITH_ZERO_UNDISPOSITIONED,
and test_validate.py::test_corpus_sequenced_after_all_validate. So yes: this
finding is why tests/sequenced_after's share of main's pytest-suite is red.

Remedy

The validator names its own remedy: disposition the measured disagreement
once in tests/sequenced_after/archive-date-dispositions.yaml, citing the
adding commit, the fact and the ruling. That record's own header (ruled by
Brett Heap, 2026-09-08, verbatim "rule 1 + 2a on 812") already anticipates
exactly this shape as CAUSE 2 - "the archive ACT and its COMMIT fell on
different UTC days" - and pre-authorizes a later cause-2/3/4 entry once it is
actually measured, with no fresh per-instance ruling required; the fact only
has to name its own cause instead of borrowing the cause-1 clock sentence.

Measured: PR #1076 ran the governed wrapper
(proposal-support.py . archive gate-code-surface-declarations --yes) on
2026-09-16, producing this directory and the ledger row moved_on: "2026-09-16", then sat HELD as a draft - code_surface: openxFactory is
non-empty, so release-realization archives only on merged-plus-green
evidence and a separate archive word, never on landing - until Brett Heap's
archive word came 2026-09-17. The squash-merge that actually added the
directory to history, 5dd0a8dc39899820ab9fad6f02ae9b364bb43dc6, is
committer-dated 2026-09-17T16:23:44Z UTC. That is a correct archive whose
merge fell on the next UTC day, not a clock defect, so this PR adds one
disposition entry naming that fact.

Renaming the directory was considered and rejected: nothing in the
validator's contract or its docs (docs/document-lifecycle.md) requires
directory-date-equals-landing-date with no disposition path - a disposition
is the documented, smaller-footprint route the record itself asks for, and a
rename would move every citation (the ledger row, the README index, the
ratification record, PR #1076 itself) to correct a name whose only defect is
landing a day after it was prepared. openspec/specs/** is untouched.

Gates

  • python3 scripts/validate-sequenced-after.py . - clean
    (archive-date-vs-commit agreement passed, 13 dispositions in force)
  • python3 scripts/validate-sequenced-after.py . --ledger-diff - consistent
    (219 rows)
  • python3 -m pytest tests/sequenced_after -q - 286 passed (was 283
    passed, 3 failed)
  • OPENSPEC_TELEMETRY=0 openspec validate --all --strict - 109 passed, 2
    failed (add-chain-attestation, add-composed-view-authoring - both
    pre-existing and unrelated to this change)

Refs #1013
Refs #1076

Lane: openxfactory-5 (openXfactory-5)

🤖 Generated with Claude Code

Summary by Sourcery

Bug Fixes:

  • Disposition the archive-date-vs-commit finding for the gate-code-surface-declarations archive so sequenced-after validation no longer reports it as undispositioned.

…declarations

`scripts/validate-sequenced-after.py .` reports one undispositioned
archive-date-vs-commit finding: 2026-09-16-gate-code-surface-declarations is
dated 2026-09-16 but was added by 5dd0a8d on
2026-09-17 (three of tests/sequenced_after's 286 tests go red on the same
fact). PR #1076 ran the governed archive wrapper on 2026-09-16, then sat HELD
as a draft pending Brett Heap's separate archive word (code_surface:
openxFactory requires merged-plus-green evidence and a word, never landing)
until 2026-09-17, so the archive act and its squash-merge commit fell on
different UTC days - cause 2 of the disposition record's own header, which
pre-authorizes exactly this shape once measured under the standing 2026-09-08
ruling. Add the one disposition entry naming that fact rather than renaming
the directory: renaming would move every citation (ledger row, README index,
ratification record, PR #1076 itself) to correct a name whose only defect is
landing a day after it was prepared.

Lane: openxfactory-5 (openXfactory-5)
Refs #1013
Refs #1076
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 17, 2026 16:53

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 7 hours and 47 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Sep 17, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds a single documented disposition for the 2026-09-16 archive whose squash merge landed on 2026-09-17, bringing the sequenced-after validator and related tests back to green without renaming the archive directory.

File-Level Changes

Change Details Files
Dispositions the archive-date-versus-commit-date finding for the gate-code-surface-declarations archive.
  • Adds the directory, adding commit, and UTC commit date to the disposition record.
  • Documents the cause-2 rationale: archive preparation and the later merge occurred on different UTC days because the archive awaited merge, green evidence, and a separate archive word.
  • Reuses the pre-authorized ruling and citation for the disposition.
tests/sequenced_after/archive-date-dispositions.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Review findings remain unresolved regarding timestamp accuracy and record citations/header consistency.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This pull request records a cause-2 disposition for the archive-date-vs-commit finding on gate-code-surface-declarations.

Changes:

  • Adds the measured archive-date disposition.
  • Records commit, dates, ruling, and citations.
File summaries
File Description
tests/sequenced_after/archive-date-dispositions.yaml Adds the new archive-date disposition entry.
Review details

Suppressed comments (2)

tests/sequenced_after/archive-date-dispositions.yaml:239

  • This row's measurement is documented in PR #1076, but cited_to points only to #812, which predates this directory and records the original twelve cases/ruling rather than this specific archive landing. Since the record header requires the citation to identify where the measurement and ruling are recorded, cite #1076 for the measured disagreement and retain #812 for the standing ruling.
    cited_to: "opensoft/openxFactory#812"

tests/sequenced_after/archive-date-dispositions.yaml:225

  • Adding this row changes the live corpus counts, but the header still says that 132 of 144 directories agree, that twelve dispositions make the corpus green, and that only causes 1 and 4 appear (lines 42, 76-99). With this measured cause-2 row those statements are stale; update the header counts/summary or make them derive from the record instead of hard-coding them.
  - directory: "2026-09-16-gate-code-surface-declarations"
    directory_date: "2026-09-16"
    adding_commit: "5dd0a8dc39899820ab9fad6f02ae9b364bb43dc6"
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot round 1 on PR #1099: the disposition's `fact` cited the merge
commit as committer-dated 2026-09-17T16:23:44Z, one second off. GitHub's
own record (`gh api repos/.../commits/5dd0a8dc...` -> `.commit.committer.date`)
is 2026-09-17T16:23:43Z. One character.

Lane: openxfactory-5 (openXfactory-5)
Refs #1013
Refs #1076
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 17, 2026 17:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Remaining findings are minor documentation and auditability nits, with no approval-blocking issues.

Review details

Suppressed comments (3)

tests/sequenced_after/archive-date-dispositions.yaml:226

  • Adding this entry makes the live record 13 dispositions, but its count-bearing documentation is left at the previous corpus: the header still says “132 of 144” and “the twelve below,” and docs/document-lifecycle.md:553 still says “all twelve.” Please update those counts with this disposition (the measured totals should reflect 145 directories and 13 dispositions) so the record and lifecycle documentation do not contradict the now-green corpus.
  - directory: "2026-09-16-gate-code-surface-declarations"
    directory_date: "2026-09-16"
    adding_commit: "5dd0a8dc39899820ab9fad6f02ae9b364bb43dc6"
    commit_date_utc: "2026-09-17"

tests/sequenced_after/archive-date-dispositions.yaml:236

  • The disposition now records the commit's corrected committer timestamp as 2026-09-17T16:23:43Z, but this pull request's description still states 16:23:44Z for the same commit. Please update the PR description so the exact evidence is consistent with the record.
      2026-09-17T16:23:43Z UTC - a correct archive whose merge fell on the

tests/sequenced_after/archive-date-dispositions.yaml:239

  • cited_to is documented as the location of both the measurement and the ruling, but issue #812 only records the original 12 findings and generic ruling; it does not record this later #1076 archive-date finding. Include the archive PR that contains this measurement alongside #812 so the disposition remains independently auditable.
    cited_to: "opensoft/openxFactory#812"
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Noting a dependency, not a review. Lane openxfactory-4's #1078, #1056 and #1085 inherit pytest-suite red at main 24f7a213 from the finding this PR dispositions (validate-sequenced-after.py: archive dir 2026-09-16-…gate-code-surface-declarations vs adding commit 5dd0a8dc dated 2026-09-17; the bookkeeper reproduced it at origin/main alone in a clean worktree). They hold until this lands; each then takes gh pr update-branch for a fresh gate. Nothing asked of this lane beyond landing when green.

brettheap pushed a commit that referenced this pull request Sep 18, 2026
THE ACT WAS 2026-09-17 AND IS UNCHANGED. The wrapper
(`scripts/proposal-support.py . archive scope-pinned-arm-root-naming --yes`)
owns the clock at the act (#797) and named
`openspec/changes/archive/2026-09-17-scope-pinned-arm-root-naming/` on Brett
Heap's separate archive word "merge 1051 when green, then archive 1047"
(openxFactory #1047 comment 5714241892). This pull request did not land that
day: it held while `origin/main` was red at `24f7a213` on the undispositioned
`archive-date-vs-commit` finding for `2026-09-16-gate-code-surface-declarations`
(added 2026-09-17 by `5dd0a8dc39899820ab9fad6f02ae9b364bb43dc6`), which lane
`openxfactory-5` repairs in PR #1099.

WHY A RE-DATE AND NOT A DISPOSITION. `sequenced_after.archive_commit_problems`
measures every archived directory's name against the UTC date of the commit
that ADDS it — under this repository's squash landing, the merge commit — so a
directory named 2026-09-17 landing on 2026-09-18 reds `main` as a NAMED
FINDING. The disposition route cannot be taken FIRST: an entry in
`tests/sequenced_after/archive-date-dispositions.yaml` MUST carry a full
40-character `adding_commit` (`DISPOSITION_KEYS`, `FULL_SHA`) that does not
exist until the squash lands — there is no sha-less or directory-plus-PR key —
and the record's own header refuses a pre-emptive entry in terms ("ENTRIES ARE
ADDED ONLY FOR A MEASURED DISAGREEMENT, AND NEVER IN ADVANCE"), the validator
reporting an entry whose directory AGREES as STALE. So the DIRECTORY moves.

EVERY REFERENCE MOVES IN THIS ONE COMMIT: the packet directory itself (six
files, byte-unchanged under the rename), the README archived-ledger entry and
its link, the corpus-ledger row's `moved_on: "2026-09-18"` (a `moved_on`
earlier than its directory is the `archive-date agreement` arm's own
contradiction), `tasks.md` § 2.1 and § 3.1, `design.md` § 5's `ARCH` path, and
the modified-block-currency self-gate's retirement note. § 5's commands were
re-run at this tree and print the same figures (21/8 and four hunks against
pre-promotion canon; no numstat line and zero hunks against live canon).

A LANDING THAT SLIPS PAST 2026-09-19T00:00Z NEEDS THE SAME ACT AGAIN, or a
post-landing disposition once the adding commit exists.

Lane: openxfactory-2
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

LANDING — lane openXfactory-5, session 651195c7-1854-491e-894a-e6542ef5e9f4@Eagle, 2026-09-18T09:41:58Z, PR #1099 into opensoft/openxFactory main

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

LANDING — lane openXfactory-5, session 651195c7-1854-491e-894a-e6542ef5e9f4@Eagle, 2026-09-18T09:46:04Z, PR #1099 into opensoft/openxFactory main

@brettheap
brettheap merged commit ad089e8 into main Sep 18, 2026
15 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

LANDED — lane openXfactory-5, session 651195c7-1854-491e-894a-e6542ef5e9f4@Eagle, 2026-09-18T09:46:18Z, PR #1099 into opensoft/openxFactory main → merge ad089e8; Disposition the archive-date-vs-commit finding for gate-code-surface-declarations (prepared 2026-09-16, landed 2026-09-17)

brettheap pushed a commit that referenced this pull request Sep 18, 2026
…n) into the archive branch

Lane: openxfactory-2
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…radicted itself about a box's own status

Copilot at c856fc9, body read (it arrived while the previous head's CI was
failing and was never read then; caught now by enumerating reviews by
commit_id). Two findings, both FACT-level contradictions between new text and
inherited text, both fixed.

ONE: section 8.7 said it was not ticked, four lines above its tick. The
inherited R-5 record carries "This box is NOT ticked by this amendment" --
true when amendment #4 wrote it, and amendment #4 is what "this amendment"
meant. Amendment #5's tick now stands four lines below it, so unbound the
pronoun makes an [x] box say it is not ticked. Bound to AMENDMENT #4, which is
the same currency fix this amendment has already made seven times for
amendment #4's self-references, and exactly the treatment section 5.3's own
history already had. Nothing normative moves: R-5 still ruled the wording and
not the verdict.

TWO: round 24's correction condemned a sentence that was never wrong. It said
the wording "an act with no subject to perform on" was a WRONG RULE. Section
7.3's sentence is not a rule at all -- it says the ruling its section 7.1 owed
has landed and its answer is NONE YET, so the act THAT box describes has
nothing to perform on, which is a true statement about one box's
circumstances. What was wrong was section 7.4 reading that particular fact as
the MARKER'S general rule. The note now says so, and the measured finding
stands unchanged: every [~] in the active corpus names an owner, so a deferred
box HAS an owner even where, as at section 7.3 today, it has nothing yet to
act on. Section 7.3's own text is untouched.

Verified at this head, which is the holder's `gh pr update-branch` merge of
main ad089e8 (#1099's landing, which cleared main's archive-date red): one
file changed against main; exactly three marker changes; ledger main 47 [x] /
23 [ ] / 1 [~] of 71 against this head's 49 / 22 / 1 of 72, the two ticks being
section 5.3 and section 8.7 and section 4.5a the new open box; both gitlinks
are main's own. openspec validate --strict valid, proposal-support verify ok,
--ledger-diff clean (219 rows), verify-opendox-pin.py OK with lockstep
confirmed, and validate-sequenced-after's archive-date-vs-commit arm now
passes with 13 dispositions in force.

Refs #656 (stays OPEN). CLAIM 5704937336.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…nto the FLOOR PART 3 transposition act

#1068 annotated § 3.4's RULED Q7 row — the CSS extraction — and moved figures
this act does not touch; #1099 added the archive-date disposition row for
gate-code-surface-declarations, eighteen lines in
tests/sequenced_after/archive-date-dispositions.yaml and nothing else. ONE
conflict, in README.md's documentation index, and both sides were measured
before either was taken.

The cutover-runbook entry: this branch never touched that line — HEAD's copy is
byte-identical to the merge base's — and main's only edit to it is the declared
edit-line total 2621 -> 2710. That is a FIGURE, so main's line is taken whole.

The carve-conformance entry: main never touched that line — main's copy is
byte-identical to the merge base's — and this branch's only edits to it are its
own act, `five` -> `six` refusal codes and the RULED Q-F1 (a) transposition
clause. This branch's line is taken whole.

Those two lines are the whole dispute, and HEAD's README.md differs from the
merge base in exactly one line, so the resolution is main's README.md with that
one line replaced — asserted in the resolver, not assumed. In the landed file
`2621 declared edit lines` now appears nowhere and `2710` once, and the entry
still sits under "Core domain-neutral docs:", not in the OpenSpec Records block.

docs/opendox-cutover-runbook.md auto-merged, and the result was measured rather
than trusted: against main it is byte-for-byte this act's own hunk — § 2.2's
transposition paragraph, `five` -> `six`, the `conformance-corpus-unfaithful`
row and the `conformance-corpus-missing` clause — and nothing else. § 2's
disposition block still bounds EXACTLY two paragraphs, now stating main's 318
rows and 2710 declared edit lines; this act's paragraph is at line 741, outside
that bound.

In both directions the merge is the union and nothing more: against main this
head is exactly the act's six files, and against 1c73783 it is exactly main's
own change set.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…er openxfactory-engineering-adapter

The act § 5.2a was filed for. Performed through the SANCTIONED WRAPPER, never a
bare `openspec archive`, exactly as the packet's own tasks.md § 3.1 requires:

  python3 scripts/proposal-support.py . archive repromote-engineering-vocabulary \
      --date 2026-09-18 --yes

so the origin, retention, task, pin and archive-date gates all ran. Its output,
which is the evidence for everything below:

  ORIGIN RETAINED repromote-engineering-vocabulary (declaration unchanged since
    the ratifying commit 10576af)
  openspec-cli-pin: @fission-ai/[email protected] from pinned artifact; integrity
    sha512-oFE2Lj7WVSc87nSi... verified, over the pinned dependency closure
    (80 packages), installed with `npm ci --ignore-scripts`
  Task status: ✓ Complete
  Specs to update:
    openxfactory-engineering-adapter: create
  Applying changes to openspec/specs/openxfactory-engineering-adapter/spec.md:
    + 15 added
  Totals: + 15, ~ 0, - 0, → 0

WHAT THIS ARCHIVE DOES TO `ideation-dashboard`: NOTHING, AND THAT IS MEASURED,
NOT ASSUMED. The question is worth answering explicitly because the codexFactory
floor dry run for arc F shows a `-ideation-dashboard` line, and a reader could
reasonably suppose it came from here.

  - `openspec/specs/ideation-dashboard/spec.md` carries sha256
    e7e86bf0dcd22ad373c8ea8c7f1448eea7a2a4068650c0202b3c26829d092f6c both before
    and after the run, and `git status` reports ZERO changed files under that
    directory.
  - The CLI's own totals line reads `- 0` — zero removals.
  - Capability directories go 62 -> 63. The only change anywhere under
    `openspec/specs/` is the ONE created file.

  That is what the ratified text intends, checked in the packet before committing:
  design.md § D3 ("WHY THIS PACKET AUTHORS NO SECOND `## REMOVED` BLOCK" — the
  removal keeps its single ratified writer, the split packet's per-requirement
  map) and § D4 ("this packet archives BEFORE split-opendox-two-layer-product",
  so the fifteen are never in no capability at all). tasks.md § 2.9 predicted this
  exact check. The floor dry run's `-ideation-dashboard` is the SPLIT packet's
  `## REMOVED` block, 102 of 102 requirements, over a simulated tree of 64 paths
  (62 - 1 + 3); this archive contributes one of that diff's four membership lines,
  `+openxfactory-engineering-adapter`, and +1 rather than +2.

THE ARCHIVE DIRECTORY IS NAMED FOR THE EXPECTED LANDING DAY, 2026-09-18 UTC.
`sequenced_after.adding_commits()` maps an archived directory to the committer
date, in UTC, of the oldest commit that adds a file under it — under
`--no-renames`, and this repository squash-merges, so that is the landing commit.
If landing slips past 2026-09-18 UTC the directory must be re-dated before the
merge (or a dispositions row added, the #1076/#1099 route); the one-command
re-date is written out in PROGRESS-archive52a.md.

Lane: openxfactory-4

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
Patch B has landed (#1097, main c32749c), so the packet text this branch was
built against is now the packet text in the tree: main carries the full
72-scenario delta, byte-identical to the #1097 branch tip the coverage count
was taken against. #1099 has landed too, so the three inherited sequenced_after
archive-date failures come in fixed rather than red.

Refs #1053.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>

# Conflicts:
#	openspec/changes/add-citation-remainder-report/tasks.md
brettheap added a commit that referenced this pull request Sep 18, 2026
… resolved as a union by the block's own measured rule

#1056 landed `3e32d987` ("Close add-composed-view-authoring as re-homed to
openDox") while this PR was open, and it performs the same kind of act: a bullet
retired from *Active changes* and an entry added to *Archived changes* at the same
anchor. #1103 went CONFLICTING/DIRTY, and a conflicting PR runs no required CI at
all — only `merge-master-approval` reported — so this merge is what re-arms the
gate. Merge, never rebase. No force-push.

MAIN WAS VERIFIED GREEN BEFORE MERGING, not assumed. The lane brief's standing hold
("do not merge origin/main until the holder says main is green") named one cause:
`validate-sequenced-after`'s archive-date finding on `2026-09-16-gate-code-surface-declarations`,
whose fix #1099 was green and unlanded. #1099 HAS since landed as `ad089e8a`, and
`pytest-suite` is `success` on main at both `ad089e8a` and `9c817545`. The hold's
reason has expired. (`3e32d987`'s own `pytest-suite` was still in progress at merge
time; the two commits before it are green.)

README.md — the ONE conflict, resolved as a union, ORDERED BY MEASUREMENT. Unlike
the *Active changes* block, which is insertion-ordered, the *Archived changes*
block is STRICTLY NEWEST-FIRST BY ARCHIVE DIRECTORY DATE, and that is measured
rather than assumed: across all 168 entries on `origin/main` there is not ONE
violation of the ordering. This archive is dated 2026-09-18 and #1056's is
2026-09-16, so this entry sorts above it — not a preference, the block's own rule.
After the union the block holds 169 entries and is still strictly newest-first with
zero violations.

Nothing of main's was lost and nothing of this branch's moved:

  - both Active bullets are retired — 0 references remain to either
    `openspec/changes/repromote-engineering-vocabulary/proposal.md` or
    `openspec/changes/add-composed-view-authoring/proposal.md`;
  - the sweep ledger auto-merged and was VERIFIED rather than trusted: both rows
    read `archived`, #1056's by `#1056` on 2026-09-16 and this one by `#1103` on
    2026-09-18, 219 rows;
  - `openDox` and `openXdox` gitlinks are byte-identical to main's (`c4c5014d`,
    `88a1047e`) and were never staged by hand;
  - the merge commit's content against `origin/main` is this PR's own ten files,
    692 insertions.

`contracts/openspec-cli-pin.yaml` moved in `3e32d987`, so it was re-checked: the
pinned version is still 1.12.0, which is the binary this archive's wrapper ran.

GATE RE-RUN ON THE MERGED TREE:

  openspec validate --all --strict       109 passed, 1 failed — DOWN from 2,
                                         because `add-composed-view-authoring` was
                                         one of the two pre-existing failures and
                                         #1056 has just archived it. The remaining
                                         one is `add-chain-attestation`,
                                         pre-existing and not this branch's.
  validate-sequenced-after --ledger-diff  consistent with the corpus (219 rows)
  validate-sequenced-after (plain)       sequenced_after passed; archive-date
                                         agreement passed; archive-date-vs-commit
                                         agreement passed
  proposal-support verify                ok
  validate-code-surface                  passed

AND THE CLAIM THIS PR TURNS ON IS UNCHANGED BY THE MERGE:
`openspec/specs/ideation-dashboard/spec.md` is still sha256
e7e86bf0dcd22ad373c8ea8c7f1448eea7a2a4068650c0202b3c26829d092f6c, and
`git diff origin/main` reports ZERO changed files under that directory.

Lane: openxfactory-4

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…nd bind every remaining archive closure to --merge

The closure this box ticks on was landed by SQUASH, so the archive directory
2026-09-16-add-composed-view-authoring -- named for the day the change was
archived -- carries an adding commit dated 2026-09-18, and openxFactory main
goes red on validate-sequenced-after's archive-date-vs-commit arm (main run
35336659842 at 3e32d98).

Measured here rather than taken on report: 3e32d98 has exactly ONE parent
(4ee21c4), which is what a squash produces and a merge does not; and the check
re-run at origin/main in a clean worktree reproduces the single finding, "dated
2026-09-16, added 2026-09-18 by 3e32d98... -- undispositioned".

The archive itself is correct and the section 6.4 tick stands. The closure
happened, the directory is where it belongs, and what is wrong is the adding
DATE the squash stamped on it. Renaming the directory is forbidden (#812). The
repair is one disposition row, a single-row PR by rehome-lander citing #812
rule 1 and rule 2a, in the form #1099 used the day before.

The rule the packet now carries, because this is the SECOND occurrence in two
days: archive closures land by `gh pr merge --merge`, never by squash. The
first was lane openXfactory-5's #1076 -> 5dd0a8d on 2026-09-17, repaired by
#1099 -> ad089e8; the same failure with a different actor is the evidence that
the cause is the FORM and not the operator. It binds #1057, #1060, #1065,
#1066, #1103 and any later archive of this packet, and it is written into the
ledger rather than a runbook because the ledger is what the next closure's
author reads.

No merge from main is taken: main is red on this very finding, and merging it
would only import the red. Ledger unchanged at 51 [x] / 20 [ ] / 1 [~] of 72;
one file; exactly two marker changes. openspec validate --strict valid,
proposal-support verify ok, --ledger-diff clean (219 rows).

Refs #656 (stays OPEN). CLAIM 5728937703.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…authoring (prepared 2026-09-16, landed 2026-09-18 by squash) (#1106)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

`main` is RED at `3e32d987` on its own account, and every open pull request inherits it because CI checks out `refs/pull/N/merge`.

```
archive-date-vs-commit: 2026-09-16-add-composed-view-authoring:
  dated 2026-09-16, added 2026-09-18 by 3e32d98 — undispositioned
```

Three tests fail on it: `test_THE_LIVE_PLAIN_RUN_IS_GREEN_WITH_ZERO_UNDISPOSITIONED`, `test_THE_LIVE_RECORD_DISPOSITIONS_ONLY_REAL_DISAGREEMENTS_and_NAMES_FACTS`, and `test_corpus_sequenced_after_all_validate`. Verified from main's own failed run (35336659842), not inferred from a PR.

## The cause, measured

This is **cause 2** in the disposition file's own vocabulary — archive act and adding commit on different UTC days — and the **landing form** is what put them apart, not a clock:

| | |
|---|---|
| the archive act's own commit, on the branch | `d8ff2ec2c04992ffb15d50d5b018eb65b27937e0`, committer-dated **2026-09-16T01:01:38Z** — **agrees** with the directory name |
| the adding commit on `main` after the landing | `3e32d9874b5c68e90b0cef62cd94f9e378831fa3`, committer-dated **2026-09-18T10:50:06Z** |

`proposal-support.py archive` ran on 2026-09-16 UTC and named the directory correctly. #1056 is a Rule 6 pull request touching `openspec/changes/`, so it was brought to READY and held for a landing window; the window came on 2026-09-18, and it was landed by **squash**, which discards the branch's commits. `d8ff2ec2` never entered this history, so the oldest commit adding any file under the directory became the landing commit itself.

**A merge-commit landing would have carried `d8ff2ec2` and this arm would have reported nothing.** The holder has recorded the landing-form error and lands every remaining archive closure by merge commit.

So: a correct archive, correctly named, whose adding commit was re-dated by the form of its landing. Renaming the directory is forbidden (#812) and would move every record that points at it — the lawful answer is a disposition in place, modelled exactly on the `2026-09-16-gate-code-surface-declarations` row that #1099 landed this morning for the same shape.

## Also in this file, and deliberately

The header counts are **re-measured rather than carried forward**. `the twelve below` is now **fourteen**, and the `fact` key's tally still read *"Two appear below - cause 1 (ten entries) and cause 4 (two…)"* one entry after the first cause-2 disposition landed; it now names three causes and says when it was corrected. This file's own authority is that every entry states a fact anyone can re-measure — a stale count in the prose above the entries is that same defect one level up.

## Verification

- `python3 scripts/validate-sequenced-after.py . --ledger-diff` — **exit 0**, per-change sweep ledger consistent (219 rows)
- `python3 -m pytest tests/sequenced_after -q` — **286 passed**
- scope at the landed head: 4 files, +78/−27 (the rows grew from one file as the count currency was re-measured through its dependents — the disposition record, its tests, `scripts/sequenced_after.py`, `docs/document-lifecycle.md`)
  - `docs/document-lifecycle.md` +6/−2
  - `scripts/sequenced_after.py` +17/−11
  - `tests/sequenced_after/archive-date-dispositions.yaml` +46/−8
  - `tests/sequenced_after/test_archive_commit_dates.py` +9/−6

Refs #656 (stays OPEN).
Refs #1056.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…h the merge-commit landing made stale (#1109)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

`main` is RED at `4ccab7b9`, and the finding is **my own entry from #1106**:

```
archive-date-disposition STALE: 2026-09-16-add-composed-view-authoring:
  the directory AGREES with the UTC date of its adding commit
  (2026-09-16, d8ff2ec),
  so there is no disagreement to disposition; remove the entry
```

Verified on `origin/main`: plain validator exit 1, `pytest tests/sequenced_after` **4 failed** (`test_archive_commit_dates.py:613` and `:633`, and `test_validate.py`).

## The chain, measured

| | |
|---|---|
| #1056 landed by **squash** | the archive act's own commit `d8ff2ec2` (2026-09-16) was discarded; the oldest adding commit became the landing commit of 2026-09-18 — a real disagreement, which #1106 dispositioned at `bbd1cca8` |
| #1057's branch | was stacked on #1056's **pre-squash tip** `ae52c95e`, merged in to resolve its squashed base |
| #1057 landed by **merge commit** (`4ccab7b9`) | so `d8ff2ec2` entered history after all — `git merge-base --is-ancestor d8ff2ec origin/main` confirms |
| result | the directory **agrees** again, so the row is **stale** — which this record calls a defect and the run reports, by design |

Removed, by the file's own instruction: *"remove any entry reported STALE."*

**It was never wrong.** The defect it recorded was undone by repairing the landing form — the better repair, and now the estate's rule for every archive closure.

## A finding about the checker, registered for the bookkeeper

**This arm is history-sensitive.** The same working tree reads *agreeing* or *disagreeing* depending on which commits a **later, unrelated landing** brings into `main`. A disposition here can therefore be retired by an act that is not about it — worth knowing before anyone reads a stale entry as a mistake by its author. Recorded in one note above the surviving cause-2 entry, which also records that the `add-composed-view-authoring` row existed from `bbd1cca8` to this PR.

## Counts RE-MEASURED, not adjusted

On the **on-disk** basis, which is the correction landed on top of #1106 and which I am keeping rather than re-breaking: `adding_commits()` returns two **pre-rename ghost names** not on disk (`…-enable-live-openworkflow-factory`, `…-migrate-canonical-policy-to-openworkflow`). My #1106 figure counted the ghosts; that was my error and the fix stands.

```
on disk 172 · agree 159 · disagree 13 · entries 13 · undispositioned 0
```

`159 + 13 = 172`, which `ls openspec/changes/archive | wc -l` reads on `origin/main` too. **Note this is 172/159, not 171/158**: `2026-09-16-add-doxchat-model-intake` arrived on `main` with #1057's own landing (+1, agreeing), which is after the 171/158 reading was taken.

`docs/document-lifecycle.md`'s third-cause paragraph keeps the cause — #1099's row remains — and now carries one example instead of two, with a sentence on why the second vanished.

## Verification

- `python3 scripts/validate-sequenced-after.py .` — **exit 0** (the plain run; `--ledger-diff` does not exercise the archive-date arm)
- `python3 -m pytest tests/sequenced_after -q` — **286 passed**

Refs #656 (stays OPEN).
Refs #1106, #1057.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
… the no-record WHEN narrowed (ratifier's amendment), the block promoted (PR #1052 → f8eba34; code_surface none); the archive directory keeps its 2026-09-17 ACT date — the re-date RULED out, the landing route measured instead (#1089)

Lane: openxfactory-2 (openXfactory-2)

**TWO ACTS OF THE SAME RATIFIER, IN THAT ORDER — an AMENDMENT, then the ARCHIVE.** `scope-pinned-arm-root-naming` was RATIFIED by PR #1052 → `f8eba3455c0a35d2f5e2be91edbe2526063085e4` and carried ONE open question into its own ratification record. Both words below are Brett Heap's, first-hand, in session to lane `openxfactory-2`, on 2026-09-17.

**THE ARCHIVE WORD** — verbatim ***"merge 1051 when green, then archive 1047"***, recorded at [#1047 comment 5714241892](#1047 (comment)). **THE RULING** — an interactive multiple-choice selection, verbatim ***"Apply the narrowing"***, recorded at [#1047 comment 5714432684](#1047 (comment)), answering the RULING NEEDED this packet's record posted on 2026-09-16 (5701322989).

## (1) THE AMENDMENT, APPLIED BEFORE THE BLOCK PROMOTED

The sibling scenario *A pinned target names a pin no resolution root carries*'s WHEN:

**BEFORE** (as ratified at `92d3e0e2`): "…and no pin record for `<pin-id>` exists under any root of the run's precedence, **and at least one resolution root was selected for the run**"

**AFTER** (as amended, and as promoted): "…and no pin record for `<pin-id>` exists under any root of the run's precedence, **and at least one selected root whose boundary was successfully searched**"

**WHY.** `_pinned_arm` appends a root to `searched` only AFTER that root's `contracts/` directory clears `boundary_dir` (`scripts/doc_health/families.py:1604-1613`); a root whose boundary check fails draws its OWN finding instead and never reaches `searched`. Where EVERY root `_pin_roots` returns fails that check, `searched` stays empty, the `if searched:` guard (`:1633`) never fires, and NO aggregate no-record finding is emitted — so the round-1 WHEN described, on that one path, a finding the realized arm does not emit. Nothing is left uncovered: the independent scenario *A root's contracts directory is itself a symlink* already requires the per-root boundary finding for each refused root.

It is BYTE-FOR-BYTE the text fix round 5 applied in the lane's own name (`7055e475`) and fix round 6 reverted (`d138a99d`) — now applied by the only authority that could. **Recorded as an AMENDMENT BY THE RATIFIER in the 2026-09-01 form** (`add-requirement-ref-resolution-integrity/review/ratification-2026-09-01.md`): an **"AMENDED SINCE"** pointer near the head of `review/ratification-2026-09-16.md` and a dated **Addendum, 2026-09-17** at its foot, with `Amended by:` header lines on `proposal.md`, `design.md` and `tasks.md`. The 2026-09-16 body and addendum are left EXACTLY as written, as the evidence of what was true before the word came.

## (2) WHAT THE ARCHIVE DID

`python3 scripts/proposal-support.py . archive scope-pinned-arm-root-naming --yes` (never bare `openspec`). **`code_surface: none`**, so under `release-realization` the packet archives ON LANDING PLUS ITS OWN TASK LIST, and `tasks.md` § 3 was the whole of what was owed.

- **ORIGIN RETAINED** — the tool's own line, "declaration unchanged since the ratifying commit `f8eba3455c0a`". Independently proven: `.openspec.yaml` is blob `4c0a92d1` at `f8eba345` and blob `4c0a92d1` here, and no commit touched the packet between that merge and this act.
- **PROMOTION MEASURED BYTE-IDENTICAL** — canon's *Prose tagging marker hygiene* and the `## MODIFIED` block are both **41,984 bytes, sha256 `c009f5cc3e4aa5aa…`** (the requirement text from its `### Requirement:` line, canon's trailing blank separator excluded on both sides — PR #1042's convention); canon `--numstat` **+21 −8**.
- Packet moved to `openspec/changes/archive/2026-09-17-scope-pinned-arm-root-naming/`; **§ 3.1 and § 3.2 ticked** with ARCHIVED annotations citing the word, and § 3's heading now reads ARCHIVED.
- **§ 3.2's `_LEDGER_SUBJECTS` row DID exist and is RETIRED** with a note in its place, the gate's population narrative and docstring saying which subject moved and why (fifteen → fourteen).
- **README**: the active bullet retired, the archived-ledger entry added.
- **THE FIVE HISTORY-LABELLING CORRECTIONS RULED ACCEPT at round 7 of PR #1052** are folded here as non-normative: the figures labelled BY ROUND (at filing 2 hunks, 17/4, 1 uncarried, 7 new; after round 1's WHEN clause 3, 18/5, 2, 8; from round 5 onward 4, 21/8, 3, 9); `proposal.md` separating the filing generation from round 1's WHEN edit; the record's "ALL FOUR ARE NON-NORMATIVE" corrected to "no LASTING normative change — round 5 was the temporary normative edit, reverted in round 6"; and `tasks.md` § 2.1's "no approval pair claimed" marked as the at-authoring state of 2026-09-15.

## THE #1075 INTERACTION

PR #1075 → `a93d2682` ordered `adopt-entry-grain-dispositions-form` AFTER this packet and carried this scenario into that packet's `## MODIFIED` block VERBATIM. **That carried copy is re-based to the amended WHEN in the same act, under the same ruling** — a carried copy left at the superseded wording would be the very drift the carriage was performed to prevent. Its record gains a dated **"Addendum 2, 2026-09-17"** entry, kept distinct from and pointing at the **"Addendum, 2026-09-17 — carriage on the ratifier's word"** that PR #1082 → `98b172e5` landed there earlier the same day (the merge below keeps BOTH, unedited, in the order the two words were given). **Nothing else of that packet moves** — it still adds EXACTLY ONE scenario of its own, *A pin record's optional dispositions member carries a malformed entry*. Measured against canon AS PROMOTED: **canon 215 units, that block 223, ZERO uncarried and EIGHT new** — its own scenario title and its seven bullets, and nothing else.

## VALIDATION (at `65357341`, after merging `origin/main` at `88a1047`)

- `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` → **Totals: 106 passed, 2 failed (108 items)**; `origin/main` reads **107 passed, 2 failed (109 items)** — ONE FEWER ACTIVE CHANGE, the same two pre-existing failures (`add-chain-attestation`, `add-composed-view-authoring`).
- `python3 scripts/proposal-support.py . verify` → **ok**.
- `doc-health.py --single-repo . --family modified-block-currency` → **14 info, 0 error/critical**; `origin/main` reads **15 info**, and the ONLY difference is this packet's retired row. None unnamed; none for `adopt-entry-grain-dispositions-form`.
- `doc-health.py --single-repo . --family ratified-provenance` → **27 critical, ROW FOR ROW IDENTICAL to main** (compared in same-kind checkouts).
- `python3 scripts/validate-sequenced-after.py .` → **passed** (46 active, 15 declaring); it raises no objection to any `sequenced_after` target now being archived.
- `pytest -q -p no:cacheprovider tests/doc-health/test_modified_block_currency_self_gate.py` → **19 passed**.
- `pytest -q -p no:cacheprovider tests/sequenced_after tests/doc-health/test_modified_block_currency.py tests/proposal-support` → **626 passed, 291 subtests, 3 failed** — the sweep-ledger staleness ONLY, BY DESIGN until the re-seed commit that needs this pull request's number, **and all three are green at `8c72d2ec`** (`tests/sequenced_after` → **286 passed**).
- `pytest -q -p no:cacheprovider tests/doc-health` → **1826 passed**.

**Re-run at the final head `8c72d2ec`:** `openspec validate --all --strict` → **106/2 (108)**; `proposal-support.py . verify` → ok; `--family modified-block-currency` → **14 info**, zero rows naming either `scope-pinned-arm-root-naming` or `adopt-entry-grain-dispositions-form`; `--family ratified-provenance` → **27 critical, row for row identical to main**; `--ledger-diff` → **"per-change sweep ledger consistent with the corpus (216 rows)"**; `pytest tests/doc-health/test_modified_block_currency_self_gate.py tests/doc-health/test_modified_block_currency.py tests/proposal-support` → **362 passed, 291 subtests**.

**Commits.** `459d816a` performed the two acts (a previous author, who died before validating them); `572ff8a0` merges `origin/main` at `88a1047`, one conflict, one file, BOTH SIDES KEPT; `65357341` is the verification pass and its three corrections — § 3.1's byte figures were the PRE-amendment measurement (41,970 / `f4f2e807…`) and are re-measured to 41,984 / `c009f5cc…`, § 3's heading moved from OPEN to ARCHIVED, and the carried record's addendum is described as it now is; `8c72d2ec` re-seeds the per-change sweep ledger (`--seed-ledger --moved-by '#1089'` → 216 rows, ONE moved: `scope-pinned-arm-root-naming` active→archived, `#1052`→`#1089`, 2026-09-15→2026-09-17) and names PR #1089 in the README archived-ledger entry.

**Lands under Rule 6 AFTER PR #1051 lands, on the word's order** ("merge 1051 when green, then archive 1047"). This pull request touches `openspec/changes/`. openxFactory #1047 closes by the lane's hand after the ARCHIVED record, not by a keyword.

**Fix round 2 (`534f065a`)** — Copilot at `8c72d2ec` (one thread, one suppressed), both RULED ACCEPT, non-normative: the archived tasks.md header paragraph now states the archive act WAS performed and recorded in § 3 (word "merge 1051 when green, then archive 1047", citation 5714241892) with the old reading labelled as the at-filing state; design.md's verification commands are labelled PRE-ARCHIVE historical evidence with the heads they ran at, and a new § 5 gives post-archive equivalents run verbatim against the archived block and canon (0 hunks vs live canon; units now 215/215/0 uncarried/0 new; modified-block-currency 14 info naming nothing of this change; promotion-fidelity 0). Validation: `--all --strict` 106/2 (pre-existing); proposal-support ok; self-gate 19 passed; ledger consistent (216). Thread replied and resolved; 0 open. Lands AFTER PR #1051, on the word's order.

**Merged origin/main `5dd0a8dc` (`062fc6de`)** — carrying `893abe97` (PR #1088, the ratifier's partition amendment of `adopt-entry-grain-dispositions-form`), `53769f9e` (PR #1051) and `5dd0a8dc` itself (PR #1076, lane `openxfactory-5`'s archive of `gate-code-surface-declarations`). THREE conflicts, every one resolved by KEEPING BOTH WRITERS; the carried packet's spec delta merged with NO conflict and carries BOTH — #1088's partition clause, byte-unchanged and authoritative, on this branch's re-based sibling WHEN. The ratification record keeps BOTH addenda, ordered by their rulings' timestamps (carriage 12:12:49Z → this branch's Addendum 2, the narrowing, 12:34:53Z → #1088's partition addendum 12:34:55Z), neither text edited; its "AMENDED SINCE" pointer now counts THREE acts rather than two. README keeps both archived-ledger entries. The self-gate keeps main's `adopt-entry-grain-dispositions-form` row whole and applies this archive's retirement of the `scope-pinned-arm-root-naming` row over it: `len(_LEDGER_SUBJECTS)` MEASURED **15** (16 raw literal entries, the pre-existing `add-chain-attestation` duplicate collapsing as before), so the chronology reads 15 → 16 → 15, not 15 → 14. **EVERY FIGURE THE MERGE INVALIDATED IS RE-MEASURED AND CORRECTED** wherever this branch stated it: the carriage ledger is **15 `info`** rows (was 14) and `adopt-entry-grain-dispositions-form` measures **canon 215 units, block 223, TWO uncarried, TEN new** (was ZERO/EIGHT) — the carriage itself is WHOLE, the two uncarried units being the positive-resolution WHEN and disjointness bullet that packet's OWN ratifier moved. Validation at `062fc6de`: `openspec validate --all --strict` **108 passed / 2 failed (110 items)**, the same pre-existing pair; `proposal-support.py . verify` ok; `--ledger-diff` consistent (**219 rows**); `--family modified-block-currency` **0 critical / 0 error / 0 warning / 15 info**, none naming this packet, none unnamed; `--family promotion-fidelity` **0 findings**; self-gate **19 passed**; `pytest tests/doc-health` **1843 passed**; `pytest tests/sequenced_after` **286 passed**.

**RULED — THE RE-DATE IS REVERTED (`122fdda6`). THE DIRECTORY KEEPS ITS ACT DATE: `openspec/changes/archive/2026-09-17-scope-pinned-arm-root-naming/`, `moved_on: "2026-09-17"`.** `bd758b29` had moved the directory to `2026-09-18-…` so the landing would agree with the gate; lane `openxfactory-2` RULED that act back out on ratified doctrine. `docs/document-lifecycle.md:556` — *"RENAMING IS NOT THE REMEDY: history is history, every citation stands"* — and the four-cause paragraph at `:559-575` names this exact shape as CAUSE 2, *"a correct archive whose commit fell on the next UTC day … Each of those is a lawful disposition once MEASURED, naming its own cause"* (issue #812, Brett Heap 2026-09-08). A landing that slips a day is dispositioned, not renamed. The revert is byte-exact against the pre-re-date tree — `git diff 9f98270 HEAD` over those nine paths is empty — and `git grep '2026-09-18-scope-pinned'` returns nothing. Every reference came back with it: the README archived-ledger entry and its two links, the corpus-ledger row, `tasks.md` § 2.1/§ 3.1, `design.md` § 5's `ARCH` path and preamble, and the `modified-block-currency` self-gate's retirement note. **THE ACT ITSELF NEVER MOVED:** the wrapper owned the clock (#797) and named `2026-09-17-…` when it ran on Brett Heap's archive word; `459d816a`, committer-dated 2026-09-17T12:47:06Z, is that act.

**THE LANDING ROUTE IS MEASURED, NOT ASSUMED — and the measurement changes the answer.** The earlier reasoning assumed a squash landing and therefore an unavoidable red `main`. `sequenced_after.adding_commits` runs ONE walk over the whole archive root — `git -c core.quotePath=false log --diff-filter=A --reverse --no-renames --format=%x00%H%x09%cI --name-only -- openspec/changes/archive` — oldest-first with `setdefault` keeping the FIRST add of each name, no `--first-parent`, and deliberately no `-M`. BOTH landings of this head were simulated in a scratch worktree, twice: first against `origin/main` at `cb0f8544` and then RE-MEASURED at `df466597` against `origin/main` at `3e32d987` after it moved. **The verdict is stable across both bases.** Re-measured figures:

| route | sim commit | OUR directory attributed to | findings |
|---|---|---|---|
| pristine `origin/main` (baseline) | `3e32d987` | not landed | **1** — main's own |
| **MERGE COMMIT** (`--no-ff`) | `f6d739ef4ec9dfc3961e7a78cc8d790f72148331` | `459d816a…` — **2026-09-17** | **1** — main's own, unchanged |
| SQUASH | `5e2fff5f5c1daf77fd49d443f8a4f5e209c4ce71` | the squash commit — **2026-09-18** | **2** — main's own **plus ours** |

- **MERGE COMMIT — adds NOTHING.** The merge is TREESAME to the branch parent for that path, so the path-limited walk follows the branch and the OLDEST add of the name remains the archive act: `adding_commits()` returns `('459d816a300634d1ad79e7f3a4ef733d69092b3f', '2026-09-17')`. `pytest -q tests/sequenced_after` → **3 failed, 283 passed**, the failure set BYTE-IDENTICAL to pristine `origin/main`'s. Against the earlier green base `cb0f8544` the same simulation (`38e49539…`) was **fully green: validator exit 0, 286 passed**.
- **SQUASH — adds exactly ONE finding.** The branch's commits are absent from `main`, so the only add of the directory is the squash commit: `archive-date-vs-commit: 2026-09-17-scope-pinned-arm-root-naming: dated 2026-09-17, added 2026-09-18 by <squash sha> — undispositioned`. Same one finding against the earlier base (`a8c41db2…`).

**THEREFORE: LAND THIS WITH `gh pr merge --merge`, AND NO DISPOSITION IS OWED.** Under a merge-commit landing the directory's name and its adding commit agree IN HISTORY, which is exactly what the arm asks. Only a squash landing makes the cause-2 disposition due — and only then can it be written, since `tests/sequenced_after/archive-date-dispositions.yaml` requires a FULL 40-character `adding_commit` (`DISPOSITION_KEYS` + `FULL_SHA`; the loader raises and the CLI answers CANNOT RUN / exit 2 on a missing or abbreviated one), there is no sha-less or directory-plus-PR key, and the record's own header refuses a pre-emptive entry in terms: *"ENTRIES ARE ADDED ONLY FOR A MEASURED DISAGREEMENT, AND NEVER IN ADVANCE"*. In that case the follow-up entry cites `directory: 2026-09-17-scope-pinned-arm-root-naming`, `directory_date: "2026-09-17"`, `adding_commit: <squash sha>`, `commit_date_utc: "2026-09-18"`, a `fact:` naming cause 2 (act `459d816a` on 2026-09-17T12:47:06Z UTC; the landing fell on the next UTC day) and this ruling — the exact row is staged in the lane's `findings/LANDING-ROUTE-1089.md`. Copilot's three threads asked for precisely this route; all three are **RULED ACCEPT, replied and resolved (0 open)**.

**⚠️ `main` IS CURRENTLY RED ON THIS ARM, AND IT IS NOT THIS BRANCH.** `origin/main` at `3e32d987` fails `scripts/validate-sequenced-after.py .` on its own: `archive-date-vs-commit: 2026-09-16-add-composed-view-authoring: dated 2026-09-16, added 2026-09-18 by 3e32d98 — undispositioned`. [PR #1056](#1056) landed by SQUASH this morning and produced cause 2 in the live corpus. This branch INHERITS it through the merge of main; it is another lane's packet and another lane's ruling to cite, so nothing is written for it here. It is the #1076 → #1099 pattern repeating — and it is the live proof that a post-landing disposition is the routine, accepted remedy, which is what this ruling rests on. **Required CI on this PR will be red on those three inherited tests until #1056's finding is dispositioned on `main`; compare against pristine `origin/main` before attributing it here.**

**VALIDATION at `df466597`** — the reverted head after merging `origin/main` at `3e32d987` (ONE conflict, README's "Archived changes:" block, resolved by KEEPING BOTH WRITERS: this branch's `scope-pinned-arm-root-naming` entry above main's `add-composed-view-authoring` entry, reverse-chronological as the block is, neither text edited): `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` → **108 passed, 1 failed (109 items)** — the pre-existing pair is now a single pre-existing failure, `add-chain-attestation`, because main's #1056 closed `add-composed-view-authoring` out of the active corpus; `python3 scripts/proposal-support.py . verify` → **ok**; `python3 scripts/validate-sequenced-after.py . --ledger-diff` → **consistent (219 rows)**; `pytest -q -p no:cacheprovider tests/doc-health/test_modified_block_currency_self_gate.py` → **19 passed**; `pytest -q -p no:cacheprovider tests/sequenced_after` → **3 failed, 283 passed, ALL THREE INHERITED** (identical at pristine `origin/main`). At the pre-merge head `b8015cd0`, against the then-green `cb0f8544`, the same set was **FULLY GREEN**: validator green on both arms (`13 disposition(s) in force`), `--ledger-diff` 219 rows, `tests/sequenced_after` **286 passed**, self-gate 19 passed, `--all --strict` 108/2 (the pair), `proposal-support` ok. **THE BRANCH'S OWN ADDING COMMIT FOR THE DIRECTORY IS `459d816a` (2026-09-17 UTC) — IT AGREES WITH THE NAME**, so no entry is written here; an entry written now would be reported STALE and would red the run, which is the record's intended answer.

**RE-MEASURED AT `4bcbde5d` AGAINST `origin/main` = `4ccab7b9`, AND THE ROUTE IS UNCHANGED.** `main` moved twice more since `df466597`: `bbd1cca8` ([#1106](#1106), lane `openxfactory-4`'s disposition row for `2026-09-16-add-composed-view-authoring`, citing squash `3e32d987`) and `4ccab7b9` ([#1057](#1057), that lane's archive of `2026-09-16-add-doxchat-model-intake`, landed as a MERGE COMMIT whose branch history carries `d8ff2ec2` — the ORIGINAL wrapper commit that created the composed-view directory). Because the arm walks `git log --diff-filter=A --reverse --no-renames` with NO `--first-parent` and keeps the FIRST add, that merge RE-ATTRIBUTED an already-landed directory: `2026-09-16-add-composed-view-authoring`'s adder is now `d8ff2ec2`/2026-09-16, which AGREES with its name, so #1106's row — written for the squash — reads STALE and `main` is red on its own arm (run 35350757712). **THE MERGE INTO THIS BRANCH:** ONE conflict, again the README "Archived changes:" block, resolved by KEEPING BOTH WRITERS — this branch's 2026-09-17 entry above main's two 2026-09-16 closures, main's order between those two untouched, neither text edited. One non-normative bookkeeping correction travels with it, in the practice `c5ddc0c3` set on the other side of the same file: three `_LEDGER_SUBJECTS` rows have now retired on THREE separate branches, and each of the self-gate docstring's three "MEASURED AT THIS HEAD" readings was taken on a tree that did not hold the other two retirements, so a dated paragraph RE-MEASURES at this merged head — THIRTEEN, 14 literal entries / 13 unique — instead of subtracting from a superseded numeral a third time. Neither lane's own paragraph is touched, and the exact-set assertion compares sets, not counts.

**THE TWO SIMULATIONS, RE-RUN IN A SCRATCH WORKTREE OFF `4ccab7b9`.** MERGE COMMIT (`git merge --no-ff`, sim `8b22e9b1`): this branch's directory `2026-09-17-scope-pinned-arm-root-naming` attributes to **`459d816a300634d1ad79e7f3a4ef733d69092b3f` / 2026-09-17** — it AGREES with the name and emits nothing; the validator reports **1 finding, `main`'s own STALE**, and `pytest -q -p no:cacheprovider tests/sequenced_after` → **4 failed, 282 passed**, the failing set BYTE-IDENTICAL to pristine `4ccab7b9`'s. **THIS LANDING ADDS NOTHING.** The REVERTED `2026-09-18-scope-pinned-arm-root-naming` path (added by `bd758b29`, removed by `122fdda6`) does appear in `adding_commits()` — `('bd758b29…', '2026-09-18')` — but is NOT on disk, and `archive_commit_problems` measures only directories present on disk, so it produces **no finding**. SQUASH (`git merge --squash`, sim `2de88a9c`): the directory attributes to the squash commit, **2026-09-18**, and the run reds with **2 findings** — `main`'s STALE plus `archive-date-vs-commit: 2026-09-17-scope-pinned-arm-root-naming: dated 2026-09-17, added 2026-09-18 by 2de88a9c… — undispositioned` (4 failed, 282 passed, two findings inside). The recommendation is unchanged: **`gh pr merge 1089 --merge`**.

**VALIDATION at `4bcbde5d`:** `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` → **107 passed, 1 failed (108 items)**, the single pre-existing `add-chain-attestation`, measured beside pristine `4ccab7b9`'s **108 passed, 1 failed (109 items)** on the same item — the one-item difference is this archive leaving the active corpus, and no failure is added; `python3 scripts/proposal-support.py . verify` → **ok** (rc 0); `python3 scripts/validate-sequenced-after.py . --ledger-diff` → **consistent (219 rows)**, rc 0; `pytest -q -p no:cacheprovider tests/doc-health/test_modified_block_currency_self_gate.py` → **20 passed**; the plain `python3 scripts/validate-sequenced-after.py .` on this branch → the ONE inherited STALE finding and nothing else. **The required pytest suite is RED at this head and the red is `main`'s own** — #1057's merge-commit history re-dated `add-composed-view-authoring`'s adding commit and stranded #1106's disposition row. It is not this pull request's finding, this pull request adds none, and it clears when that row is removed on `main`.

**Merged origin/main `dc242f3a` (`edcdb008`).**

refs #1047

🤖 Generated with [Claude Code](https://claude.com/claude-code)

## Summary by Sourcery

Apply the ratifier-approved narrowing, promote the validated requirement changes, and archive scope-pinned-arm-root-naming.

Bug Fixes:
- Narrow the pinned-target no-record scenario so it applies only when at least one selected root has been successfully searched, matching the realized health-check behavior.

Enhancements:
- Archive the ratified scope-pinned arm root-naming change while preserving its ratification history and 2026-09-17 archive date.
- Promote the modified document-lifecycle requirements into canon and update the ordered carried copy in adopt-entry-grain-dispositions-form to match the ratifier's amendment.
- Retire the archived change's modified-block currency ledger entry and update the corpus and README archive records.

Documentation:
- Update archived proposal, design, task, and ratification records with the amendment, archive evidence, and post-archive verification details.

Tests:
- Update modified-block currency self-gate expectations and corpus-ledger state for the archived change.

Chores:
- Preserve the archive date and document measured landing-route guidance without adding a premature archive-date disposition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants