Skip to content

Example workflow you can build

Turn a failing test into a reviewable fix.

An agent investigates the failure and prepares a pull request. Reviewers and your CI process decide what ships.

An empty cart tried to payAn illustrative story with made-up companies and people, played from YouTube.
From a failing test to a reviewed fixIllustrative run · integrations you configure
The run as text
  1. Start · Failing CI run (GitHub event): “test_empty_cart fails on main: an empty cart gets HTTP 500.”
  2. Model · Plan the fix: contract, then repro.
  3. Tool call · oz0_github.get_file: expects HTTP 400.
  4. Tool call · oz0_github.download_archive: failing commit fetched.
  5. Tool call · oz0_pr_reviewer.run_tests: FAIL: 500, expected 400.
  6. Model · Write the patch: guard and test.
  7. Approval · oz0_github.push_changes. Decided by maintainer in oz0 Console: approved. If denied: no pull request.
  8. Tool call · oz0_github.push_changes: draft PR opened.
  9. Tool call · oz.wait_for_event: required CI passed. If CI fails: revise the patch.
  10. Tool call · oz.wait_for_event: reviewer approved. If changes requested: revise, rerun checks.
  11. Tool call · oz.wait_for_event: deploy run succeeded.
  12. Tool call · oz0_github.list_checks: same commit, all green.
  13. Your tool call · health.check: healthy.
  14. Model · Write the result: evidence ready.
  15. Approval · oz0_github.comment. Decided by maintainer in oz0 Console: approved. If denied: the result stays in oz0.
  16. Tool call · oz0_github.comment: issue updated.
  17. End of the run: completed. HTTP 400, no payment call.

Writing a patch grants neither merge rights nor permission to release it.

What you connect

Connect the repository and its events, CI and deployment tools, a model, and a tier-1 sandbox with the project’s test dependencies and fake payment gateway.

Build an agent

A starting point

pr-reviewer inspects changes and runs supported tests. Creating patches and coordinating releases require a separate workflow and tools.

Docs

These starters are documented; publication varies. See oz0 Hub for availability.