Commit Graph
1909 Commits
Author SHA1 Message Date
bvandeusenandClaude Opus 5.5 a3c4cc5921 fix(7716): the reply shape rides after the top two rule lines, so a compaction cannot push it out
CI & Build / Python lint (push) Successful in 1s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 2m28s
CI & Build / integration (push) Successful in 2m23s
CI & Build / Build & push image (push) Successful in 25s
A compaction sweeps the rule ledger as well as the shape ledger. On the
next prompt every rule the prompt arm reaches and every rule mounted on
reply.report comes back as a first mention with its statement (about 750
characters each), and the route placed all of them ahead of the shape. Six
fill the 4,500-character default budget, so the 2,343-character core was
left out on exactly the turn it is meant to return in full. Seen in a real
session: after 9 of 10 compactions the first prompt payload carried no
reply shape at all.

The prompt payload is now ordered as milestone 639 designed it: the first
two rule lines, the reply shape, the remaining rule lines, the reply's
lessons, the carried note, the records menu. Rules that do not fit stay off
the ledger and arrive on a later call.

The lesson-placement test now pins the lesson after the shape (a lesson
binds nothing; the shape is what the reply is written to). New test: six
full-length rule lines and the real core at the default budget; the shape
is kept and the later rules wait.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 10:03:46 -05:00
bvandeusenandClaude Opus 5.5 3ad7d93386 test: the claims hook runner skips through need_tools rather than its own which-loop
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 2m19s
CI & Build / Build & push image (push) Canceled after 0s
CI & Build / integration (push) Canceled after 2m21s
_run_hook in test_task_claims.py repeated the shutil.which -> pytest.skip
guard that tests.helpers.need_tools exists to hold once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 10:01:12 -05:00
bvandeusen fd1974bc91 Revert the deliberate break: plan refused, kind filter None, empty judged block, sync ledger read
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Build & push image (push) Successful in 18s
CI & Build / Python tests (push) Successful in 2m20s
CI & Build / integration (push) Successful in 2m24s
2026-12-01 20:03:00 -05:00
bvandeusen 5e4fc3dccf test(8249): DELIBERATE BREAK, plan minted, kind filter sent as "", empty judged block, sync ledger ignored
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 15s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Python tests (push) Failing after 2m4s
CI & Build / integration (push) Failing after 2m44s
CI & Build / Build & push image (push) Skipped
2026-12-01 19:58:03 -05:00
bvandeusenandClaude Opus 5.5 4caa7bae4b test(8249): the write-path sync-once check kept once, in the hook's own file
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 2m22s
CI & Build / integration (push) Successful in 2m50s
CI & Build / Build & push image (push) Successful in 17s
test_ledger_references_not_silence::test_the_sync_class_still_shows_only_once
checked a subset of test_write_path_trigger::test_sync_dedup_silences_a_sync_nudge_already_shown
(sync_note_ids empty, the id absent from the context); the covering test also
checks the semantic arm excludes it. Its reasoning (why the sync nudge is the
one class shown only once) moves into the covering test's docstring. The
helper's now-unused sync_exclude parameter goes with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 19:53:03 -05:00
bvandeusenandClaude Opus 5.5 094089e374 test(8249): area groups, first pass: one file folded in, three readout checks merged, two copies removed
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Python tests (push) Successful in 2m23s
CI & Build / integration (push) Successful in 2m25s
CI & Build / Build & push image (push) Successful in 19s
- test_mcp_tool_tasks_kind.py is folded into test_mcp_tool_tasks.py, the
  tool's own file: the two "kind passes through" cases are one table, the two
  list-filter cases one table; the minted_kind refusals move to the service's
  kind tests (test_services_notes_task_kind.py).
- A fresh install reads as empty, not failed: three database tests each ran
  retrieval_summary on an empty install and checked one block
  (usage, judged, system_usage). One test now checks all three.
- test_reply_shapes::test_the_tool_is_registered_as_a_read: everything it
  checked, test_moments::test_the_tools_are_registered_and_classified checks.
- test_shape_ledger::test_classify_and_list_are_mounted_as_mcp_tools: every
  classified tool name must be a registered tool
  (test_mcp_auth::test_every_registered_tool_is_classified_exactly_once).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 19:45:38 -05:00
