AgentStage is the reusable bridge from workflow stages to agentloop runs: role->model selection from config, budgets, repo gate conversion, task-row NotesStore (survives worktree cleanup, never pollutes the PR), and park-on-anything-but-passed. Every future LLM stage (tdd, feasibility) is an AgentStage with a different mission/gate/handler. The implement workflow: prepare -> baseline gate (park on red base, prevents park-storms) -> plan (read-only agentloop, plan posted to the issue as a veto window) -> build (full toolset behind the repo's configured gate) -> commit/push -> diff cap -> PR with the builder's finish summary as the body. Proven live on samcharles93/todo#3: planner 3 steps, builder 4 steps (~31k tokens total), producing gate-verified table-driven TodoStore tests as PR #4.
28 lines
851 B
AMPL
28 lines
851 B
AMPL
module github.com/samcharles93/archie-core
|
|
|
|
go 1.26.2
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.6.0
|
|
github.com/google/go-github/v78 v78.0.0
|
|
modernc.org/sqlite v1.54.0
|
|
)
|
|
|
|
require (
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
golang.org/x/sys v0.46.0 // indirect
|
|
modernc.org/libc v1.74.1 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
)
|
|
|
|
require github.com/samcharles93/ai-sdk v0.1.16
|
|
|
|
replace github.com/samcharles93/ai-sdk => /work/projects/ai-sdk
|