Commit Graph
2 Commits
Author SHA1 Message Date
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 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