Repository navigation
Conversation
- core: repairPrompt (current recipe, missed inputs with fenced reasons, previously passing inputs), REPAIR_ADDENDUM, checkRepaired (same name, same param names, no new origins; always back to draft), appendRegression (dedupe; keeps the recorded example and the most recent; cap 10), and repairRecipe. - cli: `tyto repair <name> --param value` reruns the input, repairs on a miss, and replaces the recipe only if the missed input and every regression input then pass; repaired auth recipes are saved as drafts that need approval again. `tyto run` records passing inputs and prints a ready-to-run repair command on a miss. Verified live: a naive GitHub recipe missed safely on nodejs/node (an older LTS release sits first on the page); one repair session (108 s) fixed it, and it then answered nodejs/node, vercel-labs/agent-browser, denoland/deno, and microsoft/playwright correctly. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Stacked on #10. Spec sentences are in
docs/IMPLEMENTATION.md§4 Slice 7.What
repairPrompt: current recipe, missed inputs with their reasons fenced as untrusted, previously passing inputs.checkRepaired: same name, same param names, no new origins; always back to draft.appendRegression: deduplicated, keeps the recorded example and the most recent inputs, capped at 10.repairRecipe.tyto repair <name> --param value:authrecipes are saved as drafts that need approval again. They aren't run with your logins before you approve them.tyto runappends passing inputs to the regression list, and prints a ready-to-runtyto repair …command on a miss.Verified live
A deliberately naive GitHub recipe (trusts the first release on the page):
vercel-labs/agent-browser✅;nodejs/node→ safe MISS (an older LTS release sits first), plus a repair hinttyto repair github-release --repo nodejs/nodev26.10.0✅ (Latest), agent-browserv0.38.1✅, plus unseen denov2.9.7✅ and playwrightv1.63.0✅ (all match GitHub's API)Tests
npm run check: 19 files, 158 tests, typecheck clean, gitleaks clean.🤖 Generated with Claude Code