Skip to content

Amend the carve manifest: eight declared test lines the Q6 behaviour and the carved corpus require (Brett Heap: "Amend the manifest: 8 declared lines") - #32

Merged
brettheap merged 1 commit into
mainfrom
chore/carve-manifest-test-lines
Oct 8, 2026
Merged

brettheap merged 1 commit into
mainfrom
chore/carve-manifest-test-lines

Conversation

@brettheap

@brettheap brettheap commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxwallet-2 (openXwallet-2)
Claim: #25 (comment)

Amends docs/openwallet-carve-manifest.yaml under Brett Heap's ruling, in session, by multiple choice, label verbatim: "Amend the manifest: 8 declared lines (Recommended)" (recorded on #25, comment 6068473776). Governing record: #25. The CARVE COMMIT stays 90111df262d6f54f7e82651d860adc12345f83f4; no row, path or digest moves.

Why

At code leg commit B (the declared-edit layer over the pure carve), five tests fail because two carved test files carry no declared edit lines for behaviour this split rules:

  • tests/multi_key_wallets/test_declared_key_sets.py: its _grant fixture writes hermes-named approval-posture keys into scanned grants; under the ruled Q6 behaviour (fail closed with no binding) they are refused with authority-vocabulary-parallel, as intended. Four tests.
  • tests/nested_repo_prune/test_prune_and_register_note.py:47-48: pins the corpus note at 21/45/13; the carved corpus is 21/42/11 (the three OXWR negatives stay in openXwallet). One test.

The amendment

Row Before After
tests/multi_key_wallets/test_declared_key_sets.py moved_verbatim moved_with_declared_edit, lines 108-111 and 117-118, class "test split"
tests/nested_repo_prune/test_prune_and_register_note.py declared test-split lines plus lines 47-48

Each row's note carries the reason and the ruling's authority. Header counts: moved_verbatim 120 → 119, edited rows 8 → 9, declared edit lines 1,884 → 1,892. design.md D7 ("The edit classes are closed") and tasks.md 4.4 carry the dated amendment. Measured in the code leg with exactly these eight lines applied: 37 passed, 1 skipped; validator 0/0 with the corpus note 21 positive, 42 negative, 11/11.

Checks at this head

validate-carve-manifest.py OK (also with --at 90111df); tests/carve_manifest 78 passed; full pytest tests/ 184 passed, 1 skipped; pinned OpenSpec gate 6 passed; validator plain and --strict 0/0; syntax gate exit 0.

Refs #25

🤖 Generated with Claude Code

Summary by Sourcery

Amend the carve manifest and split documentation to account for eight additional declared test lines without changing the carve commit or file digests.

Enhancements:

  • Amend the carve manifest to declare eight additional test-split lines required by the ruled Q6 behavior and carved corpus.

Documentation:

  • Record the manifest amendment and updated corpus expectations in the split design and task documentation.

Tests:

  • Update the declared test split to cover the adjusted approval-posture behavior and the carved corpus counts.

…and the carved corpus require (Brett Heap: "Amend the manifest: 8 declared lines")

Brett Heap, operator authority, ruled in session on 2026-10-08 at
20:29:47Z, by multiple choice, label verbatim: "Amend the manifest: 8
declared lines (Recommended)" (#25, comment 6068473776). Under it,
docs/openwallet-carve-manifest.yaml declares eight more lines, all in
the existing "test split" class. No class is added, and the carve
commit stays 90111df.

- tests/multi_key_wallets/test_declared_key_sets.py changes from
  moved_verbatim to moved_with_declared_edit, declaring :108-111 and
  :117-118. Its `_grant` fixture carries two hermes-named posture keys,
  and the ruled Q6 behaviour refuses them when no vocabulary binding is
  declared, which a standalone run of the test never does. The fixture's
  posture leaves the code leg's copy.
- tests/nested_repo_prune/test_prune_and_register_note.py adds :47-48
  to its declared lines. The pinned corpus note changes from 21/45/13 to
  the standalone 21/42/11.

Measured on openWallet-code's commit B with those eight lines applied:
pytest gives 37 passed, 1 skipped (5 failed without them).

The header counts follow the checker:
- moved_verbatim, from 120 to 119;
- moved_with_declared_edit, from 8 to 9;
- declared edit lines, from 1884 to 1892.

design.md D7 ("The edit classes are closed") and tasks.md 4.4 carry the
dated amendment.

The checker reports OK with 9 edited rows and 1892 declared lines. Other
results on this branch:
- tests/carve_manifest: 78 passed;
- the full suite: 184 passed, 1 skipped;
- the pinned OpenSpec gate: 6 of 6;
- the validator, plain and --strict: 0/0;
- the syntax gate: 0.

Refs #25

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

Copy link
Copy Markdown
Contributor Author

@codex review

@sourcery-ai

sourcery-ai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 23 hours and 26 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

@sourcery-ai

sourcery-ai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR amends the carve manifest with eight declared test-split lines: six covering Q6 rejection behavior in the multi-key wallet fixture and two updating the carved corpus note counts. It preserves the existing carve commit, paths, and digests while synchronizing manifest counts and recording the ruling in the design and task documentation.

Flow diagram for the amended test split

flowchart LR
    A[Carve manifest amendment] --> B[Q6 fail-closed behavior]
    B --> C[Six declared lines in test_declared_key_sets.py]
    A --> D[Carved corpus excludes three OXWR negatives]
    D --> E[Two declared lines in test_prune_and_register_note.py]
    C --> F[37 passed, 1 skipped]
    E --> F
    A --> G[Carve commit, paths, and digests unchanged]
Loading

File-Level Changes

Change Details Files
Amend the carve manifest to declare eight additional test-split lines without changing the carve commit, paths, or digests.
  • Reclassify the multi-key wallet test as moved_with_declared_edit and declare lines 108-111 and 117-118 for Q6 fail-closed behavior.
  • Add lines 47-48 to the existing declared edits for the nested-repository prune/register test to reflect the carved corpus counts.
  • Update manifest header counts, edit-line totals, and amendment notes with the ruling authority and rationale.
docs/openwallet-carve-manifest.yaml
Record the manifest amendment in the split design and implementation task documentation.
  • Document the eight added test-split lines, their behavioral and corpus-count rationale, and the unchanged carve commit.
  • Record the measured code-leg result of 37 passed and 1 skipped.
openspec/changes/split-openwallet-neutral-core/design.md
openspec/changes/split-openwallet-neutral-core/tasks.md

Possibly linked issues


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

@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxwallet-2 (openXwallet-2) (lane openXwallet-2, 2026-10-08T20:39:10Z)

LANDING — lane openXwallet-2, session 7b8ff3df-688a-4d67-83d5-4c7cd179ed8b@Eagle, 2026-10-08T20:39:10Z, PR #32 into opensoft/openXwallet main

@brettheap
brettheap merged commit 64ca6ea into main Oct 8, 2026
8 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxwallet-2 (openXwallet-2) (lane openXwallet-2, 2026-10-08T20:39:44Z)

LANDED — lane openXwallet-2, session 7b8ff3df-688a-4d67-83d5-4c7cd179ed8b@Eagle, 2026-10-08T20:39:44Z, PR #32 into opensoft/openXwallet main → merge 64ca6ea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant