Objective
Autopilot must create a PR that adds a deterministic unit test and fixes one flaky/fragile behavior.
Required behavior
- Scan the repo for an existing test framework and pick ONE:
- Python: pytest
- Node: jest/vitest
- .NET: xUnit/NUnit
- Add ONE new test that:
- is deterministic
- runs fast
- proves a bug fix or prevents regression
- Apply a minimal code change to satisfy the test.
- Run the test suite locally (best effort) and post results.
Retry rules (must be implemented)
- If tests fail after your first fix:
- Retry once (try-2) with expanded context:
- include failing output
- include files touched
- If second attempt fails:
- Label this issue
human and explain precisely what blocks you.
Constraints
- Keep diff minimal.
- No refactors unless needed for fix.
- Never ask me anything. Either fix, retry, or escalate to
human.
Objective
Autopilot must create a PR that adds a deterministic unit test and fixes one flaky/fragile behavior.
Required behavior
Retry rules (must be implemented)
humanand explain precisely what blocks you.Constraints
human.