[claude] Add timmy learn autoresearch entry point (#907) #1240

Merged
Rockachopa merged 1 commits from claude/issue-907 into main 2026-03-23 23:14:11 +00:00

1 Commits

Author SHA1 Message Date
Alexander Whitestone
f0657000ab feat: add timmy learn CLI command and SystemExperiment class
Some checks failed
Tests / lint (pull_request) Failing after 17s
Tests / test (pull_request) Has been skipped
Implements the autoresearch entry point requested in #907:

- `SystemExperiment` class in autoresearch.py encapsulates the
  hypothesis → edit → tox → evaluate → commit/revert loop with
  configurable target, metric, and budget
- `timmy learn` CLI command with --target, --metric, --budget,
  --max-experiments, --dry-run, --tox-env, and --model flags
- Helper functions _extract_pass_rate() and _extract_coverage()
  for built-in metric extraction from tox/pytest output
- program.md template in repo root for research direction
- Unit tests for SystemExperiment and the learn CLI command

Fixes #907

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 19:06:27 -04:00