gitoriaLog in with ident

antcolony

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmain3a4d0324antcolony#37: a too-long report gets up to 3 fix tries, finished work is never thrown away for lengthmremain/.env.example

3.2 KB

  1. # .env.example — settings of the antcolony-scheduler container (mission 028). Copy to `.env` beside docker-compose.yml
  2. # and change what you need; `docker compose up -d` applies it (recreates the container). Unset lines = the defaults
  3. # in docker-compose.yml (= the documented scheduler defaults). Never commit the .env.
  4. # The creator's current setting (2026-09-24): quota checks off for the first live runs.
  5. COLONY_RESERVE=100 # 5 h window: no new start at/above this % (default 70; 100 = off)
  6. COLONY_WEEK_LIMIT=100 # weekly usage: no new start while above this % (default 84; 100 = off)
  7. # COLONY_LIVE=1 # 1 = run against the live tickets server (--live); 0 = refuse it (tests)
  8. # COLONY_TICKETS_URL=https://tickets.worldapi.org
  9. # COLONY_TOKEN_FILE=/home/mre/.config/antcolony/tickets-token
  10. # COLONY_RUN_INTERVAL=60 # seconds between iterations
  11. # COLONY_PARALLEL=1 # sessions at once (each gets COLONY_PORTS_PER_SESSION ports of the pool)
  12. # COLONY_MODEL=sonnet # worker model (haiku allowed, has no auto mode)
  13. # COLONY_MAX_TURNS=40
  14. # COLONY_WORK_TIMEOUT=3600 # seconds per worker session
  15. # COLONY_CONTROLLER_MODEL=sonnet
  16. # COLONY_CONTROLLER_MAX_TURNS=20
  17. # COLONY_CONTROLLER_TIMEOUT=900
  18. # COLONY_MAX_BUDGET_USD= # empty = no budget limit per session
  19. # COLONY_PORT_POOL=8700-8799 # NOTE Loreana: 8765, 8766, 8787, 8795 are used by other services (2026-09-24)
  20. # COLONY_PORTS_PER_SESSION=10
  21. # COLONY_RUN_ARGS= # extra `./colony run` options, e.g. --lease-ttl 7200 --heartbeat 3600
  22. # COLONY_STOP_FINISH_SECONDS=20 # docker stop: sessions may finish this long, then they are parked (keep < 75 s grace)
  23. # COLONY_LOG_MAX_BYTES=10485760 # logs/colony.log rotates at this size
  24. # COLONY_LOG_KEEP=5
  25. # COLONY_LIBRARIAN=on # mission 029: the librarian (creator's decisions → DECISIONS.md) first in every iteration; off = never
  26. # COLONY_LIBRARIAN_MODEL=sonnet # antcolony#20: `local` / `local:<alias>` = a small model on a local llama-server, Claude as fallback
  27. # COLONY_LOCAL_URL=http://127.0.0.1:8080/v1 # OpenAI-compatible endpoint of that server
  28. # COLONY_LIBRARIAN_FALLBACK=sonnet # where a text goes when the local model cannot answer (off = nowhere)
  29. # COLONY_LIBRARIAN_MAX=0 # creator texts classified per iteration (0 = all; a text left over → no start that iteration)
  30. # COLONY_CREATOR_NAMES=Caramboleyo,creator # the creator's display names in tickets (the API shows no user ids)
  31. # COLONY_CREATOR_TOKEN_FILE= # optional: a file with the CREATOR's tickets API token (0600) — without it /confirm and /reject in comments are answered "use the button"
  32. # CLAUDE_CONFIG_DIR=/home/mre/.claude-colony # workers use a SEPARATE Claude login/subscription; the host keeps ~/.claude.
  33. # One-time login: CLAUDE_CONFIG_DIR=/home/mre/.claude-colony claude → /login with the other account.
  34. # Then set this line in .env and: docker compose up -d (running sessions are parked and resumed).
  35. # mission 035 (antcolony#14): scheduler + agents per host (README "Scheduler + agents per host")
  36. # scheduler host: COLONY_SERVE=<port> COLONY_SERVE_HOST=127.0.0.1 COLONY_AGENT_TTL=30 COLONY_AGENT_TOKEN_FILE=<file with the shared secret>
  37. # agent host: COLONY_SCHEDULER_URL=https://… COLONY_AGENT_TOKEN_FILE=<same secret> COLONY_AGENT_POLL=5 COLONY_AGENT_QUOTA_EVERY=60

Branches

Latest commits

  • 3a4d0324antcolony#37: a too-long report gets up to 3 fix tries, finished work is never thrown away for lengthmre
  • a6af7883tracker: worker box sees calendar.worldapi.org (login to copy)mre
  • c613d26btemplates: bridges to external components (login.js for ident's selector) are allowed (creator 2026-09-27)mre
  • 9062978ctracker: worker box sees /media/STORAGE/projects/old-tracker read-only (tracker#2 source data)mre
  • 7f9660eeState of 2026-09-27, before the move to gitoriamre