Pointers once a session; the code index knows what each test guards; a reviewing-tests skill #237

Merged
bvandeusen merged 6 commits from dev into main 2026-11-30 23:24:22 -05:00
Owner

Brings dev to main: milestone 642's last steps, and steps 2–4 of milestone 672 "A test earns its place".

Records reach work just in time (milestone 642)

  • #8241: a pointer line names each record at most once a session.
  • #8242: a snippet placed beside an edited file is counted once in record_deliveries, not twice.

A test earns its place (milestone 672)

  • #8246: every coverage refresh links each test to the code it exercises: through imports and module aliases, following test helpers, mocks excluded, language-neutral. Tests in different files that guard the same thing form groups.
    • The Pattern coverage card gets a "Tests guarding the same thing" panel: mark one test redundant (naming the test that covers it) or keep all, with a reason either way.
    • New verdicts redundant (with covered_by) and unused. MCP tools test_guard_groups and review_test_group.
  • #8247: a test case linked to what it guards is stamped test, and one linked to nothing stays in the todo.
    • Specs written as it() calls get one row per file.
    • The coverage line counts tests linked, guarding nothing found, and redundant.
    • The end-of-turn question no longer asks for test cases to be called one-offs.
  • #8248: the plugin ships a reviewing-tests skill.

Deploy notes:

  • Migration 0140 adds code_shape_guards, code_shape_guard_reviews, code_shapes.covered_by_id and code_shapes.test_signals.
  • Backup format is now v32.
  • Plugin version 2026.12.01.0344.

CI is green on dev at 70ca2e8 (run 11220).

🤖 Generated with Claude Code

Brings dev to main: milestone 642's last steps, and steps 2–4 of milestone 672 "A test earns its place". **Records reach work just in time (milestone 642)** - #8241: a pointer line names each record at most once a session. - #8242: a snippet placed beside an edited file is counted once in record_deliveries, not twice. **A test earns its place (milestone 672)** - **#8246:** every coverage refresh links each test to the code it exercises: through imports and module aliases, following test helpers, mocks excluded, language-neutral. Tests in different files that guard the same thing form groups. - The Pattern coverage card gets a "Tests guarding the same thing" panel: mark one test redundant (naming the test that covers it) or keep all, with a reason either way. - New verdicts `redundant` (with covered_by) and `unused`. MCP tools `test_guard_groups` and `review_test_group`. - **#8247:** a test case linked to what it guards is stamped `test`, and one linked to nothing stays in the todo. - Specs written as `it()` calls get one row per file. - The coverage line counts tests linked, guarding nothing found, and redundant. - The end-of-turn question no longer asks for test cases to be called one-offs. - **#8248:** the plugin ships a `reviewing-tests` skill. **Deploy notes:** - Migration 0140 adds code_shape_guards, code_shape_guard_reviews, code_shapes.covered_by_id and code_shapes.test_signals. - Backup format is now v32. - Plugin version 2026.12.01.0344. CI is green on dev at 70ca2e8 (run 11220). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
bvandeusen added 6 commits 2026-11-30 23:24:19 -05:00
fix(8241,8242): a pointer line names a record once a session, and a place delivery is booked once
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / Python tests (push) Successful in 2m5s
CI & Build / integration (push) Successful in 1m57s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Build & push image (push) Successful in 20s
9f6f04e898
The plugin ledger of what a session has seen holds only records given a line,
so a record named by id came back on every edit and message (one handoff note
35 times in a session). Every pointer line now goes through _point, which asks
the server delivery ledger what this session was already shown or pointed at
and leaves those out. Snippets beside an edited file were booked both pushed
(via record_surfaced) and pointed; record_surfaced now leaves write_path_place
to its door.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
test(8241): the pointer test reuses the auto-inject menu harness instead of copying it
CI & Build / TypeScript typecheck (push) Successful in 36s
CI & Build / Plugin hooks (push) Successful in 20s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m28s
CI & Build / integration (push) Successful in 2m16s
CI & Build / Build & push image (push) Successful in 20s
134dd68274
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(8246): the code index links each test to what it guards, and can say redundant or unused
CI & Build / Plugin hooks (push) Successful in 20s
CI & Build / Python lint (push) Successful in 3s
CI & Build / TypeScript typecheck (push) Successful in 41s
CI & Build / Python tests (push) Failing after 2m8s
CI & Build / integration (push) Successful in 2m24s
CI & Build / Build & push image (push) Skipped
865465ce8f
Every coverage refresh now reads, for each test in a bound repo, which product
shapes its body exercises: through module aliases and imports, following test
helpers, with mocked names left out and shapes most test files reach dropped as
hubs. Tests in different files that guard exactly the same set form a group.
The project page lists the groups and a person can mark one test redundant,
naming the test that covers it, or keep them all with a reason. Agents get
test_guard_groups and review_test_group, and classify_shapes takes the two new
removal verdicts, redundant (with covered_by) and unused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(8246): a test's weak signals stay out of the backup, as declared
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 16s
CI & Build / TypeScript typecheck (push) Successful in 36s
CI & Build / Python tests (push) Successful in 2m24s
CI & Build / integration (push) Successful in 2m17s
CI & Build / Build & push image (push) Successful in 34s
ebd9d8fbb8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(8247): a test case is accounted for by what it guards, and the coverage line counts the suite by it
CI & Build / TypeScript typecheck (push) Successful in 37s
CI & Build / Plugin hooks (push) Successful in 17s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m24s
CI & Build / integration (push) Successful in 2m22s
CI & Build / Build & push image (push) Successful in 43s
dc9e88aa6d
A refresh now stamps a test case `test` when it is linked to something it
guards, and withdraws the stamp when its links go; a judgment always wins. A
test case linked to nothing stays in the todo, because nothing says what it is
for. Specs written as it()/test() calls get one ledger row per file, read
whole. The coverage line and card count tests linked, guarding nothing found,
and redundant, and the end-of-turn question no longer asks the writer to call
a test case a one-off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(8248): the plugin ships a reviewing-tests skill: one verdict per test, deliberate breaks, every removal listed
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 36s
CI & Build / Python tests (push) Successful in 2m15s
CI & Build / integration (push) Successful in 2m11s
CI & Build / Build & push image (push) Successful in 23s
70ca2e8a11
The skill is the subtraction pass a suite never gets. It reviews against the
project's own test standard when one is recorded, takes before numbers from a
real run, works area by area with keep / merge / rewrite / move / remove,
records removals in the ledger (redundant with covered_by, unused) and kept
groups with review_test_group, breaks three to five protected behaviours per
area to prove the survivors fail, and lands each area as its own change.
It reaches work.verify. Plugin 2026.12.01.0344.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bvandeusen merged commit 9e6d6c4d67 into main 2026-11-30 23:24:22 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/FabledGrimoire#237