bvandeusenandClaude Opus 5.5 1d3d72d2d4 Revert the deliberate break: client turns skipped, one shared rule ledger, route reads shapes_seen
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 18s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 2m20s
CI & Build / integration (push) Successful in 2m23s
CI & Build / Build & push image (push) Successful in 19s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:44:33 -05:00
bvandeusenandClaude Opus 5.5 1c6c874257 test(8249): DELIBERATE BREAK, client turns retrieved, tool arm keeps its own rule ledger, route reads shape_seen
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Failing after 14s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Failing after 2m4s
CI & Build / Build & push image (push) Canceled after 0s
CI & Build / integration (push) Canceled after 2m43s
Reverted by the next commit. CI must go red on
test_the_hook_spends_no_request_on_a_client_written_turn[client-written],
test_the_two_pre_tool_arms_share_one_session_rule_ledger and
test_the_route_reads_the_shape_ledger_the_hook_sends_and_returns_its_keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:41:39 -05:00
bvandeusenandClaude Opus 5.5 ea30e0bd75 test(8249): prompt filter, shared rule ledger and reply-shape guards run the hooks
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m19s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / integration (push) Successful in 2m33s
CI & Build / Build & push image (push) Successful in 18s
- test_prompt_boundary_filter: the prompt hook runs on a client-written turn
  and sends nothing, and on a typed one and asks; was "the filter call sits
  above the curl line" in the source.
- test_rule_usage_wiring: the write arm runs and is told it named rule 33,
  then the tool arm in the same session must send 33 as already named; was
  three string searches of each script for the ledger's path.
- test_reply_shape_turn: the hook half of the shape-ledger contract is the
  runtime test already there; the remaining test checks the route half from
  the route's AST.
- test_contract_around_the_change: its write-gate guard was a copy of
  test_hook_never_returns_a_permission_decision, which now checks the same
  two things.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:37:24 -05:00
