From b8ac644acdc93526f9f53ed5eaeadbca00f874c0 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Fri, 24 Jul 2026 11:44:04 +1000 Subject: [PATCH] =?UTF-8?q?fix:=20sync=20docker=20config=20with=20inproces?= =?UTF-8?q?s=20=E2=80=94=20DeepSeek,=20100M,=20diff=20cap=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.docker.toml | 23 ++++++++++++----------- docker-compose.yml | 13 +++++-------- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/config.docker.toml b/config.docker.toml index 92299813a..db088e141 100644 --- a/config.docker.toml +++ b/config.docker.toml @@ -7,7 +7,7 @@ db_path = "/var/lib/archie/archie.db" poll_interval = "60s" label = "archie" bot_user = "archie" -diff_cap_lines = 400 +diff_cap_lines = 0 [forge] type = "gitea" @@ -29,19 +29,18 @@ parked = "archie:parked" mode = "nats" [models] -triage = "qwythos/qwythos-9b" -planner = "qwythos/qwythos-9b" -builder = "qwythos/qwythos-9b" +triage = "deepseek/deepseek-v4-pro" +planner = "deepseek/deepseek-v4-pro" +builder = "deepseek/deepseek-v4-pro" -[providers.qwythos] -class = "openai" -base_url = "http://host.docker.internal:8081/v1" -api_key_env = "QWYTHOS_API_KEY" +[providers.deepseek] +class = "deepseek" +api_key_env = "DEEPSEEK_API_KEY" [budgets] -max_steps = 60 -max_tokens = 400000 -wall_clock = "30m" +max_steps = 90 +max_tokens = 100000000 +wall_clock = "60m" gate_max_failures = 5 [web] @@ -63,6 +62,8 @@ name = "archie-core" base = "main" ecosystem = "go" gate = [ + ["gofumpt", "-w", "."], + ["go", "fix", "./..."], ["go", "vet", "./..."], ["go", "build", "./..."], ["go", "test", "./...", "-count=1"], diff --git a/docker-compose.yml b/docker-compose.yml index b66244aa4..f59d26d75 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,9 +23,7 @@ services: # ── archie daemon ────────────────────────────────────────────────── archied: - build: - context: . - dockerfile: Dockerfile.archied + image: git.catlow.cloud/sam/archied:latest command: -config /etc/archie/config.toml extra_hosts: - "host.docker.internal:host-gateway" @@ -33,25 +31,24 @@ services: - "8484:8484" # web dashboard environment: - ARCHIE_GITEA_TOKEN - - QWYTHOS_API_KEY=not-needed + - DEEPSEEK_API_KEY volumes: - ./config.docker.toml:/etc/archie/config.toml:ro - archie_work:/var/lib/archie/work - archie_db:/var/lib/archie - - /var/run/docker.sock:/var/run/docker.sock # spawn agent containers + - /var/run/docker.sock:/var/run/docker.sock depends_on: nats: condition: service_healthy restart: unless-stopped - # ── agent container (built but not run directly — daemon spawns) ── - # The image is built here so the daemon's container.Pool can use it. + # ── agent image (built once, spawned by daemon) ──────────────────── agent: build: context: . dockerfile: Dockerfile image: git.catlow.cloud/sam/archie-agent:latest - command: ["true"] # never run directly — daemon spawns via Docker API + command: ["true"] restart: "no" volumes: