diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-29 23:34:47 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-29 23:34:47 -0500 |
| commit | c2e382c95ba5ee18115e60b2b6f47dd86a3d875f (patch) | |
| tree | 15427761d562f5a3de4aee1e4b2b24da50160e03 /Omni/Repl.py | |
| parent | 7967f62cc6755444b39186702ec9105a15a26703 (diff) | |
Store agent review notes as task comments
The implementation is complete. Here's a summary of what was
implemented
**Changes to [Omni/Jr.hs](file:///home/ben/omni/Omni/Jr.hs):**
1. **`autoReview`** - Now adds a review comment with:
- Commit SHA (short) - Test target (namespace) - Result
(PASSED/FAILED) - Test output (truncated to 1000 chars) when
tests fail
2. **`interactiveReview`** - Now adds a human review comment with:
- Commit SHA (short) - Result (ACCEPTED/REJECTED) - Rejection reason
(when rejected)
3. **`handleConflict`** - Now adds a merge conflict comment with:
- Commit SHA (short) - Attempt number - List of conflicting files
4. **Helper functions added:**
- `buildReviewComment` - Formats auto-review results -
`buildHumanReviewComment` - Formats human review results -
`buildConflictComment` - Formats merge conflict info -
`truncateOutput` - Truncates long test output
Task-Id: t-193.4
Diffstat (limited to 'Omni/Repl.py')
0 files changed, 0 insertions, 0 deletions
