diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-01 03:30:59 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-01 03:30:59 -0500 |
| commit | 05b7ce12bf08561c42ef8ecbe65c123ea2526770 (patch) | |
| tree | d6b425627851efe6eb1360e3f7def34fa12c0d7e /System | |
| parent | 18d1eb669e5094272efa8da364e5c9c9447d8c2d (diff) | |
Add summary comment when individual task completes
Excellent! All linting passes. Let me create a final comprehensive
summa
Task **t-193.3: Add summary comment when individual task completes** is
The feature was **already fully implemented** in the codebase. No
code c
The `addCompletionSummary` function in `Omni/Jr.hs` (lines 589-617)
auto
1. **Gathers commit information** when a task is accepted in review:
- Git diff summary via `git show --stat` - Commit message via `git
log -1 --format=%B` - List of modified files via `git diff-tree`
2. **Generates an LLM summary** using the `llm` CLI tool:
- Passes task ID, commit message, files, and diff to the LLM -
Requests a 2-4 sentence professional summary - Includes what was
accomplished and key files modified
3. **Adds the summary as a task comment** using `TaskCore.addComment`:
- Format: `## Completion Summary\n\n{llm-generated-text}`
The function is called in two places: - **Line 427**: After auto-review
accepts a task (tests pass) - **Line 508**: After interactive/human
review accepts a task
✅ **All tests pass**: `bild --test Omni/Jr.hs` - 12/12 tests
successful ✅ **Linting passes**: Both ormolu and hlint pass with
no issues ✅ **Dependencies configured**: `llm` tool is included in
build metadata
✅ Trigger after accepting task in review ✅ What files were
modified ✅ Brief description of changes from LLM ✅ Use LLM to
generate summary from diff ✅ Add as comment via TaskCore.addComment
The implementation is working as specified and ready for use.
Task-Id: t-193.3
Diffstat (limited to 'System')
0 files changed, 0 insertions, 0 deletions
