Skip to content

Carve manifest: declare the S2 intent-chips lines on the dispose.js and wheel.js rows (Q-L1; § 3.4 S2, RULED Q5) - #1002

Merged
brettheap merged 3 commits into
mainfrom
chore/s2-intent-feed-declared-edits
Sep 12, 2026
Merged

brettheap merged 3 commits into
mainfrom
chore/s2-intent-feed-declared-edits

Conversation

@brettheap

@brettheap brettheap commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4-opendox-extraction

Refs #656 (stays OPEN).

RULED Q5 (#656 comment 5642758731, Brett Heap): keep RULED OQ-F (views/intent-feed.js stays not_moved, docs/opendox-carve-manifest.yaml:1807-1810 unchanged) and fix the importers instead — split-opendox-two-layer-product § 3.4 slice S2 makes the intent-feed chips an OPTIONAL contributed binding, so dispose.js and wheel.js render without them when a deployment does not contribute the real module.

Q-L1: both rows were plain moved_verbatim with no edits: at all, so this is the row-annotation PR (ASK-7 pattern) that lands FIRST. The leg PR (opensoft/openDox-code build/s2-intent-chips-optional-binding) lands after this one, inside exactly the declared lines below.

What this declares

docs/opendox-carve-manifest.yaml:

  • dispose.js row → moved_with_declared_edit, one import rewrites edit, line 26 (the whole changed import statement: from "./intent-feed.js" → from "./intent-binding.js").
  • wheel.js row → moved_with_declared_edit, one import rewrites edit, lines [75, 76] (the two-line import { … } from "…"; statement — only line 76's from clause differs from the carve blob; line 75 is declared alongside it because both lines are one statement).

docs/opendox-carve-admissions.yaml (governed form, RULED #656 comment 5639058687):

  • opendox_code.created: the leg's three new files, each since: 330cf8161f06ae67be716deafe9b2ec3c64d1492:
    • src/opendox/web/views/intent-binding.js
    • tests/test_intent_binding_dom.py
    • tests/test_intent_binding_shape.py

Verified against the leg branch head (330cf816), not by inspection alone

$ python3 scripts/validate-carve-manifest.py
OK …: phase post-shed, 456 row(s) … — 167 moved_verbatim, 151 moved_with_declared_edit,
138 not_moved; 318 digest(s) recomputed; 456 file(s) in the declared surface with none
undeclared; 319 shed row(s) absent at source as declared
$ python3 scripts/verify-carve-arrival.py --destination opendox_code \
    --dest-root <leg clone @ 330cf816> --source-repo . --phase B \
    --allow-created src/opendox/consumer_reach.py \
    --allow-created src/opendox/defaults.py \
    --allow-created src/opendox/domain_profile.py \
    --allow-created src/opendox/profile_proxy.py \
    --allow-created tests/test_consumer_reach.py \
    --allow-created tests/test_profile_registration.py

OK <leg clone>: opendox_code (opensoft/openDox-code) at opensoft/openxFactory@b075fd91dc8f
(opendox-carve-0), phase B — 123 row(s) arrived, 59 digest(s) verified, 63 declared-edit
row(s) within their lines, 1 unapplied; 0 of 0 declared replica(s) verified; 141 file(s)
under src/opendox, tests with none undeclared (1 scaffold, 8 replica, 9 created);
scaffold admissions checked against a99eba03e31a; 3 declared admission(s) used
(opendox-carve-admissions.yaml); 6 admitted via ad-hoc --allow-created

The six --allow-created paths are a pre-existing gap, unrelated to S2: earlier BUILD-arc slices (da8aae9 "§ 3.5/3.6", 0f1f2e5 "slice 2b", a99eba03 "§ 4.3") added consumer_reach.py, defaults.py, domain_profile.py, profile_proxy.py, test_consumer_reach.py and test_profile_registration.py at opendox_code with no admission ever declared for them — the same class of defect the openxdox_code admission repair (comment 5639058687) already fixed once, on the other leg. The last two are already required-suite tests (validate.yml's explicit pytest list). Left undeclared here deliberately — fixing that backlog is not S2's job, and it is called out here for the lane's own record rather than silently absorbed into this PR's scope.

Isolated to just the two S2 rows (calling the verifier's own check_arrivals/_check_declared_lines internals directly, via importlib.util.spec_from_file_location since the module is hyphenated): both diffed cleanly against the carve commit (b075fd91dc8f) with their changed line(s) exactly inside the declared set — dispose.js: changed carve-line 26, declared [26]; wheel.js: changed carve-line 76, declared [75, 76] — DECLARED, undeclared: none.

Companion fixes in the same commit (precedent: cc4ae9d3, c8048105)

  • tests/carve_manifest/test_carve_manifest.py::test_the_real_manifest_carries_the_ruled_q_l7_amendment: re-derived (declared lines, rows carrying edits:) pin moves (862, 150) → (865, 152).
  • tests/carve_arrival/test_verify_carve_arrival.py::test_the_committed_admissions_file_seeds_exactly_the_two_ruled_files renamed to …_the_five_ruled_files and extended: it asserted every destination but openxdox_code was seeded empty, which S2's three new opendox_code admissions now falsifies on purpose — now checks opendox_code's own three paths + since, and narrows the "every other destination empty" loop to exclude both seeded destinations.

tests/carve_manifest tests/carve_arrival: 231 passed. (tests/carve_conformance not run locally — needs the openDox submodule over SSH, not initialized in this scratch clone; unrelated to this diff.)

Merged with main (was DIRTY/CONFLICTING): b50f6c7a

main moved twice since this branch forked — PR #984 (lockstep, admissions) and PR #995 (ASK-7, manifest) — so mergeStateStatus went DIRTY. Conflicts, one line each, resolved keeping BOTH sides:

  • docs/opendox-carve-admissions.yaml: opendox_code.created combined main's six lockstep entries with this branch's three S2 entries, re-sorted alphabetically by path (the file's own stated invariant).
  • docs/opendox-carve-manifest.yaml: the cli.py/serve.py (main) and dispose.js/wheel.js (this branch) row edits auto-merged clean; only the header comment's running tally conflicted — hand-merged into one narrative for the true combined totals, checked against the parsed document: declared lines 862 → 866 (ASK-7) → 869 (S2), rows carrying edits: 150 → 150 → 152.
  • tests/carve_manifest/test_carve_manifest.py: combined both PRs' per-row pinned assertions (cli_row/serve_row from main, dispose/wheel from this branch) and re-derived the aggregate assertion to the measured (869, 152), superseding (865, 152) above.
  • tests/carve_arrival/test_verify_carve_arrival.py: supersedes the "renamed to …_the_five_ruled_files" companion fix above. PR § 4.3/§ 4.4 openxFactory half + pin lockstep: the real engineering profile and DomainProfile registered once at process start, pins → openDox 8ec3036c / openXdox eca0b597 #984 had ALREADY generalized this same test, on its own Copilot review, from a frozen content-equality into a presence/invariant check — an equality cannot survive a pin bump, which is exactly what re-introducing the frozen form here would have hit against main's real (much larger) admissions file. Kept main's test_the_committed_admissions_file_keeps_the_ruled_seed_and_stays_well_formed and extended it with an opendox_code presence/since block for the three S2 files, on the same footing as its existing openxdox_code block.

Re-verified post-merge against the same S2 leg head (330cf816), fetched fresh into an isolated clone (the lane's shared leg clone was left untouched — another author has it checked out mid-PR):

$ python3 scripts/validate-carve-manifest.py
OK …: phase post-shed, 456 row(s) … verified at b50f6c7a8191 — 167 moved_verbatim,
151 moved_with_declared_edit, 138 not_moved; 318 digest(s) recomputed; 456 file(s)
in the declared surface with none undeclared; 319 shed row(s) absent at source as
declared
$ python3 scripts/verify-carve-arrival.py --destination opendox_code \
    --dest-root <leg clone @ 330cf816> --source-repo . --phase B

OK <leg clone>: opendox_code (opensoft/openDox-code) at opensoft/openxFactory@b075fd91dc8f
(opendox-carve-0), phase B — 123 row(s) arrived, 59 digest(s) verified, 63 declared-edit
row(s) within their lines, 1 unapplied; 0 of 0 declared replica(s) verified; 141 file(s)
under src/opendox, tests with none undeclared (1 scaffold, 8 replica, 9 created);
scaffold admissions checked against 78d5e7af1138; 9 declared admission(s) used
(opendox-carve-admissions.yaml); 0 unused; 0 ad hoc --allow-created

Note zero --allow-created above, against six on the pre-merge run: main's #984 already declares those six as governed admissions, so the pre-existing gap the section above calls out is closed as a side effect of this merge (not this PR's doing, noted here only because the command above no longer matches the one printed earlier in this body). The isolated dispose.js/wheel.js check is unchanged: dispose.js carve-line 26 declared [26]; wheel.js carve-line 76 declared [75, 76] — DECLARED, undeclared: none.

pytest tests/carve_arrival tests/carve_manifest tests/carve_conformance -q: 269 passed (up from 231 — carve_conformance now collects too, the openDox submodule being initialized in this merge's own working tree).

🤖 Generated with Claude Code

Summary by Sourcery

Annotate the S2 optional intent-binding changes and admissions in the carve manifests, with tests enforcing the declared scope.

Enhancements:

  • Declare the optional intent-binding import changes for the dispose.js and wheel.js carve rows.
  • Record governed admissions for the three S2 intent-binding files in opendox_code.
  • Strengthen manifest and admissions tests to verify the new row annotations, admissions, and updated aggregate counts.

Tests:

  • Update carve manifest and arrival tests to cover the S2 edit declarations and governed file admissions.

…nd wheel.js rows (Q-L1; § 3.4 S2, RULED Q5)

RULED Q5 (#656 comment 5642758731, Brett Heap): keep
RULED OQ-F (views/intent-feed.js stays not_moved,
docs/opendox-carve-manifest.yaml:1807-1810 unchanged) and fix the
importers instead — split-opendox-two-layer-product § 3.4 slice S2 makes
the intent-feed chips an OPTIONAL contributed binding, so dispose.js and
wheel.js render without them when a deployment does not contribute the
real module.

Realized at opensoft/openDox-code build/s2-intent-chips-optional-binding,
330cf8161f06ae67be716deafe9b2ec3c64d1492: a new views/intent-binding.js
does a top-level-awaited dynamic import() of "./intent-feed.js",
forwarding to it when present and answering absent-but-harmless when not.
dispose.js and wheel.js each change one import line to name the new
binding instead of the (absent, RULED not_moved) intent-feed.js directly.

Q-L1: both rows were plain moved_verbatim with no edits: at all, so this
is the row-annotation PR (ASK-7 pattern) that must land first, declaring:

  docs/opendox-carve-manifest.yaml
    - dispose.js row -> moved_with_declared_edit, one `import rewrites`
      edit, line 26 (the whole changed import statement).
    - wheel.js row -> moved_with_declared_edit, one `import rewrites`
      edit, lines [75, 76] (the two-line `import { ... } from "...";`
      statement; only line 76's `from` clause differs from the carve
      blob, line 75 is declared alongside it because both lines are one
      statement).

  docs/opendox-carve-admissions.yaml
    - opendox_code.created: the leg's three new files (RULED, #656
      comment 5639058687, the governed admission form):
      src/opendox/web/views/intent-binding.js,
      tests/test_intent_binding_dom.py, tests/test_intent_binding_shape.py
      — each `since: 330cf8161f06ae67be716deafe9b2ec3c64d1492`.

Verified against the leg branch head (330cf816) with the arrival
verifier itself, not by inspection alone:

  python3 scripts/validate-carve-manifest.py
  -> OK: 456 rows, 167 moved_verbatim, 151 moved_with_declared_edit,
     138 not_moved (169/149 before this PR); 318 digests recomputed.

  python3 scripts/verify-carve-arrival.py --destination opendox_code \
      --dest-root <leg clone @ 330cf816> --source-repo . --phase B \
      --allow-created src/opendox/consumer_reach.py \
      --allow-created src/opendox/defaults.py \
      --allow-created src/opendox/domain_profile.py \
      --allow-created src/opendox/profile_proxy.py \
      --allow-created tests/test_consumer_reach.py \
      --allow-created tests/test_profile_registration.py
  -> OK opendox_code (opensoft/openDox-code) at
     b075fd91dc8f (opendox-carve-0), phase B —
     123 row(s) arrived, 59 digest(s) verified, 63 declared-edit row(s)
     within their lines, 1 unapplied; 0 of 0 declared replica(s)
     verified; 141 file(s) under src/opendox, tests with none
     undeclared (1 scaffold, 8 replica, 9 created); scaffold admissions
     checked against a99eba03e31a; 3 declared admission(s) used
     (opendox-carve-admissions.yaml); 6 admitted via ad-hoc
     --allow-created.

  The six --allow-created paths are a PRE-EXISTING gap, unrelated to S2:
  earlier BUILD-arc slices (da8aae9 "§ 3.5/3.6", 0f1f2e5 "slice 2b",
  a99eba03 "§ 4.3") added consumer_reach.py, defaults.py,
  domain_profile.py, profile_proxy.py, test_consumer_reach.py and
  test_profile_registration.py at opendox_code with no admission ever
  declared for them here (the same class of defect RULED #656 comment
  5639058687 already repaired once for openxdox_code's two files) — the
  latter two of which are already required-suite tests
  (.github/workflows/validate.yml's explicit pytest list). Left
  undeclared here deliberately: fixing that backlog is not this slice's
  job and widening this PR to cover it would be exactly the "manifest
  edited to match a tree that arrived wrong" the verifier's own
  remediation text warns against. Flagged for the lane's own record.

  Isolated to just the two S2 rows (same internals the verifier's own
  check_arrivals/_check_declared_lines use, via
  importlib.util.spec_from_file_location since the module is
  hyphenated): both diffed cleanly against the carve commit
  (b075fd9) with their changed line(s) exactly inside the
  declared set (dispose.js: changed carve-line 26, declared [26];
  wheel.js: changed carve-line 76, declared [75, 76]) — DECLARED,
  undeclared: none.

Companion fixes in the same commit (same footing as cc4ae9d / c804810):
  - tests/carve_manifest/test_carve_manifest.py::
    test_the_real_manifest_carries_the_ruled_q_l7_amendment: the
    re-derived (declared lines, rows carrying edits:) pin moves
    (862, 150) -> (865, 152) — three new declared lines (import
    rewrites 675 -> 678) over two rows that carried no edits: before.
  - tests/carve_arrival/test_verify_carve_arrival.py::
    test_the_committed_admissions_file_seeds_exactly_the_two_ruled_files
    renamed to …_the_five_ruled_files and extended: it asserted every
    destination but openxdox_code was seeded empty, which S2's three new
    opendox_code admissions now falsifies on purpose; the test now
    checks opendox_code's own three paths and since (330cf8161f) and
    narrows the "every other destination empty" loop to exclude both
    seeded destinations.

tests/carve_manifest tests/carve_arrival: 231 passed (tests/
carve_conformance not run locally — needs the openDox submodule over
SSH, not initialized in this scratch clone; unrelated to this diff,
which touches no conformance corpus file).

The leg PR (dispose.js/wheel.js/intent-binding.js themselves) lands at
opensoft/openDox-code after this one, inside exactly these declared
lines.

Lane: openxfactory-4-opendox-extraction
Refs #656

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 12, 2026 03:16
@sourcery-ai

sourcery-ai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Reviewer's Guide

This annotation-first PR records the S2 optional intent-binding import rewrites for dispose.js and wheel.js, admits the leg’s three new opendox_code files at its verified commit, and updates regression coverage and aggregate manifest counts without changing source-row digests or the existing intent-feed not_moved ruling.

File-Level Changes

Change Details Files
Declare the S2 optional intent-binding import rewrites on the two affected carve rows.
  • Change dispose.js to moved_with_declared_edit with an import rewrite on line 26.
  • Change wheel.js to moved_with_declared_edit with an import rewrite covering lines 75–76.
  • Keep the intent-feed source row and its digest/carve metadata unchanged.
docs/opendox-carve-manifest.yaml
Admit the optional-binding leg’s three new destination files through the governed admissions manifest.
  • Add intent-binding.js and its two tests under opendox_code.
  • Pin all three admissions to leg commit 330cf8161f06ae67be716deafe9b2ec3c64d1492 with explanatory reasons.
docs/opendox-carve-admissions.yaml
Update regression tests to enforce the new S2 admission set and manifest edit totals.
  • Expand the admissions test from two to five ruled files and validate the three opendox_code paths and commit pin.
  • Exclude both seeded destinations when asserting all other destinations remain empty.
  • Update manifest totals from 862/150 to 865 declared lines/152 edit-bearing rows.
tests/carve_arrival/test_verify_carve_arrival.py
tests/carve_manifest/test_carve_manifest.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Add exact Q5 manifest assertions and update the runbook totals before approval.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR records S2 optional intent-binding carve edits and admissions for the OpenDox extraction.

Changes:

  • Declares import rewrites for dispose.js and wheel.js.
  • Adds three governed opendox_code admissions.
  • Updates manifest and admission tests.
File summaries
File Summary
tests/carve_manifest/test_carve_manifest.py Updates manifest totals; exact Q5 row assertions are still needed.
tests/carve_arrival/test_verify_carve_arrival.py Verifies the five governed admissions.
docs/opendox-carve-manifest.yaml Declares S2 edits and updated totals; related runbook totals remain stale.
docs/opendox-carve-admissions.yaml Adds three governed admissions.
Review details

Suppressed comments (1)

docs/opendox-carve-manifest.yaml:296

  • These new totals make the live runbook inconsistent with the governed manifest: docs/opendox-cutover-runbook.md §2 still reports 172/146/138, 794 declared lines, 147 rows carrying edits, and opendox_code 61/62/250 (lines 143-149 and 198). That section explicitly says it is measured from the landed file, so operators will use stale arrival expectations after this annotation; update the runbook's totals (including the already-stale prior amendment) or add an equivalent consistency check before landing.
# still, `not_moved` still 138, `moved_verbatim` 169 → 167 and
# `moved_with_declared_edit` 149 → 151, declared lines 862 → 865 (`import
# rewrites` 675 → 678, `path constants` 161 and `adapter calls` 26 unmoved),
# rows carrying `edits:` 150 → 152, and the 20 replicas stay 20. NO REFERENT
  • 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.

@brettheap
brettheap marked this pull request as ready for review September 12, 2026 03:35

@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 2 days and 13 hours by commenting @sourcery-ai review. Upgrade to get a review now.

…class and lines (PR #1002)

test_the_real_manifest_carries_the_ruled_q_l7_amendment's re-derived
(lines, carrying) == (865, 152) is an AGGREGATE: it would still pass if
the three new declared lines this PR adds had landed on the wrong row,
under the wrong edit class, or split across the wrong line numbers.
Copilot review on PR #1002 named the gap and pointed at the stronger
per-row pattern already used a few hundred lines down (lines 2192-2215);
this instead mirrors the pattern already used a few lines UP in the same
function, for the exact same shape of claim (moved/replica assertions on
session_fixtures.py/conftest.py), so the fix and the thing it repeats sit
next to each other.

Adds two exact assertions, dispose.js and wheel.js each pinned to their
disposition, destination and `[(class, lines)]` tuple — the Q5 contract
itself, not just its arithmetic shadow.

tests/carve_manifest tests/carve_arrival: 231 passed.
validate-carve-manifest.py: OK, same row counts (456: 167/151/138).

Lane: openxfactory-4-opendox-extraction
Refs #656

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 12, 2026 03:42

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

The changes are narrowly scoped; remaining documentation updates are non-blocking.

Review details

Suppressed comments (2)

docs/opendox-carve-admissions.yaml:75

  • This governed block now seeds three opendox_code files, but README.md:81 still says the admissions file is seeded only with the two openXdox-code#7 files; docs/opendox-cutover-runbook.md:767-775 also says the opendox_code block is created: []. Update those operator/index descriptions so they do not under-report the admissions this change makes active.
    created:
      - path: src/opendox/web/views/intent-binding.js
        reason: "added by opensoft/openDox-code build/s2-intent-chips-optional-binding (RULED Q5, #656 comment 5642758731; split-opendox § 3.4 slice S2) — the intent-feed chips' optional contributed binding; PR not yet opened/merged, this admission PR lands first per Q-L1"
        since: "330cf8161f06ae67be716deafe9b2ec3c64d1492"

docs/opendox-carve-manifest.yaml:296

  • The live manifest now reports 865 declared lines over 152 rows, but docs/opendox-cutover-runbook.md §2 and README.md:82 still publish the pre-amendment 794/147 totals (and the runbook's per-destination table is likewise stale). Those are the operator's expected verifier counts, so a correct leg will be compared against obsolete numbers. Update the runbook/README totals and table with this annotation.
# `moved_with_declared_edit` 149 → 151, declared lines 862 → 865 (`import
# rewrites` 675 → 678, `path constants` 161 and `adapter calls` 26 unmoved),
# rows carrying `edits:` 150 → 152, and the 20 replicas stay 20. NO REFERENT
  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

main moved twice since this branch forked: PR #984 (lockstep) rewrote
docs/opendox-carve-admissions.yaml with the § 4.3/§ 4.4 pin bump's own
admissions (6 new opendox_code entries, 1 opendox_spec, 14 openxdox_code,
2 openxdox_spec), and PR #995 (ASK-7) added a `path constants` edit each
to the cli.py and serve.py rows in docs/opendox-carve-manifest.yaml.
Neither touches the two rows or the admission this branch declares, so
every conflict here is two governed ledgers gaining entries in the same
place, not a real disagreement:

- docs/opendox-carve-admissions.yaml: kept main's six opendox_code
  entries and this branch's three S2 entries in the SAME destination
  block, re-sorted alphabetically by `path` (the file's own stated
  invariant) rather than picked one side.
- docs/opendox-carve-manifest.yaml: the row-level edits (cli.py/serve.py
  from main, dispose.js/wheel.js from this branch) auto-merged clean;
  hand-merged the header comment's running tally into one narrative that
  states the true combined totals — declared lines 862 -> 866 (ASK-7)
  -> 869 (S2), rows carrying `edits:` 150 -> 150 -> 152 — checked against
  the actual parsed document rather than added by hand.
- tests/carve_manifest/test_carve_manifest.py: combined both PRs'
  per-row pinned assertions (cli.py/serve.py from main, dispose.js/
  wheel.js from this branch already lived outside the conflict markers)
  and rewrote the aggregate assertion to the same measured (869, 152).
- tests/carve_arrival/test_verify_carve_arrival.py: kept main's
  presence/invariant-based rewrite of
  test_the_committed_admissions_file_keeps_the_ruled_seed_and_stays_well_formed
  (PR #984 already generalized the frozen-equality check this branch's
  own `..._seeds_exactly_the_five_ruled_files` rename would have
  reintroduced, precisely because a frozen equality cannot survive a pin
  bump) and extended it with an opendox_code presence/`since` block for
  the three S2 files, on the same footing as the existing openxdox_code
  block.

Verified post-merge: `scripts/validate-carve-manifest.py` OK (167
moved_verbatim, 151 moved_with_declared_edit, 138 not_moved, 456 rows);
`scripts/verify-carve-arrival.py --destination opendox_code --dest-root
<S2 leg @ 330cf8161f06ae67be716deafe9b2ec3c64d1492> --source-repo .
--phase B` OK with ZERO --allow-created (9 declared admissions used: the
6 lockstep entries plus this branch's 3, 0 unused, 0 ad hoc) where the
pre-merge run needed 6 ad-hoc --allow-created flags for a pre-existing,
unrelated gap; the isolated dispose.js/wheel.js declared-line check
still reads DECLARED, undeclared: none; `pytest tests/carve_arrival
tests/carve_manifest tests/carve_conformance -q` 269 passed.

Lane: openxfactory-4-opendox-extraction
Refs #656

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 12, 2026 15:17

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

Reconcile the admissions scope and update stale published verification summaries.

Review details

Suppressed comments (2)

docs/opendox-carve-admissions.yaml:87

  • The PR description says the six pre-existing --allow-created paths are deliberately left undeclared, but this committed admissions file already lists all six under opendox_code (lines 73–84 and 88–99), and read_admissions() treats those entries as governed admissions. Please reconcile the verification/scope record so it is clear whether those files are governed here or intentionally remain ad hoc.
      - path: src/opendox/web/views/intent-binding.js
        reason: "added by opensoft/openDox-code build/s2-intent-chips-optional-binding (RULED Q5, #656 comment 5642758731; split-opendox § 3.4 slice S2) — the intent-feed chips' optional contributed binding; PR not yet opened/merged, this admission PR lands first per Q-L1"
        since: "330cf8161f06ae67be716deafe9b2ec3c64d1492"

docs/opendox-carve-manifest.yaml:320

  • This amendment changes the manifest's current totals to 869 declared lines and 152 rows carrying edits, and adds three opendox_code admissions, but the user-facing current-state summaries remain stale: README.md:81-82 still says the admissions file is seeded only with the two openXdox-code files, while README.md:82 and docs/opendox-cutover-runbook.md:141-149 still publish the old 794/147/146 totals. Please synchronize those summaries (or explicitly mark them historical) so operators do not get an incorrect admission scope and verification counts.
# 866 / 150 above: 456 rows still, `not_moved` still 138, `moved_verbatim`
# 169 → 167 and `moved_with_declared_edit` 149 → 151, declared lines
# 866 → 869 (`import rewrites` 675 → 678, `path constants` 165 and
# `adapter calls` 26 unmoved from the ASK-7 window above), rows carrying
# `edits:` 150 → 152, and the 20 replicas stay 20. NO REFERENT DIGEST MOVES:
  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@sonarqubecloud

Copy link
Copy Markdown

@brettheap
brettheap merged commit b3cc018 into main Sep 12, 2026
14 checks passed
brettheap added a commit that referenced this pull request Sep 12, 2026
…e by row, admit S3's new files

Copilot review on openxFactory PR #1001 (three unresolved threads):

- README.md + docs/opendox-cutover-runbook.md carried only the pre-S2
  totals (906 declared lines / 151 edit-carrying rows). Now that #1002
  (§ 3.4 slice S2, dispose.js/wheel.js) is merged into this branch too,
  re-derive the § 2 table and its prose from the parsed manifest for the
  combined S2+S3 state: 909 declared lines / 153 rows carrying `edits:`
  (166 moved_verbatim / 152 moved_with_declared_edit / 138 not_moved),
  `opendox_code` 123 rows at 58/65 verbatim/edited for 336 declared
  lines. Figures are computed from the landed manifest, not transcribed.

- tests/carve_manifest/test_carve_manifest.py: pin the app.js and
  test_bullseye_widget.py rows by disposition and exact (class, lines),
  the same idiom the ASK-7 pins use for cli.py/serve.py, so the
  aggregate assertion is not the only thing standing between a passing
  suite and the S3 edits landing on the wrong row or under the wrong
  class. Also reconciles the aggregate assertion's own merge conflict
  against #1002 to the correct combined (909, 153).

- docs/opendox-carve-admissions.yaml: `verify-carve-arrival.py --phase B
  --destination opendox_code` against the S3 leg's current head
  (opensoft/openDox-code#14 @ 28de9c3b) refuses `arrival-undeclared-file`
  five times over — S3's own `view_extension.py` / `view_extension.js` /
  `test_view_registry.py`, and S1's `test_web_boundary.py` /
  `tests/fixtures/web_boundary_census.yaml` (landed already via
  openDox-code#13; S1 touched no arrived file, so it needed no
  row-annotation PR of its own, but its created files were never
  admitted). This is the first PR to run the verifier against the
  merged S1+S2+S3 tree and need them declared; all five are governed
  admissions now, alphabetical by path, none ad hoc.

Verified: `scripts/validate-carve-manifest.py` OK (166/152/138, 909/153);
`scripts/verify-carve-arrival.py --destination opendox_code --phase B`
against a fresh detached checkout of openDox-code#14 OK with zero ad-hoc
--allow-created flags; `pytest tests/carve_manifest tests/carve_arrival
tests/carve_conformance` 269 passed.

Lane: openxfactory-4-opendox-extraction
Refs #656

Co-Authored-By: Claude Sonnet 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 12, 2026
… read 909

scripts/carve_lines.py:3, scripts/validate-carve-manifest.py:115,
scripts/verify-carve-arrival.py:98 and
tests/carve_manifest/test_carve_manifest.py's
test_the_line_count_is_exactly_the_expression_the_validator_carried all
quoted "906" — the S3-only total this branch carried before #1002 (§ 3.4
slice S2) merged in. None of the four sat inside the merge's own conflict
hunks (only one side had touched each line), so git carried "906" through
silently instead of flagging it. Same class of finding as the previous
commit's docstring fixes, caught by re-grepping for the old total after
reconciling the merge rather than trusting the merge to have caught
every mention.

Verified: `pytest tests/carve_manifest tests/carve_arrival
tests/carve_conformance` 269 passed; `scripts/validate-carve-manifest.py`
OK (166/152/138, verified at 1354d24).

Lane: openxfactory-4-opendox-extraction
Refs #656

Co-Authored-By: Claude Sonnet 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 14, 2026
…y arc, and account for 4.1's residue down to the last import

Amendment #3 of this packet's `tasks.md`, on the precedent of #991
(`1f068646`). Two boxes, no other line of the file touched (`git diff -U0`
isolates to :880, :886 and :1079). It ticks NOTHING that is not landed at the
moment this pull request itself lands.

§ 3.4 -> [x], judged at THIS amendment's own landing. The boundary was
INVENTED as `openDox-spec` `docs/front-end-package-boundary.md` (#8 ->
`a44ac06d`, amended by #9 -> `61866d29`, #10 -> `7d12428c` and #11, whose
merge sha is a placeholder here) and REALIZED in an eight-slice arc, one table
row per slice, each leg pull request paired with the openxFactory row
annotation RULED Q-L1 puts FIRST. Six slices are merged as this is written;
S7 and S8 land AHEAD of this amendment in the lane's recorded order and carry
`[FILL AT LANDING]` cells, so the tick is written for the state this pull
request lands INTO and is not claimed before them.

Every sha in the slice table is read from the merged pull request rather than
transcribed, and one was WRONG in the draft: S2 does have an openxFactory
annotation, #1002 -> `b3cc0181`, and it merged 15:45:51Z against its leg's
15:59:44Z on 2026-09-12 - Q-L1's order visible in the clock. S1 alone has
none, because it creates files and edits no carved row (the manifest names no
slice S1).

THE PACKET FIGURE, amended here because the boundary note defers it here in
terms ("a packet figure is amended in the packet"). Re-measured over every
blob under each tree's bundle root: the carve commit `b075fd91` 43 blobs /
31,068 lines (41 hand-authored / 31,066), `a99eba03` 42 / 30,585 (40 /
30,583), `main` `8efb3cf5` 41 / 30,477 (39 / 30,475), and the arc-complete
`#21` head `c7a216c7` 42 / 31,955 (40 / 31,953). The box's "40 files" is
right on the nose; its "30,410 lines" is 173 short of what arrived and 656
short of what the carve commit held, and the one file that did not travel
(`views/intent-feed.js`, 483 lines, RULED `not_moved` under OQ-F) accounts
for the step exactly: 41 files / 31,066 lines less that one file is 40 /
30,583. `design.md`:52 and :351 and `proposal.md`:208 carry the same figure
and are NOT edited here - a ratified document is amended by an act that
claims it.

4.1 stays [ ], and its residue is now accounted for down to the last import.
All 23 of `design.md` D3's outbound `doc_health` imports have a position: 12
at openXdox-code (the seven landed adapter/projection modules), 5 lawfully at
openDox-code (`serve.py`:710 + `workbench.py`:746/:1407/:1408/:1409), 1 RULED
to stay at openxFactory, and 5 DISCHARGED at the § 2 seam. The carve commit
proves the discharge happened BEFORE any carve: at `b075fd91`
`scripts/ideation_dashboard/` carried 21 sites - `authoring` 0 (was 2), `cli`
0 (was 1), `serve` 1 (was 3) - and 12 + 4 + 1 + 1 = 18 = 23 - 5, plus three
sites outside the inventoried 23. Two corrections the draft owed: the 13
openXdox-code sites are the same files at the same line numbers at
`af15f712`, `c1ad341a` and `080dcfcd` but NOT byte-identical (`generator.py`
:66 lost `TAXONOMY` to openXdox-code #16 -> `17384c07`, a § 4.4 act); and
`doxbench_packet`'s DQ-1 import is not in the DQ-1 adapter package - it is at
`scripts/ideation_dashboard/doxbench_status_exemption.py`:63 under RULED
OQ-1, which openDox-code's `doxbench_packet.py`:136-142 states in its own
words. Either module is openxFactory, so "never comes here" holds.

Validators at this head, from the openxFactory root:
`OPENSPEC_TELEMETRY=0 openspec validate split-opendox-two-layer-product
--strict` -> "Change 'split-opendox-two-layer-product' is valid";
`python3 scripts/proposal-support.py . verify split-opendox-two-layer-product`
-> "proposal support verification ok". `--all --strict` reports 106 passed /
2 failed, identical with and without this change (the two are
`add-chain-attestation` and a sibling, neither this lane's).

Box count, whole file: 39 ticked / 32 open -> 40 / 31 (71 boxes). § 3 moves
3/5 -> 4/4.

CLAIM: #656 comment 5656686020.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 18, 2026
…ing history, and re-measure the leg figures

FOUR findings, all measured FACT before they were taken.

1. THE ORDINALS (Copilot review `5239585507` @ `d3d28269`, suppressed;
   RULED A FACT FINDING by the holder after the previous actor answered it by
   measurement on comment `5719043676`). The previous answer was right that an
   ordinal cannot be read off a block's POSITION — the assertion blocks in
   `tests/carve_arrival/test_verify_carve_arrival.py` are not in ordinal order
   and never were — and wrong that the ordinals therefore stood. Measured
   against the document itself they did not:

     git log --first-parent origin/main -- docs/opendox-carve-admissions.yaml

   diffing each commit's PARSED `created:` sets gives ELEVEN amendments over
   the seed (#979 `972b484a`) — PR #984, #1002, #1001, #1009, #1010, #1023,
   #1030, #1025, #1067, #1068 and this act — of which TEN bump `opendox_code`.
   Slice S5's amendment (#1023 @ `ee251d6c`, eight created files across both
   legs and the first admission-level re-homing) was recorded with NO ordinal,
   so every ordinal after it was ONE LOW: slice S7's three read SIXTH and are
   the SEVENTH, slice S8's one read SEVENTH and is the EIGHTH, the runtime ten
   read EIGHTH and are the NINTH — and that block's "of which this is the
   sixth" is the EIGHTH `opendox_code` bump. RULED Q7's five and this act's one
   carried none at all, and the docstring's narrated history stopped at SEVENTH
   while the code below it named an EIGHTH: a file that cannot be read in one
   direction without contradicting the other.

   Every ordinal now agrees, and the rule is stated with the ONE COMMAND THAT
   DERIVES IT, so the next amendment reads its ordinal off the history instead
   of off a neighbour. The three amendments the docstring never narrated (#1067,
   #1068 and this act) are narrated. The durable-assertions list, which had
   stopped enumerating what the block below actually asserts, gains slice S5's
   eight, slice S8's one and the ten runtime entries.

   THE REUSED RATIONALE IS DISTINGUISHED FROM THE BUMP NUMBER, which is what
   made this drift invisible: this act's block pins to its introducing commit
   "for the reason the DISPLAY-facet block states" and NAMES that block, whose
   ordinal moved with the renumbering while its argument did not. The runtime
   block's ordinal paragraph now records BOTH corrections — it read SEVENTH,
   collided, was moved to EIGHTH, and was still one low — because both are the
   same defect. Its stale "line ~3993" pointer is gone with them.

   Copilot's own arithmetic was wrong in the other direction (it called this
   act's admission the eighth amendment and the seventh `opendox_code` bump;
   measured they are the ELEVENTH and the TENTH). The finding was still right
   that the history had stopped agreeing with itself.

2. THE ADMISSION REASON (Copilot review `5246578877` @ `30a63ebe`, thread on
   `docs/opendox-carve-admissions.yaml:146`). MEASURED in a pristine `0b4e8bbf`
   worktree of openDox-code with the leg's file copied in:

     pytest -q tests/test_display_facet_leaves.py --noconftest
       ->  11 failed, 2 passed in 0.61s        (node v24.21.0 present)

   The reason said `10 failed / 2 passed` and a three-versus-nine split. The
   file carries THIRTEEN tests at the leg's landing head `b51a1ca1`: FIVE
   node-gated, over FOUR modules (`display.js`, `explorer.js`,
   `outline-model.js` and now `docs.js`), and EIGHT reading the source. The old
   "three" named the three MODULES and miscounted the tests even at the
   introducing commit, where it is four and eight over twelve. The reason now
   states the measurement, says it is taken AT THE LANDING HEAD and not at
   `since:` — which stays the introducing commit `338143a3` — and names what
   moved it: openDox-code#28's own Copilot round added the thirteenth test.

   The two that pass at the pristine base are the return-value guard beside
   `applyTokens` and the behavioural probe that only bites once `runAddSection`
   forwards its argument, so all SEVEN leaves are failed by at least one of the
   eleven.

3. THE FOUR MANIFEST ROW NOTES (same review, thread on
   `docs/opendox-carve-manifest.yaml:2498`): `10 of 12` on all four synchronized
   copies -> `11 of 13`. "Each failure its own leaf" is replaced by what is
   true of eleven failures over seven leaves: every leaf failed by at least one
   of them, with the two passers named.

4. THE RUNBOOK'S PROVENANCE PARAGRAPH (same review, suppressed;
   `docs/opendox-cutover-runbook.md:379-383`): it still read "CURRENT TO RULED
   Q7's CSS EXTRACTION" and called Q7 "THIS act" while the tables above it are
   this act's 2717 and its `opendox_code` cell is 1763 — and a second, older
   "THIS ACT CARRIES" in the same paragraph named slice S7. Two acts called
   "this act" in one paragraph, neither of them the act the totals belong to.
   Re-headed to the § 3.4 SLICE-S7 RESIDUE annotation with its own window
   (2710 + 7 = 2717), Q7 restated as the act behind it, and the inner claim
   given slice S7's PR and sha. Swept with it: § 5's `--allow-created` note,
   whose "THIS act adds three more entries" meant PR #1030 and has had seven
   amendments since.

GATE at this head:
  scripts/validate-carve-manifest.py                             OK
    456 rows, 143/175/138, 318 digests, none undeclared, 4 re-destined, 2 retired
  pytest -q tests/carve_arrival tests/carve_manifest             408 passed

No absolute moves: 2717 / 176 / 1745 / 1763 / 2715 stand as measured at the
merge. No assertion changes — every ordinal lives in a comment or a docstring,
grepped repo-wide, and nothing reads them.

Lane: openxfactory-4
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