Skip to content

Add stateless backend-scoped task handles - #84

Open
lucarlig wants to merge 3 commits into
mainfrom
user/luca/issue-6185-task-handles
Open

Add stateless backend-scoped task handles#84
lucarlig wants to merge 3 commits into
mainfrom
user/luca/issue-6185-task-handles

Conversation

@lucarlig

@lucarlig lucarlig commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a versioned stateless task-handle codec for MCP 2026-07-28
  • encrypt caller, virtual-host, backend, and upstream task context with AES-256-GCM
  • validate JWT subject scope and current backend membership with indistinguishable invalid-handle errors
  • configure a shared replica key and document the contract tersely in _context/wiki

The control plane remains the authentication authority; the dataplane only validates its JWT and binds the opaque handle to the validated sub. This PR is the codec prerequisite. Task method proxying remains in the follow-up issues.

Validation

  • cargo fmt --all -- --check
  • cargo clippy --locked --workspace --all-targets -- -D warnings
  • cargo nextest run --locked --workspace — 186 passed
  • cargo deny check advisories licenses
  • cargo build --locked --workspace
  • cargo shear --check-test-targets --deny-warnings --locked
  • mdbook build _context/wiki
  • mdbook test _context/wiki

Closes IBM/mcp-context-forge#6185

Signed-off-by: lucarlig <luca.carlig@ibm.com>
@lucarlig
lucarlig force-pushed the user/luca/issue-6185-task-handles branch from 232aac3 to 80d8ada Compare August 11, 2026 11:01
Signed-off-by: lucarlig <luca.carlig@ibm.com>
@lucarlig
lucarlig marked this pull request as ready for review August 11, 2026 13:25
Signed-off-by: lucarlig <luca.carlig@ibm.com>
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.

[FEATURE][CF-DATAPLANE][TASKS]: Add stateless backend-scoped task handles

2 participants