# Development overlay for `task dev` and `task dev:dashboard`. # # Match Vite's API/event proxy without changing the installed configuration. # The dashboard on :8484 is the # archie-ui process's listener, not archied's; this overlay is what both # `go run ./cmd/archied -config-overlay deployments/dev.toml` and # `go run ./cmd/archie-ui -config-overlay deployments/dev.toml` read. Only # [web], [services.*] and [capture] land in archie-ui; the daemon ignores # [web] entirely. # `task dev` runs archie-state-store against this overlay, and the State Store # fails closed without a PostgreSQL URL. These must reach the `postgres` # service in docker-compose.yml, which `task dev` brings up first via # dev:postgres -- keep them and that service in agreement. dev:postgres also # provisions the two roles: the services serve as archie_runtime and migrate # as archie_migrator, while the Compose-created archie role is only the # admin that created them. bot_user = "archie-dev" database_url = "postgres://archie_runtime:archie@127.0.0.1:5432/archie?sslmode=disable" migration_database_url = "postgres://archie_migrator:archie@127.0.0.1:5432/archie?sslmode=disable" [web] listen = "127.0.0.1:8484" # The installed config may point [nats] at the optional external broker, which # `task dev` never starts. An explicit empty url overrides it, so the daemon # runs the embedded broker as in the e2e stack; the broker binds the host # gateway, which task containers reach. [nats] mode = "embedded" url = "" # Task containers run the agent image `task image:agent` builds locally # (docker-compose.yml tags it git.catlow.cloud/sam/archie-agent:latest), and # the "missing" pull policy never pulls over the local build. There is no # code-level default image: an unset containers.image fails validation at # startup. [containers] image = "git.catlow.cloud/sam/archie-agent:latest" # `task dev` runs archie-state-store via dev:state-store, which passes no # -listen, so the listen below is the port the store binds. It must agree with # the target: these two lines are the only place that pair is stated. Move them # when a port is already taken on the host -- before the # listen key existed the collision could only be worked around by hand-writing # a matching target and passing -listen, and it read as a code fault. # # Task containers dial the target over the Docker bridge gateway, so the store # listens on every interface and [tls] (issued by `task dev:tls`) is required. [services.state] target = "172.17.0.1:9091" listen = "0.0.0.0:9091" [tls] ca_file = "tmp/dev-tls/ca.pem" cert_dir = "tmp/dev-tls" # `task dev` runs archie-gateway via dev:gateway, which also passes no -listen: # the listen below is what it binds. Stated explicitly so the value archie-ui # dials is visible next to the State Store one. [services.gateway] target = "127.0.0.1:8585" listen = "127.0.0.1:8585" [services.daemon] target = "127.0.0.1:8587" listen = "127.0.0.1:8587" # Dry-run self-intake curator (#1770): surveys recent runs and reports # candidate follow-up issues as pass summaries; declares no issue-creating # tool, so it cannot file. Needs a chat model configured to run at all. [[curators]] name = "self-intake" interval = "1h" tools = ["run_list", "run_events", "issue_list"] instructions = """ You are archie's self-intake curator, in dry run. Each pass: list recent task runs with run_list, inspect anything parked or failed with run_events, check issue_list for each repo so nothing already open is repeated, then report candidate follow-up issues — concrete, each tied to the run that produced it. Do not create issues; this pass reports only (no issue-creating tool is declared, so it cannot). End your reply with the report. """