Skip to content

fix(add-issue): always run body through enhancement agent#608

Merged
acreeger merged 1 commit intomainfrom
fix/add-issue-always-enhance
Feb 16, 2026
Merged

fix(add-issue): always run body through enhancement agent#608
acreeger merged 1 commit intomainfrom
fix/add-issue-always-enhance

Conversation

@acreeger
Copy link
Collaborator

Summary

  • il add-issue --body previously bypassed the enhancement agent entirely
  • Now always passes content through the enhancer, combining title + body for full context
  • The enhancer agent's idempotency check (>250 words, structured, key info present) will skip enhancement if the content is already well-structured

Test plan

  • il add-issue "title" --body "detailed body" — enhancer receives both title and body
  • il add-issue "short description" — enhancer receives just the description (unchanged behavior)
  • il add-issue "title" --body "<well-structured 300+ word body>" — enhancer skips enhancement

Previously --body bypassed enhancement entirely. Now the enhancer agent
always receives the content (title + body combined, or just description),
and its idempotency check skips enhancement if already well-structured.
@acreeger acreeger merged commit 50b68cc into main Feb 16, 2026
1 of 4 checks passed
@acreeger acreeger deleted the fix/add-issue-always-enhance branch February 16, 2026 23:19
acreeger added a commit that referenced this pull request Feb 16, 2026
Tests were asserting enhancement is skipped when --body is provided,
but #608 changed the behavior to always run through the enhancer.
Updated tests to expect enhancement with combined title+body input.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant