Skip to content

fix: route COS claims to worker principal - #65

Merged
CondorCommodore merged 2 commits into
mainfrom
agent/cos-v1-worker-receipt
Aug 4, 2026
Merged

fix: route COS claims to worker principal#65
CondorCommodore merged 2 commits into
mainfrom
agent/cos-v1-worker-receipt

Conversation

@CondorCommodore

Copy link
Copy Markdown
Owner

What changed

Route COS claim-request messages to the worker's logical coord principal (coord_agent_id) instead of the terminal registration identity (worker_id). Add a regression test covering the distinction.

Why

The live canary used a registered terminal named macbook-tab2-codex, but coord-api routes inbox messages by mikebook_codex. The old path returned unknown to_agent and prevented claim delivery.

Validation

  • pytest tests/test_c2_coord_client.py tests/test_cos_assignment_coordinator.py tests/test_cos_worker_receipt_adapter.py
  • 56 passed

This PR does not change terminal injection, lease fencing, credentials, deployment, or merge policy.

@CondorCommodore
CondorCommodore marked this pull request as ready for review August 4, 2026 15:01
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@CondorCommodore
CondorCommodore merged commit bb0dcc4 into main Aug 4, 2026
9 of 10 checks passed
@CondorCommodore
CondorCommodore deleted the agent/cos-v1-worker-receipt branch August 4, 2026 15:04
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.

1 participant