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 -1
View File
@@ -57,4 +57,14 @@ Do not commit, push, switch branches, merge, rebase, reset, deploy, or expose se
**Captain runs `testtask`. Agents must not launch or restart it, open its browser windows, or stop Captain testing sessions unless explicitly instructed.** Agents run automated checks and provide the test command/handoff; wait for Captain to run the manual-test workflow. This explicit instruction supersedes any skill guidance to launch testtask automatically.
Use `PATH=/home/rob/.nvm/versions/node/v24.21.0/bin:$PATH scripts/testtask.sh 017` for TASK-017 (replace task ID for later tasks). Requires installed `roborto-testtask`, Python 3, Node >=20.19, installed node_modules, Firefox and a graphical display. The adapter copies an allowlisted, hash-verified source snapshot to `.test-worktrees/task-###`, including uncommitted/untracked task files and excluding secrets/local data. It shares node_modules and serves only loopback port 5187 with an isolated browser profile. Do not edit snapshots. Refresh refuses changed/unowned snapshots rather than overwriting their work. Ctrl-C stops only runner-owned processes and removes its disposable profile; snapshot evidence is retained.
From project home, use `PATH=/home/rob/.nvm/versions/node/v24.21.0/bin:$PATH scripts/testtask.sh 016` for the TASK-016/TASK-019 combined acceptance candidate (replace task ID for other tasks). The project wrapper selects and reports the matching checked-out `task/###-*` implementation worktree; missing or ambiguous matches fail without launching the runner. The global CLI alone does not perform this routing. Snapshots are created under the selected source worktree, including its uncommitted/untracked task files. Requires installed `roborto-testtask`, Python 3, Node >=20.19, installed node_modules, Firefox and a graphical display. The adapter copies an allowlisted, hash-verified source snapshot to `.test-worktrees/task-###`, including uncommitted/untracked task files and excluding secrets/local data. It shares node_modules and serves only loopback port 5187 with an isolated browser profile. Do not edit snapshots. Refresh refuses changed/unowned snapshots rather than overwriting their work. Ctrl-C stops only runner-owned processes and removes its disposable profile; snapshot evidence is retained.
### Testtask repair note — 2026-11-11
The `/tmp` candidates referenced above are currently missing. Do not offer 016 as a runnable candidate until restored/rebuilt. Use persistent project-home `.task-worktrees/task-###` for future implementation sources. The launcher now selects Node through nvm automatically; no hard-coded PATH prefix is needed. `scripts/testtask.sh --check TASK_ID` is a no-launch preflight, permitted for agents. Captain alone runs the real session. TASK-020 tooling source is `.task-worktrees/task-020`; its reviewed tooling is also installed at project home.
### TASK-016 reconstruction available — 2026-11-11
The missing-source note above is superseded for 016 only: a new dark-theme candidate is available in project-home `.task-worktrees/task-016` on `task/016-dark-theme-rebuild`. `scripts/testtask.sh 016` routes there; no PATH prefix needed. This rebuild includes compact-input requirements but does not include missing TASK-019 changes. Captain alone launches the runner. Check fresh validation/status in HANDOFF.