Skip to content

Realize amend-kill-switch-to-declared-test-companion §§ 2–3: the declaration text and the five-step procedure, as this repository's half - #1129

Merged
brettheap merged 1 commit into
mainfrom
realize/kill-switch-companion-2-3
Sep 21, 2026
Merged

brettheap merged 1 commit into
mainfrom
realize/kill-switch-companion-2-3

Conversation

@brettheap

@brettheap brettheap commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-2 (openXfactory-2)

THE WORD, VERBATIM. Brett Heap, 2026-09-21, on openxFactory #745: "do 1 and 2, claim 5". Item 2 is this: realize §§ 2.1–2.5 and 3.1–3.3 of the ratified packet amend-kill-switch-to-declared-test-companion. STOP BEFORE § 4 — it needs a real bot cycle, which no agent may manufacture.

ONE FILE MOVES: openspec/changes/amend-kill-switch-to-declared-test-companion/tasks.md (+215 / −5). openxFactory's half of this packet carries NO CODE (proposal.md's code_surface), and NO codexFactory BYTE IS AUTHORED HERE — that companion is that repository's lane's to write (design.md D-5).

Boxes TICKED — satisfied on main by the filing, each with its evidence written beneath the box

  • 2.1 — ticked. specs/roles-authority-model/spec.md carries ONE ## MODIFIED Requirements block (line 3) and ONE header (line 5), character-for-character the parent's at openspec/changes/extend-merge-master-envelope-to-floor-bot-lanes/specs/roles-authority-model/spec.md:53; first body line (line 7) opens "The model SHALL ensure…"; FIVE scenarios at lines 19, 26, 31, 38, 44 — the parent's TWO (its :56 amended, its :61 broadened) plus the THREE added. The parent block is :53–:65 and carries no third scenario, so nothing was silently dropped. Landed by 07a8a45b, +47 lines, the file's only commit.
  • 2.2 — ticked. proposal.md's SECOND heading is ## THIS FILING AMENDS A RATIFIED DECISION (N-4) BY SUPERSESSION, AND SAYS SO HERE (line 98, after # Proposal: at line 7); N-4 quoted VERBATIM as a block quote at lines 107–111; the clause named at line 113.
  • 2.3 — ticked. .openspec.yaml carries all five elements under their own leads: the finding with its figures (line 7), the two records (31), the authorizing SELECTION verbatim with time and place (38), the parent's box 3.6 open and an OBSERVATION box (49), filing ≠ ratifying (58). approved_by (98) / approved_on (127) were ADDED beside the unmoved proposed_by (69) / proposed_on (97) by the ratifying commit c521504c — task 1.3's act, not this one's.
  • 2.4 — ticked. 07a8a45b's README hunk is @@ -530,6 +530,21 @@: fifteen lines added immediately after Active changes: and therefore at the HEAD, one row and no other README line moved, naming the status (Status: draft), the lane, the authority (the SELECTION "Accept the finding; file a successor", Extend the merge-master low-risk envelope to the two floor bot lanes (§ 6.3 of add-floor-regeneration-automation / mirror-floor-regeneration-automation) — PROPOSAL #745 comment 5632569506) and FILING ≠ RATIFYING. Two things have moved since, both by design: task 1.3 moved the row's status (so it now closes RATIFICATION ONLY), and later filings have been prepended above it (README.md:1057 today). "At the HEAD" is a statement about the ACT, which the diff proves.
  • 2.5 — ticked, re-measured in a fresh clone at main = 93a5ce2b. Figures below. The two bookkeeping rows stand at tests/sequenced_after/corpus-ledger.yaml:203 (this packet) and :238 (the parent, sole → co-modifier), both moved_by: "#959". No ledger row moves by this act, so the ledger is NOT re-seeded — --ledger-diff exits 0 after the tick exactly as before it.

