Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Use as an agent: running gish until GPT completes a task. #8

Description

@drorm

Consider the following workflow/loop:

  1. Run gish to generate a unit test
  2. Run the unit test
  3. Get an error
  4. Run Gish in chat mode with the error
  5. Go back to 2.

This can be incredibly useful for a variety of tasks, including writing new features where GPT doesn't get it right the first time and needs to iterate several time before getting it right.

Explore

  • Can we do the plumbing using a shell script as we've done in the git commit script, or do we need some special hooks as we did with #diff?
  • How do we tell if gish is stuck and needs human help :-)?
    • Limit the number of iterations, tell it to ask for help?
    • Provide a y/n continue after each iteration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions