Skip to content

Propose prefer-triad-project-shape: the Triad is the preferred project shape, advised at work start, never in review - #1249

Merged
brettheap merged 3 commits into
mainfrom
change/prefer-triad-project-shape
Oct 6, 2026
Merged

brettheap merged 3 commits into
mainfrom
change/prefer-triad-project-shape

Conversation

@brettheap

@brettheap brettheap commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Lane: codeXfactory-5

A NEW OpenSpec change, now Status: ratified. Held for Brett Heap's merge word; do not merge.

RATIFIED

Brett Heap, 2026-10-06T16:02:16Z, in session, first-hand to lane codeXfactory-5, verbatim: "ratify 1249 as recommended" (comment 6020300563). The ratified text is the packet at this PR's head 8f9c5855. The ratifying commit is 020f2e4f4b20fa9d125419ace6f8901579ce93d1.

"As recommended" settles each open question as the packet recommended it:

  • OQ-1: the optional staying-single record is single-repository.yaml at the repository root, and openRepoShape owns its schema.
  • OQ-2: no class-guessing. Aggregations, configuration and dotfile repositories, and vendored forks get the advisory until they migrate or record staying single.
  • OQ-3: the advisory restates the doctrine's preference and is not codexFactory's "act of RECOMMENDING the shape", so no ## MODIFIED block is written on the ownership requirement.

What the ratifying commit moves. It follows amend-register-act-5b-projection-proof (5daa96ec) and add-neutral-product-standalone-operability (cd494e4c).

  • Status: ratified with one citation on proposal.md (Ratified:), design.md and tasks.md (Ratified by:).
  • approved_by / approved_on ADDED in the .openspec.yaml origin after proposed_on; kind, id, reason, proposed_by and proposed_on are unmoved.
  • RULED marks with the verbatim word on OQ-1..3 in design.md and proposal.md, with all reasoning kept, plus a ## Ratification record with a rulings table.
  • Dated notes on tasks.md 1.1-1.5; 1.6, this bookkeeping, is ticked.
  • A new review/ratification-2026-10-06.md, and the README entry moved to the ratified form.
  • The spec delta is byte-identical (0 changed lines against 8f9c5855), and the ledger row does not move.

Two encodings differ from the request, both on this repository's own rules (recorded in the review record, § 4):

  • The origin pair is approved_by/approved_on, not ratified_by/ratified_on. The contract has no ratified_* keys (APPROVAL_FIELDS in scripts/doc_health/proposal_origin.py), and an ad_hoc origin under Status: ratified without the approval pair is an error.
  • Owner boxes 1.1-1.4 stay unticked with dated notes, because the packet's tasks.md § 1 says an agent never ticks them.

Verification at the encode, against clean main 51456835 and the pre-encode head:

  • Pinned CLI --all --strict: 113 passed, 1 failed (114 items), exit 0, versus main's 112 / 1 (113); the same accepted add-chain-attestation exception.
  • validate-sequenced-after (plain, and --ledger-diff consistent at 232 rows), validate-code-surface, validate-target-release, proposal-support verify and validate-former-id-arrival: each exit 0.
  • doc-health: 31 / 26 / 69 / 20 on main, pre and post, with byte-identical finding lines and zero packet findings.
  • Corpus-reader pytest set: 3872 passed, 0 failed.

It is a ratification only: not a merge word, and not a word to realize anything.

What this proposes

The Triad (the openRepoShape three-repository shape: an assembly root with a spec leg and a code leg mounted as submodules) becomes the PREFERRED project shape, and preferred is not required. The packet keeps every sentence and scenario of the promoted requirement The project repository schema is elective and confers nothing byte-identical, and adds the preference INSIDE it so that "preferred" never travels without "confers nothing".

  • project-repo-schema, ONE ## MODIFIED requirement (title unchanged; both body paragraphs and all three promoted scenarios carried byte-identically): the Triad is the recommended default for a new project and the recommended migration target for an existing single repository; the election stays the PA decision, and conversion stays openRepoShape's adopt-project.py, run by a person; "Triad" is the human-facing name, with "three-leg project" and "three-repository project" kept as synonyms and no machine key renamed; the posture is stated wherever the preference is. Two scenarios are added: creation offers the Triad first, and nothing converts automatically.
  • ADDED: a person starting work outside a Triad is advised once, and is never stopped for it. An agent session addressing a person says it once per session and carries on; subagents and unattended runs stay silent. The workstation bootstrap warns in a non-interactive run with its exit status unchanged, and in an interactive terminal asks with "continue" as the default. openRepoShape's scaffold, adopt and doctor may report it. Nothing converts, creates or records anything on the advisory's account.
  • ADDED: a project's shape is never a review input. No review lane, required check, validator, floor, merge gate, clearance or council reads it to pass, fail, warn or change eligibility. A gate built on the doctor's NOT A SHAPE ROOT verdict is defective. A shape warning in review would be an amendment of the doctrine, not a realization of this capability.
  • ADDED: the advisory is silent in an elected Triad, a leg clone, a family holder, a <user>-wip workspace repository, and a project that has recorded staying single. That record is OPTIONAL, so a decliner still owes no declaration. Its only reader is the advisory, it confers nothing, and every other repository gets the advisory, with no class-guessing.

