fix(#369): cap evidence issues at 5 per parent - #417
fullsend-ai-coder[bot] wants to merge 2 commits into
Conversation
Add an evidence issue cap to the retro-analysis skill. Before filing an evidence proposal for a parent issue, the agent now queries the count of open evidence issues with matching titles. If the count is >= 5, the agent skips filing and notes the data point in its summary comment instead. This prevents unbounded evidence accumulation for well-documented patterns, reducing noise in the issue tracker without losing information. Closes #369
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
|
🤖 Finished Review · ✅ Success · Started 11:56 AM UTC · Completed 12:03 PM UTC |
ReviewFindingsLow
Previous runReviewVerdict: Approve The PR adds an evidence issue cap section to the retro-analysis skill, directly implementing the behavior requested in #369. The implementation is well-structured: it provides a concrete FindingsMedium — Concurrency note understates maximum overshoot ( The concurrency note states two concurrent retro runs can exceed the cap "by one." This is correct for the two-run scenario described, but N>2 concurrent runs could all observe the same count, exceeding the cap by N-1. For example, three runs seeing count=4 would all file, producing 7 total (overshoot=2). Given the cap is explicitly advisory and concurrent retro runs are rare, this is acceptable — but the note could say "by a small amount" rather than "by one" to be precise. Non-blocking. Low — Heading level asymmetry ( The new Low — Title convention relies on prompt compliance ( The Low — User-facing retro docs don't explain evidence filing ( The user-facing retro agent documentation doesn't explain the evidence filing pattern or the new cap. If users see evidence issues in their tracker, documenting the behavior and its limits would reduce confusion. Consider a brief addition in a follow-up. Labels: PR modifies retro-analysis skill documentation with behavioral guidance Previous run (2)ReviewFindingsMedium
Low
Labels: PR modifies skill documentation in internal/scaffold Previous run (3)Review — approvePR: #417 — Well-scoped change that adds an evidence issue cap to the retro-analysis skill, matching what #369 requested. The fail-closed design (skip filing when the count query fails) is the right call. The concurrency caveat is honest and the accepted overshoot-by-one is reasonable given the Checked dimensions
Minor observations (non-blocking)
No medium or higher findings. Approving. |
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 1:08 PM UTC · Completed 1:19 PM UTC |
|
/fs-fix |
|
🤖 Finished Fix · ✅ Success · Started 1:43 PM UTC · Completed 1:51 PM UTC |
- Remove incorrect concurrency group claim in evidence cap section; retro.yml groups are per-PR, not per-parent-issue - Document the Evidence for #N title convention explicitly - Reformat gh api code block to match existing continuation-line style Addresses review feedback on #417
🔧 Fix agent — iteration 1 (human-triggered)Addressed all 3 review findings: removed incorrect concurrency group claim (medium), documented the Evidence for #N title convention (low), and reformatted the code block to match existing style (low). Fixed (3):
Tests: passed Updated by fullsend fix agent |
|
🤖 Finished Review · ✅ Success · Started 1:58 PM UTC · Completed 2:07 PM UTC |
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 6:19 AM UTC · Completed 6:30 AM UTC |
| Dispatch a subagent to count existing evidence issues: | ||
|
|
||
| ```bash | ||
| gh api \ |
There was a problem hiding this comment.
[low] API contract / query correctness
The gh api query uses in:title with a quoted phrase, which matches substrings. An issue titled e.g. 'Revert: Evidence for #42' would also match, potentially inflating the count. Given the cap is advisory and the title convention is defined by this skill itself, false-positive matches are extremely unlikely in practice.
|
|
||
| When skipping, note the duplicate in your `summary` field so the human understands what was filtered and why. | ||
|
|
||
| ### Evidence issue cap |
There was a problem hiding this comment.
[low] instruction ambiguity / ordering
The instructions do not explicitly state whether the evidence cap check should run before or after the broader duplicate search. Running the cap check first (one API call) could save the cost of a subagent dedup search when the cap is already reached.
Suggested fix: Add a sentence like: 'For evidence proposals, run the cap check before the broader duplicate search — if the cap is already reached, you can skip both the evidence proposal and its dedup search.'
Add an evidence issue cap to the retro-analysis skill. Before filing an evidence proposal for a parent issue, the agent now queries the count of open evidence issues with matching titles. If the count is >= 5, the agent skips filing and notes the data point in its summary comment instead.
This prevents unbounded evidence accumulation for well-documented patterns, reducing noise in the issue tracker without losing information.
Closes #369
Post-script verification
agent/369-cap-evidence-issues)aa6585ddb3dff17dccfd4dba8b6c5c306275156a..HEAD)