Skip to content

retire-codexfactory-sibling-currency-dispositions: delete the two canon-moved codexFactory dispositions ahead of their re-derivations (draft, parked at ratification) - #1288

Merged
brettheap merged 4 commits into
mainfrom
change/retire-codexfactory-sibling-currency-dispositions
Oct 9, 2026
Merged

brettheap merged 4 commits into
mainfrom
change/retire-codexfactory-sibling-currency-dispositions

Conversation

@brettheap

@brettheap brettheap commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Lane: codexfactory-1 (codeXfactory-1)

The change

A new openxFactory OpenSpec change, retire-codexfactory-sibling-currency-dispositions, at Status: draft. It is parked at Brett Heap's ratification.

It deletes the two repo: codexFactory dispositions on merge-master-approval/spec.md from contracts/openspec-cli-pin.yaml, so the list goes 5 → 3:

  • extend-merge-master-envelope-to-floor-bot-lanes;
  • relocate-review-authority-floor.

disposition-codexfactory-regular-pr-council-clearance-archive added both (PR #1004). Their dated 2026-09-11 comment block is deleted with them.

What else moves in the pin:

  • The header's 2026-09-11 paragraph is kept as written, and a dated 2026-10-09 paragraph follows it.
  • The rollback note's count and the two-class block are made true again.
  • The relocate-review-authority-floor / repository-gate-floor/spec.md entry is byte-identical. So are the other two survivors and every other pin key, checked by parsing.

Tests move deliberately:

  • tests/openspec_cli_pin/test_openspec_cli_pin.py: the count test goes 5 → 3 and is renamed, and its three per-entry maps each lose two keys. CANON_MOVED stays declared with no member (OQ-1).
  • tests/doc-health/test_pin_shape_adapter.py: it reads the live pin, so its count goes 5 → 3.
  • tests/pin_registrations/test_pin_registration_sweep.py: the live packet-referent floor goes 4 → 3. The deleted entries carried the only two citations into the template packet. Measured with the checker's own reader: 5 referents in 4 packets before, 3 in 3 after.

Bookkeeping: tests/sequenced_after/corpus-ledger.yaml gains this change's own row, and README.md gains an OpenSpec Records entry. No spec delta (skip_specs: true).

Shape: proposal and implementation ship together in this one PR, as the template did (#1004). There is no separate realization branch.

Authority and where it is recorded

Brett Heap chose "This lane drafts it (Recommended)" for gate G-1, first-hand in lane codeXfactory-1's session at 2026-10-09T17:35:29Z. It is recorded on codeXfactory/codexFactory#549 (comment 6086047985). That word authorizes this draft only. Ratification (tasks 0.2) and the landing word under Rule 6 (0.3) are separate and still owed.

Other records:

Why it is safe to land first

  • openxFactory's own gate never applies or stales a repo: codexFactory entry. test_the_consumers_entries_are_out_of_scope_on_this_repositorys_own_tree pins that property. The gate's literal invocation passes on this branch (totals below).
  • codexFactory reads its own declared pin. At codexFactory main 33b916c1, stack.yaml declares contract_ref: 0992369a…, and its validate checks openxFactory out there. Landing this moves nothing codexFactory reads until codexFactory advances.

The coordinated sequence

Measured over codexFactory main 33b916c1 through the pinned entrypoint (evidence file in the change):

codexFactory tree pin result
as on main main's (5 entries) exit 0, 4 applied
as on main this PR's (3) exit 1, both findings UNDISPOSITIONED
both siblings re-derived (scaffold) main's exit 2, REFUSE pin-disposition-stale on both
both siblings re-derived (scaffold) this PR's exit 0, 2 applied

Every partial order is red, so the steps go in this order:

  1. CANARY — deliberately broken chain record; MUST FAIL signed-execution-chain-gate; never merge (task 4.6, #534) #549's first advance goes to 93d13d6c (Brett: "Two-step: 93d13d6 now (Recommended)"). That is row 1.
  2. This PR is ratified, then lands as D.
  3. CANARY — deliberately broken chain record; MUST FAIL signed-execution-chain-gate; never merge (task 4.6, #534) #549's second advance is ONE codexFactory PR. It advances the pin to a commit at or after D and carries both sibling re-derivations, each on its own owner word (G-2). That is row 4.

Hard constraint: after D, codexFactory must not advance past D without both re-derivations in the same PR (row 2). OQ-3 puts this coupling to the owner.

Relation to the template's 6.3: disposition-codexfactory-regular-pr-council-clearance-archive tasks.md 6.3 records the obligation and performs none of it. This PR does the openxFactory half, the deletion, ahead of the codexFactory half. 6.3 stays open, and that ratified packet is not edited here (OQ-2).

What is NOT done

Totals

  • python3 scripts/validate-openspec-cli-pin.py --all --strict (and the gate's literal --all --no-cache): Totals: 114 passed, 1 failed (115 items), exit 0. One entry is applied (add-chain-attestation), and no codexFactory entry is applied or stale. --change retire-codexfactory-sibling-currency-dispositions: Totals: 1 passed, 0 failed (1 items).
  • python3 -m pytest tests/openspec_cli_pin tests/doc-health/test_pin_shape_adapter.py tests/pin_registrations -q -p no:cacheprovider: 316 passed.
  • The whole tests/ -m "not postgres" suite, run as 8 parallel directory shards covering all 9,532 collected tests: 9,511 passed, 23 skipped, 5 failed. All 5 failures reproduce identically on clean main 9a272c6d without this change: 4 in tests/factory-mcp/test_factory_mcp_conformance.py, and 1 30-second subprocess timeout in tests/hermes_runtime_contracts/test_validator_cli.py under host load.
  • These pass: validate-sequenced-after.py --ledger-diff (238 rows), validate-pin-registrations.py, validate-release-tag-gate.py, validate-code-surface.py, validate-target-release.py, proposal-support.py verify, and doc-health status-validity / proposal-origin (0 findings). doc-health ratified-provenance reports 27 pre-existing criticals, none naming this change.

Refs #1286, #745, codeXfactory/codexFactory#549

No reviewers requested. No Copilot review (Brett Heap, 2026-10-06).

🤖 Generated with Claude Code

Summary by Sourcery

Remove the two codexFactory merge-master approval dispositions ahead of their coordinated re-derivations, and update the associated records and validation expectations.

Enhancements:

  • Retire the two canon-moved codexFactory dispositions from the OpenSpec CLI pin while preserving the remaining entries and pin configuration.
  • Update pin-related tests and registration expectations to reflect the reduced disposition and citation counts.
  • Record the coordinated deletion sequence, ratification, evidence, and outstanding codexFactory re-derivation work.

Documentation:

  • Add the change and its ratification details to the README and OpenSpec change records.

Tests:

  • Adjust pin, doc-health, and registration tests for the two-entry deletion and verify the updated behavior with targeted test coverage.

Chores:

  • Add the change to the sequenced-after corpus ledger without introducing a specification delta.

brettheap and others added 2 commits October 9, 2026 20:06
…currency-dispositions

Lane: codexfactory-1 (codeXfactory-1)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…on-moved codexFactory dispositions ahead of their re-derivations (draft)

A new openxFactory OpenSpec change, Status: draft, drafted on Brett Heap's
first-hand word "This lane drafts it (Recommended)" (2026-10-09T17:35:29Z,
gate G-1 of codeXfactory/codeXfactory#549, recorded at comment 6086047985).
That word authorizes the draft only, not ratification or landing.

contracts/openspec-cli-pin.yaml goes 5 -> 3. It deletes the two
`repo: codexFactory` entries on `merge-master-approval/spec.md`
(extend-merge-master-envelope-to-floor-bot-lanes and
relocate-review-authority-floor) and the dated 2026-09-11 comment block above
them. The header's 2026-09-11 paragraph is kept, and a dated 2026-10-09
paragraph follows it. The rollback count and the two-class block are made true
again, and CANON_MOVED stays declared with no member (OQ-1). The
relocate-review-authority-floor / repository-gate-floor/spec.md entry is
byte-identical.

Tests move deliberately: the count-pinning test (5 -> 3) and its per-entry maps,
the doc-health adapter's live count (5 -> 3), and the pin-registration referent
floor (4 -> 3; the deleted entries carried the only two citations into
disposition-codexfactory-regular-pr-council-clearance-archive). The change's
own corpus-ledger row is seeded, and a README OpenSpec Records entry is added.
No spec delta (skip_specs: true).

Measured over codexFactory main 33b916c1: with the siblings re-derived, the pin
on main refuses stale (exit 2) and this pin exits 0; with them as they are,
main's pin exits 0 and this pin exits 1. So the deletion lands first, and
codexFactory #549's second advance carries both re-derivations in one pull
request. openxFactory's own gate: Totals 114 passed, 1 failed (115 items),
exit 0.

Refs #1286, #745, codeXfactory/codeXfactory#549

Lane: codexfactory-1 (codeXfactory-1)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Reviewer's Guide

This draft-only OpenSpec change removes two repo: codexFactory dispositions from the CLI pin, updates the pin’s present-tense documentation and tests to reflect the 5→3 inventory, and records evidence that codexFactory must later advance the pin together with both sibling re-derivations; no spec delta or codexFactory source changes are included.

Sequence diagram for coordinated pin retirement and sibling re-derivations

sequenceDiagram
    participant OpenxFactory
    participant CodexFactory
    participant Brett

    Brett->>OpenxFactory: Ratify and land deletion as D
    OpenxFactory-->>CodexFactory: Publish pin with 3 dispositions
    CodexFactory->>CodexFactory: Re-derive both merge-master-approval blocks
    CodexFactory->>OpenxFactory: Advance declared pin to D or later
    Note over CodexFactory: Same pull request carries both re-derivations
    CodexFactory->>CodexFactory: validate --all --strict
    CodexFactory-->>CodexFactory: exit 0, 2 sibling findings applied
Loading

Flow diagram for the safe retirement ordering

flowchart LR
    A[Pin has 5 dispositions] --> B[Delete 2 codexFactory merge-master entries]
    B --> C[Pin has 3 dispositions]
    C --> D{codexFactory advances with both re-derivations?}
    D -->|Yes| E[Pin validation exits 0]
    D -->|No| F[Validation exits 1: findings undispositioned]
    G[Re-derive before deletion] --> H[Validation exits 2: stale dispositions]
Loading

File-Level Changes

Change Details Files
Retire the two canon-moved codexFactory dispositions while preserving the surviving pin data and documenting the required cross-repository landing order.
  • Remove both merge-master-approval/spec.md disposition entries and their dated introductory block.
  • Update current-count and two-class pin prose while retaining the historical 2026-09-11 record and the untouched repository-gate-floor/spec.md entry.
  • Add proposal, design, task, provenance, and evidence records describing draft authority, validation measurements, open questions, and the codexFactory follow-up constraint.
  • Declare the change as skip_specs: true with no specification delta.
contracts/openspec-cli-pin.yaml
openspec/changes/retire-codexfactory-sibling-currency-dispositions/.openspec.yaml
openspec/changes/retire-codexfactory-sibling-currency-dispositions/design.md
openspec/changes/retire-codexfactory-sibling-currency-dispositions/evidence/codexfactory-sibling-currency-retirement-2026-10-09.md
openspec/changes/retire-codexfactory-sibling-currency-dispositions/proposal.md
openspec/changes/retire-codexfactory-sibling-currency-dispositions/tasks.md
Align pin-shape, disposition metadata, and registration tests with the reduced live pin.
  • Change the exact disposition inventory and per-entry measurement, class, and authority maps from five entries to the three survivors; retain the empty CANON_MOVED declaration.
  • Update the live adapter assertion from five to three entries.
  • Lower the live packet-referent floor from four to three and revise explanatory documentation for the deleted citations.
  • Record the change in the corpus ledger and Active Changes documentation.
tests/openspec_cli_pin/test_openspec_cli_pin.py
tests/doc-health/test_pin_shape_adapter.py
tests/pin_registrations/test_pin_registration_sweep.py
tests/sequenced_after/corpus-ledger.yaml
README.md

Possibly linked issues


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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1 (codeXfactory-1)

WORD, recorded before any act. Brett Heap answered first-hand in lane codeXfactory-1's own session at 2026-10-09T21:00:16Z (transcript time). He chose the recommended option in a multiple-choice prompt: "Ratify + land when green (Recommended)". As offered, that is: ratify, and land it in openxFactory under Rule 6 when green. It unblocks the second advance under codeXfactory/codexFactory#549 that carries 7.3, which must then re-derive both siblings in one codexFactory PR. Governing issue: #1286.

brettheap and others added 2 commits October 9, 2026 22:43
…atify + land when green"

Brett Heap, first-hand, in lane codeXfactory-1's own session, as a selection
in a multiple-choice round, at 2026-10-09T21:00:16.594Z (the session
transcript's timestamp on his answer). The question, verbatim: "openxFactory
#1288 (G-1) deletes the two codexFactory sibling dispositions, with its tests.
It's safe to land first, and is the prerequisite for #549's second advance
carrying 7.3. What should happen with it?" The option chosen, verbatim:

    "Ratify + land when green (Recommended)"

offered as "Ratify and land it in openxFactory under Rule 6 when green. That
unblocks 7.3's second advance, which must then re-derive both siblings in one
codexFactory PR." Not taken: "Ratify only" ("Record the ratification, and land
it later on its own word") and "Hold" ("Leave it as a DRAFT").

WHERE IT IS RECORDED. PR #1288 comment 6089181718 (21:00:58Z, "WORD, recorded
before any act"), and the estate's lane register at opensoft/brett-wip commit
78488f6c0c944ba92ae3818f8ececd40236b6333, lanes/log/codeXfactory-1.md, RULED
line 2026-10-09T21:01:42Z on openxFactory #1286.

THE HEAD IS NAMED: ed0c67a, the only head
the pull request had carried (committed 20:55:13Z, the PR opened DRAFT at
20:55:30Z, the question put at 20:56:43Z). So this is a SECOND commit over
ed0c67a and not a rewrite of it: the packet was genuinely draft when written
and pushed, and is ratified from the commit that records the word.

RATIFIED AS DRAFTED. The word is bare as to this text. It names no amendment
and rules no open question, so OQ-1 to OQ-4 (design.md section 7) land at their
defaults and stay flagged rather than resolved: CANON_MOVED kept (OQ-1); the
template's tasks.md 6.3 left unedited (OQ-2); the packet lands on its own
landing word after ratification (OQ-3); CITED_ACTIVE_PACKETS left as it is
(OQ-4). The word is also the deletion's authority (design.md section 1).

THE SAME ANSWER CARRIES THE LANDING WORD as its own component, "land when
green". IT IS NOT THE MERGE: the pull request stays DRAFT, and the landing is
the coordinator's act under lane-collision Rule 6, read green on the head that
lands.

Encoded per the shape of disposition-codexfactory-regular-pr-council-clearance-archive's
ratification (cc716b5, PR #1004), as this packet's own tasks.md 0.2 lists:
proposal.md Status: ratified plus one Ratified: line in the header window, and
the drafting-word sentence that said the packet stays draft STRUCK rather than
deleted; design.md and tasks.md Status: ratified plus Ratified by:; design.md
section 7 gains a dated note landing the four OQs; .openspec.yaml gains the
origin approval pair (approved_by / approved_on) beside the drafting pair, which
is kept as authored; review/ratification-2026-10-09.md records the word, its
three options, the head, and a disclosure table; the README OpenSpec Records
entry is updated. The [OWNER] boxes 0.2 and 0.3 stay UNTICKED, each with a
dated note beneath it: an agent does not tick an owner's-act box. No pin,
test, ledger row or evidence byte moves.

Run on this tree before committing: the pinned CLI on this change, "Totals: 1
passed, 0 failed (1 items)"; proposal-support.py verify on this change, ok;
doc-health ratified-provenance, proposal-origin and status-validity
(--single-repo) report no finding naming this change, and their finding lists
are identical to the same runs over ed0c67a.

Refs #1286, codeXfactory/codeXfactory#549

Lane: codexfactory-1 (codeXfactory-1)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…currency-dispositions

Re-levels the ratified packet onto openxFactory main, which moved past the
merge base 9a272c6 by #1290 (a8ab303, openXwallet-2's nested-chain group 6:
contracts/openxwallet-pin.yaml, the openXwallet gitlink, verify-openxwallet-pin.py,
scripts/doc_health/pin_shapes.py, five workflows and their tests) and #1287
(85516e0, .browser-ui-repair-source in the domain secret scan's SKIP_DIRS).

No conflict. tests/doc-health/test_pin_shape_adapter.py auto-merged with both
sides' intent kept: main's re-measured verify-openxwallet-pin.py line citations
(:194 -> :225, :443 -> :551) and this branch's live openspec-cli record count
(5 -> 3). Neither side touches the other's surface: main moves no line of
contracts/openspec-cli-pin.yaml, README.md or this packet.

Lane: codexfactory-1 (codeXfactory-1)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sonarqubecloud

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

@brettheap
brettheap marked this pull request as ready for review October 9, 2026 23:12
@sourcery-ai

sourcery-ai Bot commented Oct 9, 2026

Copy link
Copy Markdown

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 3 days and 1 hour by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1 (codeXfactory-1)

LANDING — lane codeXfactory-1, session 2b17a476-c057-4a49-abbf-dadbc5529729@Eagle, 2026-10-09T23:12:37Z, PR #1288 into opensoft/openxFactory main, at head f2b98b7e over main 85516e0d. The register line is verified on origin.

The words are Brett Heap's, first-hand in this lane's session at 2026-10-09T21:00:16Z by the session transcript's timestamp: "Ratify + land when green (Recommended)". As offered, they ratify retire-codexfactory-sibling-currency-dispositions and then land it in openxFactory under Rule 6 when green. They are recorded on this PR in comment 6089181718, and as a register RULED line at 2026-10-09T21:01:42Z on #1286. The ratification is this PR's commit 1dee56db, made on the word's head ed0c67ad. This merge is the landing.

All 14 required-and-reported checks pass on this head (skipped checks excepted). No other LANDING is open on opensoft/openxFactory main, in the register or in any open PR's comments.

@brettheap
brettheap merged commit 841e86f into main Oct 9, 2026
16 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1 (codeXfactory-1)

LANDED — lane codeXfactory-1, session 2b17a476-c057-4a49-abbf-dadbc5529729@Eagle, 2026-10-09T23:13:03Z, PR #1288 into opensoft/openxFactory main → 841e86f06cc9cce245560026ed02a3628ace35e4 (merged 2026-10-09T23:12:42Z). An admin merge commit on Brett Heap's word, not an approving review. retire-codexfactory-sibling-currency-dispositions has landed. The two canon-moved codexFactory dispositions are deleted from contracts/openspec-cli-pin.yaml, which takes the list from 5 entries to 3. From this merge on, a codexFactory pin advance to an openxFactory commit at or after it must re-derive both sibling blocks, extend-merge-master-envelope-to-floor-bot-lanes and relocate-review-authority-floor, in the SAME pull request. That is this packet's row 5.1, and successor 7.3, which rides codeXfactory/codexFactory#549's second advance. The advance now in flight, codeXfactory/codexFactory#554 to 93d13d6c, targets a commit before this one. The packet's archive (row 5.4) is a separate act.

opensoft/openxFactory main is free for the next Rule 6 lander.

brettheap added a commit that referenced this pull request Oct 11, 2026
Takes #1290, #1287 and #1288 for the landing round. None of them touches
the release surface: contracts/manifest.yaml, contracts/releases/,
contracts/CHANGELOG.md and contracts/README.md are unchanged, and no
contract-v4.1 inventory member moved. The three manifest rows whose files
moved (openspec-cli-pin, openxwallet-pin, domain-factory-conformance-validator)
carry no per-file sha256.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 11, 2026
…ration

PR-2 (#1294, 33d2a56) and PR-3 (#1296, 978e9cb) landed; their branches
are deleted, so main is the source for Phases 2 and 3 from here on. Main
also brings #1287, #1288, #1295 and #1289.

Resolution:
- resolution.py: the admission order keeps Phase 5's A4
  (`_workflow_revision`) and Phase 2's final step 9, which reads the
  `declared` projection entry `_council_and_class` returns.
- The invocation-directory check takes main's separator-terminated prefix
  (the PR-1 follow-up) and keeps the mode name, so `select` says so.
- The family README gains Phase 3's snapshot and assignment row beside
  Phase 5's binding row; the corpus contract's `issued` row carries both
  Phase 4's `public_key` amendment and Phase 3's live-snapshot soundness
  note.
- evidence.md: Phase 3's final records go at the end of § Phase 3, before
  § Phase 4 (as merged from 03cb77e) and § Phase 6.
- Tests: Phase 3's final assignment-area docstring (snapshot half shared,
  retry vectors the consumer's) inside Phase 6's all-areas test; Phase 3's
  pre-review `check` tests kept beside Phase 4's and Phase 5's.
- refusal_code is unchanged: 92 codes, one copy each of binding_unresolved
  and broker_capability_insufficient, at Phase 4's position.
- The conformance index is regenerated: 641 vectors.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[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.

1 participant