Skip to content

Archive accept-sequenced-after-header-line on met realization evidence: codexFactory reads header-line sequenced_after declarations at b91af6ea (#333 → 8be1a855) - #906

Merged
brettheap merged 3 commits into
mainfrom
archive/accept-sequenced-after-header-line
Sep 10, 2026
Merged

brettheap merged 3 commits into
mainfrom
archive/accept-sequenced-after-header-line

Conversation

@brettheap

@brettheap brettheap commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Lane: codexfactory-1

Archives accept-sequenced-after-header-line and promotes its two ADDED requirements into openspec/specs/release-realization/spec.md. This pull request does not merge itself.

The rulings, verbatim

  • "do door b" — Brett Heap, repository owner, first-hand, in session, 2026-09-10 ~02:10Z, on codexFactory #268: door (b) "openxFactory teaches the reader the unfenced header form", against door (a) "fence the whole codexFactory corpus". That word chose the DOOR and ratified no text.
  • "ratify 886, 0.2 as narrowed, 0.3 pure moves" — Brett Heap, repository owner, first-hand, in session, to lane codexfactory-1, 2026-09-10T11:31:31Z, over head f36d2bc2. Record: review/ratification-2026-09-10.md.
  • "merge 401, revert the archived line in 331" — Brett Heap, first-hand, in session, 2026-09-10, which is why the 0.3 pure moves landed as four, not five.

No word of Brett Heap's authorizes this merge. The archive act follows from the release-realization rule and the evidence below; the merge is his separate word.

The realization evidence — cited, and the decisive arm RE-RUN here

proposal.md declares a non-empty code_surface, so release-realization archives this on merged-plus-green evidence rather than on landing; the packet's own § Impact adds the second arm: "The corpus that moves is codexFactory's, and it moves at ITS re-pin, not at this landing." Full record: evidence/realization-2026-09-10.md (Status: record, new at this archive).

arm evidence value
MERGED openxFactory #886 → b91af6eab605021118e625a013961123ac9796e2 on main 2026-09-10T12:33:38Z
ORIGIN RETAINED archive gate against the ratifying commit 208f88d47034 "declaration unchanged since the ratifying commit"
GREEN 10 of 10 required checks on #886, re-read at this gate; pytest-suite 20m43s, run 34475351186 job 102864681885 — the run carrying tests/sequenced_after/test_header_line.py, this change's only proof all pass
CONSUMER RE-PIN codexFactory #333 → 8be1a855325e89b6b0ea943db130ba4724089580; stack.yaml contract_ref 724a2a4f → b91af6ea, contract_declared_at "2026-09-10", all FOUR vendored rows re-copied byte-for-byte in the same commit 2026-09-10T16:09:02Z
PURE MOVES (0.3) codexFactory #331 → 36ecb9bcca97c87e280a24ad5b8b57a1d7826c6f — four declarations moved into the window, pre-image and post-image the same multiset of lines; the fifth (archive/2026-09-05-add-floor-addition-grace) reverted byte-for-byte at cd3eb14 on his word 2026-09-10T13:49:20Z
#268 DISPOSITION comment 5621865823, posted after the re-pin landed; the issue closed COMPLETED at 2026-09-10T16:09:04Z with #333's merge task 4.2

A recorded digest pins a copy to ITSELF; only the source comparison pins it to the pin — and that test SKIPS without an openxFactory checkout, so it was given one and run at this gate rather than quoted from #333:

OPENXFACTORY_ROOT=<this worktree> python3 -m pytest \
    tests/merge-master/test_vendored_sequenced_after.py \
    tests/merge-master/test_vendored_scope_globs.py -q
  -> 84 passed in 2.82s, exit 0        ZERO skipped
without OPENXFACTORY_ROOT: 19 passed, 1 skipped — and the skip IS
  test_the_vendored_bytes_equal_the_source_at_the_pinned_contract_version

The corpus reading — ONE tree, TWO readers

The claim was never "a test passes"; it was "eight declarations exist that the reader cannot see". Measured on one tree, codexFactory main 8be1a855, swept twice — only the reader changes:

reader declaring sequenced_after: deepest resolved chain
openxFactory 724a2a4f — the pin codexFactory LEFT 0 0 hops — "no honest chain has ever bound one"
openxFactory b91af6ea — the pin it now HOLDS 8 4 hops, from relocate-review-authority-floor

The eight: add-floor-regeneration-automation, add-mcp-transport-adapters, admit-hosted-artifact-to-contract-manifest, advance-openxfactory-pin-b91af6ea, amend-floor-regeneration-merge-authority, amend-floor-regeneration-predicate, extend-merge-master-envelope-to-floor-bot-lanes, relocate-review-authority-floor — three admitted by this change's fifteen-real-line window, four brought inside it by #331's ruled pure moves, and one the re-pin packet's own declaration through the grammar it vendored. Both runs exit 0: the sweep is a measurement, not a gate.

What moved — the archive tool's own stdout, verbatim

ORIGIN RETAINED accept-sequenced-after-header-line (declaration unchanged since the ratifying commit 208f88d47034)
proposal-support: @fission-ai/[email protected] from the pinned artifact (…/node_modules/.bin/openspec); integrity sha512-oFE2Lj7WVSc87nSi… verified, over the pinned dependency closure openspec-cli-pin.1.12.0.package-lock.json (80 packages, lockfile_integrity sha512-aw5lIN45tQq2WZll…, installed with `npm ci --ignore-scripts`)
openspec-cli-pin: @fission-ai/[email protected] from pinned artifact (…/node_modules/.bin/openspec); integrity sha512-oFE2Lj7WVSc87nSi… verified
openspec-cli-pin: dependency closure openspec-cli-pin.1.12.0.package-lock.json (80 packages); lockfile_integrity sha512-aw5lIN45tQq2WZll… verified; installed with `npm ci --ignore-scripts`
-> …/node_modules/.bin/openspec validate accept-sequenced-after-header-line --strict --json  (in …/archive-codex/openxFactory)
Totals: 1 passed, 0 failed (1 items)

Proposal warnings in proposal.md (non-blocking):
  ⚠ Why section should not exceed 1000 characters
Task status: ✓ Complete

Specs to update:
  release-realization: update
Applying changes to openspec/specs/release-realization/spec.md:
  + 2 added
Totals: + 2, ~ 0, - 0, → 0
Specs updated successfully.
Change 'accept-sequenced-after-header-line' archived as '2026-09-10-accept-sequenced-after-header-line'.
OK openspec-cli-pin: @fission-ai/[email protected] verified against its content address and every target validated --strict clean
NO SUPPORTING DOCS …/openspec/changes/accept-sequenced-after-header-line (origin retained, nothing to package)

Run as python3 scripts/proposal-support.py . archive accept-sequenced-after-header-line --yes — the house entrypoint, no bypass flag. The first invocation without --yes refused at the spec-update confirmation (Updating 1 spec(s) requires confirmation, and no answer could be read from stdin) and mutated nothing; both origin arms and the ratified-proposal arm had already passed on that run.

Byte-identity of the promotion, hashed on both sides rather than eyeballed

promoted requirement bytes sha256 verdict
Equivalent declaration sites for the ordered-delta parent declaration 4,313 85894b719e7d04ef… IDENTICAL to the archived delta
One parent declaration across both sites, and its retention 2,719 5c824838678e1b39… IDENTICAL to the archived delta

release-realization goes 8 → 10 requirements. The promotion diff reads 102 added, 0 removed, in three hunks: the 100 appended lines, plus two single blank lines the serializer inserted around ## Requirements (@@ -19,0 +20 @@, @@ -20,0 +22 @@). This is an UPDATE, not a creation: the existing ## Purpose block (1,012 B, 5f73d316a6f25423…) and all eight pre-existing requirements hash identically before and after — no placeholder was written and no requirement was renormalized.

Records move as pure renames. review/ratification-2026-09-10.md (Status: ratified), proposal.md, design.md, .openspec.yaml and the spec delta all show 0-byte diffs. Only tasks.md changes, to record this act.

tasks.md — two gate boxes closed on the ruling already given, three ticked on landed acts, one deferred

  • 0.4 / 0.5 CLOSE HERE, and neither closure invents a disposition. The ratification record's § "0.4 and 0.5 — ratified as they stand, not separately ruled" holds that "ratify 886" ratified the packet at f36d2bc2 as a whole, including the open questions and decisions the packet had resolved with a stated recommendation and no dissent — and asked tasks.md to carry a NOTE rather than a tick. That treatment was right while the packet was active and cannot survive an archive: proposal-support.py … archive refuses any tasks.md matching ^- [ ] with no bypass flag. Each box now carries the tick, the citation, and the reason it closed here.
  • 4.1 DONE — the re-pin, Discharge the untagged-bundle gap: three retro-tags and contract-v1.42 #333 → 8be1a855, byte-equality arm re-run (above).
  • 4.2 DONE — the Realize sanction-ratified-record-spelling: both citation spellings enforced, one total, floor at CRITICAL #268 disposition, posted after 4.1 landed; the issue had already closed COMPLETED two seconds after that merge, so the disposition went to a closed issue on purpose, because a closure is not a record of why.
  • 4.3 DONE — Archive add-release-inventory-drift-check: the drift gate is canon (delta corrected scenario-complete by ruling) #331 → 36ecb9bc; its condition was met by 0.3's LEAVE THE BOUND ruling, four moves under the explicit disposition the box demands, the fifth reverted and reported rather than rounded to five.
  • 4.4 DEFERRED - [~], open and NOT claimed — other consumers' re-pins (Medx / Ledgerx / Adx / Ops), owner: each repository's own lane and cadence. The deferral is honest because the requirement is realized once ANY consumer reads the site and one does; no other repository's pin is this packet's to advance, and none has been asked to. It takes the reserved DEFERRED marker rather than a tick because buying the archive gate's refusal off with a false tick is the one thing an archive must not do.
  • 4.5 DONE — this act.

Gates, each exit code read without a pipe in front of it

gate result exit
pinned openspec validate <change> --strict (through the archive tool) Totals: 1 passed, 0 failed (1 items) 0
pinned openspec validate --all --strict, this branch Totals: 98 passed, 2 failed (100 items) 1
the same on a CLEAN origin/main worktree Totals: 99 passed, 2 failed (101 items) 1
doc-health --single-repo . --family status-validity --family record-immutability --family ratified-provenance 28 findings, identical path-for-path to the same run on clean main (diffed, not counted); ZERO name any file in this packet 0 (main 0)
validate-sequenced-after.py . --archive-gate <archived path> --ratified-ref 208f88d4 retention gate passed (declaration unchanged since ratification) 0
python3 -m pytest tests -q -k "archive or sequenced or release_realization or doc_health" see the comment posted after the ledger seed —

EXACTLY ONE FEWER ITEM on the corpus run, which is the whole shape of an archive: the change stops being an item. The two failures are the estate's standing accepted exceptions — add-chain-attestation and add-composed-view-authoring, both MODIFIED … omits scenario(s) the current spec still has — byte-identical on both sides and neither this packet's.

The per-change sweep ledger was stale by design at the archive commit (--ledger-diff: 4 findings — this row's state ledger active vs live archived, plus the three totals it feeds) because moved_by must name the pull request that moves the row and the real number does not exist until the pull request does. It is re-seeded with the sanctioned tool in the follow-up commit, which also gives the README archived row its PR reference — the two-commit shape #899 and #879 used.

Stale path left standing, named rather than swept: review/ratification-2026-09-10.md:135 cites the pre-move openspec/changes/accept-sequenced-after-header-line/tasks.md. Not corrected — that record carries Status: ratified and moves as a pure rename; editing an archived record takes the archived-record edit route and is not an archive commit's business.

Merge

This pull request does not merge itself — it awaits Brett Heap's review. MERGE WITH A MERGE COMMIT, TODAY UTC: the archive directory is named 2026-09-10-… and the archive-date test keys on the ADDING commit's UTC date, so a merge on a later UTC day makes the directory state a day the archive did not happen on and must be re-dated instead. Rule 6's LANDING post is the orchestrating lane's at merge.

🤖 Generated with Claude Code

Summary by Sourcery

Archive the header-line sequenced_after change and promote its requirements after verified realization by openxFactory and a consuming codexFactory pin.

Enhancements:

  • Archive the ratified header-line sequenced_after change after merged, green, and consumer re-pin realization evidence.
  • Promote the two header-line declaration requirements into the release-realization specification, covering bounded parsing, equivalence with fenced declarations, duplicate handling, and retention behavior.

Documentation:

  • Move the change from the active OpenSpec records to the dated archive and add a detailed realization evidence record.

Chores:

  • Close and document the completed successor tasks while deferring re-pins for other consumers to their owning lanes.
  • Update the sequenced_after corpus ledger to record the archived state and archiving pull request.

brettheap and others added 2 commits September 10, 2026 12:25
…e: codexFactory reads header-line sequenced_after declarations at b91af6e (#333 -> 8be1a855)

RULED, not chosen by the lane: Brett Heap, repository owner, first-hand, in
session, to lane codexfactory-1, 2026-09-10T11:31:31Z, verbatim "ratify 886, 0.2
as narrowed, 0.3 pure moves", over head f36d2bc -- record
review/ratification-2026-09-10.md. An earlier and separate word of the same day,
~02:10Z, "do door b", chose the DOOR on codexFactory #268 and ratified no text.

CODE SURFACE IS NON-EMPTY, so `release-realization` archives this on
MERGED-PLUS-GREEN REALIZATION EVIDENCE and not on landing -- and this packet's
own § Impact adds the second arm in its own words: "The corpus that moves is
codexFactory's, and it moves at ITS re-pin, not at this landing." Both arms are
cited rather than asserted, and the decisive one is RE-RUN at this gate rather
than inherited from #333. Full record: evidence/realization-2026-09-10.md
(Status: record, NEW at this archive, not a moved record).

  MERGED. openxFactory #886 -> b91af6e on main,
      2026-09-10T12:33:38Z. The archive gate's origin-retention arm reports
      ORIGIN RETAINED against the ratifying commit 208f88d, and the
      standalone gate agrees: `validate-sequenced-after.py . --archive-gate
      openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line
      --ratified-ref 208f88d` -> "retention gate passed (declaration unchanged
      since ratification)", exit 0.

  GREEN. 10 of 10 required checks pass on #886, re-read at this gate: SonarCloud,
      clearing-dispatch-gate, lane-line, merge-master-approval, openreposhape-pin,
      openspec-cli-pin, pytest-suite (20m43s, run 34475351186 job 102864681885),
      release-tag-gate, signed-execution-chain-gate, wallet-validation. That
      pytest-suite run is the one carrying this change's only proof,
      tests/sequenced_after/test_header_line.py.

  READ BY A CONSUMER. codexFactory #333 -> 8be1a855325e89b6b0ea943db130ba4724089580,
      2026-09-10T16:09:02Z: stack.yaml xfactory.contract_ref 724a2a4 ->
      b91af6e, contract_declared_at "2026-09-10", all FOUR vendored rows
      re-copied byte-for-byte in the same commit. A RECORDED DIGEST PINS A COPY
      TO ITSELF; only the source comparison pins it to the pin -- and that arm
      SKIPS without an openxFactory checkout, so it was given one and run:
      `OPENXFACTORY_ROOT=<this worktree> pytest
      tests/merge-master/test_vendored_sequenced_after.py
      tests/merge-master/test_vendored_scope_globs.py -q` -> 84 passed, exit 0,
      ZERO skipped, where the same files without it report 19 passed, 1 skipped
      and the skip IS
      test_the_vendored_bytes_equal_the_source_at_the_pinned_contract_version.
      codexFactory's vendored reader is openxFactory's bytes at b91af6e.

  AND THE REALIZATION IS A CORPUS READING, MEASURED ON ONE TREE WITH TWO READERS.
      codexFactory main 8be1a855 swept by `validate-sequenced-after.py --sweep`:
      `declaring sequenced_after:` 0 at the pin codexFactory LEFT (724a2a4),
      deepest chain 0 hops ("no honest chain has ever bound one"), and 8 at the
      pin it now HOLDS (b91af6e), deepest chain 4 hops from
      relocate-review-authority-floor. Same corpus byte, both runs exit 0. The
      eight are THREE admitted by this change's fifteen-real-line window, FOUR
      brought inside it by the ruled 0.3 PURE LINE MOVES (codexFactory #331 ->
      36ecb9bcca97c87e280a24ad5b8b57a1d7826c6f, 2026-09-10T13:49:20Z; each
      pre-image and post-image the same multiset of lines), and ONE the re-pin
      packet's own declaration through the grammar it vendored. A FIFTH move was
      ruled and then REVERTED byte-for-byte at cd3eb14 on Brett Heap's word
      "merge 401, revert the archived line in 331" -- reported, not rounded to
      five.

PROMOTED INTO CANON, TWO ADDED REQUIREMENTS, BOTH BYTE-IDENTICAL TO THE ARCHIVED
DELTA -- extracted programmatically and hashed on both sides rather than eyeballed:

  Equivalent declaration sites for the ordered-delta parent declaration
      4,313 bytes  sha256 85894b719e7d04ef…  4 scenarios   IDENTICAL
  One parent declaration across both sites, and its retention
      2,719 bytes  sha256 5c824838678e1b39…  3 scenarios   IDENTICAL

The tool's own line is `+ 2 added` / `Totals: + 2, ~ 0, - 0, -> 0`;
release-realization goes 8 -> 10 requirements. The promotion diff reads 102
ADDED, 0 REMOVED in three hunks: the 100 appended lines, plus TWO single BLANK
LINES the serializer inserted around `## Requirements` (`@@ -19,0 +20 @@` and
`@@ -20,0 +22 @@`). Nothing else moved: the `## Purpose` block (1,012 bytes,
sha256 5f73d316a6f25423…) and all EIGHT pre-existing requirements hash
identically before and after, so this is an UPDATE of a promoted spec and not a
creation -- no placeholder Purpose was written.

RECORDS MOVE AS PURE RENAMES. review/ratification-2026-09-10.md carries
Status: ratified and is not touched by this act; specs/, proposal.md, design.md
and .openspec.yaml likewise show 0-byte diffs. Only tasks.md changes, to record
this act, and evidence/realization-2026-09-10.md is new.

TASKS: TWO GATE BOXES CLOSED ON THE RULING ALREADY GIVEN, THREE TICKED ON LANDED
ACTS, ONE DEFERRED WITH AN OWNER.

  0.4 / 0.5 CLOSE HERE, and neither closure invents a disposition. The
      ratification record's § "0.4 and 0.5 -- ratified as they stand, not
      separately ruled" holds that "ratify 886" ratified the packet at f36d2bc
      as a whole, including the open questions and decisions the packet resolved
      with a stated recommendation and no dissent; it asked tasks.md to carry a
      NOTE rather than a tick. That treatment was right while the packet was
      active and cannot survive an archive: `proposal-support.py … archive`
      refuses any tasks.md matching ^- [ ] with no bypass flag. Each box now
      carries the tick plus the citation and the reason it closed here.
  4.1 DONE -- the re-pin, #333 -> 8be1a855, with the byte-equality arm re-run.
  4.2 DONE -- the #268 disposition, posted after 4.1 landed, comment 5621865823:
      the three admitted carriers' RETAINED readings against their own ratified
      heads, all five beyond-window carriers with their real line numbers and
      what became of each, and the two-reader sweep. The issue itself closed
      COMPLETED at 2026-09-10T16:09:04Z with #333's merge -- two seconds after
      the merge commit -- so the disposition went to a closed issue on purpose,
      because a closure is not a record of why.
  4.3 DONE -- #331 -> 36ecb9bc, its condition met by 0.3's LEAVE THE BOUND
      ruling; four moves under the explicit disposition this box demands, the
      fifth reverted.
  4.4 DEFERRED, `- [~]`, OPEN AND NOT CLAIMED. Other consumers' re-pins (Medx /
      Ledgerx / Adx / Ops), owner each repository's own lane and cadence. The
      deferral is honest because the requirement is realized once ANY consumer
      reads the site and one does; no other repository's pin is this packet's to
      advance, and none has been asked to. The marker says the box is open and
      who owns it; it does not say the work is done.
  4.5 DONE -- this act.

GATES, EACH WITH ITS OWN EXIT CODE READ WITHOUT A PIPE IN FRONT OF IT:

  pinned openspec validate <change> --strict (through the archive tool)
      Totals: 1 passed, 0 failed (1 items) -- exit 0
  pinned openspec validate --all --strict, this branch
      Totals: 98 passed, 2 failed (100 items) -- exit 1
  the same on a CLEAN origin/main worktree (f5a41d1), for the comparison
      Totals: 99 passed, 2 failed (101 items) -- exit 1
      EXACTLY ONE FEWER ITEM: the change stops being an item when it archives.
      The two failures are the estate's standing accepted exceptions,
      add-chain-attestation and add-composed-view-authoring, byte-identical on
      both sides and neither this packet's.
  doc-health --single-repo . --family status-validity --family
  record-immutability --family ratified-provenance
      exit 0 on this branch AND on the clean main worktree; 28 findings each,
      identical PATH FOR PATH (diffed, not counted), and ZERO of them name any
      file in this packet.
  validate-sequenced-after.py . --archive-gate <archived path> --ratified-ref
  208f88d  ->  exit 0.

THE PER-CHANGE SWEEP LEDGER IS STALE BY DESIGN AT THIS COMMIT, and it is named
rather than left to be discovered: `--ledger-diff` reports 4 findings (this row's
state ledger 'active' vs live 'archived', plus the three totals it feeds --
active 39!=38, archived 155!=156, active_sole 15!=14). `moved_by` must name the
pull request that moves the row, and the real number does not exist until the
pull request does, so the re-seed and the README row's PR reference land in the
follow-up commit -- the same two-commit shape #899 and #879 used.

STALE PATH LEFT STANDING, NAMED RATHER THAN SWEPT: review/ratification-2026-09-10.md:135
cites `openspec/changes/accept-sequenced-after-header-line/tasks.md`, the
pre-move path. It is NOT corrected, because that record carries Status: ratified
and moves as a pure rename; editing an archived record takes the archived-record
edit route and is not an archive commit's business.

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Disjoint by measurement: main's three new commits touch only
specs/019-modified-block-currency-family/spec.md, which this branch does not
read or write. Taken as a MERGE and not a rebase so the archive commit 3658cae
is unchanged and every citation to it stands.

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 10, 2026 16:27

@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 8 hours and 33 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR archives the ratified change based on merged-and-green implementation plus codexFactory consumer realization evidence, records the supporting provenance and task closures, and promotes its two ADDED requirements into release-realization while preserving all existing specification content.

Sequence diagram for merged implementation and consumer realization

sequenceDiagram
    participant Archive as Archive PR
    participant OpenX as openxFactory
    participant Checks as Required checks
    participant Codex as codexFactory
    participant Corpus as Consumer corpus
    Archive->>OpenX: Merge #886 at b91af6ea
    OpenX->>Checks: Run required checks
    Checks-->>OpenX: 10 of 10 pass
    Codex->>OpenX: Re-pin #333 from 724a2a4f to b91af6ea
    Codex->>Codex: Re-copy four vendored rows byte-for-byte
    Codex->>OpenX: Run vendored byte-equality tests
    OpenX-->>Codex: 84 passed, 0 skipped
    Codex->>Corpus: Sweep with new reader
    Corpus-->>Codex: 8 declarations, deepest chain 4 hops
    Archive->>Archive: Archive on merged-plus-green and consumer-read evidence
Loading

Flow diagram for archiving and requirement promotion

flowchart LR
    A[Ratified change with non-empty code_surface] --> B[Merged openxFactory implementation]
    B --> C[10 of 10 required checks pass]
    C --> D[codexFactory re-pins and consumes b91af6ea]
    D --> E[Reader sees 8 declarations instead of 0]
    E --> F[Archive change]
    F --> G[Promote 2 added requirements]
    G --> H[release-realization grows from 8 to 10 requirements]
    F --> I[Move records to dated archive]
    F --> J[Defer other consumers to their own lanes]
Loading

File-Level Changes

Change Details Files
Archive the ratified change after recording merged, green, and consumer re-pin realization evidence.
  • Move the active change packet into the dated archive directory while preserving proposal, design, ratification, and delta records.
  • Add a realization evidence report covering the openxFactory merge, required checks, codexFactory re-pin, vendored byte equality, and one-corpus/two-reader measurement.
  • Update tasks to record ratification closure, landed successor work, the deferred other-consumer work, and completion of the archive act.
  • Move the README entry from active changes to archived changes and document the realization basis and provenance.
README.md
openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/evidence/realization-2026-09-10.md
openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/tasks.md
Promote the two added sequenced-after requirements into the release-realization specification without altering existing requirements.
  • Append requirements defining equivalent fenced and bounded unfenced header-line declaration sites for sequenced_after.
  • Specify duplicate-site equality, disagreement refusal, bounded parsing, scope_globs exclusion, and post-ratification retention behavior.
  • Preserve the existing purpose block and eight requirements, with the promotion verified as byte-identical to the archived delta.
openspec/specs/release-realization/spec.md

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

…ow and in tasks 4.5

ONE ledger row moves, and only one: accept-sequenced-after-header-line
`state: active` -> `archived`, `moved_by` "#886" -> "#906", `moved_on`
"2026-09-10" -> "2026-09-10" (unchanged -- both acts fall on the same UTC day).
`class: sole` is HELD, so NO partner flips and no MOVEMENT LOG entry is owed;
the diff is one line. Seeded with the sanctioned tool
(`validate-sequenced-after.py . --seed-ledger --moved-by '#906'` -> "wrote
tests/sequenced_after/corpus-ledger.yaml (194 rows, 1 moved by #906)") rather
than hand-written, and taken AFTER the pull request existed, because the real
number does not exist until the pull request does.

`--ledger-diff` BEFORE: STALE, 4 findings -- this row's state (ledger 'active',
live 'archived') plus the three derived totals it feeds (active 39 != 38,
archived 155 != 156, active_sole 15 != 14). AFTER: "per-change sweep ledger
consistent with the corpus (194 rows)", exit 0.

§ 4.5 AND THE README ARCHIVED ROW NOW NAME THE ACT ON THE RECORDING: archive PR
#906 -- the move to
openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/, the
write-back of both ADDED requirements into
openspec/specs/release-realization/spec.md (byte-identical to the archived
delta, 4,313 B sha256 85894b71… and 2,719 B sha256 5c824838…, with the
`## Purpose` block 1,012 B sha256 5f73d316… unchanged), the README row and this
ledger row. No other box is touched and no ratified text moves.

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

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

The promoted release-realization requirement text should explicitly specify how --- fence lines interact with the 15-line header window to prevent divergent consumer implementations.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This pull request archives the accept-sequenced-after-header-line OpenSpec change packet (moving it from the active set into the dated archive) and promotes its two ADDED release-realization requirements into canonical spec, while updating repository records (README + packet tasks) to reflect the archive and its realization evidence.

Changes:

  • Move accept-sequenced-after-header-line from active OpenSpec records into the dated archive and add/retain its supporting record artifacts in the archived location.
  • Promote the packet’s two requirements into openspec/specs/release-realization/spec.md (spec canon now reflects the header-line sequenced_after: declaration rules).
  • Update README “OpenSpec Records” to relocate the entry from Active changes to Archived changes, and update the archived packet’s tasks.md to reflect archive-time closures/ticks/deferral notes.
File summaries
File Description
README.md Moves the change’s index entry from Active → Archived and records the realization evidence narrative.
openspec/specs/release-realization/spec.md Promotes two new requirements (and scenarios) into the canonical release-realization spec.
openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/tasks.md Updates packet task tracking to reflect archive-time status/ticks/deferrals and rationale.
openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/specs/release-realization/spec.md Stores the archived packet’s delta that was promoted into canon.
openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/review/ratification-2026-09-10.md Archives the ratification record for the packet.
openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/proposal.md Archives the packet proposal record (including realization/impact statements).
openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/evidence/realization-2026-09-10.md Adds the archive-time realization evidence record used to justify archiving.
openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/design.md Archives the packet design rationale and risk/trade-off framing.
openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/.openspec.yaml Archives the packet’s origin metadata and related references.
Review details
  • Files reviewed: 5/10 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 AI review requested due to automatic review settings September 10, 2026 16:31
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1

The ledger seed landed and the local gates are re-taken on the FINAL tree (fb5a9141, which includes the merge of origin/main 812fb6dc — disjoint by measurement, its three commits touch only specs/019-modified-block-currency-family/spec.md).

gate result exit
python3 -m pytest tests -q -k "archive or sequenced or release_realization or doc_health" 410 passed, 1 skipped, 10,866 deselected, 63 subtests passed, in 210.64s 0
pinned openspec validate --all --strict, this branch Totals: 98 passed, 2 failed (100 items) 1
the same on a clean origin/main worktree at 812fb6dc Totals: 99 passed, 2 failed (101 items) 1
validate-sequenced-after.py . --ledger-diff BEFORE the seed: STALE, 4 findings. AFTER: per-change sweep ledger consistent with the corpus (194 rows) 0

The -k selection covers the three suites this act can move — tests/sequenced_after/ (the reader, the corpus ledger, both archive-retention arms and the archive-date arms), the archive-gate tests, and tests/doc-health/. The one skip is not this packet's, and the three ledger-derived failures the stale row would have produced (test_the_LIVE_corpus_and_the_LEDGER_agree_row_by_row, test_the_totals_DERIVED_FROM_THE_LEDGER_equal_the_MEASURED_sweep, test_the_live_ledger_reports_the_SAME_totals_the_sweep_MEASURES) are cleared by the seed rather than by touching a test.

One row moved, and only one: accept-sequenced-after-header-line state: active → archived, moved_by "#886" → "#906", moved_on unchanged (both acts fall on the same UTC day). class: sole is HELD, so no partner flips and no MOVEMENT LOG entry is owed. Seeded with the sanctioned tool (--seed-ledger --moved-by '#906' → "wrote tests/sequenced_after/corpus-ledger.yaml (194 rows, 1 moved by #906)"), never hand-written, and taken after the pull request existed because the real number does not exist until it does.

Still awaiting Brett Heap's review; this pull request performs no merge. A merge commit TODAY UTC — the archive-date test keys on the ADDING commit's UTC date and the directory is named 2026-09-10-….

🤖 Generated with Claude Code

@sonarqubecloud

Copy link
Copy Markdown

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.

🔵 Needs a closer look

Several new/updated packet documents inconsistently use the session window id codeXfactory-1 where they intend the lane id codexfactory-1, which should be corrected for unambiguous provenance.

Review details

Suppressed comments (5)

Previously missed (1) — in code that hasn't changed since the last review.

openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/tasks.md:65

  • The lane id is referenced as codeXfactory-1 here, but elsewhere in this packet it is the session window name while the lane itself is codexfactory-1. Using the window name as the lane id is inconsistent and can confuse cross-repo provenance references.

This issue also appears in the following locations of the same file:

  • line 198
  • line 218
  • line 237
  • line 267

openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/tasks.md:198

  • This line labels the lane as codeXfactory-1, but the packet consistently names the lane codexfactory-1 and uses codeXfactory-1 for the session window. Update to the correct lane id for clarity.
    openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/tasks.md:218
  • This line labels the lane as codeXfactory-1, but the packet elsewhere distinguishes lane codexfactory-1 vs session window codeXfactory-1. Use the lane id here.
    openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/tasks.md:237
  • This sentence references the lane as codeXfactory-1, but within this packet that casing is used for the session window, not the lane id. Use codexfactory-1 for the lane reference.
    openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/tasks.md:267
  • This task names the lane as codeXfactory-1, but the lane id elsewhere is codexfactory-1 (with codeXfactory-1 reserved for the session window). Update the lane reference for consistency.
  • Files reviewed: 5/10 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1

CI GREEN — 10 of 10 required checks pass on fb5a9141.

SonarCloud Code Analysis, clearing-dispatch-gate, lane-line, merge-master-approval, openreposhape-pin, openspec-cli-pin, pytest-suite, release-tag-gate, signed-execution-chain-gate, wallet-validation — all pass. (Sourcery review reports skipping; not a required check.) mergeable: MERGEABLE, mergeStateStatus: BLOCKED on REVIEW_REQUIRED alone.

Review round answered. One Copilot finding, on the promoted requirement text — a real documentary gap (fence lines count toward the fifteen-line window while being unavailable as declaration sites, which the prose states only half of). Declined in this pull request and answered in the thread: the promotion's central claim is byte-identity with the text Brett Heap ratified at f36d2bc2, so amending a word of it here would both break that identity and amend ratified requirement text with no ruling behind it. It belongs in its own one-clause ## MODIFIED amendment, and the behaviour is already asserted by test and shared by construction in the vendored reader. Sourcery's review is a guide with no findings.

Awaiting Brett Heap's review. MERGE WITH A MERGE COMMIT, TODAY UTC — the archive directory is 2026-09-10-accept-sequenced-after-header-line and the archive-date test keys on the ADDING commit's UTC date; a merge on a later UTC day makes that name state a day the archive did not happen on, and the fix then is a re-date, not a wave-through.

🤖 Generated with Claude Code

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1

LANDING — lane codeXfactory-1, session codeXfactory-1@team-02g, 2026-09-10T16:51:45Z, PR #906 into openxFactory main (ARCHIVE of accept-sequenced-after-header-line; Brett Heap's word 'merge 906')

@brettheap
brettheap merged commit 92d0367 into main Sep 10, 2026
13 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1

LANDED — lane codeXfactory-1, 2026-09-10T16:51:59Z, PR #906 → 92d0367 (openxFactory main; accept-sequenced-after-header-line ARCHIVED on met realization evidence — release-realization 8→10 requirements; merge commit, same UTC day as the adding commit; admin bypass on Brett Heap's word 'merge 906'; Rule 6 window closed)

@brettheap

brettheap commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1

CLAIMED — lane codeXfactory-1, 2026-09-10T19:06:44Z: the MODIFIED amendment routed from this PR's Copilot thread (fence lines consume the header window budget) as change state-header-window-budget, draft, PR #921. Sibling search: no other active change carries a release-realization delta (find openspec/changes -maxdepth 3 -path "*/specs/release-realization/*" -not -path "*/archive/*" → empty), and no open pull request on this repository touches release-realization or frontmatter_strict (gh pr list -R opensoft/openxFactory --state open --json number,title,files --jq '.[] | select(.files[].path | test("release-realization|frontmatter_strict"))' → empty), so no Modified over marker is owed.

Correction, same day: the per-change sweep ledger's class field for the new row reads co-modifier, not sole as first written above — it is partnered with this change's own archived accept-sequenced-after-header-line, whose row flips sole → co-modifier in the same re-seed (--seed-ledger --moved-by '#921'), because both write the same requirement key. That is the ledger's documented partner-flip mechanic and not an active-change collision; the "no other active change / no open PR" finding above is unaffected.

brettheap added a commit that referenced this pull request Sep 10, 2026
… sole -> co-modifier

python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by
'#921' adds this change's own row and, correctly, flips
accept-sequenced-after-header-line's row from sole to co-modifier in
the same re-seed: both write the release-realization requirement key
this change's MODIFIED block targets. The packet's prose (proposal.md,
tasks.md, the spec delta preamble) and the README entry had asserted
"class: sole" ahead of actually running the seed; corrected to
co-modifier with the mechanism explained, so the packet states the
measured fact rather than an assumption. The two GitHub posts already
made (PR #921's body, the CLAIMED comment on PR #906) were corrected
the same way. No active-change collision exists either way, so no
Modified over marker is owed.

python3 -m pytest tests -q -k "sequenced or frontmatter or
release_realization" now reads 278 passed / 0 failed, matching a clean
origin/main worktree exactly (was 274/4 before this seed, the four
ledger-consistency tests, because this change's row did not yet
exist). --ledger-diff reports the ledger consistent with the corpus
(195 rows), exit 0.

Lane: codexfactory-1
Co-Authored-By: Claude Sonnet 5 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 10, 2026
…ment; fix one curly-quote drift in the Copilot quote

Found independently while re-verifying the amendment's wording against the
routing thread, not from a Copilot comment: task 1.2 commits to "quoting
the Copilot finding and Brett Heap's reply on PR #906 in full rather than
paraphrasing either", and the Copilot finding was quoted verbatim, but
Brett Heap's reply (discussion_r3981322763) was only paraphrased — no
blockquote, missing the sha256/byte-count specifics, the ratification
timestamp, and the "Where it goes instead" section. Replaced the paraphrase
with the reply's full text as a blockquote, fetched fresh via
`gh api repos/opensoft/openxFactory/pulls/906/comments` and reproduced
byte-for-byte including its own "Lane: codexfactory-1" opening and Claude
Code attribution footer (it is a quotation of someone else's comment, not
this document's own authorship line).

Also fixed a one-character drift in the Copilot quote above it: the
original GitHub comment uses a curly apostrophe in "doesn't" (U+2019);
this file had a straight one. A "quoted here in full... not to paraphrase"
claim should be exact.

Re-verified clean: openspec validate (single + --all --strict, pinned
1.12.0) exit 0 / exit 1 with the identical two pre-existing failures;
pytest -k "sequenced or frontmatter or release_realization" 278 passed
exit 0; doc-health all four families exit 0, zero findings naming this
packet; validate-sequenced-after.py --ledger-diff exit 0 (197 rows).

Lane: codexfactory-1 (codeXfactory-1)

Co-Authored-By: Claude Sonnet 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 11, 2026
Propose state-header-window-budget: the lifecycle header window is counted from line 1, fence lines included (amendment routed from #906)
@brettheap

Copy link
Copy Markdown
Contributor Author

routed amendment state-header-window-budget landed as #921 at 3ccfd6c — Lane: codexfactory-1 (codeXfactory-1)

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1 (codeXfactory-1)

CLAIMED — lane codexfactory-1 (codeXfactory-1), session 8ee839e7-62eb-412f-ab37-fdfe5b5e219e, 2026-09-11T09:52:07Z: pre-staging the archive of state-header-window-budget as a draft; lands on "archive 921"

Sibling search taken first, per the lane-collision protocol: gh pr list --repo opensoft/openxFactory --state all --search "archive state-header-window-budget" returns no archive pull request for this change; git ls-remote origin 'refs/heads/archive/*' carries no archive/state-header-window-budget; and no CLAIMED or LANDING for this archive stands on #906 or on #921 (#921's last two posts are this same lane's own LANDING/LANDED for the ratified change itself, 03:43Z / 04:11:32Z).

The draft will be opened against archive/state-header-window-budget and left as a DRAFT. It does not merge itself, and it does not flip READY. Brett Heap's word "archive 921" has NOT been given.

brettheap added a commit that referenced this pull request Sep 11, 2026
…e README row and in tasks 3.1

ONE ledger row moves, active -> archived, moved_by "#921" -> "#953", moved_on
"2026-09-10" -> "2026-09-11" (the proposal landed on the 11th UTC and the archive
was taken the same UTC day). `class: co-modifier` is HELD and NO PARTNER FLIPS,
so no MOVEMENT LOG entry is owed: this change's partner on the shared requirement
key is accept-sequenced-after-header-line, already archived and already
co-modifier since its own archive. Task 2.6a's movement-log entry covered the
flip that DID happen, at the seed on PR #921, and this act repeats none of it.
The diff is one line, measured rather than asserted -- git diff --numstat is 1/1.

Seeded with the sanctioned tool rather than hand-written, and taken AFTER the
pull request existed, because moved_by must name the pull request that moves the
row and the real number does not exist until the pull request does:
`python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#953'`
-> "wrote tests/sequenced_after/corpus-ledger.yaml (199 rows, 1 moved by #953)".

`--ledger-diff` before: STALE (4 findings) -- this change's row, state ledger
'active' against live 'archived', plus the three derived totals it feeds (active
40 != 39, archived 159 != 160, active_co_modified 25 != 24). After: exit 0,
"per-change sweep ledger consistent with the corpus (199 rows)". The row count is
not pinned and drifts as other lanes land; the exit code and the word
"consistent" are the gate.

TASKS 3.1 AND THE README ROW NOW NAME THE ACT ON THE RECORDING: archive pull
request #953 -- the move to
openspec/changes/archive/2026-09-11-state-header-window-budget/, the write-back
into openspec/specs/release-realization/spec.md (byte-identical to the archived
delta's MODIFIED block, 5,786 B, sha256
98e8280252ca4112ee130399bddc4f2b6dc1d25979f9f798e9625cae37db6e58 on both sides),
the README row and this ledger row. This is the two-commit shape the precedents
PR #926 (a0176d2) and PR #906 (fb5a914) used.

THE PULL REQUEST REMAINS A DRAFT AND CLOSES NO ISSUE. It carries no closing
keyword in its body or in any commit message on this branch -- every issue number
is a refs-style naming -- because Brett Heap's word "archive 921" has not been
given and this act lands on it and on nothing else.

Refs #921, refs #906.

Lane: codexfactory-1 (codeXfactory-1)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 11, 2026
… this archive lands

WORD -- 2026-09-11T10:21:39Z Brett Heap, openxFactory operator authority and the
estate's sole operator, first-hand, in session, to lane codexfactory-1 (window
codeXfactory-1), verbatim: "archive 921".

That is the THIRD of three separate words over one packet, and the act each
authorized was recorded before it was performed rather than after:

  ratify 921   2026-09-11T01:44Z   -> encoded at 8d5fb17, record
                                      review/ratification-2026-09-11.md
  merge  921   2026-09-11T03:00:53Z -> PR #921 -> 3ccfd6c on main 04:11:24Z
  archive 921  2026-09-11T10:21:39Z -> THIS pull request, #953

NOTHING ABOUT THE ARCHIVE'S CONTENT CHANGES HERE, AND THAT IS THE WHOLE VALUE OF
HAVING PRE-STAGED IT. The wrapper had already run through the pinned
@fission-ai/[email protected] with both origin arms passing, the promotion was
already proved byte-identical to the archived delta (5,786 B, sha256
98e8280252ca4112...), and every gate was already green at head 684faee. The word
authorizes the LANDING and nothing else, so this commit moves exactly the two
sentences that said the word had not been given -- tasks.md 3.1's evidence table
row and the README archived row -- and no byte of the promotion, the packet, the
ledger or the spec.

The pull request flips READY on this commit and lands under Rule 6.

Refs #921, refs #906.

Lane: codexfactory-1 (codeXfactory-1)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
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