Skip to content

v4.1.2

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Nov 10:39

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 1 ran: argparse read --time as --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-brief and --output are now spelled in full (--over, --dry and --out are 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 join docs/stumbles.jsonl (78 lines).
  • The probe is a skill. .claude/skills/first-try-probe/SKILL.md and tests/first_try.py hold 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 --flag it does not have: its nearest option (--treshold: did you mean --threshold?), the options whose help uses the word (straighten.py --angle: --degrees mentions 'angle'; fit.py --ratio: --aspect), and the tools that do take a flag of that name (export.py --width: fit.py and others). It is said even when a required option is also missing, where argparse named only that one. overlay.py --position lists its names when one is wrong.
  • First-try stumbles are recorded and replayed. docs/stumbles.jsonl holds each call an agent got wrong (what it typed, what came back, what was right, the class); a line marked taught is 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 as open.
  • 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