Skip to content

Take the second reality check: seven corrections and ruling F to split-opendox-two-layer-product - #707

Merged
brettheap merged 2 commits into
mainfrom
chore/split-opendox-corrections-2
Sep 6, 2026
Merged

brettheap merged 2 commits into
mainfrom
chore/split-opendox-corrections-2

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

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

What this is

A second corrections pass over split-opendox-two-layer-product, following
the same pattern as PR #701. A second, independent workflow session
(wf_ba66b10a-c44) re-extracted 47 claims (C1–C47, a fresh numbering —
does not correspond to the first run's c1–c48) against the packet as it
stood at 391d2404. 31 hold; 16 were flagged checker-false, of which the
refutation pass reached only 3 before hitting the Opus session limit
(C4 REFUTED as a checker false-positive, no edit; C6/C7 CONFIRMED
false; the other 13 UNREFUTED). Every correction in this PR was
independently re-verified live against a real openRepoShape checkout
before being applied — not taken on the checker's or the stalled refuter
pipeline's word alone.

Corrections, by finding

  • Finding A (C6/C7/C38/C39/C42 — PIN CURRENCY STALE): the
    packet still said the tool is blocked at 122d729b pending a re-pin.
    PR Bump the openRepoShape pin to e9c4827b: 31 digested / 45 path-only / 76-file surface #700 (303bfd53) already re-pinned to e9c4827b85f50503bbdd9e5b4fac9d6c3d0baf63
    and discharged it. Fixed tasks.md § 1.1, § 1.1a, § 1.2, § 1.10 and
    design.md's #41/#45 blocker paragraph (plus a merge-vs-close
    timestamp label fix).
  • Finding B (C17): the surviving "eighteen descendant names" base
    sentence — arithmetic wrong, should be fifteen (5 descendants × 3 names).
    Fixed tasks.md § 1.7.
  • Finding C (C10/C11): § 1.3's file-set note compared the tool's
    output at two stale revisions (122d729b vs 355f6ef4) instead of the
    commit actually pinned. Restated once at e9c4827b, with the exact
    assembly-root (18 files + 2 gitlinks) and per-leg (5 files) lists
    measured live. Fixed tasks.md § 1.3.
  • Finding D (C22/C30): naming.referent_chain is written by
    scaffold-project.py/shape_materialize.py only when --referent-chain
    is passed; § 1.10's own required interim and § 7.3's printed codexDox
    command neither passed nor mentioned it. Fixed tasks.md § 1.10 (twice)
    and the § 7.3 scaffold command, plus design.md's retelling of the § 1.10
    interim.
  • Finding E (C34): the recorded election reference: string was
    given unqualified (docs/project-repo-schema.md); the packet's own
    scaffold commands and the tool's own DEFAULT_REFERENCE use the
    qualified openxFactory docs/project-repo-schema.md. Fixed design.md
    (~L709) and tasks.md § 1.6.
  • Finding F (RULING F — see below, no independent claim id): five
    places still declared openxFactory pinning or mounting openDox
    directly, contradicting RULING F and, in tasks.md § 5.1's case,
    contradicting the rest of the same task item. Fixed tasks.md § 5.1,
    § 5.8, § 8.7; design.md's "where contracts/manifest.yaml... live"
    passage; proposal.md's Impact-section items (1) and (3).
  • Finding G (C26/C27/C41): "per-file digest" overstates what a
    --pin file carries (one whole-tree digest, sorted-ls-tree-r-v1, no
    per-file rows — confirmed against the actual template); "a
    single-repository product has neither move" overstates the shape's
    marginal cost (a single-repository openDox would still need the
    consumer's own commit bump — openxFactory performs that identical
    hand bump today for openRepoShape and openXwallet, both
    single-repository products). Fixed tasks.md § 4.2 and design.md
    (~L925).

Full second-run method, the 47-claim breakdown, and the per-finding record
are appended to
openspec/changes/split-opendox-two-layer-product/review/reality-check-2026-09-05.md
under "Second run — 2026-09-06T00:00Z at 391d2404".

RULING F, quoted

