Repository navigation
Closed
Labels
Description
Summary
Enhance /spec to warn about file conflicts between concurrent issues.
Scope: Simple overlap detection, not semantic dependency analysis.
Proposed Feature
File Overlap Warning (Single Feature)
When running /spec on an issue, check if other in-progress issues touch the same files:
/spec 220
⚠️ File Overlap Warning
Issue #218 (in exec phase) modifies:
- src/actions/updateArticleImage.ts
- prisma/schema.prisma
These files may conflict with #220. Consider:
1. Complete #218 first
2. Coordinate changes carefully
3. Proceed with awareness of potential merge conflictsHow it works:
/specreads.sequant/state.jsonto find in-progress issues- For each in-progress issue, get changed files from git diff in worktree
- Compare with files likely affected by new issue (from
/specanalysis) - Warn if overlap detected
Detection is simple:
- Changed files:
git diff main...HEAD --name-onlyin each worktree - Likely files for new issue: Based on
/specfile exploration - Match: Simple path comparison
What This Is NOT
- ❌ Not semantic dependency detection ("Issue A must complete before B")
- ❌ Not effort estimation (too unreliable)
- ❌ Not a dependency graph visualization
- ❌ Not blocking (just warning)
Acceptance Criteria
-
/specchecks for file overlap with in-progress issues - Warning shown with specific conflicting files listed
- Warning includes which issue and its current phase
- Works with multiple concurrent worktrees
- No false positives on unrelated files
Value
Prevents merge conflicts and coordination issues when working on multiple issues concurrently. Simple, deterministic, actionable warning.
Example Output
## Spec: Issue #220 - Add image compression
### File Overlap Warning ⚠️
| In-Progress Issue | Phase | Conflicting Files |
|-------------------|-------|-------------------|
| #218 - Focal point picker | exec | `src/actions/updateArticleImage.ts`, `prisma/schema.prisma` |
**Recommendation:** Complete #218 before starting #220, or coordinate changes to avoid conflicts.
### Implementation Plan
[... rest of spec output ...]Future Consideration (Not This Issue)
- Smarter "likely files" prediction based on issue content
- Auto-suggest issue ordering based on conflicts
- Integration with GitHub project boards
Revised from original feature planning discussion - scoped to file overlap warning only, removed effort estimation and dependency graphs
Activity
admarble commentedon Feb 22, 2026
Closing per issue audit. Title ("Dependency Detection and Effort Estimation") is misleading — actual scope is file overlap warnings for concurrent issues. Premature: requires historical data and broader state tracking that doesn't exist yet. If file overlap warnings are wanted later, create a scoped issue.