Commit Graph
11 Commits
Author SHA1 Message Date
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