Files
FabledGrimoire/tests
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
..