Repository navigation
Automated release: version and notes generated from pull requests merged since 4.1.1.
- A shortened name of a shared option is refused.
freeze.py --time 3 --hold 1ran: argparse read--timeas--timeout, the run had a three second limit, the last frame was frozen and nothing said so.--timeout,--overwrite,--dry-run,--plan,--progress,--fast,--json-briefand--outputare now spelled in full (--over,--dryand--outare refused, with the full name). A tool's own options keep the shortening (caption.py --lang). - More guessed names are answered. 126 calls were written by an agent shown only each tool's name and one line about it; 27 ran. Of the 64 that used an option the tool does not have, the answer named the tool's own option for 33 before and 49 after: a hint now matches words with a hyphen or a space, leaves the shared options out, and fifteen help strings use the word people reach for (
--size,--resolution,--max-size,--padding,--framerate,--mode). Forty of those calls joindocs/stumbles.jsonl(78 lines). - The probe is a skill.
.claude/skills/first-try-probe/SKILL.mdandtests/first_try.pyhold the loop: a fresh agent writes calls blind, they are run with--dry-run, and each miss is taught and recorded. - A guessed option name is answered with the right one. Every tool now adds to its usage error, for each
--flagit does not have: its nearest option (--treshold: did you mean--threshold?), the options whose help uses the word (straighten.py --angle:--degreesmentions 'angle';fit.py --ratio:--aspect), and the tools that do take a flag of that name (export.py --width:fit.pyand others). It is said even when a required option is also missing, where argparse named only that one.overlay.py --positionlists its names when one is wrong. - First-try stumbles are recorded and replayed.
docs/stumbles.jsonlholds each call an agent got wrong (what it typed, what came back, what was right, the class); a line markedtaughtis run by the tests and the tool's answer must name the way out. Five stumbles where the result is wrong and says nothing are listed asopen. - Option names stop growing apart. The names for an angle, a strength, a text size, a duration and the rest are decided (docs/design-decisions.md, "one name per meaning"). Nothing is renamed while the freeze holds; a test keeps a new option from taking an older name and a shared name from meaning two things. Twenty-four more wrong calls, each another tool's name for the same thing, are in the ledger and answered.
- fix: a shortened name of a shared option is refused, and more guessed names are answered (#643)
What's Changed
- fix: a shortened name of a shared option is refused, and more guessed names are answered by @kajisho5 in #643
Full Changelog: v4.1.1...v4.1.2