Update documentation for files that changed since last run.
Steps
Read version: Read
.claude/ARE-VERSION→ store as$VERSION. Show the user:agents-reverse-engineer v$VERSIONRun the update command in the background using
run_in_background: true:npx agents-reverse-engineer@$VERSION update --backend claude $ARGUMENTSMonitor progress by polling the latest progress log:
- Wait ~15 seconds (use
sleep 15in Bash), then use Glob to find the latest.agents-reverse-engineer/progress-*.logfile, and Read it (use theoffsetparameter to read only the last ~20 lines for long files) - Show the user a brief progress update (e.g. "12/30 files updated, ~5m remaining")
- Check whether the background task has completed using
TaskOutputwithblock: false - Repeat until the background task finishes
- Important: Keep polling even if no progress log exists yet (the command takes a few seconds to start writing)
- Wait ~15 seconds (use
On completion, read the full background task output and summarize:
- Files updated
- Files unchanged
- Any orphaned docs cleaned up
Options:
--uncommitted: Include staged but uncommitted changes--dry-run: Show what would be updated without writing--eval: Namespace output by backend.model for side-by-side comparison--concurrency N: Control number of parallel AI calls (default: auto)--fail-fast: Stop on first file analysis failure--debug: Show AI prompts and backend details--trace: Enable concurrency tracing to.agents-reverse-engineer/traces/
Converted and distributed by TomeVault — claim your Tome and manage your conversions.