[PR #11268] feat(agent): improve compaction and explore prompts #13721

Closed
opened 2026-02-16 18:18:33 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11268

State: closed
Merged: No


Summary

  • Improve compaction agent prompt to capture more context (findings, lessons, solutions, architecture)
  • Improve explore agent prompt to include line numbers for precision

Changes

  • compaction.txt: Add fields for key findings, problem solutions, and project architecture context
  • explore.txt: Add -n flag for grep and include line numbers in code references
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11268 **State:** closed **Merged:** No --- ## Summary - Improve compaction agent prompt to capture more context (findings, lessons, solutions, architecture) - Improve explore agent prompt to include line numbers for precision ## Changes - `compaction.txt`: Add fields for key findings, problem solutions, and project architecture context - `explore.txt`: Add `-n` flag for grep and include line numbers in code references
yindo added the pull-request label 2026-02-16 18:18:33 -05:00
yindo closed this issue 2026-02-16 18:18:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13721