From 68c171b0cd522361d07f5350b2de3a8ed96a93d0 Mon Sep 17 00:00:00 2001 From: autonomic-bot Date: Sat, 13 Jun 2026 18:45:25 +0000 Subject: [PATCH] =?UTF-8?q?chore(aotest):=20init=20Adversary=20phase=20fil?= =?UTF-8?q?es=20=E2=80=94=20orientation=20done,=20awaiting=20Builder=20tes?= =?UTF-8?q?ts/=20push?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- machine-docs/BACKLOG-aotest.md | 5 ++++ machine-docs/JOURNAL-aotest.md | 14 +++++++++++ machine-docs/REVIEW-aotest.md | 43 ++++++++++++++++++++++++++++++++++ machine-docs/STATUS-aotest.md | 33 ++++++++++++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 machine-docs/BACKLOG-aotest.md create mode 100644 machine-docs/JOURNAL-aotest.md create mode 100644 machine-docs/REVIEW-aotest.md create mode 100644 machine-docs/STATUS-aotest.md diff --git a/machine-docs/BACKLOG-aotest.md b/machine-docs/BACKLOG-aotest.md new file mode 100644 index 0000000..8dd04bc --- /dev/null +++ b/machine-docs/BACKLOG-aotest.md @@ -0,0 +1,5 @@ +# BACKLOG — phase aotest (Adversary section) + +## Adversary findings + +*(none yet — awaiting Builder deliverable)* diff --git a/machine-docs/JOURNAL-aotest.md b/machine-docs/JOURNAL-aotest.md new file mode 100644 index 0000000..3f29e4f --- /dev/null +++ b/machine-docs/JOURNAL-aotest.md @@ -0,0 +1,14 @@ +# JOURNAL — phase aotest (Adversary) + +--- + +## 2026-06-13T18:44Z — Phase orientation + initial files created + +- Read plan-phase-aotest-verify.md: mission is to verify agent-orchestrator has a committed + tests/ dir covering unit tests + isolated live smoke tests on both claude and opencode backends. +- Checked agent-orchestrator repo: current state is v0.1.0 (commit 289ef07), no tests/ dir. +- Created phase-namespaced files: STATUS-aotest.md, REVIEW-aotest.md, BACKLOG-aotest.md, + JOURNAL-aotest.md. +- Builder has not yet pushed any aotest work. Entering polling stance. + +Next: poll agent-orchestrator for new commits every ~10 min. diff --git a/machine-docs/REVIEW-aotest.md b/machine-docs/REVIEW-aotest.md new file mode 100644 index 0000000..e53a835 --- /dev/null +++ b/machine-docs/REVIEW-aotest.md @@ -0,0 +1,43 @@ +# REVIEW — phase aotest (Adversary log) + +**Phase plan:** `/srv/cc-ci/cc-ci-plan/plan-phase-aotest-verify.md` +**Deliverable repo:** `recipe-maintainers/agent-orchestrator` on git.autonomic.zone + +--- + +## Adversary orientation @2026-06-13T18:44Z + +**Mission:** Verify the agent-orchestrator harness runs a real project generically on BOTH +claude and opencode backends, fully isolated, with a committed test suite. + +**DoD items to verify (from phase plan):** +1. Unit tests PASS — run from clean /tmp checkout inside `nix develop` +2. claude smoke test PASSES via the harness (isolated, cleaned up) +3. opencode smoke test PASSES or SKIPs with clear, justified reason recorded here +4. No leftover `aotest-*` tmux sessions or held ports after the run; live cc-ci sessions + (cc-ci-orchestrator/watchdog/assistant3) untouched +5. Test suite + runner committed and documented in README + +**Key guardrails for my verification:** +- Must use a non-`cc-ci-` session prefix (aotest-* is correct) +- opencode port must ≠ 4096 (the live cc-ci port) +- Do NOT touch live launch system: `/srv/cc-ci/cc-ci-plan/agents.py`, `agents.toml`, + `cc-ci-plan/state/`, or running tmux sessions +- Verify from COLD START: fresh shell, /tmp checkout, no cached state + +**Repo state at orientation:** v0.1.0 (commit `289ef07`) — no tests/ dir present yet. +Awaiting Builder to push the aotest deliverable. + +**Break-it probes to run once tests land:** +- Run test suite, confirm all unit tests pass (no mocking of the harness internals) +- Confirm claude smoke test actually attaches a session (not just echoes OK) +- Confirm opencode smoke test uses a non-4096 port (check the actual port binding) +- After run: `tmux ls | grep aotest` → expect nothing; check cc-ci sessions intact +- Confirm cleanup happens even on forced interruption (Ctrl+C mid-run) +- Check README documents the test runner invocation correctly + +--- + +## Verdicts + +*(none yet — awaiting Builder push)* diff --git a/machine-docs/STATUS-aotest.md b/machine-docs/STATUS-aotest.md new file mode 100644 index 0000000..495f35f --- /dev/null +++ b/machine-docs/STATUS-aotest.md @@ -0,0 +1,33 @@ +# STATUS — phase aotest (Adversary view) + +**Phase plan:** `/srv/cc-ci/cc-ci-plan/plan-phase-aotest-verify.md` +**Adversary clone:** `/srv/cc-ci/cc-ci-adv` +**Phase start:** 2026-06-13T18:44Z + +--- + +## Current state: AWAITING BUILDER + +The `agent-orchestrator` repo (commit `289ef07`, v0.1.0) contains NO `tests/` directory yet. +Builder has not yet pushed the aotest deliverable (tests + runner + README doc). + +Last checked: 2026-06-13T18:44Z + +--- + +## Gate status + +| Gate | Status | Last checked | +|---|---|---| +| Unit tests PASS (clean /tmp, nix develop) | PENDING | — | +| Claude smoke test PASSES via harness | PENDING | — | +| opencode smoke test PASSES or SKIPS (justified) | PENDING | — | +| No leftover aotest-* sessions or ports | PENDING | — | +| Test suite + runner committed + documented | PENDING | — | + +--- + +## Monitoring + +Polling agent-orchestrator for new commits (tests/ dir push). +No gate formally claimed yet.