RULINGS (Brett Heap, opensoft/openxFactory issue #656, 2026-09-05):
OQ-2 "one pin chain: inside the family openDox is pinned ONLY by openXdox
and every descendant pins openXdox". F (23:5xZ, verbatim "rule F openXdox
only, then do the corrections PR"): inside the family openxFactory pins
openXdox ONLY — one contracts/openxdox-pin.yaml + one gitlink, file and
gitlink moving in the same commit; openDox's commit is READ THROUGH
openXdox's own pin and is never declared, pinned or mounted by openxFactory.

Validation (this session's own runs, in the worktree)

$ OPENSPEC_TELEMETRY=0 openspec validate split-opendox-two-layer-product --strict
Change 'split-opendox-two-layer-product' is valid

$ OPENSPEC_TELEMETRY=0 openspec validate --all --strict
Totals: 94 passed, 1 failed (95 items)

The one failure is change/disposition-codexfactory-declared-renames, a
known local-CLI artifact unrelated to this change — reported, not fixed.

$ python3 scripts/proposal-support.py . verify
proposal support verification ok

$ python3 -m pytest -q tests/sequenced_after tests/doc-health tests/proposal-support
1807 passed, 7 warnings, 2 subtests passed in 370.96s

doc-health --single-repo delta versus a fresh origin/main worktree
(0e47acc2): ZERO across every family and every severity — 8 critical /
8 error / 44 warning / 13 info on both sides, diffed byte-for-byte after
normalizing the Repo-Identity line each run stamps from its own directory
name.

Scope note

Spec deltas under specs/*/spec.md were read but NOT touched — none of the
seven findings named one, and specs/neutral-product-pin/spec.md in
particular was checked and found already RULING-F-compliant (it declares a
pin chain resolved one hop at a time, direct-upstream-only, matching RULING
F exactly).

This PR does not merge itself — offered for Brett Heap's word; landing is
Rule 6.

Refs #656

🤖 Generated with Claude Code

https://claude.ai/code/session_011HB5MkaME9RsTPctRtYQ4a

…t-opendox-two-layer-product

wf_ba66b10a-c44 re-extracted 47 claims against the packet at 391d240; 31
hold, 16 checker-false (C4 refuted as a false positive, C6/C7 confirmed,
13 unrefuted before the pipeline hit the Opus session limit). Every
correction below was independently re-verified live (fresh openRepoShape
clones/worktrees, --dry-run and --local-remote-dir scaffold runs) before
being applied, not taken on the checker's word alone:

- Finding A (C6/C7/C38/C39/C42): the re-pin blocker (contracts pinning
  122d729b) is discharged by PR #700 (303bfd5 -> e9c4827b); tasks.md
  1.1/1.1a/1.2/1.10 and design.md's blocker paragraph were still stated
  as outstanding/present-tense.
- Finding B (C17): the surviving "eighteen descendant names" arithmetic
  (should be fifteen: 5 descendants x 3 names).
- Finding C (C10/C11): tasks.md 1.3's file-set note compared two stale
  revisions instead of the actual pin; restated once at e9c4827b from a
  live measurement (18 assembly-root files + 2 gitlinks, 5 per leg).
- Finding D (C22/C30): naming.referent_chain is written only when
  --referent-chain is passed; tasks.md 1.10 and the 7.3 scaffold command
  neither passed nor mentioned it.
- Finding E (C34): the recorded reference: string was unqualified;
  packet commands and the tool's own default use "openxFactory
  docs/project-repo-schema.md".
- Finding F (RULING F, #656, "rule F openXdox
  only, then do the corrections PR"): openxFactory pins openXdox ONLY,
  never openDox directly. Five places still declared openxFactory
  pinning/mounting openDox (tasks.md 5.1/5.8/8.7, design.md, proposal.md).
- Finding G (C26/C27/C41): "per-file digest" overstates what a --pin
  file carries (one whole-tree digest, no per-file rows); "a
  single-repository product has neither move" overstates the shape's
  marginal cost (openxFactory hand-bumps openRepoShape/openXwallet pins
  today for two single-repository products).

Validated: openspec validate --strict (change and --all) both green;
proposal-support.py verify ok; pytest tests/sequenced_after
tests/doc-health tests/proposal-support 1807 passed; doc-health
--single-repo delta ZERO across every family/severity vs a fresh
origin/main worktree.

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_011HB5MkaME9RsTPctRtYQ4a
Copilot AI lite review requested due to automatic review settings September 6, 2026 00:23

@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.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

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.

🟢 Approval recommended

Changes are documentation-only and coherent with the stated correction goals, with only a minor naming/capitalization nit flagged.

Pull request overview

This PR applies a second “reality check” corrections pass to the OpenSpec change packet split-opendox-two-layer-product, updating the packet’s recorded operational claims (pins, scaffold behavior, and “RULING F” pin-chain semantics) to match re-verified measurements against the currently pinned openRepoShape commit.

Changes:

  • Updates tasks.md to reflect the landed openRepoShape re-pin, corrected scaffold outputs at the pinned revision, and the required --referent-chain usage.
  • Updates proposal.md and design.md to align pin/mount statements with RULING F (openxFactory pins openXdox only; openDox is read through openXdox).
  • Appends a “Second run” methodology + corrections summary to the reality-check record.
File summaries
File Description
openspec/changes/split-opendox-two-layer-product/tasks.md Corrects task text for pin currency, scaffold output lists, referent-chain flag requirement, and RULING F semantics.
openspec/changes/split-opendox-two-layer-product/review/reality-check-2026-09-05.md Adds the second-run extraction summary, correction mapping, and RULING F quote.
openspec/changes/split-opendox-two-layer-product/proposal.md Adjusts impact/proposal narrative to reflect RULING F (openxFactory pins openXdox only; openDox is indirect).
openspec/changes/split-opendox-two-layer-product/design.md Updates design narrative for the landed re-pin, referent-chain interim, and RULING F pin-file placement.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Copilot AI 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

A few newly edited documentation lines remain internally inconsistent/ambiguous (claim-id cross-reference, manifest key naming, and a “main @ ” provenance phrasing), so the packet still needs small corrective edits before merge.

Review details

Suppressed comments (4)

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

openspec/changes/split-opendox-two-layer-product/design.md:905

  • This paragraph is part of the updated re-pin narrative, but earlier in the same dependency discussion the text says verification was against openRepoShape main f9ff3f8. f9ff3f8 is a specific historical commit (authored 2026-09-04 per GitHub), so calling it main on 2026-09-05 is likely inaccurate. Consider describing it as a commit checkout instead of main (or updating the hash to the actual branch tip you verified).
    openspec/changes/split-opendox-two-layer-product/tasks.md:154
  • The cited claim IDs for the “UNBLOCKED” note omit C38, but the surrounding packet (e.g., 1.1a and the review record’s Finding A) treats C38 as part of the same pin-currency finding set. This looks like an accidental omission and makes the cross-references inconsistent.

This issue also appears on line 713 of the same file.
openspec/changes/split-opendox-two-layer-product/tasks.md:381

  • The provenance line later in this section says the measurement was done at openRepoShape main f9ff3f8, but f9ff3f8 is a specific historical commit (authored 2026-09-04 per GitHub) and may not have been main when measured. To avoid a misleading reference, describe it as a commit checkout rather than main (or update to the actual branch tip you measured).

openspec/changes/split-opendox-two-layer-product/tasks.md:713

  • This note says the scaffold writes no referent_chain key, but elsewhere in the packet (e.g., §1.10) the documented field is naming.referent_chain. Using a different key name here makes it ambiguous which manifest field is actually absent/present.
  openDox` / `referent_declared: true` with NO `referent_chain` key — the
  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

RULING — WORD — Brett Heap, 2026-09-06T00:48Z, in session (lane openxfactory-4-opendox-extraction, session 011HB5MkaME9RsTPctRtYQ4a), verbatim: "merge 707 when green" — corrections PR #707 (seven correction sets A–G incl. ruling F to split-opendox-two-layer-product) lands under Rule 6 once all checks are green with no unresolved threads; admin squash because brettheap-authored PRs cannot self-clear the code-owner review.

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

@brettheap

Copy link
Copy Markdown
Contributor Author

LANDING — lane openxfactory-4-opendox-extraction (formerly openxfactory-opendox), session 011HB5MkaME9RsTPctRtYQ4a, 2026-09-06T00:59Z, PR #707 into openxFactory main. Head 49dafe3: all nine checks SUCCESS, 0 unresolved review threads, 0 closingIssuesReferences. Landing on Brett Heap's word "merge 707 when green" (#656); admin squash because brettheap-authored PRs cannot self-clear the code-owner review.

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

@brettheap
brettheap merged commit 0adb5c6 into main Sep 6, 2026
10 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

LANDED — lane openxfactory-4-opendox-extraction (formerly openxfactory-opendox), 2026-09-06T01:00Z, PR #707 → 0adb5c6b (admin squash at head 49dafe3, 01:00:05Z, on Brett Heap's word "merge 707 when green"). Rule 6 window closed.

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

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