Skip to content

CI twin for PR #26 (r2) - #30

Closed
ualtinok wants to merge 1 commit into
masterfrom
ci/pr26-r2
Closed

ualtinok wants to merge 1 commit into
masterfrom
ci/pr26-r2

Conversation

@ualtinok

@ualtinok ualtinok commented Aug 16, 2026 •

Copy link
Copy Markdown
Contributor

Twin at e9cdca5 post-#23 rebase (mergeable verified).


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.


Summary by cubic

Introduce a control-plane route census to enumerate live consumers per module or daemon-wide. Previously there was no way to inspect route ownership; now supervisor.routes reports consumer identity, age, and draining state without contacting modules, making restarts safer.

  • Add supervisor.routes to subc-control requests and responses. Responses include modules with routes, each route’s consumer (reserved { module_id } or direct { connection_id }), age_ms, and draining.
  • Retain principal and bound_at on each route binding in subc-core forwarding; implement route_census and endpoint_routes that read under a single table lock.
  • Extend the operator CLI with ck routes [<module-id>], with --json support.
  • Update golden tests and thin-core op catalogs; add coverage for draining census and consumer classification.
  • Version bumps: subc-control to 0.3.0, subc-core to 0.5.0.
  • Migration: clients depending on subc-control must bump to 0.3 and update exhaustive ClientControlRequest/ClientControlResponse matches to handle SupervisorRoutes.

Written for commit e9cdca5. Summary will update on new commits.

Review in cubic

…re a restart

Retain the attested principal and bind Instant on every RouteBinding so the census can distinguish reserved consumers from direct connections and report route age.\n\nDraining bindings stay visible with their draining state. supervisor.routes remains control-plane-only and is not exposed through the MCP facade or any agent-tool surface.
@ualtinok ualtinok closed this Aug 16, 2026
@ualtinok
ualtinok deleted the ci/pr26-r2 branch August 16, 2026 15:36
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.

2 participants