/reweave
Find stale contexts about a topic and suggest updates.
Usage
/reweave "<topic>" [--days <n>]
What It Does
Scans all context files mentioning a topic, checks when they were last updated, compares against recent signals, and identifies stale or contradictory information. Suggests specific updates to bring contexts current.
Implementation
Runs: cd engine && mix optimal.reweave "<topic>" [--days <n>]
Process:
- Find all files mentioning the topic.
- Check last-modified dates.
- Compare stored facts against recent signals.
- Identify contradictions, outdated info, missing updates.
- Suggest specific edits with before/after.
Default staleness threshold: 30 days. Override with --days.
Examples
# Check if Ed Honour contexts are current
/reweave "Ed Honour"
# Check with custom staleness threshold
/reweave "pricing" --days 60
# Reweave a broad topic
/reweave "client onboarding"