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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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