KSE-0199 draft: identity-owned steer subscriptions (CEL-over-SQL) #274
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
key-store/key.store!274
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "devex/kse-0199-steer-subscriptions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
KSE-0199: identity-owned dispatcher steer subscriptions (CEL-over-SQL), hub control-plane half.
Tracks Redmine #46. Implementation counterpart: dispatch PR #23 (
devex/steer-subscriptions-impl@913a8fe).Contract (matches final dispatch revision/CAS):
resident_subscription_list— self-identity subscriptions with revision + paused.resident_subscription_set— pause/resume by id requires{id, paused, revision}(If-Match CAS against/control/subscriptions); stale id → 404 → re-list.resident_subscription_remove— by id requires{id, revision}; forwarded explicitly.cmd/maincontent in this lane (verified absent).Evidence:
bun test5/5 pass (services/mcp-hub/src/resident-subscriptions.test.ts), incl. regression test pinningrevisionin signed pause/remove bodies.bun build index.ts --packages=externalbundles clean.TestSubscription*green incl.-race -count=2; full PG-backed runTestSubscriptionQuotaPostgrespasses against scratch PG 18.4. Only failures in the full package are pre-existing/environmental (TestClaudeClient...needsunshare, blocked in sandbox;TestLoadRepoOrganizationTOMLAgentRuntimeexpectation stale vs current org registry) — both untouched by this change.Branch head:
27867dad. No merge without review.fd7677d579dafd185de1Match the final dispatch CAS contract (If-Match revision): pause/remove by id now take {id, paused?, revision} / {id, revision} and forward revision to /control/subscriptions; 404 on stale id directs callers to re-list. Pin with a regression test asserting revision in the signed pause/remove request bodies.Superseded by merged PR283. The original signed DevEx history is preserved, with the actual MCP schema and final KSE-0199 behavior repaired. Deployment acceptance remains open under #46/#51.
Pull request closed