Twenty scenarios in all. Files: openspec/changes/prefer-triad-project-shape/{proposal.md,design.md,tasks.md,.openspec.yaml,specs/project-repo-schema/spec.md}, one README Active changes bullet, and the seeded row in tests/sequenced_after/corpus-ledger.yaml.

Brett Heap's words, verbatim

  • 2026-10-06T10:20:12Z, in session: "the triad should be the prefered structure and should prompt or warn the user if working on a non Triad repo."
  • 2026-10-06T11:28:19Z: "usage is fine, launch both". This authorized authoring and opening this proposal. It is not a ratification and rules on no design point. The advisory-only form, the exemptions, the optional record and every other choice here are proposed for his ratification.

The sibling

opensoft/openBenches#135 LANDED on 2026-10-06 as c93f1a0451baa43db426673c29c272449641e21f (merged 14:26:23Z), on Brett Heap's word, relayed by the orchestrator, "merge 135 with a merge commit". It carries the adopted Triad Feature Amendments change, which governs how a project that is ALREADY a Triad amends its features. Copilot's review there (thread 4194811387) noted that it carries no preference for the Triad and no non-Triad warning, and asked for Brett Heap's 2026-10-06 direction to be recorded as a deferred follow-up. This openxFactory change is where that direction is governed. The two do not overlap; the packet names #135 in .openspec.yaml related:, proposal.md and design.md D5.

What ratification would decide (RULED 2026-10-06, as recommended; see RATIFIED above)

  1. The reading (tasks.md 1.1): preferred, not required; advised where a person starts work, once; never in review.
  2. OQ-1, the staying-single record's file name, location and schema (design.md D4). Recommendation: its own file at the repository root, single-repository.yaml, with schema_version: 1, kind: single-repository-record, decided_by, decided_on, reason and an optional revisit_on, its schema owned by openRepoShape as mechanics. Overloading project.yaml is rejected because project.yaml carrying kind: project-manifest with spec and code legs IS the Triad detector, for the shared protocol, for setup-openspeckit's resolve_project_shape() and for openRepoShape's doctor.
  3. OQ-2, aggregations (e.g. opensoft/xFactory), configuration and dotfile repositories, and vendored forks (design.md D4). Recommendation: no class-guessing. They receive the advisory until they migrate or record staying single. If a class should be exempt, give it a declared fact (a naming family, as <user>-wip already has) rather than infer it.
  4. OQ-3, ownership (design.md D6). This one surfaced during authoring. The promoted requirement codexFactory carries the engineering overlay… gives codexFactory "the act of RECOMMENDING the shape" and says the four-way split "SHALL NOT be re-concentrated". Recommendation: the advisory restates the doctrine's preference at work start and is not that act, so no block is written on that requirement. If ratification reads it otherwise, the packet gains one ## MODIFIED block there.

