Routed via the feature label. Stages: assess (read-only agent with a structured decide tool — verdict as a tool call, not parsed prose; not-a-fit closes the issue as won't-do with reasons) -> PRD (read-only agent; problem, solution, surface, acceptance criteria, non-goals) -> deliver (PRD posted as the watched issue comment, optional [notify] webhook POST for n8n->email, task -> waiting_human). The daemon's cycle now watches waiting_human tasks: replies after the watch comment (excluding the bot) are judged by an LLM (triage role, APPROVE/REJECT/UNCLEAR + reason — never keyword matching). Approvals requeue under implement (whose planner now treats an existing PRD as prior context); rejections close with the reasoning acknowledged; unclear replies keep waiting. Supporting changes: forge.Comment returns the comment id; forge.RepliesAfter; store watch_comment_id (additive migration), WaitingTasks, Requeue; Route honours a pre-assigned workflow; AgentStage.Extra for stage-specific tools. Live: todo#7 assessed fit -> PRD delivered -> waiting_human.
45 lines
1.1 KiB
TOML
45 lines
1.1 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"
|
|
gate = [
|
|
["go", "vet", "./..."],
|
|
["go", "build", "./..."],
|
|
["golangci-lint", "run"],
|
|
["go", "test", "./...", "-count=1"],
|
|
]
|