Skip to content

Keep invocation evidence on session tree events - #445

Draft
blitzcrieg1 wants to merge 2 commits into
masterfrom
fix/session-invocation-evidence
Draft

blitzcrieg1 wants to merge 2 commits into
masterfrom
fix/session-invocation-evidence

Conversation

@blitzcrieg1

Copy link
Copy Markdown
Owner

What changed

  • Preserve bounded Claude invocation and result metadata on the original session-tree event nodes.
  • Link a request and result within the same recorder index, host, source, session, tool, and exact invocation ID. Keep missing or competing observations visible and give inferred approvals their own nodes.
  • Keep a legacy approval unlinked when multiple pending asks share its input hash.

Validation

Synthetic fixtures exercise repeated arguments, out-of-order events, missing IDs and results, conflicting reports, source boundaries, and the session-tree API.

Related to #412.

Link Claude requests and reported results by the native invocation ID within their source and session. Keep unlinked approvals and ambiguous results visible, and guard against same-hash approval collisions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant