Strategic Improvement
Before starting build loop, search memory and past pipeline runs for similar issues (by title, labels, files changed) and inject their learnings (what worked, what failed, gotchas) into the loop prompt. Reduces redundant trial-and-error by leveraging institutional knowledge.
Acceptance Criteria
- Vector similarity search over past issue titles/descriptions (cosine similarity)
- Analyze file overlap between current issue and historical issues (Jaccard index)
- Rank top 3 similar issues by combined similarity score
- Extract success patterns, failure patterns, and gotchas from similar issues' memory entries
- Inject condensed context (max 500 tokens) into build loop initial prompt
- Test suite proving similar issues are found and context is correctly extracted
Context
- Priority: P2
- Complexity: standard
- Generated by: Strategic Intelligence Agent
- Strategy alignment: P2: Intelligence & Learning
Strategic Improvement
Before starting build loop, search memory and past pipeline runs for similar issues (by title, labels, files changed) and inject their learnings (what worked, what failed, gotchas) into the loop prompt. Reduces redundant trial-and-error by leveraging institutional knowledge.
Acceptance Criteria
Context