Repository navigation
Confirm a loose-end claim held under an encoded ACP session id - #1859
Conversation
The server reports a hosted ACP agent's session under the token it encodes the raw id to, so the CLI computes that token to recognise its own session Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 41 minutes. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
PR Summary by QodoConfirm loose-end claims reported under encoded ACP session IDs
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
Code Review by Qodo
1.
|
The worker-filtered list sends the trimmed id, so the token it is reported under is the trimmed id's Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AI-4231 (no GitHub issue)
What & why
With ACP id encoding on, the server stores a hosted agent's
sess-1under asenc1…token and resolves the raw id it is sent to that token (kurrent-io/kcap-server#2579). A claimed completion then reports the token assession_id, and the worker-filtered list reports claims under it, socomplete_loose_endsaid the completion could not be confirmed andlist_loose_endsrefused the claim rows, though the server had done the work.SessionIds.SameSessionaccepts the reported id when it is the sent id or its server token.Where to look
ServerTokenmust match the server'sSessionIdToken.Encodebyte for byte; the test vector forsess-1pins it.Verification
SessionIdsTests9/9,LooseEndClaimToolResultsTests5/5LooseEndClaimLifecycleEndpointTests.An_acp_worker_claims_lists_and_completes_by_its_raw_session_idin kurrent-io/kcap-server#2579 asserts the completion reports the token🤖 Generated with Claude Code
Summary by CodeRabbit