pluribus-context 0.3.21 → 0.3.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/CHANGELOG.md +31 -3
  2. package/README.md +2 -2
  3. package/docs/community-review-packet.md +4 -2
  4. package/docs/context-budget-receipts.md +150 -0
  5. package/docs/context-input-evidence.md +397 -0
  6. package/docs/context-receipts-for-agent-observability.md +177 -0
  7. package/docs/orchestration-search-receipts.md +102 -0
  8. package/docs/portability-fidelity-report.md +10 -6
  9. package/examples/context-input-evidence/AGENTS.md +12 -0
  10. package/examples/context-input-evidence/agent-overlay-log.jsonl +4 -0
  11. package/examples/context-input-evidence/agent-overlay-otel-trace.json +548 -0
  12. package/examples/context-input-evidence/agent-overlay-receipt.ndjson +3 -0
  13. package/examples/context-input-evidence/agentgateway-progressive-disclosure-otel-trace.json +393 -0
  14. package/examples/context-input-evidence/agentgateway-progressive-disclosure-receipt.ndjson +4 -0
  15. package/examples/context-input-evidence/brain-remediation-otel-trace.json +645 -0
  16. package/examples/context-input-evidence/brain-remediation-receipt.ndjson +7 -0
  17. package/examples/context-input-evidence/claudekit-mcp-manager-otel-trace.json +417 -0
  18. package/examples/context-input-evidence/claudekit-mcp-manager-receipt.ndjson +5 -0
  19. package/examples/context-input-evidence/cli-progressive-disclosure-otel-trace.json +399 -0
  20. package/examples/context-input-evidence/cli-progressive-disclosure-receipt.ndjson +4 -0
  21. package/examples/context-input-evidence/compaction-otel-trace.json +711 -0
  22. package/examples/context-input-evidence/compaction-receipt.ndjson +6 -0
  23. package/examples/context-input-evidence/context-selection-otel-trace.json +627 -0
  24. package/examples/context-input-evidence/context-selection-receipt.ndjson +7 -0
  25. package/examples/context-input-evidence/convert-agent-overlay-log.mjs +156 -0
  26. package/examples/context-input-evidence/convert-agentgateway-progressive-disclosure-log.mjs +251 -0
  27. package/examples/context-input-evidence/convert-brain-remediation-log.mjs +241 -0
  28. package/examples/context-input-evidence/convert-claudekit-mcp-manager-log.mjs +253 -0
  29. package/examples/context-input-evidence/convert-cli-progressive-disclosure-log.mjs +251 -0
  30. package/examples/context-input-evidence/convert-compaction-log.mjs +224 -0
  31. package/examples/context-input-evidence/convert-context-selection-log.mjs +247 -0
  32. package/examples/context-input-evidence/convert-mcp-tool-search-log.mjs +242 -0
  33. package/examples/context-input-evidence/convert-memory-consolidation-log.mjs +240 -0
  34. package/examples/context-input-evidence/convert-memory-governance-delete-log.mjs +223 -0
  35. package/examples/context-input-evidence/convert-memory-log.mjs +226 -0
  36. package/examples/context-input-evidence/convert-memory-provenance-log.mjs +263 -0
  37. package/examples/context-input-evidence/convert-secret-scanning-log.mjs +233 -0
  38. package/examples/context-input-evidence/convert-session-log.mjs +186 -0
  39. package/examples/context-input-evidence/convert-skill-log.mjs +161 -0
  40. package/examples/context-input-evidence/convert-skill-registry-log.mjs +246 -0
  41. package/examples/context-input-evidence/convert-skill-routing-log.mjs +253 -0
  42. package/examples/context-input-evidence/convert-subagent-context-budget-log.mjs +267 -0
  43. package/examples/context-input-evidence/convert-subagent-delegation-log.mjs +264 -0
  44. package/examples/context-input-evidence/export-otel-trace.mjs +128 -0
  45. package/examples/context-input-evidence/generate-receipt.mjs +188 -0
  46. package/examples/context-input-evidence/mcp-tool-search-otel-trace.json +477 -0
  47. package/examples/context-input-evidence/mcp-tool-search-receipt.ndjson +5 -0
  48. package/examples/context-input-evidence/memory-consolidation-otel-trace.json +492 -0
  49. package/examples/context-input-evidence/memory-consolidation-receipt.ndjson +4 -0
  50. package/examples/context-input-evidence/memory-governance-delete-otel-trace.json +614 -0
  51. package/examples/context-input-evidence/memory-governance-delete-receipt.ndjson +5 -0
  52. package/examples/context-input-evidence/memory-otel-trace.json +645 -0
  53. package/examples/context-input-evidence/memory-provenance-otel-trace.json +711 -0
  54. package/examples/context-input-evidence/memory-provenance-receipt.ndjson +5 -0
  55. package/examples/context-input-evidence/memory-receipt.ndjson +4 -0
  56. package/examples/context-input-evidence/otel-trace.json +1119 -0
  57. package/examples/context-input-evidence/receipt.ndjson +6 -0
  58. package/examples/context-input-evidence/sample-agentgateway-progressive-disclosure-log.jsonl +5 -0
  59. package/examples/context-input-evidence/sample-brain-remediation-log.jsonl +9 -0
  60. package/examples/context-input-evidence/sample-claudekit-mcp-manager-log.jsonl +6 -0
  61. package/examples/context-input-evidence/sample-cli-progressive-disclosure-log.jsonl +5 -0
  62. package/examples/context-input-evidence/sample-compaction-log.jsonl +7 -0
  63. package/examples/context-input-evidence/sample-context-selection-log.jsonl +7 -0
  64. package/examples/context-input-evidence/sample-mcp-tool-search-log.jsonl +6 -0
  65. package/examples/context-input-evidence/sample-memory-consolidation-log.jsonl +5 -0
  66. package/examples/context-input-evidence/sample-memory-governance-delete-log.jsonl +6 -0
  67. package/examples/context-input-evidence/sample-memory-provenance-log.jsonl +6 -0
  68. package/examples/context-input-evidence/sample-memory-retrieval-log.jsonl +6 -0
  69. package/examples/context-input-evidence/sample-secret-scanning-log.jsonl +7 -0
  70. package/examples/context-input-evidence/sample-session-log.jsonl +6 -0
  71. package/examples/context-input-evidence/sample-skill-registry-log.jsonl +5 -0
  72. package/examples/context-input-evidence/sample-skill-routing-log.jsonl +7 -0
  73. package/examples/context-input-evidence/sample-subagent-context-budget-log.jsonl +6 -0
  74. package/examples/context-input-evidence/sample-subagent-delegation-log.jsonl +5 -0
  75. package/examples/context-input-evidence/secret-scanning-otel-trace.json +794 -0
  76. package/examples/context-input-evidence/secret-scanning-receipt.ndjson +6 -0
  77. package/examples/context-input-evidence/session-otel-trace.json +411 -0
  78. package/examples/context-input-evidence/session-receipt.ndjson +2 -0
  79. package/examples/context-input-evidence/skill-invocation-log.jsonl +4 -0
  80. package/examples/context-input-evidence/skill-otel-trace.json +548 -0
  81. package/examples/context-input-evidence/skill-receipt.ndjson +3 -0
  82. package/examples/context-input-evidence/skill-registry-otel-trace.json +471 -0
  83. package/examples/context-input-evidence/skill-registry-receipt.ndjson +5 -0
  84. package/examples/context-input-evidence/skill-routing-otel-trace.json +567 -0
  85. package/examples/context-input-evidence/skill-routing-receipt.ndjson +6 -0
  86. package/examples/context-input-evidence/subagent-context-budget-otel-trace.json +507 -0
  87. package/examples/context-input-evidence/subagent-context-budget-receipt.ndjson +5 -0
  88. package/examples/context-input-evidence/subagent-delegation-otel-trace.json +388 -0
  89. package/examples/context-input-evidence/subagent-delegation-receipt.ndjson +4 -0
  90. package/package.json +6 -2
  91. package/schemas/audit-result.schema.json +468 -43
  92. package/src/commands/audit.js +105 -5
  93. package/src/utils/version.js +1 -1
