Skip to content

ideation: file the § 5.2 shed exit (a) measured design note (split-opendox; brainstorm) - #929

Merged
brettheap merged 4 commits into
mainfrom
ideation/opendox-shed-exit-a-design-note
Sep 10, 2026
Merged

brettheap merged 4 commits into
mainfrom
ideation/opendox-shed-exit-a-design-note

Conversation

@brettheap

@brettheap brettheap commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)

Refs #656 — split-opendox-two-layer-product § 5.2, the shed's blocking prerequisite.

What this files

A measurement agent's design note, filed verbatim into ideation/brainstorm/
so it survives scratchpad loss (the addendum comment on #656 named it filable
"into the packet on request"). It measures exit (a) POST-SHED MODE working: a
one-key manifest-declared phase: carve | post-shed, no CLI flag, and the
carve-manifest validator answers OK over the FULL 319-row shed tree — both
carve suites green at 209 passed, zero rows change disposition, digests
frozen at b075fd91/opendox-carve-0, a 482-line-added/17-removed diff
across 4 files. The shed also exposes an adapter re-point the packet had not
budgeted — 104 import sites across 32 files naming 32 shed modules, 17 with
no reachable home in openxFactory's CI, a retained
tests/ideation-dashboard/conftest.py:106 import that aborts collection, and
a six-schema contracts/schemas/ family still named by 127 tracked files —
and costs exits (b) RE-CUT and (c) RETIREMENT against the same tree, closing
with eight open questions for Brett Heap.

Provenance

