Repository navigation
docs: show what workbench caught, from the benchmark's own records - #82
Merged
Merged
Conversation
docs/caught.md walks through every case the first clean run (9abd3c9) separated, each with the ticket, what plain did, what the workbench session did, and links to the run records: - BN-6: plain fixed the deprecated in_stock copy both times and left the live check broken; workbench fixed stock.available. No guardrail refused anything: the light path's demand for a covering test sent the session to tests/test_stock.py, which names the live function. An earlier, non-citable run where that did not work is cited too. - BN-3, BN-4, BN-7: plain wrote no test in 6 of 6 runs; workbench wrote one in 6 of 6, with wb finish ready to refuse and never needing to. - BN-4: the one guardrail that fired, sending a user-data change to the standard route at 6.7x the tokens. - What has not been caught: BN-5's spill and any invented reference. bench/demo.py records a 33-second asciicast of wb start, wb next, the fix, wb finish --commit and wb approve on BN-6, from real output on a fresh fixture; only the pace is set. The README links both.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
docs/caught.md: each error workbench caught in the benchmark, told from the run records.docs/demo.cast: a 33-second recording of the verbs on one fixture ticket. Both are linked from the README.Why
WB-57. Examples must come from bench records, never staged. The first clean run (
bench/results/2026-09-27-9abd3c9) now has real catches.How
docs/caught.md, per case: the ticket, what plain did, what workbench did, and links to the records.legacy.in_stocktwice and left the live check broken; workbench fixedstock.available. No guardrail fired. The light path's demand for a covering test sent the session totests/test_stock.py, which names the live function. An earlier non-citable run where this did not work is cited as the limit.wb finishwas ready to refuse and never had to.bench/demo.pyrecordswb start,wb next, the fix,wb finish --commitandwb approveon BN-6 as asciicast v2, from real output on a fresh fixture. Only the pace is set.Verification
wb impl verify WB-57stopped at the approval gate for a new command (python -m mypy bench/demo.py bench/run.py bench/score.py). I did not approve it on the owner's behalf. I ran the plan's three commands myself instead:python -m unittest discover -s tests -q: OK (skipped=4)python -m ruff check lib bench tests/test_bench.py: exit 0python -m mypy bench/demo.py bench/run.py bench/score.py: exit 0Risk and rollback
Docs and a recording. Revert to undo.
Open questions
asciinema play docs/demo.cast. A GIF export is a separate step if wanted.