| name | session-sync |
| description | Quick-sync session work to specs/*.md and project-tech.json |
| argument-hint | [-y|--yes] ["what was done"] |
| allowed-tools | request_user_input, Read, Write, Edit, Bash, Glob, Grep |
Session Sync
One-shot update specs/*.md + project-tech.json from current session context.
Design: Scan context -> extract -> write. No interactive wizards.
Usage
$session-sync
$session-sync -y
$session-sync "Added JWT auth flow"
$session-sync -y "Fixed N+1 query"
Process
Step 1: Gather Context
|- git diff --stat HEAD~3..HEAD (recent changes)
|- Active session folder (.workflow/.lite-plan/*) if exists
+- User summary ($ARGUMENTS or auto-generate from git log)
Step 2: Extract Updates
|- Guidelines: conventions / constraints / learnings
+- Tech: development_index entry
Step 3: Preview & Confirm (skip if --yes)
Step 4: Write both files
Step 5: One-line confirmation