conversation-session-hook-trust-worktree.json 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-hook-trust-worktree",
  4. "spec": "./test/e2e/conversation-session/hooks/conversation-session-hook-trust-worktree.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "hook-trust-worktree-reply",
  8. "description": "HK20 source and worktree turns: the soft gate skips the pending SessionStart hook without blocking the reply.",
  9. "metadata": {
  10. "kind": "main",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "The turns only create the source and worktree sessions; trust state is asserted from Settings and the trust store."
  14. },
  15. "match": {
  16. "method": "POST",
  17. "pathIncludes": "/messages",
  18. "bodyIncludes": ["E2E_HOOK_TRUST_WORKTREE"],
  19. "bodyExcludes": ["Generate a concise title"]
  20. },
  21. "response": {
  22. "statusCode": 200,
  23. "text": {
  24. "id": "upstream-e2e-hook-trust-worktree",
  25. "inputTokens": 60,
  26. "outputTokens": 6,
  27. "text": "ok"
  28. }
  29. }
  30. }
  31. ]
  32. }