Syntax
Description
Thefeedback stale command finds feedback entries whose anchors have become stale due to spec content changes. Stale anchors occur when:
- The spec content at the anchor location changed significantly
- Line numbers shifted due to edits elsewhere in the file
- The anchored section was removed or heavily modified
- The text snippet no longer matches the content
- Its
anchor_statusis set to"stale" - The original location is preserved for reference
- The feedback may no longer point to the correct location
- Manual relocation is recommended
- Identify feedback that needs attention after spec updates
- Find anchors that may be pointing to wrong locations
- Maintain feedback accuracy as specs evolve
- Perform periodic anchor health checks
Examples
Find Stale Anchors
Check for stale feedback:Expected output
Expected output
No Stale Anchors
When all anchors are valid:Expected output
Expected output
JSON Output
Get machine-readable output:JSON output
JSON output
Understanding Stale Anchors
What Makes an Anchor Stale?
An anchor becomes stale when:Content changes
Line shifts
Section removal
Structural changes
Anchor Status Lifecycle
valid
relocated
stale
Why Anchors Become Stale
Spec was heavily edited
Spec was heavily edited
Content was removed
Content was removed
Lines were inserted above
Lines were inserted above
Section was reorganized
Section was reorganized
Common Workflows
Periodic Anchor Maintenance
Check for stale anchors
Review each stale feedback
View current spec
Relocate or dismiss
After Major Spec Update
Update spec
Check for stale anchors
Batch relocate
Verify
Investigate Stale Feedback
List stale feedback
Show full details
Check spec at original line
Find correct location
Relocate
Scripting Examples
Count Stale Anchors by Spec
List Specs with Stale Anchors
Batch Review
Generate Stale Anchor Report
Preventing Stale Anchors
Use text anchoring
Anchor to stable content
Check anchors after edits
feedback stale after significant spec changesKeep feedback current
Comparison with Other Commands
feedback stale
- Shows only stale anchors
- No filtering options
- Focused on anchor health
- Suggests relocation
feedback list
- Shows all feedback (all statuses)
- Multiple filter options
- General feedback overview
- Shows status in brackets
feedback stale when:
- Performing anchor maintenance
- After major spec updates
- Doing periodic health checks
feedback list when:
- Browsing all feedback
- Filtering by spec/issue/type
- General feedback review
Common Questions
Why are some anchors stale even though content looks correct?
Why are some anchors stale even though content looks correct?
Can stale anchors be automatically relocated?
Can stale anchors be automatically relocated?
Should I dismiss or relocate stale feedback?
Should I dismiss or relocate stale feedback?
- Content still exists in spec
- Feedback is still relevant
- You know the new location
- Content was removed from spec
- Feedback is no longer relevant
- Feature was descoped
How often should I check for stale anchors?
How often should I check for stale anchors?
- Major spec updates
- Spec restructuring
- Content removal
- Weekly/monthly maintenance (depends on update frequency)
Will dismissed feedback show as stale?
Will dismissed feedback show as stale?
Can I prevent anchors from becoming stale?
Can I prevent anchors from becoming stale?
- Using text anchoring for stable sections
- Anchoring to headings
- Keeping specs stable
- Reviewing anchors after edits
Troubleshooting
Command shows no output
Command shows no output
Anchor marked as stale but content is identical
Anchor marked as stale but content is identical
Too many stale anchors after spec update
Too many stale anchors after spec update
Original location is missing in output
Original location is missing in output
Related Commands
feedback relocate
feedback list
feedback show
feedback dismiss
spec show
Next Steps
Check for stale anchors
Review each one
Find correct location
Relocate or dismiss

