Extract archie-agent task subscription concern #478

Closed
opened 2026-10-27 13:36:29 +00:00 by sam · 0 comments
Owner

Problem\nmain.go owns boot task discovery and taskrun subscription selection in addition to process composition.\n\n## Scope\nMove bootTaskID and subscribeTaskRuns into a concern-named cmd/archie-agent source file, preserving dedicated-container versus shared-queue behavior and existing tests.\n\n## Acceptance\n- boot brief parsing and taskrun subscription selection are outside main.go\n- behavior and logging remain unchanged\n- focused tests and task check pass

Acceptance criteria

Subscription concern is outside main.go with unchanged behavior; tests and task check pass

Notes

Implementation and validation are complete in /tmp/archie-core-agent-cleanup on branch refactor/archie-agent-main-cleanup, but delivery is pending: changes are uncommitted, not integrated into the target branch, and not pushed. Do not close until those delivery steps are complete.
Validation completed: task subscription focused tests and fresh review clean.
Delivered on review branch refactor/archie-agent-main-cleanup at de242f8; pending PR review/merge.

Close reason

Merged to main in PR #480 at 52738f5; implementation commit de242f8 passed task check, race tests, lint, and independent review


Imported from beads archie-core-tje.1 · GitHub #471 · type task · priority P2 · created 2026-08-13 · closed 2026-08-14

## Problem\nmain.go owns boot task discovery and taskrun subscription selection in addition to process composition.\n\n## Scope\nMove bootTaskID and subscribeTaskRuns into a concern-named cmd/archie-agent source file, preserving dedicated-container versus shared-queue behavior and existing tests.\n\n## Acceptance\n- boot brief parsing and taskrun subscription selection are outside main.go\n- behavior and logging remain unchanged\n- focused tests and task check pass ### Acceptance criteria Subscription concern is outside main.go with unchanged behavior; tests and task check pass ### Notes Implementation and validation are complete in /tmp/archie-core-agent-cleanup on branch refactor/archie-agent-main-cleanup, but delivery is pending: changes are uncommitted, not integrated into the target branch, and not pushed. Do not close until those delivery steps are complete. Validation completed: task subscription focused tests and fresh review clean. Delivered on review branch refactor/archie-agent-main-cleanup at de242f8; pending PR review/merge. ### Close reason Merged to main in PR #480 at 52738f5; implementation commit de242f8 passed task check, race tests, lint, and independent review --- _Imported from beads `archie-core-tje.1` · GitHub #471 · type task · priority P2 · created 2026-08-13 · closed 2026-08-14_
sam added the mediumtask labels 2026-10-27 13:36:29 +00:00
sam self-assigned this 2026-10-27 13:36:29 +00:00
sam closed this issue 2026-10-27 13:36:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#478