Commit Graph
15 Commits
Author SHA1 Message Date
sam ec8534dfe2 feat(gateway): ship model controls, shell tools, and release tracking 2026-07-27 06:16:39 +10:00
sam bf0e348cbb fix: pass HEYARCHIE_TELEGRAM_BOT_TOKEN through to archied
The telegram chat gateway is enabled via chat.telegram.token_env in
config.toml, but compose never forwarded the named variable, so
cfg.Chat.Telegram.TokenEnv resolved to empty and archied exited 1.
Same class of bug as ARCHIE_GITEA_TOKEN_ARCHIE.
2026-07-27 04:51:10 +10:00
sam 52015c81b0 fix: pass ARCHIE_GITEA_TOKEN_ARCHIE through to archied container
The archied service only forwarded ARCHIE_GITEA_TOKEN, but config.toml
names ARCHIE_GITEA_TOKEN_ARCHIE for the archie identity. Recreating the
container via docker compose (rather than a manual docker run with an
explicit -e) silently dropped the token.
2026-07-27 04:31:43 +10:00
sam bb784297ae feat: fix webui task table and add merge-to-deploy automation
- webui: task rows referenced Go-style field names but store.Task
  JSON-marshals with lowercase tags, so every task row rendered blank
- add .gitea/workflows/deploy.yml: build+push archied and archie-agent
  images to the registry on merge to main
- docker-compose.yml: add a watchtower service so carina picks up new
  images and restarts the daemons without needing CI to SSH in
2026-07-24 17:22:19 +10:00
sam d80401d595 feat: add config overlay and shared RPC/Yaegi packages
- Introduce `-config-overlay` flag and `config.LoadOverlay()` to merge a base config with an overlay file, only overriding fields the overlay sets. This enables docker-compose to mount the base config from the host and apply only deployment-specific overrides.
- Create `internal/natsrpc` package with reusable NATS request/reply primitives (Envelope, Client, Call, RegisterAll, Respond). Migrate storerpc, worktreerpc, and forgerpc to use it, eliminating duplicated marshal/unmarshal and error handling.
- Create `internal/yaegiutil` package with shared interpreter construction (stdlib + extra symbols), generic export resolution (Resolve), and panic recovery (Safe). Migrate all Yaegi-based surfaces (gate scripts, daemon plugins, skill plugins, workflow stages, skill scripts) to use it, reducing boilerplate and centralizing panic safety.
- Simplify `config.docker.toml` to contain only overlay fields (paths, container config) and remove the duplicated repos list – the base config is now the single source of truth.
- Update docker-compose.yml to pass both -config and -config-overlay flags and mount the base config from the host.
- Add tests for LoadOverlay, DockerConfigOverlaysExampleConfig, Envelope, and yaegiutil utilities.
2026-07-24 12:57:10 +10:00
sam 8f8d0188b8 fix: host bind mounts for worktree to fix Docker container mount paths 2026-07-24 12:31:31 +10:00
sam 242762b2fb refactor: archie:* → agent:* labels, remove stale archie label 2026-07-24 12:09:38 +10:00
sam b8ac644acd fix: sync docker config with inprocess — DeepSeek, 100M, diff cap 0 2026-07-24 11:44:04 +10:00
sam deda2b3d58 fix: remove image tag from archied compose service to force local builds 2026-07-22 21:14:09 +10:00
sam 53376823d4 fix: push images to Gitea registry, reference in compose and config 2026-07-22 11:09:03 +10:00
sam 3490bd4124 fix: use pre-built golangci-lint binary, fix NATS healthcheck 2026-07-22 10:56:06 +10:00
sam cac64bcea6 fix: remove nonexistent runtime stage from agent build target 2026-07-22 10:36:28 +10:00
sam 209c653d15 fix: correct config mount path, add host.docker.internal for Linux, remove non-existent grace_period field 2026-07-22 10:17:28 +10:00
sam b79018ad7a fix: bump NATS image to 2.14-alpine3.22 2026-07-22 10:09:28 +10:00
sam 99b8d49c1e feat: add Docker Compose stack with NATS and agent containers 2026-07-22 09:46:54 +10:00