Repository navigation
Add bounded MRTR retry admission contract (dispatch remains blocked) - #2008
Open
BlueHotDog wants to merge 14 commits into
Open
BlueHotDog wants to merge 14 commits into
BlueHotDog wants to merge 14 commits into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Collaborator
Author
|
Removed the bespoke test target. Tests belong in the existing workflow: make -C apps/frontman_server test TEST_ARGS="test/protocols/mcp_retry_policy_test.exs". Earlier 3-pass evidence came from standalone ExUnit, not the application-backed suite; that suite remains unverified due to missing dependencies. |
… feature/mcp-mrtr-retries
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Prerequisite-only MRTR policy contract, not completed automatic retry support. Policy and tests only; no Makefile changes. Existing controlled decline remains unchanged.
The pure policy distinguishes cancellation, unknown external outcome, unsupported inputs, protocol failure, denied retry and exhausted budgets. Caller must supply finite attempt/time bounds and trusted permission; there is no default enabled policy. It handles no opaque state, arguments or tool output. A positive decision only requests an atomic Tasks continuation check; it never dispatches.
Dependencies / not implemented
Runtime coordination remains blocked on the replay owner’s durable lifecycle/continuation authorization and cancellation propagation. No roots/sampling/elicitation capabilities are added. Three attempts/30 seconds appear only as test inputs, not approved defaults. Fresh IDs, exact state echo (including empty versus absent), concurrent isolation, cancellation races and no-interim-persistence need runtime tests once those seams exist. Structured ToolOutput representation is not changed.
Validation
make -C apps/frontman_server test TEST_ARGS="test/protocols/mcp_retry_policy_test.exs". Previous revision passed the backend test CI job. Latest revision splits validation from decision logic to address Credo complexity; its CI is pending.No merge, force push or package publication.