The first feature run parked exactly as designed but for an avoidable reason: todo is a templ project and the agent edited generated _templ.go files, leaving literal template placeholders in rendered HTML. Systemic fixes, all environmental: - repos gain protect = ["_templ.go"]: suffixes agents can never write (agentloop.ProtectPaths), forcing edits to the sources; the gate's new leading ["templ","generate","./components/"] command regenerates. AgentStage.ProtectPaths now composes with the repo list and takes TaskContext like every other stage hook. - archied -requeue <task-id>: the retry path for parked/waiting tasks (keeps the task's workflow; Requeue with empty workflow preserves it, clears the park reason). Retry of the parked feature task drove the full loop home: PRD-guided plan -> builder edited components.templ (generated file write-blocked), gate regenerated + tested -> PR #8 with 109 lines of tests.
47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
# archied configuration. Copy to ~/.config/archie/config.toml.
|
|
# The GitHub token is NOT configured here: export ARCHIE_GITHUB_TOKEN.
|
|
|
|
# work_dir = "~/.local/share/archie/work" # default
|
|
# db_path = "~/.local/share/archie/archie.db"
|
|
poll_interval = "60s"
|
|
label = "archie"
|
|
bot_user = "vectis-labs-archie"
|
|
diff_cap_lines = 400
|
|
|
|
[models] # role -> ai-sdk runtime ref (used by agent workflows, Phase 4b)
|
|
triage = "openai/gpt-5.4"
|
|
planner = "openai/gpt-5.4"
|
|
builder = "openai/gpt-5.4"
|
|
|
|
[providers.openai]
|
|
class = "openai"
|
|
api_key_env = "OPENAI_API_KEY"
|
|
|
|
[providers.ollama]
|
|
class = "ollama"
|
|
|
|
[web] # observability dashboard (read-only, no auth — keep it local/tailnet)
|
|
listen = "127.0.0.1:8484" # "off" disables
|
|
|
|
[notify] # optional webhook for human-in-the-loop moments (n8n -> email)
|
|
# webhook = "https://n8n.catlow.cloud/webhook/archie"
|
|
|
|
[budgets]
|
|
max_steps = 60
|
|
max_tokens = 400000
|
|
wall_clock = "30m"
|
|
gate_max_failures = 5
|
|
|
|
[[repos]]
|
|
owner = "samcharles93"
|
|
name = "todo"
|
|
base = "main"
|
|
protect = ["_templ.go"]
|
|
gate = [
|
|
["templ", "generate", "./components/"],
|
|
["go", "vet", "./..."],
|
|
["go", "build", "./..."],
|
|
["golangci-lint", "run"],
|
|
["go", "test", "./...", "-count=1"],
|
|
]
|