Realization routing: handoffs, none performed here (tasks.md § 5)

  • openxFactory: docs/project-repo-schema.md restated (preferred, still confers nothing, the advisory's scope) with an Amended by: header; the description of contracts/schemas/project-register.schema.yaml restated; contracts/openreposhape-pin.yaml advanced after openRepoShape realizes. That pin names e9c4827b, openRepoShape main is 56 commits ahead, and shape-doctor.py is not at the pinned commit. The doctrine document is not edited in this PR, following amend-register-act-5b-projection-proof (proposed 07b72078 with no doc edit, ratified 5daa96ec, document realized 0446dece) and split-ideation-book-per-repo.
  • opensoft/openRepoShape: README posture box; AGENTS.md § "What you must not tell them" (still forbidding "confers anything", gaining "the Triad is preferred"); the templates/assembly-root/project.yaml posture comment; the optional record's schema; the advisory in scaffold-project.py, adopt-project.py and shape-doctor.py.
  • opensoft/workBenches: setup-openspeckit's resolve_project_shape() (today only logs shape: single repository) gains the advisory and the interactive question, with tests in devBenches/devcontainer.test/test-openspeckit-bootstrap.sh; then the embedded fallback openspec_speckit_protocol() (an f-string, braces doubled) is re-synced byte-identical after the protocol changes. Governing record: workBenches Record Omnigent worker event bridge proof #22.
  • New-project creation: workBenches openspec/changes/project-command (scripts/new-project.sh, onp), held by lane project-command, which forwards to opensoft/openRepoProject's project new. The Triad-first offer routes through that lane's claim, never around it.
  • The shared agent protocol: source in the PRIVATE repository brettheap/new-workstation, under home/.agents/: AGENTS.md (the shape bullet), protocols/openspec-speckit-workflow.md § "Repository Shape" / "Detecting the shape", and protocols/project-agent-bootstrap.md. Named by file and section only.
  • Estate inventory: recommended, not performed.
  • Archive only on merged plus green realization evidence across those surfaces. The code_surface: head names only openxFactory, opensoft/openRepoShape, because workBenches, openRepoProject and the private source are not in scripts/estate-repository-inventory.yaml and the membership arm fails an identifier the inventory lacks. They are handoffs with archive-gating boxes (design.md D9).

Validation evidence (local, at this PR's head 2ee9ffd8; clean-main comparison at 92010d3e)

After the merge from main (8f9c5855, main at 51456835): the README conflict was resolved keeping both entries, and the merged tree differs from main only by this change's seven files. The pinned CLI --all --strict gives 113 passed, 1 failed (114 items), exit 0; the one failure is the same accepted add-chain-attestation exception. validate-sequenced-after (plain and --ledger-diff: consistent, 232 rows), validate-code-surface, validate-target-release, proposal-support verify and validate-former-id-arrival each exit 0. The ledger, proposal-support, code-surface, target-release, scope-globs, packet-reference, former-id and estate-inventory tests: 1002 passed, 0 failed. The evidence below was taken at 2ee9ffd8, before the merge.

  • Pinned OpenSpec CLI @fission-ai/[email protected], content address verified. --change prefer-triad-project-shape --strict: 1 passed, 0 failed. --all --strict: 112 passed, 1 failed (113 items), exit 0, versus clean main 111 passed, 1 failed (112 items), exit 0. The single failure is the pre-existing, dispositioned add-chain-attestation exception, identical on both trees.
  • House validators, each exit 0: validate-code-surface.py ., validate-target-release.py ., validate-sequenced-after.py ., validate-sequenced-after.py . --ledger-diff ("consistent with the corpus (231 rows)"), and proposal-support.py . verify prefer-triad-project-shape.
  • Other PR gates, each exit 0: validate-former-id-arrival.py . --base origin/main --head HEAD (1 commit judged, 0 packet moves), validate-release-tag-gate.py ., verify-openxwallet-pin.py, validate-clearing-dispatch.py . (0 errors, 0 warnings), validate-signed-execution-chain.py . --require-pinned-wallet-vocabulary (0/0), openXwallet/scripts/wallet-yaml-syntax-gate.py ., openXwallet/scripts/validate-openxwallet.py . (0/0), and validate-factory-identity.py . (0 errors). The openreposhape-pin, openxdox-consumer and lane-line gates are not run locally: this PR touches no pin, and the lane line is a PR-body check.
  • Ledger: --seed-ledger --moved-by '#1249' moved exactly one row, this packet's (class: co-modifier, declares: absent).
  • Carriage: diff of the MODIFIED block's body and three scenarios against openspec/specs/project-repo-schema/spec.md prints nothing.
  • doc-health (scripts/doc-health.py --single-repo, in a checkout named openxFactory, with the CI submodules initialized): at this head, 31 critical, 26 error, 69 warning, 20 info. No finding names any file of this packet or its README bullet, in any family. The clean-main run reported 31/22/69/19, but it skipped release-inventory-drift (submodules not yet initialized) and release-tag-publication (network down). Those two families, re-run alone on clean main 92010d3e, give 4 errors + 3 info and 1 info, and their finding lines are byte-identical to this head's: four release-inventory-drift errors on scripts/hermes_runtime_validation/{catalog,release}.py, scripts/validate-hermes-runtime-contracts.py and scripts/validate-ideation-dashboard-contracts.py against contract-v4.0, plus contract-v2.6 declared SPENT. All pre-existing.
  • pytest, with openXwallet, openXdox and openDox initialized as CI does: every directory that reads the change corpus, the README, the ledger or the pins (sequenced_after, code_surface, target_release, scope_globs, proposal-support, packet_reference, citation_remainder, former_id_arrival, estate_inventory, openspec_cli_pin, openreposhape_pin, intent-compliance, conformance-gate, pin_registrations, doc-health), run at this head with -m "not postgres": 3872 passed, 2 skipped, 0 failed, 311 subtests passed, exit 0 (14m13s). The FULL tests/ suite was started at this head and on clean main but did not finish locally: the host carried about 15,000 processes from other sessions, and the full suite projected at several hours. The required pytest-suite check on this PR is the full-suite evidence.
  • Hygiene: the full diff greps clean for /workspace/, /home/brett, ~/ and token or key patterns.

Notes

  • A third Triad. Of the 22 submodule repositories the aggregation has checked out, openDox, openXdox and MedxEHR carry a project manifest (kind: project-manifest, schema: project-repo-schema, spec and code legs), and 19 carry neither manifest (design.md D7).
  • Packet shape copied from assert-review-lane-lockstep-against-aggregation, the most recent proposed-but-unratified change; the MODIFIED-block form follows amend-home-adapter-scope-and-mapping-axis-count.
  • .openspec.yaml is hand-written in the block shape proposal-support.py declare-adhoc emits. That command takes the id's repository segment from the checkout directory's name, which in this worktree is not openxFactory.

Held for Brett Heap's merge word; do not merge.

🤖 Generated with Claude Code

Summary by Sourcery

Ratify the Triad as the preferred project shape while keeping it optional, advisory-only, and irrelevant to review decisions.

New Features:

  • Define the Triad as the preferred, but non-mandatory, project shape and recommend it for new projects and migrations.
  • Specify a once-per-session, non-blocking advisory for people starting work outside a Triad, including optional staying-single records and defined exemptions.
  • Prohibit project shape from influencing review lanes, checks, merge gates, eligibility, or other review decisions.

Enhancements:

  • Preserve the existing elective, confers-nothing project repository doctrine while adding the preference and associated guidance.
  • Record the proposal's ratification, design rulings, realization handoffs, and validation metadata.

Documentation:

  • Add the ratified change to the README Active changes list.

Tests:

  • Add the change to the sequenced-after corpus ledger and record validation evidence for the proposal and specification delta.

…t shape, advised at work start, never in review

Brett Heap, 2026-10-06T10:20:12Z, in session, verbatim: "the triad should
be the prefered structure and should prompt or warn the user if working on
a non Triad repo." At 11:28:19Z, verbatim: "usage is fine, launch both",
which authorized authoring and opening this proposal. Neither is a
ratification or a ruling on any design point; the packet is Status: draft.

The direction meets the promoted requirement "The project repository schema
is elective and confers nothing" head on. This packet keeps every sentence
and scenario of that requirement byte-identical and adds the preference to
it, so "preferred" never travels without "confers nothing":

- MODIFIED project-repo-schema: the Triad (the openRepoShape
  three-repository shape) is the PREFERRED shape, the recommended default
  for a new project and migration target for an existing single repository;
  preferred is not required; the name "Triad" in human-facing text with no
  machine key renamed; the posture is stated wherever the preference is;
  two scenarios added, three promoted ones carried.
- ADDED: advised where a person starts work, once per session, never
  stopping anyone (agent sessions say it once; the workstation bootstrap
  warns non-interactively with its exit status unchanged and asks with
  "continue" as the default interactively; openRepoShape's scaffold, adopt
  and doctor may report it).
- ADDED: a project's shape is never a review input; a gate built on the
  doctor's NOT A SHAPE ROOT verdict is defective; a shape warning in review
  would be an amendment of the doctrine, not a realization.
- ADDED: silent in an elected Triad, a leg clone, a family holder, a
  <user>-wip workspace repository, and a project that recorded staying
  single; the record is optional, so a decliner still owes no declaration.

Three open questions go to ratification with recommendations (the record's
file and schema; aggregations and similar repositories; whether the
advisory re-homes codexFactory's recommending role). Realization is handed
off to openxFactory's doctrine and pin, opensoft/openRepoShape,
opensoft/workBenches, new-project creation and the shared agent protocol;
the doctrine document is not edited here, following
amend-register-act-5b-projection-proof. Also: one README Active-changes
bullet and the seeded per-change sweep ledger row.

Sibling: opensoft/openBenches#135 lands the adopted Triad Feature
Amendments change; Copilot thread 4194811387 there asks for the
2026-10-06 direction to be recorded as a deferred follow-up. This change
is where that direction is governed.

Lane: codeXfactory-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@sourcery-ai

sourcery-ai Bot commented Oct 6, 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 6 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Reviewer's Guide

This draft OpenSpec packet proposes the Triad as the preferred but elective project shape, adds person-facing advisory and strict no-review-input rules, records ratification questions and cross-repository realization handoffs, and registers the change in the active corpus ledger; it intentionally performs no implementation and is held for Brett Heap's ratification and merge words.

Entity relationship diagram for optional staying-single record

erDiagram
    PROJECT ||--o| SINGLE_REPOSITORY_RECORD : may_record
    PROJECT {
        string project_root
        string project_manifest
    }
    SINGLE_REPOSITORY_RECORD {
        int schema_version
        string kind
        string decided_by
        date decided_on
        string reason
        date revisit_on
    }
Loading

Flow diagram for Triad preference and review boundary

flowchart TD
    Start["Person starts work"] --> Detect["Detect declared repository shape"]
    Detect -->|Triad, leg, family holder, user-wip, or staying-single record| Silent["Stay silent"]
    Detect -->|Other repository| Advise["Advise once per session"]
    Advise --> Continue["Continue without conversion"]
    Silent --> Work["Proceed with work"]
    Continue --> Work
    Work --> Review["Review and merge eligibility"]
    Review --> Equal["Shape is not an input"]
Loading

File-Level Changes

Change Details Files
Adds a draft OpenSpec proposal making the openRepoShape three-repository layout the preferred, but non-mandatory, project shape while preserving its elective and no-authority posture.
  • Modifies the existing project-repo-schema requirement without changing its title or machine vocabulary.
  • Carries the existing requirement text and scenarios byte-identically, then adds preference, naming, posture-coupling, creation, and migration guidance.
  • Defines that preference as advice to the person deciding for a project, with no automatic conversion or review consequence.
openspec/changes/prefer-triad-project-shape/specs/project-repo-schema/spec.md
openspec/changes/prefer-triad-project-shape/proposal.md
openspec/changes/prefer-triad-project-shape/design.md
openspec/changes/prefer-triad-project-shape/tasks.md
openspec/changes/prefer-triad-project-shape/.openspec.yaml
Introduces requirements for a bounded, person-facing Triad advisory and explicitly prohibits project shape from influencing review.
  • Requires one advisory per agent session for a person starting work outside a Triad, with silent subagents and unattended runs.
  • Specifies bootstrap warning and interactive-default behavior while preserving exit status and avoiding advisory-triggered writes or conversions.
  • Exempts declared Triad-related repository types and optional staying-single records, while rejecting inferred repository-class exemptions.
  • Forbids review lanes, validators, merge gates, councils, and other review surfaces from using shape or advisory state; explicitly identifies gating on NOT A SHAPE ROOT as defective.
openspec/changes/prefer-triad-project-shape/specs/project-repo-schema/spec.md
openspec/changes/prefer-triad-project-shape/design.md
openspec/changes/prefer-triad-project-shape/proposal.md
Documents unresolved ratification decisions and routes post-ratification implementation to the responsible repositories and owners.
  • Presents open questions for the staying-single record schema, treatment of aggregations/configuration/vendored repositories, and codexFactory ownership implications.
  • Defines handoffs for openxFactory doctrine and pin updates, openRepoShape mechanics, workBenches bootstrap integration, new-project creation, the private shared agent protocol, and estate inventory.
  • Keeps the packet in draft, records provenance and related changes, and delays archive until ratification, merge, and green realization evidence across all handoffs.
openspec/changes/prefer-triad-project-shape/proposal.md
openspec/changes/prefer-triad-project-shape/design.md
openspec/changes/prefer-triad-project-shape/tasks.md
openspec/changes/prefer-triad-project-shape/.openspec.yaml
README.md
Registers the draft change as an active co-modifier in the sequencing corpus ledger.
  • Adds the active prefer-triad-project-shape row with absent sequencing declaration and PR provenance.
tests/sequenced_after/corpus-ledger.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

…roject-shape

Lane: codeXfactory-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

RATIFIED — Brett Heap, 2026-10-06T16:02:16Z, in session, first-hand to lane codeXfactory-5, verbatim: "ratify 1249 as recommended".

"As recommended" settles the three open questions as this packet recommends them:

  • OQ-1. The optional staying-single record is single-repository.yaml at the repository root, and openRepoShape owns its schema.
  • OQ-2. Repository classes are not guessed: aggregations, configuration and dotfile repositories, and vendored forks get the advisory until they migrate or record that they are staying single.
  • OQ-3. The advisory restates the doctrine's preference. It is not codexFactory's "act of RECOMMENDING the shape", so no MODIFIED block is written on the ownership requirement.

The ratification is encoded in the packet by a follow-up commit on this branch: Status flip, origin ratified_by/ratified_on, the RULED notes, and the owner box recorded by a dated note. Ratification is not a merge word. This PR stays held for Brett Heap's merge word, and the Rule 6 LANDING/LANDED window applies at merge.

Lane: codeXfactory-5

…ended"

RATIFIED 2026-10-06T16:02:16Z by Brett Heap (openxFactory operator
authority), in session, first-hand to lane codeXfactory-5, verbatim:
"ratify 1249 as recommended" (recorded on PR #1249, comment 6020300563).
The ratified text is the packet at PR #1249's head 8f9c585. "As
recommended" takes every recommendation the packet put, as written:

  the reading: the Triad is preferred and not required; it is advised where
               a person starts work, once per session, never stopping
               anyone; it is never a review input
  OQ-1: the optional staying-single record is single-repository.yaml at
        the repository root, and openRepoShape owns its schema
  OQ-2: no class-guessing; aggregations, configuration and dotfile
        repositories and vendored forks get the advisory until they
        migrate or record staying single
  OQ-3: the advisory restates the doctrine's preference and is not
        codexFactory's act of recommending the shape; no MODIFIED block on
        the ownership requirement

The word is a ratification only. It is not a merge word (the PR stays
held for Brett Heap's merge word), and it is not a word to realize
anything (each tasks.md section 5 handoff waits on its owner's act).

EVERY RULING IS THE RECOMMENDED OPTION, SO NO DELTA BYTE MOVES:
specs/project-repo-schema/spec.md is byte-identical to the ratified text
(0 changed lines against 8f9c585).

WHAT MOVES, following the ratifying commits of
amend-register-act-5b-projection-proof (5daa96e) and
add-neutral-product-standalone-operability (cd494e4):
- proposal.md: Status: ratified + one Ratified: citation; a qualifier above
  the filing's "NOTHING HERE IS RATIFIED" paragraph (kept verbatim); a
  RULED mark on each item of "What ratification decides"; a
  "## Ratification record" section with a rulings table; and the
  code_surface: gloss's file count corrected for the new record (the head
  is unchanged).
- design.md, tasks.md: Status: ratified + one Ratified by: citation
  naming this change. design.md gets a qualifier above its opening
  paragraph and a RULED mark with Brett's verbatim word on OQ-1, OQ-2 and
  OQ-3, with all their reasoning kept. tasks.md gets dated notes on owner
  boxes 1.1-1.5, and 1.6, the bookkeeping this commit performs, is ticked.
- .openspec.yaml: approved_by + approved_on ADDED after proposed_on, the
  shape add-drafted-proposal-origin defined. kind, id, reason, proposed_by
  and proposed_on do not move.
- review/ratification-2026-10-06.md: new, Status: ratified, one citation.
- README.md: the Active-changes entry moves to the ratified form.
NOT MOVED: the spec delta, and tests/sequenced_after/corpus-ledger.yaml
(the row stays active / co-modifier; --ledger-diff consistent, 232 rows).

TWO ENCODINGS DIFFER FROM THE REQUEST, BOTH ON THE REPOSITORY'S OWN RULES:
- The origin pair is approved_by/approved_on, not ratified_by/ratified_on.
  The proposal-origin contract's approval pair is APPROVAL_FIELDS =
  ("approved_by", "approved_on") in scripts/doc_health/proposal_origin.py.
  It has no ratified_* keys, and an ad_hoc origin under Status: ratified
  without the approval pair is an error. Both precedents spell it this way.
- Owner boxes 1.1-1.4 are not ticked. The precedents ticked theirs, but
  this packet's tasks.md section 1 heading says those OWNER BOXES are boxes
  "an agent never ticks". Each carries a dated note instead.

Lane: codeXfactory-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sonarqubecloud

sonarqubecloud Bot commented Oct 6, 2026

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Correction to the RATIFIED comment above. That comment named the origin pair as ratified_by/ratified_on. The pair this repository's proposal-origin contract actually defines is approved_by/approved_on (APPROVAL_FIELDS in scripts/doc_health/proposal_origin.py), and that is what ratifying commit 020f2e4 carries, inside the same commit that first declares Status: ratified. review/ratification-2026-10-06.md records the difference. Nothing else in the comment changes.

Lane: codeXfactory-5

@brettheap

Copy link
Copy Markdown
Contributor Author

LANDING — lane codeXfactory-5, session ed23f049-7e99-4601-8a6d-760b6aeb5f26@Eagle, 2026-10-06T17:33:23Z, PR #1249 into opensoft/openxFactory main. On Brett Heap's word: "merge 1249".

Lane: codeXfactory-5

@brettheap
brettheap merged commit e638096 into main Oct 6, 2026
16 checks passed
@brettheap
brettheap deleted the change/prefer-triad-project-shape branch October 6, 2026 17:33
@brettheap

Copy link
Copy Markdown
Contributor Author

LANDED — lane codeXfactory-5, 2026-10-06T17:34:04Z, PR #1249 → e638096 (squash, the repository's convention; the ratifying commit 020f2e4 stays in this PR's history).

Lane: codeXfactory-5

brettheap added a commit that referenced this pull request Oct 6, 2026
…us clause, and the record's measured trees

Two edits.

- ideation/staging/doc-health-sweep-carry-over/doc-health-sweep-carry-over.md,
  Conflicts: the first bullet said add-worker-input-budget was Status: draft,
  with its deltas unratified and task 0.4 open. Copilot r4198710846 noted
  that ratification makes this stale. The bullet now says the packet is
  ratified (task 0.4, Brett Heap's word of 2026-10-06) but still active,
  and records what the clause read before. The sequencing constraint is
  unchanged: this topic's change is proposed after that packet archives.
- The ratification record's section 5 (Copilot r4198710942) now names each
  measured tree by sha. It drops the claim that only that section's text
  changed after 9e67f83. The runs are:
  - the full set at main 5145683 against 9e67f83;
  - the gates and doc-health at main e638096 against cc0fc85, a merge
    that brought in prefer-triad-project-shape (#1249) and no byte of this
    packet;
  - the full set again at main e638096 against cc0fc85 plus this commit.
  Every result matched: verify exit 1 on main and exit 0 on the branch;
  doc-health 284 against 282 finding lines, the difference being only the
  proposal-origin WARNING; the same 7 environment-only pytest failures.

Lane: openxfactory-1
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 6, 2026
…c before the ratify word (plan 038) (#1253)

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

## T070b: fold Copilot's four items into `realize-doc-health-direction-arc` before the ratify word (plan 038)

#1247 filed `openspec/changes/realize-doc-health-direction-arc/` (now on `main` at `51456835`). Copilot's review `5427373153` at its head `2a79d329` listed four "previously missed" items with no thread. The holder ruled that all four are folded in BEFORE T071 puts the change to Brett Heap, so that his ratify word covers the final text. This PR makes exactly those four amendments, to the change's own `Status: draft` text, and nothing else.

This is the change's own pre-ratification text, not a realization landing, so the PR carries no `Arc:` line.

- **Realizes:** none. It amends governance text and no code byte.
- **Ruled / Decisions:** the holder's fold-before-T071 ruling (#1247's READY note). No new ruling is asked of Brett Heap: D1 to D7 are unchanged, and each amendment makes a falsifier carry what `design.md` already states.

## The four items, as Copilot words them, and the amendment

| # | Copilot's item | Amendment |
|---|---|---|
| 1 | `tasks.md:56`: "Add explicit CR, LF, and CRLF boundary assertions". The round trip alone also passes for `str.splitlines(keepends=True)`, which round-trips form feed and U+2028 while splitting on them. | `tasks.md` 2.1's falsifier gains explicit boundary assertions that ONLY CR, LF and CRLF split rows (`"a\rb"`, `"a\nb"`, `"a\r\nb"` give two rows, CRLF as ONE ending; form feed, U+2028 and the other `str.splitlines()` separators leave ONE row). `design.md` § 3 ("Its falsifier is behavioural") states the same. |
| 2 | `tasks.md:79`: "Require empty-seam refusal to name its registrar". D3 requires the seam AND what registers it. | `tasks.md` 3.1's falsifier: the empty-seam error names the seam AND what registers it (D3; `design.md` § 4.2), and each seam's test asserts the message carries both, so an error naming only the seam fails. |
| 3 | `tasks.md:136`: "Test refusal of partially declared new seam groups". D7's all-or-none group has no test for a leg declaring only some of the four. | `tasks.md` 4.1's host-wiring test shows THREE refusals, each leaving no governed seam written: a leg declaring only SOME of the four (D7), a refusal part-way through the seams, a refusal at the column call. |
| 4 | `tasks.md:224`: "Compute protected filenames dynamically instead of freezing the set". 12.5 computes its set with `git grep`; a typed list of 16 misses a governed suite added or renamed before T074. A real guard gap. | `tasks.md` 4.3's oracle replaces the typed 16 names with 12.5's own selector, `git grep -l -e 'open-pr' -e 'open_pr' -e 'FakePullRequests' -- 'tests/test_*.py'`, and 12.5's floor, `-ge 16`. Round 2 (Copilot's review `5432328728`, below): the set is computed from the tree BEFORE the arc's first landing in that repository AND from the final tree, the floor holds on each, and the oracle takes their UNION, so a landing cannot strip a suite's markers and drop it out of its own protection. `design.md` § 8 states the same. |

Two readings, both ruled by the holder (item 2's reading stands as inferred):
- **Item 2.** "What registers it" is read as the seam's registration call, the one 3.1 already requires each seam to declare (`design.md` § 4.1). That reading is inferred; `design.md` § 4.2 says only "the seam and what registers it".
- **Item 3.** Beside the some-of-four refusal, 4.1 also says a leg declaring openDox's six and NONE of the four is accepted. `design.md` § 4.3 and D7 already state it ("a leg, not a gap"), and without it the test could not catch Copilot's other stated risk, the four folded into the six's group. The holder ruled it KEPT.

## Files changed (2, +48 -15 against `main` at `e6380965`)

| file | change |
|---|---|
| `openspec/changes/realize-doc-health-direction-arc/tasks.md` | 2.1, 3.1, 4.1 and 4.3 (items 1 to 4) |
| `openspec/changes/realize-doc-health-direction-arc/design.md` | § 3 (item 1) and § 8 (item 4), to keep it consistent with `tasks.md` |

`proposal.md`, `.openspec.yaml`, the README bullet and the ledger row are untouched: the ledger row carries no digest, so editing the change's text moves no row.

## Falsifier

All at head `e4f3f1db`, which is `main` (`e6380965`) merged into the branch. The pinned gate, from the openxFactory root, exits 0:

```
$ python3 scripts/validate-openspec-cli-pin.py --all --strict
change/realize-doc-health-direction-arc
  ℹ [INFO] file: skip_specs is set in .openspec.yaml: change declares no spec-level behavior changes, zero deltas accepted
...
Totals: 113 passed, 1 failed (114 items)
OK openspec-cli-pin: @fission-ai/[email protected] verified against its content address; every target validated --strict with 0 UNDISPOSITIONED failures. THIS IS NOT A CLEAN TREE: 1 finding(s) are ACCEPTED EXCEPTIONS, named above.
```

The one dispositioned finding is `add-chain-attestation / signed-execution-chain/spec.md`, the same as on `main`. `main` itself reports one more passing item than at #1247's head, because `prefer-triad-project-shape` landed (#1249); this PR adds none.

The other validators, all exit 0:

| command | result |
|---|---|
| `validate-sequenced-after.py . --ledger-diff` | "per-change sweep ledger consistent with the corpus (232 rows)" |
| `validate-sequenced-after.py .` | passed, archive-date checks included |
| `validate-code-surface.py .` | passed |
| `validate-target-release.py .` | passed |
| `proposal-support.py . verify realize-doc-health-direction-arc` | "proposal support verification ok" |

**doc-health.** `scripts/doc-health.py --single-repo .` on `main` (`e6380965`) and on this head, in the same clone: `31 critical, 22 error, 69 warning, 20 info` on both, and the sorted finding lists are identical (empty diff). No new finding.

**Local pytest** (a subset that reads the change corpus: `tests/sequenced_after`, `code_surface`, `target_release`, `proposal-support`, `scope_globs`, `packet_reference`): `866 passed, 307 subtests passed`. CI's `pytest-suite` runs the whole suite.

**Item 4's block, run and mutated.** The openXdox-code block of 4.3 was extracted from `tasks.md` itself and run in a separate clone of openXdox-code at `56e1c238`, on synthetic arc landings (local, never pushed). `scripts/protected_suites.py` is the real oracle there.
- The computed set at `56e1c238` is 16 files, IDENTICAL to the 16 names the typed list carried (`diff` empty), so the swap changes nothing today.
- A benign landing carrying the trailer: rc 0, "0 protected edit(s)".
- **Round 1's selector (final tree only) is bypassable.** A governed suite was added before the arc (count 17), then one landing strips every marker from `tests/test_session_verbs.py` (count back to 16, floor met): rc 0, the strip is undetected. This is Copilot's finding, reproduced.
- **The amended block (union) kills it.** The same history: rc 1, `FAIL: the arc edited protected suites outside the reviewed allow-list: tests/test_session_verbs.py`.
- Floor mutant, a governed proof removed BEFORE the arc (pre-arc set 15): rc 1 at `test ... -ge 16`. Killed.
- A new suite that injects `FakePullRequests` joins the computed set, and the typed list does not carry it. The gap round 0 named, closed.

## Copilot

- Review `5427373153` at #1247's head named the four items.
- This PR's first head, `02e3d706`: review `5432328728`, *Changes recommended*, 2 findings, both on item 4 and both the same point: the selector read only the final tree, so a landing could remove its own protection. **Fix-now**: reproduced above (a simple payload: strip the markers), and it is a regression against the typed list, which was immune. Fixed in `15137889` (the union). Both threads are answered and resolved.

## What is NOT done

- No code anywhere, no realization slice, no pin move. Those are T072, T074 and T075, after T071.
- Plan 038's `tasks.md` is not amended. Its T072, T074 and T075 `Falsifier` lines are terse ("the module's own tests") and name none of these four; the change's `tasks.md` is where they are stated. Whether to mirror them there is the holder's act.
- The change stays `Status: draft`. Brett Heap's ratify word is T071.
- The PR stays a DRAFT. The holder lands it under a Rule 6 window (it touches `openspec/changes/`).

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


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
…l request

python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1281'
wrote 236 rows, 1 moved by #1281. The row prefer-triad-project-shape goes from
active to archived, moved_by #1249 to #1281, moved_on 2026-10-06 to 2026-10-09.
class co-modifier is held, and no partner row moves. The README Archived entry
now names PR #1281.

Lane: codeXfactory-5
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