Migrate workflow, intake, and task lifecycle consumers #1145
Notifications
Due Date
No due date set.
Blocks
Depends on
Reference: sam/archie#1145
Reference in new issue
Block a user
Migrate internal/domain/workflow and work-intake/task-lifecycle consumers onto the narrow State Store contracts (authority: docs/prds/state-store-contract.md). PREREQUISITE: the ratified type/interface relocation so internal/domain/workflow imports no internal/store (Task/Status/Source and the consumer-owned workflow.Store interface move into internal/domain/workflow, superseding store.WorkflowStore). Replace direct internal/store usage with the contract facades; preserve transition atomicity expectations, retry/park/dead behavior, task deduplication, workflow handoff, event/history writes, and agent/container callbacks. Keep domain packages free of infrastructure imports and add focused regression tests for each migrated path. NOTE: internal/store is a transitional compatibility location only; its long-term infrastructure home is internal/infrastructure/store (see docs/architecture/dependencies-and-contracts.md).
Close reason
Re-closed after bd github sync reverted status (2026-09-07); same evidence as the original close: internal/domain/workflow imports no internal/store symbol in production code, daemon.Daemon.Store is sourced from b.stateStore, confirmed by TestBuildDaemonRoutesTaskStoreThroughStateStore.
Imported from beads
archie-core-8cda.4.5· GitHub #759 · type task · priority P2 · created 2026-09-06 · closed 2026-09-07