feat(mcp): render canonical task recovery state - #315
Merged
Joncallim merged 17 commits intoAug 2, 2026
Merged
Conversation
fix(mcp): harden canonical task client presentation
fix(mcp): pin S5 server observation
fix(mcp): harden canonical runtime presentation
Joncallim
marked this pull request as ready for review
August 2, 2026 17:26
Joncallim
merged commit Aug 2, 2026
2cd6e6d
into
architecture/issue-180-mcp-operator-copy
3 checks passed
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.
Task ID\nR2-UI-1\n\n## Summary\n- Replaces task-page recovery CTA reconstruction with one canonical S5 presentation DTO containing admission, recovery, terminal state, and the same observation freshness fingerprint.\n- Renders server-authorized recovery controls only from exact endpoint identities and hides them for unavailable, mismatched, stale, or terminal observations.\n- Uses BrandedTerminalJoin for terminal evidence and removes legacy task-page recovery CTA wiring.\n\n## Acceptance\n- Canonical DTO is serialized from one authoritative S5 observation with no secrets or claim tokens.\n- UI posts only the DTO action identity and freshness binding to the existing authenticated action endpoint.\n- Component and reader coverage exercise packet/local markers, terminal branding, and terminal action suppression.\n\n## Validation\n- npm test -- --run tests/mcp-canonical-task-presentation.test.tsx tests/epic-172-s5-server-reader.test.ts tests/epic-172-s5-route-tests.test.ts (49 passed)\n- npx tsc --noEmit\n- targeted ESLint on changed source/tests\n- npm run build\n- git diff --check