Skip to content

feat: add client tool execution guard#788

Merged
blove merged 1 commit into
mainfrom
blove/client-tools-m3-durable-dedup
Jul 8, 2026
Merged

feat: add client tool execution guard#788
blove merged 1 commit into
mainfrom
blove/client-tools-m3-durable-dedup

Conversation

@blove

@blove blove commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add the middleware client-tool execution store contract plus an in-memory implementation for deterministic dedup state.
  • Add LangGraph helpers to record inbound client tool results, filter duplicate result messages, and look up prior executions for reload reconciliation.
  • Add a caller-supplied Postgres tagged-SQL store, exported schema, README guidance, and regenerated middleware API docs.

Test Plan

  • npx vitest run src/client-tool-execution-store.spec.ts --config vite.config.mts
  • npx vitest run src/client-tool-result-guard.spec.ts --config vite.config.mts
  • npx vitest run src/postgres-client-tool-execution-store.spec.ts --config vite.config.mts
  • npm run generate-api-docs
  • npx nx test middleware
  • npx nx lint middleware
  • npx nx build middleware
  • npx nx run-many -t build --projects=chat,langgraph,ag-ui,render,a2ui,licensing,telemetry --configuration=production
  • node scripts/check-dx-coverage.mjs
  • git diff --check

@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment Jul 8, 2026 4:51pm

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@blove blove enabled auto-merge (squash) July 8, 2026 16:48
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@blove blove merged commit 7684fc2 into main Jul 8, 2026
25 checks passed
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