Session Review
Review modified files for consistency before committing. Catches stale task statuses that were copied from narrative sources instead of queried from the database.
When to Run
- •Before committing (end of session / end of day)
- •The
/commitskill instructs the agent to run this first
Steps
- •Run
git diff --name-onlyin the content directory to find modified files - •For each changed
.mdfile:- •Extract all task references matching
T-\d+ - •Collect unique IDs
- •Extract all task references matching
- •If any task IDs found, run
tcli get <comma-separated-ids>to batch-query current statuses - •Compare: for each task ID mentioned in a file, check if the status written in the file matches the DB status. Flag mismatches.
- •Check modified project
README.mdfiles:- •Compare frontmatter
status:against DB project status - •Flag if different
- •Compare frontmatter
- •Present findings to user:
- •List of mismatches with file, line, written status, actual status
- •Propose edits to fix
- •After user approves fixes, apply them
Output
Concise report. No changes without user confirmation.