Done. Two things to flag up front, then the summary.
On the deep-research part: parallel-cli is not installed on this VM, so the /parallel-deep-research workflow can't run as specified. Per the skill's rules I did not substitute my own web search for it. To research Karpathy's autoresearch concept with that tool, run /parallel-setup to install parallel-cli, then re-invoke the research. I proceeded with the implementation because your message fully specified the behavior you wanted — the research would have been supporting color, not a blocker.
What I built: an autonomous, hypothesis-driven research loop for ProMode — the "autoresearch W template" — that does exactly the cycle you described, wired into the existing ProMode machinery rather than bolted on.
How it maps to your ask:
- Auto-research + hypothesis: when ProMode's queue is clear (all Tasks/Ideas/Likes/Wants done), the runner now drives an autoresearch cycle instead of idling. The model surveys the codebase and proposes one hypothesis with a falsifiable success metric (a number or a passing check, not a vibe).
- Test ideas on codebases: there's a new
autoresearch loop variant whose phases are explore → plan → execute → verify → report, with the phase gate keeping writes blocked until the experiment (execute) phase — so experiments run in the git sandbox, exactly like other ProMode work.
- Successes → PR: recording an experiment as a success returns a directive to ship it via the existing
pro_sandbox_pr flow (push branch → open PR), same as other good ProMode outputs.
- Failures → documented in the agent computer for later runs: every hypothesis and outcome is persisted in an append-only ledger inside the Model Computer (
~/.naxil/computer/experiments.jsonl). Before proposing anything new, the model reads prior learnings — and a fingerprint check rejects hypotheses that closely match a documented failure, so it never re-runs a dead end. The open hypotheses and recent learnings are injected into every ProMode turn, making research cumulative across runs.
The single autoresearch tool has three actions — list (read prior learnings first), propose (record a hypothesis), and record (resolve with success/failure/inconclusive) — following the merged-tool style from the previous round. I also fixed a latent bug where the W-tier scan passed an unmatched prompt key ("scan-w-tier") that silently fell through to the generic idle prompt.
Verification: 1330 tests pass (22 new across ledger, variant, tool, and runner-routing), typecheck clean on core and app, exec smoke 10/10, and I ran the whole cycle end-to-end through the real agent loop (list → propose → experiment → record success) confirming the outcome and PR branch persist to the ledger. Committed and pushed to PR #7.