@@ -0,0 +1,6 @@
1
+ {"trace_id":"demo-trace-context-input-evidence","span_id":"demo-session-context-input-evidence","name":"context.input.loaded","time":"2026-05-20T18:00:00.000Z","attributes":{"context.input.kind":"agent_instructions","context.input.source.path":"examples/context-input-evidence/AGENTS.md","context.input.source.bytes_hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonical.form":"otel.context.source.nfc_lf.v1_candidate","context.input.source.canonical.hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonicalization":"utf8,unicode_nfc,crlf_to_lf","context.input.delivered.hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","session.id":"demo-session-context-input-evidence","gen_ai.conversation.id":"demo-session-context-input-evidence","context.input.delivered.full_render.hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.delivered.full_render.status":"available","context.input.delivered.template_hash":"","context.input.delivered.transform":"source-as-delivered","context.input.delivered.nondeterministic":"false","context.input.delivered.nondeterminism_reason":"","context.input.delivered.truncated":"false","context.input.delivered.truncation_limit_chars":"","context.input.loaded_by":"native-file-discovery","context.input.activation":"session_start","context.input.scope":"repo","context.input.applies_to":"claude-code","context.input.why_loaded":"shared invariant guidance","context.input.expected_benefit":"align agent behavior with repository conventions","context.input.duplicate.dedupe_key":"session:sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.duplicate.dedupe_scope":"session","context.input.duplicate.suppression_policy":"suppress_equal_dedupe_key_within_scope","context.input.duplicate.role":"selected","context.input.duplicate.risk":"unknown"}}
2
+ {"trace_id":"demo-trace-context-input-evidence","span_id":"demo-session-context-input-evidence","name":"context.input.loaded","time":"2026-05-20T18:00:00.000Z","attributes":{"context.input.kind":"agent_instructions","context.input.source.path":"examples/context-input-evidence/AGENTS.md","context.input.source.bytes_hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonical.form":"otel.context.source.nfc_lf.v1_candidate","context.input.source.canonical.hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonicalization":"utf8,unicode_nfc,crlf_to_lf","context.input.delivered.hash":"sha256:ca458f2c36f994caeff939de900edec725931ce812971b6e7ce3da252e5d5567","session.id":"demo-session-context-input-evidence","gen_ai.conversation.id":"demo-session-context-input-evidence","context.input.delivered.full_render.hash":"sha256:ca458f2c36f994caeff939de900edec725931ce812971b6e7ce3da252e5d5567","context.input.delivered.full_render.status":"available","context.input.delivered.template_hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.delivered.transform":"post-template-expansion","context.input.delivered.nondeterministic":"false","context.input.delivered.nondeterminism_reason":"","context.input.delivered.truncated":"false","context.input.delivered.truncation_limit_chars":"","context.input.loaded_by":"native-agents-md","context.input.activation":"session_start","context.input.scope":"repo","context.input.applies_to":"codex","context.input.why_loaded":"shared invariant guidance","context.input.expected_benefit":"align agent behavior with repository conventions","context.input.duplicate.dedupe_key":"session:sha256:ca458f2c36f994caeff939de900edec725931ce812971b6e7ce3da252e5d5567","context.input.duplicate.dedupe_scope":"session","context.input.duplicate.suppression_policy":"suppress_equal_dedupe_key_within_scope","context.input.duplicate.role":"selected","context.input.duplicate.risk":"unknown"}}
3
+ {"trace_id":"demo-trace-context-input-evidence","span_id":"demo-session-context-input-evidence","name":"context.input.loaded","time":"2026-05-20T18:00:00.000Z","attributes":{"context.input.kind":"agent_instructions","context.input.source.path":"examples/context-input-evidence/AGENTS.md","context.input.source.bytes_hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonical.form":"otel.context.source.nfc_lf.v1_candidate","context.input.source.canonical.hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonicalization":"utf8,unicode_nfc,crlf_to_lf","context.input.delivered.hash":"sha256:4c8dbbf60b3f3625ff45fd60a78683bdffa266436ec21842528a31dd0105e3a0","session.id":"demo-session-context-input-evidence","gen_ai.conversation.id":"demo-session-context-input-evidence","context.input.delivered.full_render.hash":"sha256:4c8dbbf60b3f3625ff45fd60a78683bdffa266436ec21842528a31dd0105e3a0","context.input.delivered.full_render.status":"available","context.input.delivered.template_hash":"sha256:a5bad2dff0855e3d7a2443094fd5ffc59943274713f81551ea3c7889a2b2e1c3","context.input.delivered.transform":"frontmatter-stripped-with-generated-header","context.input.delivered.nondeterministic":"true","context.input.delivered.nondeterminism_reason":"generated_header_timestamp","context.input.delivered.truncated":"false","context.input.delivered.truncation_limit_chars":"","context.input.loaded_by":"generated-generic-fallback","context.input.activation":"session_start","context.input.scope":"repo","context.input.applies_to":"cursor","context.input.why_loaded":"shared invariant guidance","context.input.expected_benefit":"align agent behavior with repository conventions","context.input.duplicate.dedupe_key":"session:sha256:4c8dbbf60b3f3625ff45fd60a78683bdffa266436ec21842528a31dd0105e3a0","context.input.duplicate.dedupe_scope":"session","context.input.duplicate.suppression_policy":"keep_distinct_template_hash_is_candidate_only","context.input.duplicate.role":"selected","context.input.duplicate.risk":"unknown"}}
4
+ {"trace_id":"demo-trace-context-input-evidence","span_id":"demo-session-context-input-evidence","name":"context.input.loaded","time":"2026-05-20T18:00:00.000Z","attributes":{"context.input.kind":"agent_instructions","context.input.source.path":"examples/context-input-evidence/AGENTS.md","context.input.source.bytes_hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonical.form":"otel.context.source.nfc_lf.v1_candidate","context.input.source.canonical.hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonicalization":"utf8,unicode_nfc,crlf_to_lf","context.input.delivered.hash":"sha256:20049bf6fbec1d5dd218404c622bc1daa22d199e504c7f81f036fac96b34fd63","session.id":"demo-session-context-input-evidence","gen_ai.conversation.id":"demo-session-context-input-evidence","context.input.delivered.full_render.hash":"sha256:20049bf6fbec1d5dd218404c622bc1daa22d199e504c7f81f036fac96b34fd63","context.input.delivered.full_render.status":"available","context.input.delivered.template_hash":"sha256:a5bad2dff0855e3d7a2443094fd5ffc59943274713f81551ea3c7889a2b2e1c3","context.input.delivered.transform":"same-logical-load-different-generated-header","context.input.delivered.nondeterministic":"true","context.input.delivered.nondeterminism_reason":"generated_header_timestamp","context.input.delivered.truncated":"false","context.input.delivered.truncation_limit_chars":"","context.input.loaded_by":"generated-generic-fallback","context.input.activation":"session_start","context.input.scope":"repo","context.input.applies_to":"cursor","context.input.why_loaded":"shared invariant guidance","context.input.expected_benefit":"align agent behavior with repository conventions","context.input.duplicate.dedupe_key":"session:sha256:20049bf6fbec1d5dd218404c622bc1daa22d199e504c7f81f036fac96b34fd63","context.input.duplicate.dedupe_scope":"session","context.input.duplicate.suppression_policy":"keep_distinct_template_hash_is_candidate_only","context.input.duplicate.role":"selected","context.input.duplicate.risk":"unknown"}}
5
+ {"trace_id":"demo-trace-context-input-evidence","span_id":"demo-session-context-input-evidence","name":"context.input.loaded","time":"2026-05-20T18:00:00.000Z","attributes":{"context.input.kind":"agent_instructions","context.input.source.path":"examples/context-input-evidence/AGENTS.md","context.input.source.bytes_hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonical.form":"otel.context.source.nfc_lf.v1_candidate","context.input.source.canonical.hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonicalization":"utf8,unicode_nfc,crlf_to_lf","context.input.delivered.hash":"sha256:d0faaca1cca152060ed8c674d69e425a72bf105eb3a3de7a9d3e82fec70e80d2","session.id":"demo-session-context-input-evidence","gen_ai.conversation.id":"demo-session-context-input-evidence","context.input.delivered.full_render.hash":"sha256:ca458f2c36f994caeff939de900edec725931ce812971b6e7ce3da252e5d5567","context.input.delivered.full_render.status":"available","context.input.delivered.template_hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.delivered.transform":"post-template-expansion-clipped-for-window","context.input.delivered.nondeterministic":"false","context.input.delivered.nondeterminism_reason":"","context.input.delivered.truncated":"true","context.input.delivered.truncation_limit_chars":"180","context.input.loaded_by":"native-file-discovery","context.input.activation":"session_start","context.input.scope":"repo","context.input.applies_to":"small-window-harness","context.input.why_loaded":"shared invariant guidance","context.input.expected_benefit":"align agent behavior with repository conventions","context.input.duplicate.dedupe_key":"session:sha256:ca458f2c36f994caeff939de900edec725931ce812971b6e7ce3da252e5d5567","context.input.duplicate.dedupe_scope":"session","context.input.duplicate.suppression_policy":"suppress_equal_dedupe_key_within_scope","context.input.duplicate.role":"selected","context.input.duplicate.risk":"unknown"}}
6
+ {"trace_id":"demo-trace-context-input-evidence","span_id":"demo-session-context-input-evidence","name":"context.input.loaded","time":"2026-05-20T18:00:00.000Z","attributes":{"context.input.kind":"agent_instructions","context.input.source.path":"examples/context-input-evidence/AGENTS.md","context.input.source.bytes_hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonical.form":"otel.context.source.nfc_lf.v1_candidate","context.input.source.canonical.hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.source.canonicalization":"utf8,unicode_nfc,crlf_to_lf","context.input.delivered.hash":"sha256:3a91fe9beb9af98b8597670b97f5bd003113083a46c9eef6af8c0e8454806a49","session.id":"demo-session-context-input-evidence","gen_ai.conversation.id":"demo-session-context-input-evidence","context.input.delivered.full_render.hash":"","context.input.delivered.full_render.status":"unavailable_not_materialized","context.input.delivered.template_hash":"sha256:5f7344661a10c1b2ed673db266f6f50960bb5744646203dbca4b2963bceb8a02","context.input.delivered.transform":"clipped-at-ingest-full-render-not-materialized","context.input.delivered.nondeterministic":"false","context.input.delivered.nondeterminism_reason":"","context.input.delivered.truncated":"true","context.input.delivered.truncation_limit_chars":"120","context.input.loaded_by":"native-file-discovery","context.input.activation":"session_start","context.input.scope":"repo","context.input.applies_to":"ingest-clipping-harness","context.input.why_loaded":"shared invariant guidance","context.input.expected_benefit":"align agent behavior with repository conventions","context.input.duplicate.dedupe_key":"session:sha256:3a91fe9beb9af98b8597670b97f5bd003113083a46c9eef6af8c0e8454806a49","context.input.duplicate.dedupe_scope":"session","context.input.duplicate.suppression_policy":"keep_distinct_full_render_unknown","context.input.duplicate.role":"selected","context.input.duplicate.risk":"unknown"}}
@@ -0,0 +1,5 @@
1
+ {"type":"session.start","time":"2026-05-24T14:05:00.000Z","session_id":"sess_agentgateway_2026_05_24","conversation_id":"conv_private_gateway_triage","agent":"Claude Code","workspace":"gateway-demo-workspace","model":"claude-sonnet-4.5"}
2
+ {"type":"mcp.gateway.index.loaded","time":"2026-05-24T14:05:05.000Z","gateway":"agentgateway","mode":"Search","client_visible_tools":["get_tool","invoke_tool"],"upstream_server":"private-enterprise-mcp","upstream_tool_count":87,"full_upstream_schema_token_count":72000,"visible_index_token_count":620,"raw_index":"Search mode for private-enterprise-mcp. Includes internal support_tools for Acme-Co, Jira prod incident IDs, and token sk_live_gateway_fixture. Do not export raw index."}
3
+ {"type":"mcp.gateway.tool_schema.loaded","time":"2026-05-24T14:05:21.000Z","gateway":"agentgateway","tool":"support.ticket.search","schema_command":"get_tool support.ticket.search","raw_schema":"{\"name\":\"support.ticket.search\",\"description\":\"Search private Acme-Co support tickets by internal account, incident, or email finance@acme.example\",\"inputSchema\":{\"properties\":{\"query\":{\"description\":\"private prod incident query\"}}}}","schema_token_count":1180,"selection_reason":"needed_specific_ticket_lookup","unselected_tool_names":["billing.invoice.refund","crm.contact.update","sentry.issue.read"],"unselected_schema_loaded_count":0}
4
+ {"type":"mcp.gateway.tool_invoked","time":"2026-05-24T14:05:46.000Z","gateway":"agentgateway","tool":"support.ticket.search","raw_arguments":"{\"query\":\"Acme-Co Stripe prod incident finance@acme.example\",\"api_key\":\"sk_live_gateway_fixture\"}","raw_result_sample":"[{\"ticket\":\"TICKET-private-001\",\"customer\":\"Acme-Co\",\"email\":\"finance@acme.example\",\"notes\":\"Stripe prod incident follow-up\"}]","status":"success","result_count":4,"latency_ms":740,"response_bytes":6400}
5
+ {"type":"mcp.gateway.session.completed","time":"2026-05-24T14:05:50.000Z","status":"completed","full_upstream_schemas_loaded":false,"loaded_tool_schema_count":1,"invoked_tool_count":1,"audit_gap":"receipt_proves_gateway_disclosure_boundary_not_tool_result_correctness"}
@@ -0,0 +1,9 @@
1
+ {"type":"brain.doctor.start","time":"2026-05-21T18:00:00.000Z","instance_id":"gbrain://local/demo-brain","run_id":"doctor-run-2026-05-21T18","operator":"agent-autopilot","mode":"doctor.remediate","target_score":90,"max_usd":5,"protected_phases":["delete","credentialed-write"],"privacy":"hashes-and-counts"}
2
+ {"type":"brain.doctor.precheck","time":"2026-05-21T18:00:03.000Z","score":72,"issue_count":4,"issue_categories":["stale_edges","duplicate_facts","missing_project_links","low_confidence_clusters"],"brain_snapshot":"snapshot-before-demo","raw_brain_excerpt":"A private graph node that must never appear in the exported receipt."}
3
+ {"type":"brain.remediation.plan","time":"2026-05-21T18:00:08.000Z","plan_id":"plan-stale-edge-dedupe-link-confidence","plan_summary":"Merge duplicate memory facts, refresh stale edges, add project links, and skip destructive deletes.","step_count":4,"estimated_usd":1.2,"expected_score_delta":14,"requires_protected_phase":true}
4
+ {"type":"brain.remediation.job","time":"2026-05-21T18:00:12.000Z","job_id":"job-refresh-stale-edges","step_kind":"refresh_edges","status":"submitted","protected_phase":false,"estimated_usd":0.45,"actual_usd":0.31,"changed_entity_count":12,"raw_change_detail":"Private edge labels and page titles that should not be exported."}
5
+ {"type":"brain.remediation.job","time":"2026-05-21T18:00:18.000Z","job_id":"job-merge-duplicates","step_kind":"dedupe_facts","status":"submitted","protected_phase":false,"estimated_usd":0.35,"actual_usd":0.28,"changed_entity_count":7,"raw_change_detail":"Private duplicate fact bodies that should not be exported."}
6
+ {"type":"brain.remediation.job","time":"2026-05-21T18:00:23.000Z","job_id":"job-delete-low-confidence","step_kind":"delete_low_confidence","status":"refused","protected_phase":true,"estimated_usd":0.1,"actual_usd":0,"changed_entity_count":0,"refusal_reason":"protected_phase_requires_human_or_explicit_flag","raw_change_detail":"Private delete candidates that should not be exported."}
7
+ {"type":"brain.remediation.job","time":"2026-05-21T18:00:29.000Z","job_id":"job-link-projects","step_kind":"link_project_clusters","status":"skipped","protected_phase":false,"estimated_usd":0.3,"actual_usd":0,"changed_entity_count":0,"skip_reason":"target_score_reached_by_prior_jobs","raw_change_detail":"Private project names that should not be exported."}
8
+ {"type":"brain.doctor.postcheck","time":"2026-05-21T18:00:36.000Z","score":91,"issue_count":1,"issue_categories":["low_confidence_clusters"],"brain_snapshot":"snapshot-after-demo","raw_brain_excerpt":"Another private graph node that must never appear in the exported receipt."}
9
+ {"type":"brain.doctor.completed","time":"2026-05-21T18:00:40.000Z","outcome":"target_reached","score_before":72,"score_after":91,"target_score":90,"max_usd":5,"actual_usd":0.59,"jobs_submitted":2,"jobs_skipped":1,"jobs_refused":1,"raw_operator_note":"Private human/operator note that should not be exported."}
@@ -0,0 +1,6 @@
1
+ {"type":"session.start","time":"2026-05-24T16:03:00.000Z","session_id":"claudekit-mcp-manager-demo-001","conversation_id":"conv-claudekit-mcp-manager-001","agent":"claude-code","workspace":"private-enterprise-repo","model":"claude-sonnet-4.6"}
2
+ {"type":"mcp.manager.parent_context.evaluated","time":"2026-05-24T16:03:01.000Z","pattern":"mcp-manager-subagent","parent_visible_skill":"mcp-management","parent_visible_token_count":720,"hidden_mcp_server_count":16,"hidden_mcp_tool_schema_count":512,"hidden_full_schema_token_count":188000,"raw_parent_prompt":"Need customer ops data for Acme-Co checkout incident with sk_live_parent_fixture and finance@acme.example","raw_hidden_schema_excerpt":"private-enterprise-mcp support.ticket.search schema includes TICKET-private-002 and customer_email finance@acme.example"}
3
+ {"type":"mcp.manager.subagent.booted","time":"2026-05-24T16:03:02.000Z","subagent_id":"mcp-manager","tools_policy":"mcp_isolated_allowlist","server_count":16,"tool_schema_count":512,"startup_context_token_count":188000,"context_window_tokens":200000,"raw_subagent_tool_catalog":"private-enterprise-mcp support.ticket.search, billing.invoice.read, Stripe prod incident PAY-9876, sk_live_manager_fixture"}
4
+ {"type":"mcp.manager.tool_selected","time":"2026-05-24T16:03:03.000Z","selection_strategy":"subagent_tool_search_then_execute","selected_server":"private-enterprise-mcp","selected_tool":"support.ticket.search","candidate_tool_count":512,"expanded_tool_count":1,"suppressed_tool_count":511,"raw_selection_reason":"search tickets for Acme-Co private checkout incident TICKET-private-002"}
5
+ {"type":"mcp.manager.tool_invoked","time":"2026-05-24T16:03:04.000Z","tool":"support.ticket.search","status":"ok","result_count":3,"latency_ms":840,"raw_arguments":"{\"customer\":\"Acme-Co\",\"email\":\"finance@acme.example\",\"token\":\"sk_live_manager_fixture\"}","raw_result_sample":"TICKET-private-002 Stripe prod incident, secret handoff note, billing account 4242"}
6
+ {"type":"mcp.manager.parent_summary.returned","time":"2026-05-24T16:03:05.000Z","status":"summary_returned","summary_token_count":310,"parent_context_token_count_after":1060,"raw_summary":"Found 3 private Acme-Co tickets including TICKET-private-002; finance@acme.example mentioned; sk_live_manager_fixture not needed downstream","audit_gap":"receipt proves MCP schemas stayed isolated in the manager subagent and only a bounded summary returned; it does not prove the selected tool was semantically optimal"}
@@ -0,0 +1,5 @@
1
+ {"type":"session.start","time":"2026-05-24T13:02:00.000Z","session_id":"sess_cli_apideck_2026_05_24","conversation_id":"conv_private_crm_sync","agent":"Claude Code","workspace":"private-payroll-sync","model":"claude-sonnet-4.5"}
2
+ {"type":"cli.agent_prompt.loaded","time":"2026-05-24T13:02:04.000Z","cli_name":"apideck","prompt_command":"apideck agent-prompt","raw_prompt":"Use apideck --help for progressive disclosure. Never expose Acme-Co customer tokens or private payroll sync payloads.","prompt_token_count":82,"full_openapi_token_count":55600,"full_mcp_schema_token_count":7200,"install_target":"claude_skill","startup_strategy":"agent_prompt_only"}
3
+ {"type":"cli.command_help.loaded","time":"2026-05-24T13:02:19.000Z","cli_name":"apideck","command":"crm customers list","help_command":"apideck crm customers list --help","raw_help":"List CRM customers for private-checkout-api. Options include --limit, --cursor and --fields. Internal note: do not log bearer token sk_live_private_fixture.","help_token_count":460,"selection_reason":"needed_list_customers_endpoint","unselected_commands":["crm contacts create","accounting invoices list","vault connections list"],"unselected_help_loaded":0}
4
+ {"type":"cli.command.executed","time":"2026-05-24T13:02:41.000Z","cli_name":"apideck","command":"crm customers list","raw_arguments":"--limit 25 --fields id,name,email --connection-id conn_acme_private --api-key sk_live_private_fixture","raw_result_sample":"[{\"id\":\"cus_private_001\",\"name\":\"Acme-Co\",\"email\":\"finance@acme.example\",\"notes\":\"Stripe prod incident follow-up\"}]","status":"success","result_count":25,"latency_ms":620,"stdout_bytes":18120,"stderr_bytes":0}
5
+ {"type":"cli.session.completed","time":"2026-05-24T13:02:45.000Z","status":"completed","commands_executed":1,"loaded_command_help_count":1,"loaded_full_openapi":false,"loaded_mcp_schemas":false,"audit_gap":"receipt_proves_disclosure_boundary_not_api_result_correctness"}
@@ -0,0 +1,7 @@
1
+ {"type":"session.start","time":"2026-05-21T20:10:00.000Z","session_id":"cc-session-compaction-demo","conversation_id":"conv-compaction-demo","agent":"claude-code","workspace":"payments-service","model":"claude-opus-4.7"}
2
+ {"type":"context.compaction.start","time":"2026-05-21T20:42:00.000Z","reason":"context_window_pressure","trigger":"auto_compact_threshold","token_count_before":186400,"token_threshold":200000,"window_bucket":"near_limit","raw_recent_task":"Investigate private customer checkout failures and preserve the real root cause objective."}
3
+ {"type":"context.item.evaluated","time":"2026-05-21T20:42:01.000Z","item_id":"sys-001","kind":"system_instructions","source":"CLAUDE.md","action":"preserved","token_count":1800,"semantic_role":"project_invariants","raw_text":"Private instruction body: never log customer payment tokens and preserve idempotency."}
4
+ {"type":"context.item.evaluated","time":"2026-05-21T20:42:02.000Z","item_id":"skill-031","kind":"skill","source":"skills/payment-debug/SKILL.md","action":"summarized","token_count":9200,"summary_token_count":650,"semantic_role":"debugging_method","raw_text":"Private skill body with vendor URLs, internal commands and examples."}
5
+ {"type":"context.item.evaluated","time":"2026-05-21T20:42:03.000Z","item_id":"tool-880","kind":"tool_result","source":"bash:test-output","action":"dropped","token_count":51000,"semantic_role":"bulk_log_output","drop_reason":"reconstructable_from_command_and_artifact_hash","raw_text":"Long private failing test output containing customer-like fixture data."}
6
+ {"type":"context.item.evaluated","time":"2026-05-21T20:42:04.000Z","item_id":"memory-212","kind":"mcp_memory","source":"mcp://memory/project/payments","action":"preserved_hash_only","token_count":2200,"semantic_role":"prior_decision","raw_text":"Private memory: root cause previously suspected in payment retry worker."}
7
+ {"type":"context.compaction.completed","time":"2026-05-21T20:42:07.000Z","token_count_after":116800,"summary_hash_basis":"payment-debug-summary-v1 without raw prompt, logs, memory bodies or customer data","dropped_count":1,"summarized_count":1,"preserved_count":2,"objective_hash_basis":"Investigate checkout failure root cause, avoid symptom patch, verify idempotency."}
@@ -0,0 +1,7 @@
1
+ {"type":"context.selection","time":"2026-05-22T19:00:00.000Z","session_id":"demo-session-context-selection","conversation_id":"demo-conversation-context-selection","task_id":"fix-flaky-agent-loop","agent":"coding-agent","selection_strategy":"embedding_top_k_plus_rules","selection_policy":"select_top_k_then_suppress_duplicates","candidate_count":17,"selected_count":5,"suppressed_count":12,"delivered_hash_count":5,"selected_token_bucket":"8k-16k","suppressed_token_bucket":"16k-32k","operator_question":"did_we_load_too_much_or_the_wrong_context","decision_relevance_evaluator":"not_available_yet","audit_gap":"selection receipt proves delivery pressure, not semantic relevance"}
2
+ {"type":"context.input","time":"2026-05-22T19:00:01.000Z","session_id":"demo-session-context-selection","kind":"agent_instructions","source_id":"AGENTS.md","source_role":"repo_guidance","selection_rank":1,"selection_status":"selected","delivery_status":"delivered","token_bucket":"1k-2k","raw_context_text":"Internal repo rules mention Acme-Co payment incident and private operator note: do not expose this."}
3
+ {"type":"context.input","time":"2026-05-22T19:00:02.000Z","session_id":"demo-session-context-selection","kind":"memory","source_id":"memory://session/2026-05-10-loop-debug","source_role":"historical_debugging_pattern","selection_rank":2,"selection_status":"selected","delivery_status":"delivered","token_bucket":"2k-4k","raw_context_text":"Memory body contains customer path /private/work/acme/checkout and webhook secret placeholder sk_live_private_demo."}
4
+ {"type":"context.input","time":"2026-05-22T19:00:03.000Z","session_id":"demo-session-context-selection","kind":"code_search_result","source_id":"search://flaky-loop-agent-runner","source_role":"code_search_candidate","selection_rank":3,"selection_status":"selected","delivery_status":"delivered","token_bucket":"1k-2k","raw_context_text":"Search excerpt includes private file path /private/work/acme/src/agentLoop.ts and raw stack trace."}
5
+ {"type":"context.input","time":"2026-05-22T19:00:04.000Z","session_id":"demo-session-context-selection","kind":"ticket","source_id":"JIRA-1234","source_role":"user_report","selection_rank":4,"selection_status":"selected","delivery_status":"delivered","token_bucket":"2k-4k","raw_context_text":"Ticket text names Acme-Co, Stripe prod incident, and internal SLA notes."}
6
+ {"type":"context.input","time":"2026-05-22T19:00:05.000Z","session_id":"demo-session-context-selection","kind":"tool_result","source_id":"tool://last-run/log-tail","source_role":"recent_tool_output","selection_rank":5,"selection_status":"selected","delivery_status":"delivered","token_bucket":"2k-4k","raw_context_text":"Raw log tail contains bearer token private-demo-token and customer request payload."}
7
+ {"type":"context.decision.relevance","time":"2026-05-22T19:15:00.000Z","session_id":"demo-session-context-selection","decision_id":"patch-flaky-loop-readiness","selected_count":5,"suppressed_count":12,"delivered_hash_count":5,"decisive_selection_ranks":[],"supporting_selection_ranks":[1],"unused_selection_ranks":[2,3,4,5],"unknown_selection_ranks":[],"relevance_outcome":"over_selected_one_supporting_four_unused","decision_relevance_evaluator":"human_review","audit_gap":"post-hoc relevance explains usefulness; prior selection receipt only proves what crossed the boundary"}
@@ -0,0 +1,6 @@
1
+ {"type":"session.start","time":"2026-05-21T21:02:00.000Z","session_id":"sess-mcp-tool-search-demo","conversation_id":"conv-tool-search-001","agent":"claude-code","workspace":"checkout-service","model":"claude-opus-4.6","raw_goal":"debug private staging checkout failures without loading every MCP tool definition up front"}
2
+ {"type":"mcp.tool_index.loaded","time":"2026-05-21T21:02:02.000Z","server":"github-enterprise-private","transport":"stdio","startup_strategy":"deferred_tool_loading","tool_names":["search_issues","get_pull_request","list_workflows","private_deploy_key_rotation"],"raw_tool_descriptions":"internal GitHub Enterprise tools including private repo issue search, PR inspection, workflow status, and deploy-key rotation. Never expose enterprise URLs or tokens.","definition_token_count":18400,"index_token_count":620,"full_definitions_loaded":0}
3
+ {"type":"mcp.tool_index.loaded","time":"2026-05-21T21:02:03.000Z","server":"observability-private","transport":"http","startup_strategy":"deferred_tool_loading","tool_names":["search_traces","get_error_budget","query_payment_logs","read_customer_session"],"raw_tool_descriptions":"private observability tools for traces, SLOs, payment logs, and customer sessions. Contains private service names and sensitive customer-like fixture data.","definition_token_count":23100,"index_token_count":710,"full_definitions_loaded":0}
4
+ {"type":"mcp.tool_search.performed","time":"2026-05-21T21:05:10.000Z","raw_query":"find traces for private customer checkout failures after deploy 9b71 and correlate with payment token errors","candidate_count":8,"selected_server":"observability-private","selected_tool":"search_traces","selection_policy":"least_privilege_relevant_tool","loaded_definition_count":1,"raw_candidate_rationale":"search_traces is enough; do not load query_payment_logs or read_customer_session unless trace IDs prove they are needed."}
5
+ {"type":"mcp.tool_definition.loaded","time":"2026-05-21T21:05:11.000Z","server":"observability-private","tool":"search_traces","load_reason":"selected_by_tool_search","definition_token_count":3400,"raw_definition":"search_traces(serviceName, environment, timeRange, errorFingerprint). Includes private staging service names and vendor trace URLs; may return customer-like fixture spans."}
6
+ {"type":"mcp.tool_call.completed","time":"2026-05-21T21:05:19.000Z","server":"observability-private","tool":"search_traces","status":"success","result_count":12,"raw_arguments":"serviceName=private-checkout-api environment=staging timeRange=after deploy 9b71 errorFingerprint=payment-token-redacted","raw_result_sample":"12 traces matched private customer checkout failure fixture; includes internal trace IDs, vendor URLs, and customer-like payload excerpts."}
@@ -0,0 +1,5 @@
1
+ {"type":"session.start","time":"2026-05-21T22:03:00.000Z","session_id":"demo-session-memory-consolidation","conversation_id":"conv-memory-consolidation-001","agent":"claude-code","workspace":"checkout-service","model":"claude-opus-4.5"}
2
+ {"type":"memory.consolidation.precheck","time":"2026-05-21T22:03:01.000Z","provider":"mcp-memory-service","client":"claude-code-stop-hook","project":"checkout-service","mode":"incremental","trigger":"session_end_hook","horizon":"incremental","last_run_at":"2026-05-21T21:51:12.000Z","candidate_count":7,"candidate_ids":["mem_checkout_retry_001","mem_checkout_retry_002","mem_checkout_rate_limit_003","mem_billing_timeout_004","mem_billing_timeout_005","mem_ui_copy_006","mem_runbook_007"],"raw_candidate_excerpt":"Customer A checkout retries fail when provider returns transient 502; retry budget was exceeded in src/providers/acme.ts with token sk_live_redacted...","project_path":"/private/acme/checkout-service","latency_ms":41}
3
+ {"type":"memory.consolidation.cluster.selected","time":"2026-05-21T22:03:02.000Z","cluster_id":"checkout-retry-provider-502","strategy":"semantic_similarity_recent_only","source_ids":["mem_checkout_retry_001","mem_checkout_retry_002","mem_checkout_rate_limit_003"],"source_count":3,"topic":"payment provider transient retry behavior","similarity_bucket":"high","max_source_age_minutes":11,"raw_cluster_notes":"Two failures and one workaround mention Acme provider 502s; consolidate into stable runbook memory without customer names or token examples."}
4
+ {"type":"memory.consolidation.output.created","time":"2026-05-21T22:03:05.000Z","consolidated_id":"mem_consolidated_checkout_retry_20260521","cluster_id":"checkout-retry-provider-502","source_ids":["mem_checkout_retry_001","mem_checkout_retry_002","mem_checkout_rate_limit_003"],"memory_type":"runbook","lineage_edge":"CONSOLIDATED_FROM","raw_consolidated_memory":"For Acme checkout provider transient 502s, retry with bounded exponential backoff, preserve idempotency key, and verify rate-limit headers before raising incident. Customer-specific payloads and sk_live token removed.","quality_score_before":0.62,"quality_score_after":0.84,"changed_entities":["AcmeProvider","CheckoutRetryPolicy"],"latency_ms":2890}
5
+ {"type":"memory.consolidation.completed","time":"2026-05-21T22:03:06.000Z","provider":"mcp-memory-service","client":"claude-code-stop-hook","project":"checkout-service","mode":"incremental","trigger":"session_end_hook","candidate_count":7,"cluster_count":1,"consolidated_count":1,"skipped_count":4,"duration_ms":5120,"latency_budget_ms":10000,"status":"completed","next_cursor":"2026-05-21T22:03:06.000Z","raw_operator_note":"Hook finished under budget; no full-corpus scan. Skipped UI copy and stale runbook notes."}
@@ -0,0 +1,6 @@
1
+ {"type":"session.start","time":"2026-05-22T00:00:00.000Z","session_id":"demo-session-memory-governance-delete","conversation_id":"conv-memory-governance-delete-001","agent":"claude-code","client":"agentmemory-plugin","provider":"agentmemory","project":"checkout-service","operator":"repo-maintainer"}
2
+ {"type":"memory.governance.delete.requested","time":"2026-05-22T00:00:01.000Z","request_id":"forget-req-77","trigger":"manual_forget_skill","requested_by":"repo-maintainer","reason":"remove obsolete incident notes before sharing project memory","policy":"two_step_confirmed_delete","query":"delete the old Stripe prod incident notes for customer Acme-Co from March","scope":"project","project_path":"/private/work/acme/checkout-service","sensitive_classes":["customer_name","incident_detail","production_secret_reference"]}
3
+ {"type":"memory.governance.delete.candidates.presented","time":"2026-05-22T00:00:02.000Z","request_id":"forget-req-77","candidate_ids":["mem_prod_stripe_incident_01","mem_prod_stripe_incident_02","mem_rate_limit_plan_07"],"candidate_count":3,"matched_query_hash_basis":"delete the old Stripe prod incident notes for customer Acme-Co from March","preview_policy":"redacted_snippets_only","previewed_candidate_text":["Acme-Co Stripe prod incident: webhook secret rotated...","Acme-Co retry storm during March deploy...","Rate limit design note unrelated to deletion request..."],"requires_confirmation":true}
4
+ {"type":"memory.governance.delete.confirmation.recorded","time":"2026-05-22T00:00:05.000Z","request_id":"forget-req-77","confirmation_id":"confirm-77","confirmed":true,"confirmation_channel":"skill_ui","confirmed_candidate_ids":["mem_prod_stripe_incident_01","mem_prod_stripe_incident_02"],"rejected_candidate_ids":["mem_rate_limit_plan_07"],"operator_note":"Delete the two Acme incident memories; keep the unrelated rate-limit note."}
5
+ {"type":"memory.governance.delete.completed","time":"2026-05-22T00:00:07.000Z","request_id":"forget-req-77","deleted_ids":["mem_prod_stripe_incident_01","mem_prod_stripe_incident_02"],"retained_ids":["mem_rate_limit_plan_07"],"tombstone_ids":["tombstone_01","tombstone_02"],"audit_entry_id":"audit_delete_2026_05_22_000007","status":"completed","latency_ms":1830,"store_snapshot_before":"agentmemory-snapshot-before-sensitive-acme-data","store_snapshot_after":"agentmemory-snapshot-after-delete-with-tombstones"}
6
+ {"type":"memory.governance.audit.completed","time":"2026-05-22T00:00:08.000Z","request_id":"forget-req-77","audit_entry_id":"audit_delete_2026_05_22_000007","query_replay_result_count":0,"tombstone_count":2,"retained_count":1,"retention_policy":"tombstone_hash_only","audit_gap":"does_not_prove_physical_compaction_or_backup_expiry"}
@@ -0,0 +1,6 @@
1
+ {"type":"session.start","time":"2026-05-23T15:00:00.000Z","session_id":"team-memory-demo-session","conversation_id":"team-memory-demo-conversation","agent":"claude-code-agent-team","repo":"acme/private-checkout","team":"payments-platform"}
2
+ {"type":"memory.entry.promoted","time":"2026-05-23T15:01:00.000Z","entry_id":"mem-payments-adr-042","sequence":1042,"team":"payments-platform","scope":"service:checkout","visibility":"team","author_agent_id":"agent-em-investigator-7","author_human_id":"eng-manager-17","author_role":"engineering_manager","source_session_id":"incident-bridge-session-private","source_compaction_epoch":12,"raw_body":"Acme-Co checkout incident: Stripe prod webhook retries were caused by private customer payload shape /private/work/acme sk_live_private_demo","promotion_reason":"incident handoff after EM investigation","decision_scope":"incident_response"}
3
+ {"type":"memory.entry.promoted","time":"2026-05-23T15:02:00.000Z","entry_id":"mem-payments-gotcha-221","sequence":1043,"team":"payments-platform","scope":"service:checkout","visibility":"team","author_agent_id":"agent-ic-domain-expert-3","author_human_id":"senior-ic-9","author_role":"domain_expert","source_session_id":"implementation-session-private","source_compaction_epoch":4,"raw_body":"Acme-Co gotcha: do not rotate webhook signing secret during deploy freeze; customer payload details and private runbook path /private/work/acme/runbooks/stripe.md","promotion_reason":"domain expert consultation","decision_scope":"implementation"}
4
+ {"type":"memory.entry.corrected","time":"2026-05-23T15:03:00.000Z","entry_id":"mem-payments-gotcha-221","sequence":1044,"team":"payments-platform","scope":"service:checkout","visibility":"team","author_agent_id":"agent-ic-domain-expert-3","author_human_id":"senior-ic-9","author_role":"domain_expert","supersedes_entry_id":"mem-payments-gotcha-221","source_session_id":"implementation-session-private","source_compaction_epoch":5,"raw_body":"Correction: only rotate signing secret after queue drain completes; private ticket PAY-1234 has customer names and incident notes","promotion_reason":"correct stale memory before reuse","decision_scope":"implementation"}
5
+ {"type":"memory.bundle.hydrated","time":"2026-05-23T15:04:00.000Z","team":"payments-platform","scope":"service:checkout","consumer_agent_id":"agent-oncall-handoff-2","ticket_id":"INC-2026-0523-private","selection_policy":"ticket_scope_and_recent_corrections","query_text":"checkout webhook retry incident handoff for next on-call","candidate_entry_ids":["mem-payments-adr-042","mem-payments-gotcha-221","mem-marketing-abtest-011"],"selected_entry_ids":["mem-payments-adr-042","mem-payments-gotcha-221"],"suppressed_entry_ids":["mem-marketing-abtest-011"],"loaded_sequence_min":1042,"loaded_sequence_max":1044,"raw_bundle":"Combined private incident notes for Acme-Co, Stripe prod payload, sk_live_private_demo, /private/work/acme"}
6
+ {"type":"memory.provenance.evaluated","time":"2026-05-23T15:05:00.000Z","team":"payments-platform","scope":"service:checkout","consumer_agent_id":"agent-oncall-handoff-2","selected_count":2,"known_author_count":2,"unknown_author_count":0,"ordered_sequence_count":3,"decisive_count":1,"supporting_count":1,"unused_count":0,"unknown_relevance_count":0,"audit_gap":"proves authorship/order/loading, not factual correctness of the memory body"}
@@ -0,0 +1,6 @@
1
+ {"type":"session.start","time":"2026-05-21T15:00:00.000Z","session_id":"demo-shared-memory-receipts","conversation_id":"conv-shared-memory-receipts","agent":"claude-code","repo":"checkout-service"}
2
+ {"type":"memory.search","time":"2026-05-21T15:00:01.000Z","retrieval_id":"ret-001","provider":"supermemory-mcp","client":"claude-code","project":"checkout-service","query_text":"what should I remember before editing checkout retries?","snapshot_id":"mem-snapshot-2026-05-21T15:00Z","latency_ms":42,"results":[{"id":"mem-checkout-retry-policy","uri":"memory://shared/checkout/retry-policy","score":0.91,"text":"Retry card authorization twice, but never retry fraud declines. Owner: payments-platform."},{"id":"mem-checkout-observability","uri":"memory://shared/checkout/observability","score":0.76,"text":"Checkout changes must update the RED dashboard note before deploy."}]}
3
+ {"type":"context.input","time":"2026-05-21T15:00:02.000Z","kind":"mcp_memory","retrieval_id":"ret-001","memory_id":"mem-checkout-retry-policy","source_uri":"memory://shared/checkout/retry-policy","delivered_text":"Retry card authorization twice, but never retry fraud declines. Owner: payments-platform.","loaded_by":"mcp-memory-client","activation":"recall_before_edit","scope":"project","applies_to":"claude-code","why_loaded":"top-ranked memory result for checkout retry edit","expected_benefit":"avoid violating payment retry invariant"}
4
+ {"type":"memory.search","time":"2026-05-21T15:00:05.000Z","retrieval_id":"ret-002","provider":"supermemory-mcp","client":"cursor","project":"checkout-service","query_text":"checkout retry rules","snapshot_id":"mem-snapshot-2026-05-21T15:00Z","latency_ms":39,"results":[{"id":"mem-checkout-retry-policy","uri":"memory://shared/checkout/retry-policy","score":0.89,"text":"Retry card authorization twice, but never retry fraud declines. Owner: payments-platform."}]}
5
+ {"type":"context.input","time":"2026-05-21T15:00:06.000Z","kind":"mcp_memory","retrieval_id":"ret-002","memory_id":"mem-checkout-retry-policy","source_uri":"memory://shared/checkout/retry-policy","delivered_text":"Retry card authorization twice, but never retry fraud declines. Owner: payments-platform.","loaded_by":"cursor-memory-client","activation":"recall_before_edit","scope":"project","applies_to":"cursor","why_loaded":"same shared memory result surfaced in a second client","expected_benefit":"compare cross-client recall without exposing memory body","duplicate_role":"candidate_duplicate"}
6
+ {"type":"session.end","time":"2026-05-21T15:00:08.000Z"}
@@ -0,0 +1,7 @@
1
+ {"type":"session.start","time":"2026-05-22T01:00:00.000Z","session_id":"demo-secret-scan-session","conversation_id":"conv-secret-scan-demo","agent":"copilot-cli","provider":"github-mcp-server","client":"github-copilot-cli","repo":"/private/work/acme-payments","repository":"acme-corp/payments-api"}
2
+ {"type":"security.secret_scanning.requested","time":"2026-05-22T01:00:03.000Z","request_id":"secret-scan-req-001","trigger":"pre_commit_agent_prompt","toolset":"secret_protection","tool":"run_secret_scanning","scan_scope":"current_changes","diff_paths":["src/payments/webhooks.ts","test/fixtures/stripe.ts","README.md"],"prompt":"Scan my current changes for exposed secrets before commit. The webhook secret is whsec_acme_private_demo and must not be logged.","push_protection_customization":"org-default-block-with-documented-bypass","persisted_as_github_alert":false}
3
+ {"type":"security.secret_scanning.completed","time":"2026-05-22T01:00:09.000Z","request_id":"secret-scan-req-001","status":"findings_presented","files_scanned":3,"line_count":184,"finding_count":2,"detector_count":39,"latency_ms":6120,"engine_snapshot":"github-secret-protection-2026-05-05-ga","tool_response_excerpt":"Found Stripe webhook secret in /private/work/acme-payments/test/fixtures/stripe.ts and GitHub token ghp_acmePrivateTokenExample in src/payments/webhooks.ts"}
4
+ {"type":"security.secret_scanning.finding.presented","time":"2026-05-22T01:00:10.000Z","request_id":"secret-scan-req-001","finding_id":"finding-stripe-001","secret_type":"stripe_webhook_secret","severity":"high","location_path":"test/fixtures/stripe.ts","line":17,"secret_value":"whsec_acme_private_demo","remediation":"Move the test secret to a redacted fixture and rotate the real webhook secret if it was copied from production.","push_protection_action":"block","bypass_allowed":false}
5
+ {"type":"security.secret_scanning.finding.presented","time":"2026-05-22T01:00:10.500Z","request_id":"secret-scan-req-001","finding_id":"finding-ghpat-002","secret_type":"github_personal_access_token","severity":"critical","location_path":"src/payments/webhooks.ts","line":44,"secret_value":"ghp_acmePrivateTokenExample","remediation":"Revoke the token, replace it with an environment variable, and rerun the scan.","push_protection_action":"block","bypass_allowed":false}
6
+ {"type":"security.secret_scanning.bypass.evaluated","time":"2026-05-22T01:00:12.000Z","request_id":"secret-scan-req-001","policy":"org-default-block-with-documented-bypass","bypass_requested":false,"bypass_allowed":false,"bypass_reason":"not_applicable","decision":"block_until_removed","operator_note":"Do not commit the Acme-Co production webhook token or GitHub PAT."}
7
+ {"type":"security.secret_scanning.remediation.verified","time":"2026-05-22T01:00:31.000Z","request_id":"secret-scan-req-001","rescan_id":"secret-scan-rescan-002","status":"clean","changed_paths":["src/payments/webhooks.ts","test/fixtures/stripe.ts"],"finding_count_after":0,"rotation_ticket":"SEC-1234 rotate Acme-Co Stripe webhook and revoke ghp_acmePrivateTokenExample","latency_ms":4910}
@@ -0,0 +1,6 @@
1
+ {"type":"session.start","time":"2026-05-20T22:00:00.000Z","session_id":"demo-session-posthoc-context-receipts","conversation_id":"demo-session-posthoc-context-receipts","agent":"claude-code","repo":"example-service"}
2
+ {"type":"context.input","time":"2026-05-20T22:00:02.000Z","kind":"agent_instructions","source_path":"AGENTS.md","source_text":"# Agent guide\n\nRun tests with npm test. Keep changes small. Do not log secrets.\n","delivered_text":"# Agent guide\n\nRun tests with npm test. Keep changes small. Do not log secrets.\n","loaded_by":"native-file-discovery","activation":"session_start","scope":"repo","applies_to":"claude-code","why_loaded":"shared invariant guidance","expected_benefit":"align agent behavior with repository test and safety rules"}
3
+ {"type":"tool.call","time":"2026-05-20T22:00:04.000Z","name":"read","path":"package.json"}
4
+ {"type":"context.input","time":"2026-05-20T22:00:06.000Z","kind":"retrieved_context","source_uri":"mcp://local-memory/project/example-service/testing-policy","source_text":"Preferred check gate: npm test, then targeted smoke for the touched path.","delivered_text":"Preferred check gate: npm test, then targeted smoke for the touched path.","loaded_by":"mcp-memory-retrieval","activation":"retrieval_result","scope":"task","applies_to":"claude-code","why_loaded":"task-specific retrieval","expected_benefit":"choose the smallest verification gate before claiming success"}
5
+ {"type":"tool.call","time":"2026-05-20T22:00:08.000Z","name":"exec","command":"npm test"}
6
+ {"type":"session.end","time":"2026-05-20T22:00:10.000Z","status":"success"}
@@ -0,0 +1,5 @@
1
+ {"type":"skill.index","time":"2026-05-23T13:00:00.000Z","session_id":"demo-session-skill-registry","conversation_id":"demo-conversation-skill-registry","agent":"autogpt-copilot","registry_scope":"user","index_strategy":"outermost_available_skills_index","candidate_skill_count":12,"indexed_skill_count":12,"index_token_bucket":"1k-2k","body_token_bucket":"not_loaded","cache_status":"hit","injection_policy":"index_only_until_read","raw_index_text":"closing-test: Private skill for Acme-Co Stripe prod incident webhook secret triage"}
2
+ {"type":"skill.store","time":"2026-05-23T13:00:01.000Z","session_id":"demo-session-skill-registry","skill_id":"closing-test","source":"self_distilled","store_reason":"user_approved_reusable_workflow","body_token_bucket":"2k-4k","write_status":"stored","raw_skill_body":"Use /private/work/acme and sk_live_private_demo to close the Stripe prod incident."}
3
+ {"type":"skill.read","time":"2026-05-23T13:00:02.000Z","session_id":"demo-session-skill-registry","skill_id":"closing-test","read_reason":"task_matches_skill_index","body_token_bucket":"2k-4k","read_status":"read","raw_skill_body":"Use /private/work/acme and sk_live_private_demo to close the Stripe prod incident."}
4
+ {"type":"skill.inject","time":"2026-05-23T13:00:03.000Z","session_id":"demo-session-skill-registry","skill_id":"closing-test","injection_reason":"selected_after_index_match","delivered_token_bucket":"2k-4k","delivery_status":"delivered","suppressed_count":11,"raw_delivered_body":"Use /private/work/acme and sk_live_private_demo to close the Stripe prod incident."}
5
+ {"type":"skill.reuse","time":"2026-05-23T13:00:04.000Z","session_id":"demo-session-skill-registry","skill_id":"closing-test","decision_id":"finish_pr_validation","selected_count":1,"suppressed_count":11,"decisive_count":0,"supporting_count":1,"unused_count":0,"unknown_count":0,"outcome":"supporting","raw_decision_notes":"Acme-Co private customer payload and webhook secret were relevant."}
@@ -0,0 +1,7 @@
1
+ {"type":"benchmark.start","time":"2026-05-21T23:01:00.000Z","session_id":"demo-session-skill-routing-receipt","conversation_id":"demo-conversation-skill-routing","agent":"claude-code","workspace":"agent-skills-benchmark-fixture","model":"router-eval-model","benchmark_id":"router-sweep-2026-05-21-fixture","router_version":"skill-router-fixture-v0","golden_set":"activation-cases-fixture","raw_private_notes":"fixture contains private activation prompts, internal corpus notes, and unpublished skill body drafts that must not be copied"}
2
+ {"type":"skill.router.index.loaded","time":"2026-05-21T23:01:01.000Z","catalog_id":"context-engineering-skills","skill_names":["context-compression","filesystem-context","memory-systems","tool-design"],"description_token_count":814,"full_body_token_count":18640,"startup_strategy":"description_index_only","raw_descriptions":"context-compression private draft description\nfilesystem-context private draft description\nmemory-systems private draft description\ntool-design private draft description"}
3
+ {"type":"skill.router.case.evaluated","time":"2026-05-21T23:01:04.000Z","case_id":"case-001","raw_prompt":"private task: agent is losing the goal after compaction in a customer codebase","expected_skill":"context-compression","selected_skill":"context-compression","top_k":["context-compression","memory-systems","filesystem-context"],"match":"top1","confidence":0.87,"reason":"prompt asks about compaction/objective continuity, not persistent recall"}
4
+ {"type":"skill.router.case.evaluated","time":"2026-05-21T23:01:06.000Z","case_id":"case-002","raw_prompt":"private task: keep tool outputs out of prompt while preserving file breadcrumbs","expected_skill":"filesystem-context","selected_skill":"filesystem-context","top_k":["filesystem-context","tool-design","context-compression"],"match":"top1","confidence":0.81,"reason":"prompt asks about filesystem offload and breadcrumbs"}
5
+ {"type":"skill.router.case.evaluated","time":"2026-05-21T23:01:08.000Z","case_id":"case-003","raw_prompt":"private task: reconcile persistent agent memories after a Stop hook","expected_skill":"memory-systems","selected_skill":"context-compression","top_k":["context-compression","memory-systems","filesystem-context"],"match":"top2","confidence":0.62,"reason":"router confused consolidation/compression boundary"}
6
+ {"type":"skill.body.loaded","time":"2026-05-21T23:01:09.000Z","case_id":"case-001","skill":"context-compression","load_reason":"top1_selected","raw_skill_body":"private SKILL.md body draft with examples, operator notes, and internal evaluation hints"}
7
+ {"type":"skill.router.benchmark.completed","time":"2026-05-21T23:01:12.000Z","records_total":3,"usable_records":3,"format_failures":0,"top1_rate":0.667,"top2_rate":1.0,"model_results":[{"model":"claude-opus-fixture","top1":0.67},{"model":"gpt-5.5-fixture","top1":0.67}],"next_action":"split compression vs memory-consolidation activation examples"}
@@ -0,0 +1,6 @@
1
+ {"type":"session.start","time":"2026-05-24T15:01:00.000Z","session_id":"subagent-budget-demo-001","conversation_id":"conv-subagent-budget-001","agent":"claude-code","workspace":"private-enterprise-repo","model":"claude-sonnet-4.6"}
2
+ {"type":"subagent.boot.context_budget.evaluated","time":"2026-05-24T15:01:01.000Z","subagent_id":"incident-triage-subagent","subagent_role":"debugger","tools_policy":"default_permissive","parent_context_token_count":12000,"subagent_startup_context_token_count":171000,"total_context_window_tokens":200000,"mcp_server_count":14,"mcp_tool_schema_count":438,"skill_listing_count":451,"project_rule_count":8,"memory_index_count":37,"raw_skill_listing":"451 skills including private incident playbooks: Acme-Co Stripe prod incident PAY-1234; sk_live_private_fixture","raw_mcp_schema_excerpt":"private-enterprise-mcp support.ticket.search requires customer_email finance@acme.example and token sk_live_gateway_fixture","raw_project_rules_excerpt":"/private/work/acme/CLAUDE.md references private support ops escalation"}
3
+ {"type":"subagent.context_component.loaded","time":"2026-05-24T15:01:02.000Z","component":"mcp_tool_schemas","reason":"default_permissive_tools","candidate_count":438,"selected_count":438,"suppressed_count":0,"token_count":142000,"raw_component_sample":"support.ticket.search schema for Acme-Co private checkout outage TICKET-private-001 with sk_live_gateway_fixture"}
4
+ {"type":"subagent.context_component.loaded","time":"2026-05-24T15:01:03.000Z","component":"skill_listing","reason":"global_skill_listing_injected","candidate_count":451,"selected_count":451,"suppressed_count":0,"token_count":26000,"raw_component_sample":"private incident for Stripe prod incident PAY-1234 and customer payload"}
5
+ {"type":"subagent.context_component.suppressed","time":"2026-05-24T15:01:04.000Z","component":"project_rules","reason":"path_scope_not_matched","candidate_count":8,"selected_count":2,"suppressed_count":6,"token_count":1800,"raw_component_sample":"/private/work/acme/security-runbook.md"}
6
+ {"type":"subagent.boot.completed","time":"2026-05-24T15:01:05.000Z","status":"budget_exhausted_before_first_task","startup_context_token_count":171000,"remaining_context_token_count":29000,"first_task":"triage private checkout incident for Acme-Co","mitigation":"minimal_tools_allowlist_and_deferred_skill_search","audit_gap":"receipt proves startup context budget components and disclosure boundary, not whether the subagent selected the semantically best tools or skills"}
@@ -0,0 +1,5 @@
1
+ {"type":"session.start","time":"2026-05-24T17:05:00.000Z","session_id":"sess-subagent-delegation-demo","conversation_id":"conv-subagent-delegation-001","agent":"claude-code","workspace":"module-federation-vue-app","model":"claude-sonnet-4.6","raw_goal":"validate private checkout federation changes without flooding parent context with tsc, grep, and file-read output"}
2
+ {"type":"subagent.delegation.requested","time":"2026-05-24T17:05:07.000Z","operation":"npx tsc --noEmit --pretty false","delegation_reason":"potentially large typecheck output exceeds 50-line parent-context budget","estimated_output_lines":680,"parent_context_before_tokens":118000,"raw_prompt":"Run typecheck for Acme-Co checkout workspace after private Module Federation route edit; do not leak internal package names or Azure trace ids."}
3
+ {"type":"subagent.tool_output.captured","time":"2026-05-24T17:05:41.000Z","subagent_role":"validation-runner","operation":"npx tsc --noEmit --pretty false","exit_code":2,"output_lines":642,"output_bytes":91720,"raw_output_sample":"src/private-checkout-api/federation/RemoteCart.vue(44,13): error TS2322: Type 'AcmeSecretPaymentTokenFixture' is not assignable. Internal Azure trace AZ-PRIVATE-7781 and customer jane@acme.example appear in synthetic fixture text.","raw_paths":["/work/acme/private-checkout-api/src/federation/RemoteCart.vue","/work/acme/private-checkout-api/src/payment/token.ts"]}
4
+ {"type":"subagent.summary.returned","time":"2026-05-24T17:05:50.000Z","summary_chars":812,"summary_bullets":4,"summary_hash_input":"Typecheck failed in RemoteCart.vue prop shape; fix PaymentTokenFixture typing, then rerun tsc. No need to paste 642 lines into parent.","raw_summary":"Typecheck failed in RemoteCart.vue prop shape. Private path /work/acme/private-checkout-api/src/federation/RemoteCart.vue and customer jane@acme.example are present only in the raw synthetic fixture and must not be exported.","parent_received_raw_output":false,"parent_received_raw_paths":false}
5
+ {"type":"parent.context_budget.evaluated","time":"2026-05-24T17:05:53.000Z","parent_context_after_tokens":118900,"parent_added_tokens":900,"child_output_tokens":18300,"raw_parent_note":"Parent should receive a bounded validation summary, not the raw tsc output containing private-checkout-api, AZ-PRIVATE-7781, or jane@acme.example."}