chore: docker-based test environment #14

Merged
archeious merged 1 commit from chore/docker-test-env into main 2026-04-08 21:08:28 +00:00
Collaborator

Closes Issue #13

Summary

  • Dockerfile — Python 3.12-slim, installs the project editable with dev extras
  • scripts/docker-test.shbuild / test / ask / replay / shell subcommands; mounts ~/secrets ro and ~/.marchwarden rw for live runs
  • .dockerignore — keeps caches, venvs, and wiki out of the build context
  • pyproject.toml — adds pytest-asyncio to dev deps (host had it installed out-of-band; container exposed the gap)
  • README — usage section

Verified

  • scripts/docker-test.sh build succeeds
  • scripts/docker-test.sh test → 88/88 passing inside the container

Why

Lets the agent run the CLI end-to-end against ~/secrets without depending on host PEP 668 quirks or stale ~/.local installs.

Closes Issue #13 ## Summary - `Dockerfile` — Python 3.12-slim, installs the project editable with dev extras - `scripts/docker-test.sh` — `build` / `test` / `ask` / `replay` / `shell` subcommands; mounts `~/secrets` ro and `~/.marchwarden` rw for live runs - `.dockerignore` — keeps caches, venvs, and wiki out of the build context - `pyproject.toml` — adds `pytest-asyncio` to dev deps (host had it installed out-of-band; container exposed the gap) - README — usage section ## Verified - `scripts/docker-test.sh build` succeeds - `scripts/docker-test.sh test` → 88/88 passing inside the container ## Why Lets the agent run the CLI end-to-end against `~/secrets` without depending on host PEP 668 quirks or stale `~/.local` installs.
claude-code added 1 commit 2026-04-08 21:06:23 +00:00
Reproducible Python 3.12-slim container that installs the project
editable with dev deps. Adds pytest-asyncio to dev deps so async tests
run cleanly inside the container (host had it installed out-of-band).

scripts/docker-test.sh provides build, test, ask, replay, and shell
subcommands. The ask/replay/shell commands mount ~/secrets read-only
and ~/.marchwarden read-write so end-to-end runs persist traces back
to the host.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
archeious approved these changes 2026-04-08 21:08:20 +00:00
archeious merged commit 16d88e951b into main 2026-04-08 21:08:28 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: archeious/marchwarden#14
No description provided.