bvandeusenandClaude Opus 5.5 0681534257 test(8249): a Grimoire tool sends no ask at all, not even for the tool list
The hook leaves a Grimoire tool before it reads the cached tool list, so the
right check is that no /moment ask is made; the test expected the list fetch.
Caught by CI on the reviewed tree (run 11237).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:37:16 -05:00
bvandeusenandClaude Opus 5.5 af30f46bee Revert the deliberate break: Grimoire tools left alone, shapes_seen named, checkpoint capped
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Failing after 1m58s
CI & Build / integration (push) Successful in 2m36s
CI & Build / Build & push image (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:32:53 -05:00
bvandeusenandClaude Opus 5.5 84847cea0e test(8249): DELIBERATE BREAK, Grimoire tools asked about, shapes_seen renamed, checkpoint uncapped
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Failing after 15s
CI & Build / Python tests (push) Failing after 2m0s
CI & Build / integration (push) Successful in 2m30s
CI & Build / Build & push image (push) Skipped
Reverted by the next commit. CI must go red on
test_grimoires_own_tools_are_left_to_their_responses,
test_the_route_reads_every_name_the_hook_sends and
test_a_checkpoint_holds_a_rule_once_and_books_it_as_surfaced_either_way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:29:56 -05:00
bvandeusenandClaude Opus 5.5 e92f129d4f test(8249): moment and checkpoint hook guards run the hooks
- test_moment_delivery: the route/hook name check runs the hook with the
  rule, opened and shape ledgers filled and checks every key it sends is read
  by the route; "leaves Grimoire's own tools alone" runs it with a listed
  Grimoire tool and sees no ask.
- test_gate_stop_hooks: the action hook run twice on one checkpoint rule
  holds once, and books the rule on the session ledger after the stop. This
  replaces two line-window checks in test_pre_act_checkpoint.
- The write hook never stopping a write: the two string guards (one per test
  file) are one, which now also forbids the shared deny helper, the call the
  old permissionDecision check could not see.
- route_query_args (tests/helpers.py) reads the query keys a route takes from
  its AST, shared by both route/hook contract tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:29:56 -05:00
bvandeusenandClaude Opus 5.5 4321b05387 test(8249): the route/hook argument run fills the sync channel too, so a renamed sync key is caught there
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Build & push image (push) Canceled after 0s
CI & Build / Python tests (push) Canceled after 2m14s
CI & Build / integration (push) Canceled after 2m6s
Deliberate break 3 renamed exclude_sync_ids in the hook; the channel test
caught it, the argument contract test did not, because its run had no sync
ids to send.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:27:39 -05:00
bvandeusenandClaude Opus 5.5 7da203d6a4 Revert the deliberate break: /clear keeps claims, session start sends session_id, sync ids keep their name
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:27:39 -05:00
bvandeusenandClaude Opus 5.5 0b12d812ea test(8249): DELIBERATE BREAK, /clear releases claims, session start drops session_id, sync ids renamed
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Failing after 13s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Failing after 1m56s
CI & Build / integration (push) Successful in 2m31s
CI & Build / Build & push image (push) Skipped
Reverted by the next commit. CI must go red on
test_session_end_releases_claims_but_not_on_clear[clear-False],
test_the_session_start_hook_sends_the_source_and_the_session and
test_each_class_of_hint_is_sent_back_on_its_own_channel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:24:27 -05:00
bvandeusenandClaude Opus 5.5 8fccaa0f3c test(8249): hook contract tests run the hooks instead of searching their source
- test_write_path_trigger:
  - the sync, reuse and rule dedup channels: two string searches become one
    run of the hook twice in a session, checking each class of id comes back
    on its own parameter;
  - "stays a GET": one request to the prior-art route, with no body;
  - the route/hook argument contract: the hook runs with every ledger it
    keeps already holding something, and every key it sends must be read by
    the route (read from the route's AST);
  - the "names the shapes" string search goes: two runtime tests already check
    the Write and the Edit cases.
- test_rule_moment_signal_hooks: the body the route must read is the body the
  hook actually sent.
- test_task_claims: session start is run and must send source and session_id;
  session end is run and releases on logout but not on /clear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:24:22 -05:00
bvandeusenandClaude Opus 5.5 85b29d642f test(8249): the payload-shape test expects the code as the shell sends it, without a trailing newline
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 2m13s
CI & Build / integration (push) Successful in 2m16s
CI & Build / Build & push image (push) Successful in 24s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 07:12:42 -05:00
bvandeusenandClaude Opus 5.5 3f1e9588ab Revert the deliberate break: notes skipped again, new_str read again, no platform read without the caller
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 07:12:42 -05:00
bvandeusenandClaude Opus 5.5 adc460b5ba test(8249): DELIBERATE BREAK, notes no longer skipped, new_str not read, a platform read without the caller
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Failing after 13s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Failing after 1m53s
CI & Build / Build & push image (push) Canceled after 0s
CI & Build / integration (push) Canceled after 2m23s
Reverted by the next commit. CI must go red on
test_hook_asks_about_code_and_never_about_prose_or_data[README.md],
test_hook_reads_every_write_and_edit_payload_shape[Edit-new_str] and
test_every_public_service_takes_the_caller[platforms].

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 07:10:02 -05:00
bvandeusenandClaude Opus 5.5 881e0fd75f fix(test-guards): an expected error is an outcome check, so a refusal test is not mock-only
A refusal test raises, then checks nothing was written with
assert_not_called. The mock-only signal counted only plain asserts as outcome
checks, so 28 of the 44 tests it flagged in Grimoire's own suite were refusals.
pytest.raises and assertRaises now count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 07:10:02 -05:00
bvandeusenandClaude Opus 5.5 2a4d73176e test(8249): signature and source-text batch, the hook tests run the hook
- The caller-scoping property now covers services/family, family_adoption and
  platforms, with the seven reads that need no caller named and why. The
  hand-written platform list goes.
- The snippet location keys: one test checks every door (service, MCP tool,
  web route) takes them; the route-only copy goes.
- The write-path hook: the payload-shape and skip-list tests searched the
  shell script for strings. They now run the hook against a local listener and
  check what it sends: the code from each of the four payload field names, and
  nothing for a note, JSON or SVG while a YAML file and a .py are still asked about.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 07:10:02 -05:00
bvandeusenandClaude Opus 5.5 bd69c8d096 Revert the deliberate break: the systems service and the trash list route are back
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 07:10:02 -05:00
bvandeusenandClaude Opus 5.5 496d047d69 test(8249): DELIBERATE BREAK, a service without the caller and the trash list route removed
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Failing after 1m46s
CI & Build / integration (push) Successful in 2m24s
CI & Build / Build & push image (push) Skipped
Reverted by the next commit. CI must go red on
test_service_user_id_contract[systems] and test_routes_trash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 07:06:32 -05:00
bvandeusenandClaude Opus 5.5 5d764ecf2f test(8249): the caller-scoping contract is a property of the services, not four lists of names
Review of the signature-flagged tests:
- Four route files each listed service names by hand and checked each takes
  user_id. A new service without the caller passed them, and a renamed one
  failed them. They become one test over services/{design_systems,systems,
  rulebooks,snippets}.py: every public coroutine takes user_id, except eight
  named with the reason each needs none, and an exception for a function that
  is gone or now takes the caller fails too.
- test_routes_trash was four existence checks: blueprint name, registered,
  handlers callable, the service surface, delete's parameter names. It
  becomes one check that the three trash routes are on the app; what they do
  is proven by test_services_trash and test_mcp_tool_trash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 07:06:32 -05:00
bvandeusenandClaude Opus 5.5 f4f036c8a7 fix(8249): a redundant verdict can name a cover the sync has not read yet
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Python tests (push) Successful in 2m7s
CI & Build / integration (push) Successful in 2m41s
CI & Build / Build & push image (push) Successful in 25s
A test is usually rewritten in the same change that removes the one it
replaces, so the cover is new to the ledger when the verdict is recorded,
and the next refresh retires the removed test. classify_shapes refused such
a cover as matching no live shape. With a bound `repo` the cover now
resolves the way the judged shape already does, as a provisional row the
next sync adopts; without one it is refused as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 02:58:35 -05:00
bvandeusenandClaude Opus 5.5 251f5cb286 Revert the deliberate break: the kind filter and the planning route are back
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / Python tests (push) Successful in 2m6s
CI & Build / Python lint (push) Successful in 2s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / integration (push) Successful in 2m28s
CI & Build / Build & push image (push) Successful in 18s
The break (a16a0ef) went red exactly where it should, in CI run 11227:
- test_routes_planning::test_starting_a_plan_is_routed_on_the_app;
- test_integration_task_kind_list [issue] and [work]; the all-kinds case
  stayed green, as it must.
Nothing else failed (unit 1 failed / 3771 passed, database 2 failed / 478
passed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 02:57:34 -05:00
bvandeusenandClaude Opus 5.5 a16a0ef3cd test(8249): DELIBERATE BREAK, the kind filter and the planning route removed to watch their tests fail
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 15s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Failing after 1m47s
CI & Build / integration (push) Failing after 2m44s
CI & Build / Build & push image (push) Skipped
Reverted by the next commit. CI must go red on test_integration_task_kind_list
(issue and work rows) and test_routes_planning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 02:51:13 -05:00
bvandeusenandClaude Opus 5.5 fc1e30588e test(8249): task kinds are proven by a listing, not by a signature
Review of the small test groups. Four tests pinned an argument list or a
function existing where the behaviour was untested or tested elsewhere:
- test_routes_planning: the signature check and the callable check become
  one check that POST /api/tasks/planning is routed on the app.
- test_routes_tasks_kind: both signature checks go; create_note and
  list_notes are called with task_kind by tests that would fail without it,
  and the blueprint check is covered by the planning route check.
- test_list_notes_filters_by_task_kind asserted only that the call did not
  raise. It is replaced by a database test that lists issues, work and all
  kinds and checks the rows and the count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 02:51:13 -05:00
bvandeusenandClaude Opus 5.5 7c7a1a7ab9 fix(8249): test groups come smallest first, and a big one is read as a feature area
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 2m14s
CI & Build / integration (push) Successful in 2m28s
CI & Build / Build & push image (push) Successful in 35s
A group is the set of tests reaching the same code from different files. A
test that drives a feature through its one entry point reaches exactly that
entry point whatever it checks, so the largest groups are a feature tested
from many files, not copies. Listing them first buried the two- and
three-test groups where one-for-one duplicates are. The readout, the tool and
the panel now list smallest first; each group says copies or area and how
many files it spans, and the panel tells an area to fold its scattered cases
into one file. Plugin 2026.12.01.0748.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 02:49:06 -05:00
bvandeusenandClaude Opus 5.5 70ca2e8a11 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
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>
2026-11-30 22:44:18 -05:00
bvandeusenandClaude Opus 5.5 dc9e88aa6d 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
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>
2026-11-30 21:57:57 -05:00
bvandeusenandClaude Opus 5.5 ebd9d8fbb8 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
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 21:26:04 -05:00
bvandeusenandClaude Opus 5.5 865465ce8f 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
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>
2026-11-30 21:17:48 -05:00
bvandeusenandClaude Opus 5.5 134dd68274 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
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 15:40:44 -05:00
bvandeusenandClaude Opus 5.5 9f6f04e898 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
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>
2026-11-30 15:33:13 -05:00
bvandeusenandClaude Opus 5.5 ddbfbabcd2 refactor(8211): the MCP instructions carry only what no response or skill delivers
CI & Build / Python lint (push) Successful in 1s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / Python tests (push) Successful in 2m16s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / integration (push) Successful in 1m58s
CI & Build / Build & push image (push) Successful in 21s
569 characters, from 1,600: what Grimoire is, enter_project first, ask
what_might_apply before a consequential act, search before building, the force
of each record kind, and that responses say what to do next. The rest is
enforced in responses or stated in a skill. The budget drops to 800, and the
guidance registry stops requiring index words for the topics that left.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:15:07 -05:00
bvandeusenandClaude Opus 5.5 ff47a2b08b fix(8205,8206): the new test helper no longer shadows _system, and using-grimoire fits its 350 lines
CI & Build / Plugin hooks (push) Successful in 15s
CI & Build / Python lint (push) Successful in 2s
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Python tests (push) Successful in 2m9s
CI & Build / integration (push) Successful in 2m11s
CI & Build / Build & push image (push) Successful in 31s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:55:37 -05:00
bvandeusenandClaude Opus 5.5 9e3767f375 docs(8206): a ruling says what a constraint is for and not for, and the comment names it
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Plugin hooks (push) Successful in 18s
CI & Build / Python lint (push) Successful in 7s
CI & Build / Python tests (push) Failing after 1m58s
CI & Build / Build & push image (push) Canceled after 0s
CI & Build / integration (push) Canceled after 2m9s
writing-records: the for/not-for form, naming a System's files so its
rulings reach an edit, and the comment at a constraint naming its ruling.
using-grimoire: read the area's rulings before changing a filter, gate or
default, and take a change that would undo one to the operator. The project
filter in embeddings now names its ruling, and the docstring that stretched
its reason to every kind is corrected. Plugin version minted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:50:11 -05:00
bvandeusenandClaude Opus 5.5 3e87df6c84 feat(8205): a System with rulings and no file patterns is flagged
CI & Build / TypeScript typecheck (push) Canceled after 0s
CI & Build / Plugin hooks (push) Canceled after 0s
CI & Build / Python lint (push) Canceled after 0s
CI & Build / Python tests (push) Canceled after 0s
CI & Build / integration (push) Canceled after 0s
CI & Build / Build & push image (push) Canceled after 0s
Its rulings reach no session: delivery is by path_patterns alone. enter_project
carries rulings_undelivered (absent when none) with the fix call, the Systems
list reads ruling_count, and the System card says so with a button to name
its files. A System without rulings is not flagged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:49:24 -05:00
bvandeusenandClaude Opus 5.5 98a959de4f test(8191): the route list names the reach endpoint
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 2m11s
CI & Build / integration (push) Successful in 2m8s
CI & Build / Build & push image (push) Successful in 37s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:25:01 -05:00
bvandeusenandClaude Opus 5.5 30aa5cf1c6 feat(8191): knowledge reaches a session from every project, ranked below its own and labelled
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Plugin hooks (push) Successful in 17s
CI & Build / Python lint (push) Successful in 3s
CI & Build / Python tests (push) Failing after 2m0s
CI & Build / Build & push image (push) Canceled after 0s
CI & Build / integration (push) Canceled after 2m7s
A per-kind reach beside the kind-by-moment table (setting record_reach,
default snippet/note/process/lesson) widens the passive note arms and their
slots to the user's other projects. A record from elsewhere gives up 0.05
before the floor and the ranking, and its line names the project. Work kinds
stay in their project, the visibility clause is unchanged, and an explicit
project search still means that project. Settings > Moments edits the reach.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:20:31 -05:00
bvandeusenandClaude Opus 5.5 163d32859f fix(8192): a gated arm's declines include the calls its cue gate withheld
CI & Build / TypeScript typecheck (push) Successful in 37s
CI & Build / Plugin hooks (push) Successful in 15s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m10s
CI & Build / integration (push) Successful in 2m15s
CI & Build / Build & push image (push) Successful in 21s
#8192 "The cannot_decline warning reads the result count from before the cue
gate, so a gated arm can never show a decline", step 3 of milestone 669.

auto_inject logs its ranked results before the cue gate decides, so a call
the gate silenced still reads as a hit, and cannot_decline fired on an arm
whose gate withholds most calls (since 11-23, gate_kept = 0 on 55 of 69,
40 of 44 and 71 of 84 calls a day, with result_count never 0).

The readout gains a `gate` block per source (gated_calls, declined_by_gate),
null where no row carried a gate decision, and cannot_decline counts
zero_result_calls plus declined_by_gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:15:53 -05:00
bvandeusenandClaude Opus 5.5 deb991b2cc test(8190): read attstorage as text; asyncpg returns the one-byte "char" type as bytes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:15:53 -05:00
bvandeusenandClaude Opus 5.5 efba891f5e perf(8190): the exact search reads vectors from the row and text only for the winners
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Python tests (push) Successful in 2m7s
CI & Build / integration (push) Failing after 2m15s
CI & Build / Build & push image (push) Skipped
Step 1 of milestone 669 "Knowledge reaches every project, work stays in its
own: a fast exact search, cross-project recall ranked and labelled", for
#6834 "auto_inject p90 latency has climbed since 10-23".

A search with no project in scope took about 1 s, because it ranked about
26k chunks exactly. Two costs on that path, neither of which changes a result:

- pgvector's vector type defaults to EXTERNAL storage, and a chunk row
  (about 1.5 KB of vector plus its text) is over the 2 KB toast threshold,
  so every vector sat in TOAST and each distance paid a lookup (151k buffer
  hits for 26k rows). Migration 0139 sets STORAGE MAIN on the four
  embedding tables and rewrites the existing rows once.
- The materialized scope carried every chunk's text beside its distance and
  spilled the sort to disk. It now carries the id, chunk index and distance,
  and the text is joined back for the rows that survive the cut.

Measured on the live corpus: 1,151 ms as before, 393 ms with the text out of
the scope, before the storage change.

The HNSW index stays out of the ranking. With pgvector 0.8's iterative
scan it returned 7 to 60 of the true 144 nearest chunks under a narrow
scope, at every setting tried.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:10:00 -05:00
bvandeusenandClaude Opus 5.5 6cb61cdf84 licence(7023): the Claude Code plugin is MIT; the server stays AGPL-3.0-only
CI & Build / Plugin hooks (push) Successful in 15s
CI & Build / TypeScript typecheck (push) Successful in 35s
CI & Build / Python tests (push) Successful in 2m20s
CI & Build / Python lint (push) Successful in 2s
CI & Build / integration (push) Successful in 2m15s
CI & Build / Build & push image (push) Successful in 21s
The operator settled the split on 2026-11-09. The server is AGPL-3.0-only.
The plugin is a client adapter that people install into their own tooling,
so it is MIT. plugin/ now carries its own LICENSE, the manifest declares
MIT, and the README's Licence section names both. Plugin version minted
2026.11.28.1705.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:05:12 -05:00
bvandeusenandClaude Opus 5.5 1e5f95bce2 test(8141): the rewrite test counts reply requests, not the gate report beside them
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Python tests (push) Successful in 2m13s
CI & Build / integration (push) Successful in 2m29s
CI & Build / Build & push image (push) Successful in 32s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:37:42 -05:00
bvandeusenandClaude Opus 5.5 82ffd9a235 feat(8141): a rule holding the finished reply is recorded as a gate stop too
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Python tests (push) Failing after 1m49s
CI & Build / integration (push) Successful in 2m4s
CI & Build / Build & push image (push) Skipped
The end-of-turn reply hold was the one gate the gate_stops table left out.
The server applies the per-session cap before anything holds and the Stop
hook blocks on every reason it is given, so the hook reports each held rule
after blocking, as the tool-call gates do: gate `reply`, tool `reply`, and
where the rule was reached (`rule_at`, new beside `rule_ids` in the
/reply-rules answer: the moment it is mounted on, or `reply_rule` for the
backstop). A section hold names no rule and stays counted by report_check.
Opening the rule clears the stop, and rule_misfired marks it, unchanged.

The readout, the telemetry docstring and the Settings panel name the new gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:32:46 -05:00
bvandeusenandClaude Opus 5.5 9b781d57de test(8141): the gate-stops readout is one of the retrieval endpoints
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 15s
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Python tests (push) Successful in 2m14s
CI & Build / integration (push) Successful in 2m18s
CI & Build / Build & push image (push) Successful in 44s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:18:49 -05:00
bvandeusenandClaude Opus 5.5 4ed9cd7d41 chore(plugin): mint the version for the gate-stop hooks
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Plugin hooks (push) Successful in 15s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Failing after 1m50s
CI & Build / integration (push) Successful in 2m17s
CI & Build / Build & push image (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:12:19 -05:00