Post-Session-Log-Update Hook
Automatically runs /classify on session log files after updates to:
- Update moe_confidence score
- Set moe_classified date
- Update 'updated' timestamp in frontmatter
Trigger: After any write to docs/session-logs/SESSION-LOG-*.md
File: post-session-log-update.py
Functions
get_iso_timestamp()
Get ISO 8601 timestamp in UTC.
find_classify_script()
Find the MoE classify script.
run_classify(log_path)
Run classify on the session log file.
main()
Main hook entry point.
Usage
python post-session-log-update.py