Debug the intelligence optimization and prove the fixes with a chaos soak.
Assistant
I'll debug the optimization and prove it with a chaos soak.
Assistant
Chaos soak is cycling correctly, including SIGKILL survival. Testing the metrics plotter against the soak's own logs.
Assistant
The plotter produces a proper dashboard from real soak data. Wiring it into the docs and committing.
Assistant
The chaos soak finished: 60 kill/restart cycles, zero failures, 131.6M timesteps accumulated across all the kills. Cleaning up and committing.
Assistant
The pkill broke the command chain before the commit ran. Redoing the steps separately.
Assistant
Round 9 is complete — CI green on all three jobs, clean tree, PR #1 updated (32 commits). Here's what this round proved and delivered.
Round 9 summary
A 2.5-hour chaos soak proved the durability story end to end. The strongest untested claim from earlier rounds was that training survives being killed — so I attacked it: 60 consecutive run/kill/restart cycles, rotating SIGTERM, SIGINT, and SIGKILL at random moments in the training loop, with a resume verification after every single kill. The result: zero resume failures and zero corrupt checkpoints, with training progressing from 0 to 131.6 million timesteps across all the kills. One SIGKILL landed exactly inside a checkpoint save — the scenario the atomic-save design exists for — and behaved precisely as designed: the numbered checkpoints stayed valid, only a stale ~incomplete temp folder remained. That was the one real finding: those temp folders accumulated forever after hard kills, so the learner now cleans them up at startup (safe by construction, since the rename guarantees numbered checkpoints are always complete).
The wandb-less workflow got its missing viewer. Metrics falling back to JSONL files was good crash-proofing, but there was no way to look at them. tools/plot_metrics.py renders a training dashboard from those logs — defaulting to the same health metrics the training guide teaches (reward, entropy, KL, critic loss, throughput, episode length), with multi-run comparison, custom key selection, --list discovery, and file output. I verified it against real training logs from the chaos runs and inspected the rendered output — the plots correctly show reward trending up and entropy declining, matching what the guide describes as healthy.
Contributors now have a front door.CONTRIBUTING.md covers dev setup, both test suites and their runtimes, what the three CI jobs check and how to reproduce the sanitizer job locally, code standards, the evidence bar for performance claims, and the rules for touching vendored third-party code.
After nine rounds, the framework has now been validated at every level I can reach from this machine: math proven against reference implementations and randomized property tests, memory proven under two sanitizer families, features proven by unit, integration, and live training tests, endurance proven by soaks, and durability proven by chaos testing. Everything is on PR #1; the sole remaining item is still the GPU runtime sanity check that needs hardware this VM doesn't have.