Skip to content

fix: harden dispatch replay and minimal discovery (#194) - #281

Merged
James3014 merged 1 commit into
mainfrom
fix/issue-194-dispatch-reliability-wave2
Sep 26, 2026
Merged

James3014 merged 1 commit into
mainfrom
fix/issue-194-dispatch-reliability-wave2

Conversation

@James3014

Copy link
Copy Markdown
Owner

Closes the remaining source-side reliability gaps in #194 without changing provider-routing authority.

What changed:

  • require agent_start.attemptKey at the public MCP boundary so every consequential dispatch is replay-bound before provider effects;
  • expose native grep, glob, and ls in minimal mode while keeping the Codex tool surface unchanged;
  • propagate MCP cancellation into Pi discovery tools and impose a bounded 10s discovery timeout with attributable DISCOVERY_CANCELLED / DISCOVERY_TIMEOUT errors;
  • update affected server tests so deeper guard semantics remain exercised under the required replay identity;
  • add focused Pi cancellation/timeout tests.

Verification on the exact Candidate tree bb4511d762f1b6d674655054a696a8f496ba0b01:

Core physical snapshot:

  • source tree a224ca6afb1b51030430206dfda022be4a06adfe
  • target tree bb4511d762f1b6d674655054a696a8f496ba0b01
  • changed paths exactly four, no deletions, no scope escape.

No provider-specific policy is moved into discovery or the host.

@James3014
James3014 merged commit 3ca5786 into main Sep 26, 2026
13 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