Filed on request: addendum comment
5625144570
(2026-09-10T20:40:44Z), answering the ruling request opened in comment
5624521801
(2026-09-10T19:48:51Z). Sibling search first (no open PR or issue touching
ideation/brainstorm/*shed*, *exit-a*, or the ideation/README.md index);
CLAIM posted at
issuecomment-5625498191
before authoring. The measurement text itself is copied verbatim from the
lane's scratchpad note (numbers, findings and wording unchanged); the header
block and this ## Provenance section are adapted to this repository's
brainstorm-doc format (docs/document-lifecycle.md + ideation/README.md's
Ideation Header Format). Three dated editor's notes, each marked
> **Editor's note (filing, 2026-09-10):**, are added beside the verbatim
text without rewriting it:

  • § 3.1: notes that the plain-text and --json validator captures name two
    distinct (not conflicting) commits on the same spike chain, and which sha
    verified_at should read to match the plain-text capture.
  • § 4.3(iii): dates the "CI does not check the leg out" claim to the spike's
    pinned base commit and names PR openxFactory: mount opensoft/openXdox as a submodule and pin it (split-opendox task 5.1, RULED OQ-L, RULING F) #917 as the change that widened the init
    step on current main afterward.
  • Appendix: names the pinned commit the "how to reproduce" recipe should
    check out, since its git clone alone takes whatever main is at run
    time.

Brainstorm is the lifecycle stage where a document may carry an internal
contradiction (docs/document-lifecycle.md), which is why these are added
notes beside the original text rather than silent rewrites of it. The
original disclaimer is preserved in the Provenance section: measured in a
throwaway clone against opensoft/openxFactory@52e42be9; the spike branches
(spike/exit-a, 05ef9236 → 88caf62e → b27f0555) were never pushed.

Validators run

  • scripts/doc-health.py --single-repo . (full family sweep): 32 critical /
    5 error / 47 warning / 15 info total in the repo, ALL pre-existing —
    zero findings reference either changed file
    (ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md or
    ideation/README.md).
  • python3 -m pytest tests/doc-health -q -k "header or lifecycle or index or brainstorm"
    (venv on requirements/hermes-runtime-contracts.lock): 75 passed, 1614 deselected.

No openspec/changes path — plain gate; lands on the lane's word.

Summary by Sourcery

File the measured § 5.2 shed-exit design note and make it discoverable in the ideation index.

New Features:

  • Add a measured brainstorm note documenting a proposed manifest-declared post-shed validation phase for the OpenDox carve.

Enhancements:

  • Record measured costs and constraints for post-shed, re-cut, and retirement exits, including adapter import dependencies, schema fallout, and open decision questions.

Documentation:

  • Index the new shed exit design note from the ideation README with its issue provenance and measured findings.

Tests:

  • Document validation and carve-suite results for the proposed post-shed behavior, including 209 passing tests and known full-suite collection blockers.

…storm

Refs #656. The opus measurement agent's spike measured exit (a) POST-SHED
MODE working over the full 319-row shed tree, costed exits (b) and (c),
and raised eight open questions for Brett Heap's ruling; the note lived
only in a lane scratchpad and would not survive scratchpad loss. Files it
verbatim as ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md
with the header adapted to this repo's brainstorm-doc format, and adds the
ideation/README.md Contents index row.

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 10, 2026 21:37
@brettheap
brettheap marked this pull request as ready for review September 10, 2026 21:37
@sourcery-ai

sourcery-ai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Reviewer's Guide

This documentation-only PR files a detailed, provenance-preserving measurement note and README index entry for the § 5.2 OpenDox shed prerequisite. It records a proposed manifest-declared post-shed validation mode, its measured behavior and test results, the unbudgeted adapter/schema fallout, and quantified alternatives (re-cut or retirement); no validator, test, manifest, runbook, or workflow implementation from the described spike is included in the diff.

Flow diagram for the measured post-shed validation mode

flowchart TD
    A[Manifest declares phase: post-shed] --> B[scripts/validate-carve-manifest.py]
    B --> C{Moved source rows absent?}
    C -->|Yes| D[Recompute 318 digests and inspect 456-file surface]
    C -->|No| E[Refuse carve-shed-incomplete]
    D --> F{Retained rows and surface valid?}
    F -->|Yes| G[OK: 319 shed rows absent as declared]
    F -->|No| H[Refuse validation]
    G --> I[209 carve tests passed]
Loading

Flow diagram for the three measured shed exits

flowchart TD
    A[319-row shed tree] --> B{Choose exit}
    B --> C[Exit a: post-shed mode]
    B --> D[Exit b: re-cut manifest]
    B --> E[Exit c: retire manifest]
    C --> C1[482 added / 17 removed across 4 files]
    C1 --> C2[Digests and dispositions frozen]
    C2 --> C3[Validator and carve suites green: 209 passed]
    D --> D1[New carve commit and opendox-carve-1]
    D1 --> D2[137-row manifest with 0 moved rows]
    D2 --> D3[Update 15 provenance files across 4 repositories]
    E --> E1[Zero implementation lines]
    E1 --> E2[198 carve tests passed]
    E2 --> E3[Carve and arrival guarantees no longer enforced]
Loading

File-Level Changes

Change Details Files
Add and index a measured brainstorm note documenting the § 5.2 shed exit options and their operational costs.
  • Record provenance, reproduction context, measured validator/test results, adapter import fallout, schema-reference fallout, and eight decision questions.
  • Add an Ideation Header Format-compliant index entry summarizing exit (a), exits (b)/(c), and the key measurements.
ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md
ideation/README.md
Describe a proposed manifest-declared post-shed validation mode and its compatibility constraints.
  • Propose optional top-level `phase: carve
post-shedsemantics with absent phase defaulting tocarve`.
  • Document post-shed absence checks, retained-row guarantees, the new refusal vocabulary, phase-aware output, and associated validator/test/runbook spike results.
  • Quantify and analyze the 319-row shed, 482-line implementation diff, unchanged digests/dispositions, and carve-suite outcome.
  • Cost adapter re-pointing, schema fallout, re-cut, and retirement alternatives without landing the spike implementation.

  • 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

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

    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

    Unresolved documentation accuracy, portability, and formatting issues remain.

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

    Pull request overview

    This documentation-only PR files a measured OpenDox §5.2 shed-exit report and indexes it.

    Changes:

    • Adds measurements, provenance, fallout, alternatives, and open questions.
    • Links the report from the ideation README.
    File summaries
    File Description
    ideation/README.md Indexes the new measurement report.
    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md Records the detailed shed-exit measurements and findings.
    Review details

    Suppressed comments (5)

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:742

    • The reproduction block hard-codes /tmp/shed-paths.txt, another host-absolute path in a committed file. The repository convention requires repo-relative paths or runtime resolution; use mktemp (and clean it up) so the command remains portable without committing a machine-specific location.
    python3 - <<'PY' > /tmp/shed-paths.txt
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:738

    • The reproduction starts from the moving default branch, although the report attributes its measurements to the fixed base 52e42be98c9e5bb4a5b1fc5cf89e235d5a349c5b. A later run therefore cannot reproduce the stated tree or counts; pin the clone to that commit before deriving the shed.
    git clone https://github.com/opensoft/openxFactory oxf && cd oxf
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:653

    • This conclusion overstates the evidence: the command above only runs the two carve suites, while § 3.4 and Q2 document shed-caused failures in the broader/full suite. Scope the statement to the suites actually run so retirement is not presented as making the whole tree permanently green.
    **Retirement costs zero lines of code and produces a fully green suite; not one
    test fails, and nothing is left that could ever go red.** It reaches green
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:444

    • The documented test name has a grammatical typo: manifests should be singular because it refers to the one manifest file.
    test_the_phase_is_the_manifests_and_not_a_command_line_flag
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:5

    • The brainstorm header format requires Summary: to be one sentence (ideation/README.md:65-67), but this block contains several separate sentences and a long list of conclusions. Please collapse lines 5–17 into one summary sentence so the indexed header remains machine- and reader-friendly.
    Summary: Measures the § 5.2 shed prerequisite of
    
    • Files reviewed: 2/2 changed files
    • Comments generated: 4
    • Review effort level: Lite

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

    Two review findings on PR #929, both in the added Provenance section
    (never in the verbatim measurement body, which stays untouched):
    narrow the "nothing is pushed/landed" disclaimer to the measured spike
    implementation rather than this design note itself, since this pull
    request is the note's own act of filing/landing it; and drop the
    host-absolute `~/projects/xFactory/openxFactory` path per the
    no-host-paths-in-committed-files rule, describing the checkout instead
    without encoding the operator's home directory.
    
    Lane: openxfactory-4-opendox-extraction
    Co-Authored-By: Claude Fable 5.1 <[email protected]>
    Copilot AI review requested due to automatic review settings September 10, 2026 21:57
    @brettheap

    Copy link
    Copy Markdown
    Contributor Author

    Triage of the review bots' remaining findings that were not posted as separate resolvable threads:

    Sourcery: rate-limited (own 7-day review budget exhausted); not a finding, no action.

    Copilot's five "suppressed comments" (listed in its review body, no discussion thread exists for any of them):

    • Line 742 (/tmp/shed-paths.txt in the Appendix reproduction script) — inside the verbatim measurement body; not edited (filing mandate copies numbers/findings/wording unchanged). On the merits, a generic throwaway temp-file name in a reproduction recipe is not the host-absolute-path class the repo's no-host-paths rule targets.
    • Line 738 (reproduction clones the moving default branch rather than pinning to the measured commit) — same: verbatim Appendix content, not edited. A reasonable follow-up for whoever next runs the reproduction, not a defect in the filed record.
    • Line 653 (§ 6.2's "fully green suite" claim scopes only to the two carve suites, not the full tree) — verbatim body (exit (c) costing); not edited, per the same mandate.
    • Line 444 (test_the_phase_is_the_manifests_and_not_a_command_line_flag — "manifests" reads as a typo) — verbatim body (§ 3.5's literal list of added test names); not edited, since this is presumably the actual identifier as measured, not this filing's prose.
    • Line 5 (Summary field spans several clauses rather than reading as a short single sentence) — reviewed against ideation/README.md's own header-format spec ("one sentence") and against this repository's own working precedent (e.g. ideation/brainstorm/opendox-two-layer-overview.md's Summary, a comparably long semicolon-joined single-period sentence): grammatically one sentence, consistent with existing practice, and clears every doc-health status-validity/header check that ran clean over this file. Not changed.

    Two active discussion threads on verbatim measurement content (§ 3.1's verified_at values; § 4.3(iii)'s workflow-gitlink wording) got individual replies explaining the same filing-mandate constraint and are left open rather than resolved, since they're genuine observations for the packet's own follow-up rather than defects in this filing.

    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

    Unresolved review issues affect the report’s correctness and reproducibility.

    Review details

    Suppressed comments (8)

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

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:631

    • A post-shed re-cut cannot have zero declared edit lines or lose every arrival proof. The retained tests/ideation-dashboard/conftest.py replica still carries edits.lines: [25], and the manifest retains replicated rows that are checked with --replica-at; therefore at least one declared line remains and § 11 step 6 can still re-verify those replicas. Only the moved-row proofs disappear.
      ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:742
    • The reproduction commands clone whatever revision is current on the default branch, but the measurements are explicitly pinned to 52e42be98c9e5bb4a5b1fc5cf89e235d5a349c5b. Without checking out that commit, the manifest-derived shed list and observed refusal can change, so this appendix cannot reproduce the stated baseline. Detach to the pinned commit before deriving /tmp/shed-paths.txt.
      ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:369
    • This is introduced as the exact pytest-suite.yml invocation, but the transcript adds -p no:cacheprovider and abbreviates the JUnit path; the workflow's exact command is at .github/workflows/pytest-suite.yml:527. Remove the extra option/use the full command, or label this as a locally modified reproduction so the collection result is not presented as the CI command's result.
      ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:446
    • The documented test identifier has a grammar error: the_manifests is not a valid singular phrase and makes the proposed case name unclear. Use a name such as test_the_phase_is_in_the_manifest_not_a_command_line_flag.

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:299

    • carve-shed-incomplete is described as being inserted immediately before carve-unreadable, but the validator's fixed tuple is explicitly ordered by the check that raises each code (scripts/validate-carve-manifest.py:304-308). This code is raised by the post-shed check-3/4 arms, so it belongs with the other check-3/4 codes, before the vocabulary and disposition codes; keep the implementation and ratified test tuple in that order.
    `REFUSAL_CODES` gains exactly one member, `carve-shed-incomplete`, inserted
    before `carve-unreadable`. The tuple is described in the source as *"FIXED,
    COMPLETE and ordered by the check that raises it"* and
    `tests/carve_manifest/test_carve_manifest.py`'s `RATIFIED_CODES` restates it as
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:303

    • The proposed remediation change cannot be implemented by simply appending a sentence to REMEDIATION: CarveRefusal.render() appends that global trailer to every refusal (scripts/validate-carve-manifest.py:446-457). A post-shed-specific "delete the source" remedy would therefore appear on unrelated digest, vocabulary, and environment failures and conflict with their re-cut guidance. Make the remediation code-specific (or special-case this code) and test both outputs.
    as such** (open question Q4). `REMEDIATION` gains one sentence naming the
    opposite remedy for the new code, because the standing trailer's advice
    ("re-cut the manifest") is wrong for it.
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:324

    • The adjacent human and JSON captures report different verified_at revisions (b27f05558ef7 versus 88caf62ecfe4fb16e78024a2dd99300a6f79a93f) without saying they are separate runs. Because this section presents both as the exit-(a) validation result, align the revisions or label each block with the spike commit that produced it; otherwise the evidence is not reproducible from the note.
    {"result": "ok", "manifest": "…/docs/opendox-carve-manifest.yaml", "phase": "post-shed", "shed_rows": 319, "carve_commit": "b075fd91dc8fced8e1373825ba80220c33536bae", "verified_at": "88caf62ecfe4fb16e78024a2dd99300a6f79a93f", "carve_tag": "opendox-carve-0", "source_repository": "opensoft/openxFactory", "rows": 456, "dispositions": {"moved_verbatim": 172, "moved_with_declared_edit": 146, "not_moved": 138}, "digests_recomputed": 318, "surface": 456}
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:744

    • This committed appendix embeds the host-absolute /tmp/shed-paths.txt, which violates the repository's artifact-discipline rule (.specify/memory/constitution.md:66-73) and makes the recipe depend on a machine-specific path. Use a runtime temp variable (or a repo-relative path) and reference it in both places.
    python3 - <<'PY' > /tmp/shed-paths.txt
    
    • Files reviewed: 2/2 changed files
    • Comments generated: 0 new
    • Review effort level: Lite

    Two Copilot review threads on this pull request flagged internal
    inconsistencies in the verbatim measurement body: Section 3.1's plain-text
    and --json validator captures name different spike commits for what reads
    as one result, and Section 4.3(iii)'s CI claim reads as stale against
    current main. Both findings are correct about their target commit, but
    the measurement body is required to stay byte-for-byte as filed -- Brett
    Heap's replies on both threads already declined to silently edit it.
    
    Adds one editor's note beside each passage -- dated, attributed to the
    filing, and naming the shas this reply establishes from the spike's
    throwaway clone (spike/exit-a: base 52e42be -> 05ef9236 -> 88caf62e ->
    b27f0555) and from openxFactory's own history (PR #917 -> edf0e24, one
    commit after the spike's base, added the openXdox gitlink init to
    pytest-suite.yml) -- without touching the measured text itself.
    
    Refs #656.
    
    Lane: openxfactory-4-opendox-extraction
    Co-Authored-By: Claude Fable 5.1 <[email protected]>
    Copilot AI review requested due to automatic review settings September 10, 2026 22:25

    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

    Four moderate findings remain unresolved in the design note.

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

    Review details

    Suppressed comments (5)

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:778

    • This reproduction block still embeds /tmp/shed-paths.txt, a host-absolute path in a committed artifact. The repository constitution forbids this (.specify/memory/constitution.md:66-73); use a repo-relative filename for both redirections so the appendix remains portable.
    python3 - <<'PY' > /tmp/shed-paths.txt
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:701

    • verify-carve-arrival.py does not stop running when the manifest is removed: its catch-all returns arrival-unreadable with exit 2 (scripts/verify-carve-arrival.py:1621-1628), which the next clause also describes. Saying it "stops running at all" contradicts the actual operational result; describe it as unable to produce a successful verification instead.
    `verify-carve-arrival.py` stops running at all — every destination becomes
    `arrival-unreadable: the manifest … could not be read`, so the four landed legs
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:733

    • REFUSAL_CODES currently lists 11 members (scripts/validate-carve-manifest.py:321-332), so adding carve-shed-incomplete would make 12 entries, not a seventh. This ordinal is misleading in a paragraph explaining a vocabulary/API change; use "a new refusal code" or give the actual count.
    **Q4 — a seventh refusal code.** (a) adds `carve-shed-incomplete` to a tuple
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:299

    • The note says the new code is inserted immediately before carve-unreadable, but the repository's tuple is explicitly ordered by the check that raises each code; carve-shed-incomplete is a post-shed check-3 result, while placing it after the check-6 carve-path-order-violation would break that stated invariant. Align the proposed tuple order with the check-3 entries, or explicitly revise the invariant and its consumers.
    `REFUSAL_CODES` gains exactly one member, `carve-shed-incomplete`, inserted
    before `carve-unreadable`. The tuple is described in the source as *"FIXED,
    COMPLETE and ordered by the check that raises it"* and
    `tests/carve_manifest/test_carve_manifest.py`'s `RATIFIED_CODES` restates it as
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:775

    • The setup installs the locked dependencies into ../venv, but the reproduction then invokes the host python3 for both YAML parsing (line 778) and validation (line 786). On a machine whose system interpreter lacks PyYAML or differs from the lock, this can fail or produce a different result; use the venv interpreter for those two commands (or activate it for the whole sequence).
    python3 -m venv ../venv && ../venv/bin/pip install --require-hashes \
    
    • Files reviewed: 2/2 changed files
    • Comments generated: 1
    • Review effort level: Lite

    brettheap added a commit that referenced this pull request Sep 10, 2026
    … split-opendox § 5.2) (#928)
    
    Realization PR-1 of Brett Heap's RULING (a) — 2026-09-10 21:1xZ, verbatim "rule (a) post-shed mode" (#656 comment 5625573095) — over the § 5.2 shed's measured prerequisite (split-opendox-two-layer-product; the reality-check record landed by #924; the measured design note filed by #929): `scripts/validate-carve-manifest.py` gains a manifest-declared `phase: carve | post-shed` (optional top-level key; absent = `carve`; no CLI flag). Under `carve` semantics are byte-identical to before. Under `post-shed` the shed set — the 318 moved rows plus the 1 `deleted_at_carve` row, derived from the rows themselves — is EXPECTED absent at the source (check 3 pass 2 inverts; check 4's `vanished` arm excludes the set) while the 318 carve-blob digests and line bounds are still recomputed from history, ANCESTOR, `stays_*` / `replicated_at_destination` presence, the frozen-surface `appeared` guard, and checks 1/5/6 are unchanged; a moved row still PRESENT under `post-shed` refuses with the new code `carve-shed-incomplete` (the 12-member `REFUSAL_CODES` tuple, pinned literally in the suite), so the phase flip and the 319 deletions are one act — neither can land ahead of the other. Carve digests stay frozen at `b075fd91` / `opendox-carve-0`; zero rows change disposition. Also: `docs/opendox-carve-manifest.yaml` documents the key (value stays `carve`); runbook § 8 gains the post-shed paragraph, notes that `--at <carve_commit>` stops answering once the phase flips, and corrects the shed test count 3,426 → 3,404 with the measuring command beside it. Untouched: `scripts/verify-carve-arrival.py`, `scripts/carve_lines.py`, `tests/carve_arrival/`, `.github/`, `openspec/changes/` (the design.md amendment rides with PR-2, the shed). Validators at 2d38ed8: `OK … phase carve, 456 row(s) … 318 digest(s) recomputed`; `tests/carve_manifest tests/carve_arrival` 209 passed (was 198); synthetic full shed (319 paths removed, `phase: post-shed`) → `OK … 319 shed row(s) absent at source as declared`; one path restored → `FAIL … carve-shed-incomplete`; pytest-suite run 34536240220 success. Independent verification: sonnet-max fix-round + re-verifier, 2026-09-10 — the one Copilot thread (grammar comments still naming `header:` as the only optional key) fixed in 2d38ed8 and resolved; both synthetic scenarios reproduced word-for-word against the PR's documented block; five fenced surfaces confirmed untouched; 0 closing references in body and commits; six required checks green.
    
    Refs #656 (stays OPEN).
    
    Lane: openxfactory-4-opendox-extraction
    Co-Authored-By: Claude Fable 5.1 <[email protected]>
    A Copilot review comment on the previous commit noted that the Appendix's
    "how to reproduce" recipe clones whatever commit is current on `main`
    rather than checking out the pinned commit this note measures against --
    main has moved since (the same PR #917 / edf0e24 the prior commit's
    Section 4.3(iii) note already documents, among later commits). Adds one
    editor's note after the recipe's code block, naming the pinned sha and
    the checkout step to add, without touching the verbatim recipe itself.
    
    Refs #656.
    
    Lane: openxfactory-4-opendox-extraction
    Co-Authored-By: Claude Fable 5.1 <[email protected]>
    Copilot AI review requested due to automatic review settings September 10, 2026 22:44
    @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.

    🟡 Changes recommended

    Documentation accuracy, provenance, and reproducibility clarifications remain unresolved.

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

    Review details

    Suppressed comments (9)

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

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:689

    • This says retirement leaves “nothing ... that could ever go red,” but the next paragraph says a named-destination verify-carve-arrival.py run returns arrival-unreadable once the manifest is deleted. Scope the claim to the two carve test suites' green-by-absence result; otherwise the note overstates what retirement preserves.

    ideation/README.md:282

    • This index repeats the adapter-scope ambiguity: the 104th site is the retained session_fixtures import, so the headline should distinguish the 32 script modules from that 33rd shed module and separately identify profile_openxfactory as having no replacement. Otherwise the discoverability summary understates the measured blocker.
      shed exposes an unbudgeted adapter re-point (104 import sites across 32
      files, 17 modules with no reachable home in openxFactory's CI) and a
      six-schema `contracts/schemas/` fallout 127 tracked files still name.
    

    ideation/README.md:288

    • The README index repeats “Eight open questions for Brett Heap,” but issue #656 now records exit (a) as ruled and later records the Q2/Q6/Q7 decisions. Since this row only links the pre-ruling request/addendum, readers entering through the index are told the decision is still pending; mark the entry as a pre-ruling measurement snapshot and link the ruling comment.
      Eight open questions for Brett Heap. Governing record:
      `opensoft/openxFactory` issue #656 comments
      [5624521801](https://github.com/opensoft/openxFactory/issues/656#issuecomment-5624521801)
      (ruling request) and
      [5625144570](https://github.com/opensoft/openxFactory/issues/656#issuecomment-5625144570)
      (addendum) (2026-09-10).
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:769

    • This appendix is titled as a general reproduction recipe, but its only executable steps delete the shed paths with the unmodified validator and intentionally end at the baseline carve-path-absent refusal (lines 785–786). It does not reproduce the central exit-(a) post-shed OK result, and the spike branch is unavailable; label this as reproducing the baseline refusal or provide an available post-shed recipe.
    ## Appendix — how to reproduce
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:15

    • The 104-site total includes the extra retained-conftest import of session_fixtures, but the 32-module enumeration below covers only the 103 sites naming scripts/ideation_dashboard/*; with that extra import there are 33 distinct shed modules. The summary also conflates the 17 opendox modules that are unreachable from CI with profile_openxfactory, which has no replacement at all, so the headline understates the adapter scope.
    unbudgeted adapter re-point — 104 import sites across 32 files naming 32 shed
    modules, 17 with no reachable home in openxFactory's CI, a retained
    `tests/ideation-dashboard/conftest.py:106` import that aborts collection, and
    a six-schema `contracts/schemas/` family still named by 127 tracked files;
    

    ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:387

    • The report calls the command shown here “that exact invocation,” but the captured command adds -p no:cacheprovider, which is not part of the workflow invocation described at lines 378–381. Add an editor's note identifying this as the local run with the cache plugin disabled, or capture the unmodified workflow command so the collection result is reproducible.
    **That exact invocation over the exit-(a) tree ABORTS AT COLLECTION and runs
    nothing:**
    
    

    $ python3 -m pytest tests/ -q -m "not postgres" -p no:cacheprovider --junitxml=…

    **ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:17**
    * The issue record has since ruled exit (a) and resolved the relevant follow-up choices, so the summary's present-tense “eight open questions go to Brett Heap” is stale. Because the body is meant to preserve the 20:40:44Z measurement addendum verbatim, label these as questions open at capture time and point readers to the subsequent ruling rather than presenting them as still pending.
    

    eight open questions go to Brett Heap.

    **ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:286**
    * This explanation overstates what check 3 proves. The `deleted_at_carve` row is `not_moved`, so the digest loop does not read it; check 4 is what proves that row absent. If the measurement body must remain verbatim, add an editor's note here explaining that check 3 covers the 318 moved rows and check 4 covers the extra row, so the 319-row count is not attributed solely to check 3.
    

    "shed row(s) absent at source as declared". That sentence is only printed
    after check 3's post-shed arm has proved every one of those rows ABSENT, so
    the number is a claim about the tree, not a row count copied out of the

    **ideation/brainstorm/opendox-shed-exit-a-post-shed-mode-measured.md:733**
    * `Q4` calls this a seventh refusal code, but the pre-change vocabulary shown by the repository has 11 members, so `carve-shed-incomplete` is the twelfth member after the addition. The later ruling/implementation also records it as the 12th; add an editor's note with the corrected count so consumers can assess the vocabulary change accurately without rewriting the filed wording.
    

    Q4 — a seventh refusal code. (a) adds carve-shed-incomplete to a tuple

    
    - **Files reviewed:** 2/2 changed files
    - **Comments generated:** 1
    - **Review effort level:** Lite
    </details>
    

    @brettheap
    brettheap merged commit 72c0fa6 into main Sep 10, 2026
    14 checks passed
    brettheap added a commit that referenced this pull request Sep 11, 2026
    …nned legs (RULED Q6/Q7, #656)
    
    ONE resolver, scripts/carved_reach.py, and it is the only place the reach is
    spelled. It puts openDox/code/src and openXdox/code/src -- and this
    repository's own scripts/, which is what makes the doc_health importers among
    those modules resolve -- on sys.path, or REFUSES naming the leg that is
    missing. It never degrades to a skip: EXPECT_SKIPPED is pinned as an exact
    sum precisely because a directory that quietly turned into skips reports as a
    green bar, and tests/clearing/conftest.py already refuses this way for
    openXwallet. Both legs together is measured, not preference: 3 of 17 openxdox
    modules resolve with the openXdox leg alone, 7 of 17 with doc_health
    reachable, 17 of 17 only with both legs' src/ present (#929 -> 72c0fa6).
    
    106 import statements across 36 files, rewritten MECHANICALLY from the
    manifest's own destination_path per row -- never by hand, never from a second
    list. Every ideation_dashboard.<mod> whose row moved becomes opendox.<mod> or
    openxdox.<mod> with the same leaf name, because that is what the rows say; a
    mixed statement splits by destination; the retained siblings in the statement
    keep the ideation_dashboard spelling they still have.
    
    RULED Q6: tests/ideation-dashboard/conftest.py's session_fixtures import needs
    no rename -- the resolver APPENDS both legs' own tests/ trees, so the bare
    name resolves at the pinned openDox leg while the 20 replicated_at_destination
    rows whose basenames exist on both sides still resolve here first. Editing a
    retained row is lawful in both phases, so the repair is in the file rather
    than in its disposition.
    
    pytest-suite.yml now initializes openDox and openXdox RECURSIVELY. The comment
    that said --recursive was unnecessary is kept in place with the reason it
    changed: it was true of #932 and this is the pull request it named as the one
    that would need the legs. Pin digests are unaffected -- ls-tree -r still reads
    nested gitlinks as opaque 160000 records.
    
    Collection: 2 errors / 5,715 collected before this commit, 3 errors / 6,744
    after. The three that remain are the profile_openxfactory family and they are
    a FINDING, not an oversight -- see the pull request body.
    
    Refs #656
    
    Lane: openxfactory-4-opendox-extraction
    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