Complete TASK-016 dark theme and persistent testtask candidate

This commit is contained in:
rob
2026-11-11 13:17:24 +00:00
parent 922d1f6bd7
commit 0cf051560b
17 changed files with 618 additions and 102 deletions
+11
View File
@@ -51,3 +51,14 @@ Before asking Captain for manual testing, identify an exact testable representat
## Captain-owned testtask execution
Captain clarified on 2026-11-07 that `testtask` is for Captain to run. Agents must not automatically invoke/restart the runner, open its browser windows or stop Captain testing sessions. Provide the command and handoff after automated checks; run or control testtask only on explicit instruction. This overrides skill defaults to execute the manual-test runner.
## Project-home testtask entry point
Run the project wrapper from project home: `PATH=/home/rob/.nvm/versions/node/v24.21.0/bin:$PATH scripts/testtask.sh TASK_ID`. It selects the checked-out `task/###-*` worktree using Git metadata, prints the source and invokes the existing engine there. It refuses missing or ambiguous task sources. The global CLI remains unchanged. Snapshot location is the selected source worktree's `.test-worktrees/task-###`; snapshot integrity and Captain-owned execution rules still apply.
## Persistent sources and runtime preflight (2026-11-11 repair)
Implementation worktrees belong under project-home `.task-worktrees/task-###` going forward; do not keep uncommitted implementation only in `/tmp`. This is separate from disposable `.test-worktrees` snapshots. Existing missing `/tmp` registrations are retained as evidence; do not prune them or claim their baseline branch contains lost uncommitted work.
Use `scripts/testtask.sh ###` from project home. The wrapper/hook select a supported Node automatically, using installed nvm Node 24 if necessary, as PitchInvader does. `scripts/testtask.sh --check ###` performs source/runtime/dependency validation without invoking the runner or browser; it does not prove port/display/browser readiness. Missing implementations require restoration or rebuilding and never fall back to codex. Captain still owns real launch and testing.