internal/domain/workflow imports internal/agentexec #1397

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

The domain layer must import neither app nor infrastructure, but internal/domain/workflow imports internal/agentexec, which drags the ai-sdk runtime into every binary that touches workflow types (archie-state-store included). Done when go list -deps ./internal/domain/... shows no internal/agentexec.

Close reason

Agent stage contract (Request, Result, Runner, ToolCallReporter and the protocol types) moved to internal/domain/agentrun; go list -deps ./internal/domain/... shows no internal/agentexec or ai-sdk.


Imported from beads archie-core-ji12 · GitHub #1446 · type bug · priority P2 · created 2026-10-03 · closed 2026-10-03

The domain layer must import neither app nor infrastructure, but internal/domain/workflow imports internal/agentexec, which drags the ai-sdk runtime into every binary that touches workflow types (archie-state-store included). Done when go list -deps ./internal/domain/... shows no internal/agentexec. ### Close reason Agent stage contract (Request, Result, Runner, ToolCallReporter and the protocol types) moved to internal/domain/agentrun; go list -deps ./internal/domain/... shows no internal/agentexec or ai-sdk. --- _Imported from beads `archie-core-ji12` · GitHub #1446 · type bug · priority P2 · created 2026-10-03 · closed 2026-10-03_
sam added the mediumbug labels 2026-10-27 13:40:14 +00:00
sam self-assigned this 2026-10-27 13:40:14 +00:00
sam closed this issue 2026-10-27 13:40:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1397