checkout assignee identity: replace ENV[USER] fallback with an agent-identity convention #316

Closed
opened 2026-08-07 13:13:03 +00:00 by jared · 1 comment
Owner

Context

Surfaced implementing #256: os-backlog checkout assigns ENV["USER"] || "agent" with no flag — fine for solo use, but the autonomous backlog loop needs distinguishable agent identities so concurrent sessions can skip each other's claims meaningfully. See plugins/os-backlog/lib/backlog/checkout.rb.

## Context Surfaced implementing #256: `os-backlog checkout` assigns `ENV["USER"] || "agent"` with no flag — fine for solo use, but the autonomous backlog loop needs distinguishable agent identities so concurrent sessions can skip each other's claims meaningfully. See plugins/os-backlog/lib/backlog/checkout.rb.
Author
Owner

Resolution

Done: Agent identity in claim start comments: Checkout resolves CC_OS_AGENT_ID (fallback assignee); Agent: line added to start comment; assignee unchanged because Forgejo rejects non-account assignees (verified empirically).

Evidence: Commit a1710ed on main; os-backlog suite green (151 runs, 361 assertions, 0 failures).

Follow-ups: Captured as #335 (skip-on-foreign-claims consumer) and #336 (empty-string CC_OS_AGENT_ID semantics).

## Resolution **Done:** Agent identity in claim start comments: Checkout resolves CC_OS_AGENT_ID (fallback assignee); **Agent:** line added to start comment; assignee unchanged because Forgejo rejects non-account assignees (verified empirically). **Evidence:** Commit a1710ed on main; os-backlog suite green (151 runs, 361 assertions, 0 failures). **Follow-ups:** Captured as #335 (skip-on-foreign-claims consumer) and #336 (empty-string CC_OS_AGENT_ID semantics).
jared closed this issue 2026-08-10 19:04:12 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#316
No description provided.