Boxes ANNOTATED and deliberately LEFT OPEN

  • 3.1, 3.2, 3.3 — annotated, NOT ticked. Their DONE criterion is a codexFactory byte (the corrected banner and the companion declarations in .github/merge-approval-envelope.yml; the conformance test and its identifier -> argv table under tests/merge-master/), and this lane authors none of it — § 3's own heading, proposal.md's code_surface and design.md D-5 each say so independently. Each box now carries a dated 2026-09-21 annotation recording what openxFactory has discharged, as TEXT: the declaration SITE and GRAMMAR (design.md D-2, lines 153–240 — the comment-block site, the withdrawn sibling-file option, # companion: at function grain, # companion-artefact: … regenerate: <identifier> at file grain, the path constraint and the one refusal set repeated at its three sites); the FIVE-STEP PROCEDURE (this packet's single statement of it, in box 3.2 itself); the same invariants stated normatively at specs/roles-authority-model/spec.md:11 with scenarios at :31 and :44; and design.md D-2e's line between those invariants and "THE EXACT COMMANDS, FLAGS AND HELPER LAYOUT [which] ARE THE codexFactory COMPANION CHANGE'S DESIGN TO SPECIFY". Each annotation states what the box TICKS ON. A § 3 preamble note reconciles them with that section's "No byte below is written by this lane": what is added is a RECORD, not a realization, and not one byte of it is a codexFactory byte.

Deliberately NOT done

  • § 4 (4.1–4.5) is not reached and not ticked. It owes a throw, an observation, a restore and a second observation on a real bot cycle, which does not exist (hourly floor-regeneration has reported "nothing owed" since 2026-09-10T17:22Z) and which no agent may manufacture — the class pins expected_author: openxfactory[bot]. § 5.1 (archive) likewise untouched; the parent's box 3.6 stays OPEN and is not ticked here or anywhere by this pull request.
  • The codexFactory companion is not authored here. No envelope byte, no banner sentence, no comment block, no allowlist row, no conformance test. Verified read-only: .github/merge-approval-envelope.yml on codexFactory main is byte-identical to the blob the packet recorded — fa8773628ef69dceab3a912740850c0432ffbce3, re-read 2026-09-21 — so nothing is thrown and nothing is touched.
  • No README edit, no ledger re-seed, no spec/proposal/design text changed. The ratified requirement, scenarios and design decisions are untouched; this pull request moves task state and adds dated realization annotations only.

Validation — all foreground, in the fresh clone, on the committed text

check result
OPENSPEC_TELEMETRY=0 openspec validate amend-kill-switch-to-declared-test-companion --strict valid; one INFO — "Archive would refuse this delta … not found" — the expected reading of a ## MODIFIED over a sibling's UNARCHIVED addition, the same fact sequenced_after and task 5.1(c) already record
OPENSPEC_TELEMETRY=0 openspec validate --all --strict 106 passed, 1 failed (107 items) — add-chain-attestation, pre-existing, identical to the main baseline measured before the edit
python3 scripts/proposal-support.py . verify proposal support verification ok, exit 0
python3 scripts/validate-sequenced-after.py . --ledger-diff "per-change sweep ledger consistent with the corpus (222 rows)", exit 0; deepest declared chain resolved at 4 hops
python3 scripts/doc-health.py --single-repo . --family modified-block-currency exit 0; 12 findings, every one severity=info class=contested, finding set byte-identical to the pre-edit baseline, none naming this packet
pytest -q -p no:cacheprovider tests/doc-health/test_modified_block_currency_self_gate.py tests/sequenced_after 306 passed, exit 0

Lands under Rule 6 on Brett Heap's landing word when the eight required checks are green and Copilot is clean.

refs #745
refs #959

🤖 Generated with Claude Code

Summary by Sourcery

Record the filing-side realization of § 2 and define the remaining codexFactory and real-bot-cycle work without performing either cross-repository implementation.

Enhancements:

  • Record completion evidence for all § 2 filing requirements and document the openXfactory contribution to the cross-repository realization procedure.
  • Annotate §§ 3.1–3.3 with the declaration grammar, five-step conformance procedure, realization boundaries, and remaining codexFactory responsibilities while leaving those boxes open.
  • Explicitly preserve the separation between filing, codexFactory realization, bot-cycle validation, and archival work.

Tests:

  • Document the fresh-clone validation results and unchanged baseline status for OpenSpec validation, sequencing, documentation health, and targeted tests.

Chores:

  • Update the task checklist to reflect the realized filing state without modifying production code, repository specifications, or ledger entries.

….1–3.3: § 2 ticked against the landed filing, §§ 3.1–3.3 annotated as openxFactory's discharged half

On Brett Heap's word of 2026-09-21 on openxFactory #745 — "do 1 and 2, claim 5",
item 2 being the realization of §§ 2.1–2.5 and 3.1–3.3. One file moves,
this packet's tasks.md; openxFactory's half of this packet carries NO CODE
(proposal.md's code_surface) and no codexFactory byte is authored here.

TICKED, each with its evidence beneath the box:
2.1 the delta's single ## MODIFIED block, the header character-for-character the
    parent's at .../extend-merge-master-envelope-to-floor-bot-lanes/specs/
    roles-authority-model/spec.md:53, SHALL on the first body line, five
    scenarios (the parent's two amended/broadened plus three added), the parent
    block :53-:65 carrying no third scenario so nothing was dropped.
2.2 proposal.md's SECOND heading at line 98, N-4 quoted verbatim at 107-111,
    the clause named false at 113.
2.3 .openspec.yaml's five provenance elements at lines 7, 31, 38, 49 and 58;
    approved_by/approved_on added beside the unmoved drafting pair by c521504.
2.4 07a8a45's README hunk @@ -530,6 +530,21 @@ — one row, at the HEAD of
    Active changes:, naming status, lane, authority and FILING != RATIFYING;
    1.3 later moved its status and later filings have been prepended above it.
2.5 re-measured at main 93a5ce2: sequenced_after resolves (deepest chain 4
    hops), per-change --strict valid, --all --strict 106 passed / 1 failed
    (add-chain-attestation, pre-existing, unchanged from main), both ledger rows
    present at corpus-ledger.yaml:203 and :238 moved_by "#959". No ledger row
    moves by this act, so the ledger is not re-seeded.

ANNOTATED AND LEFT OPEN — 3.1, 3.2 and 3.3 tick on a codexFactory byte this
lane may not author (design.md D-5, § 3's own heading). Each annotation records
what openxFactory has discharged as TEXT — the declaration site and grammar
(design.md D-2, lines 153-240), the five-step procedure (this packet's single
statement of it, in 3.2 itself), the normative invariants at
specs/roles-authority-model/spec.md:11, and D-2e's line between those
invariants and the companion's own commands and flags — and names what still
owes. The envelope blob on codexFactory main is re-read and byte-identical to
the one the packet recorded (fa8773628ef69dceab3a912740850c0432ffbce3): nothing
is thrown.

§ 4 IS NOT REACHED. It owes a real bot cycle, which does not exist and which no
agent may manufacture (the class pins expected_author: openxfactory[bot]).

refs #745
refs #959

Lane: openxfactory-2
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI lite review requested due to automatic review settings September 21, 2026 20:41
@sourcery-ai

sourcery-ai Bot commented Sep 21, 2026

Copy link
Copy Markdown

Reviewer's Guide

This text-only update advances the packet’s bookkeeping by ticking §§ 2.1–2.5 and adding detailed dated evidence, while annotating—but intentionally not completing—the codexFactory-dependent §§ 3.1–3.3 and leaving bot-cycle/archive work untouched. Reviewers should focus on whether the recorded evidence accurately matches the referenced main-tree state and whether the extensive annotations preserve the repository’s cross-repository and ratification boundaries.

File-Level Changes

Change Details Files
Records the realization of all § 2 filing requirements while preserving provenance and historical state.
  • Marks boxes 2.1–2.5 complete and adds dated evidence for the specification, supersession wording, provenance metadata, README filing record, and sequencing validation.
  • Distinguishes the filing-time state from later ratification and subsequent repository changes.
  • Documents validation results, ledger consistency, and the expected pre-existing all-repository validation failure.
openspec/changes/amend-kill-switch-to-declared-test-companion/tasks.md
Documents openXfactory’s text-only contribution to the codexFactory realization without claiming completion of companion implementation work.
  • Adds a preamble explaining that §§ 3.1–3.3 remain open because their completion criteria are codexFactory changes.
  • Annotates the declaration grammar, scope, invariants, and five-step conformance procedure supplied as text by this repository.
  • Records that no codexFactory bytes, switch operation, or unrelated implementation files changed.
openspec/changes/amend-kill-switch-to-declared-test-companion/tasks.md
Explicitly preserves the boundary around deferred bot-cycle and archive work.
  • Reaffirms that §§ 4–5, including the real bot cycle and archive, are not reached or ticked.
  • Captures the measurable one-file scope and byte-identical codexFactory envelope state as evidence.
openspec/changes/amend-kill-switch-to-declared-test-companion/tasks.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

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.

Copilot review overview

🔵 Needs a closer look

Clarify the authoritative procedure and distinguish fixed mechanics from delegated implementation details.

Review effort: Lite
Findings: None

What changed in this PR

This pull request records the filing-side realization of §2 and documents remaining codexFactory work for §3 without adding code.

Changes:

  • Checks off §2.1–§2.5 with evidence.
  • Annotates §3.1–§3.3 while leaving them open.
  • Preserves the boundaries around bot-cycle validation and archival work.
File Description
openspec/​changes/​amend-kill-switch-to-declared-test-companion/​tasks.md Updates task state and records realization evidence.

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

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-2 (openXfactory-2)

Copilot at 8ed8c8c8: 🔵 needs a closer look, Findings: None, 0 threads — RULED CLEAN by the lane (a verdict with no finding is not a change request; the same state #1089 and #1094 landed on). Landing on Brett Heap's word "merge both when green, then fix 5 and merge when green" (#745 5767058861).

@brettheap
brettheap marked this pull request as ready for review September 21, 2026 21:50

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

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