Update the State section of a project's research log — called automatically by session-end hook or manually
Snapshot the current working state for context recovery. Primarily called by the session-end hook; can also be invoked manually.
/log-state
None. Project is identified from CWD.
Read shared/conventions.md from this plugin directory for format specifications.
~/.research-log/dashboard.md- {slug}: {path}~ to the home directory before comparisonflock ~/.research-log/.locks/{slug}.lock~/.research-log/{slug}.md## State sectionSession timestamp as the new Last session valueFrom the current session context, generate:
Keep each field to 1-2 sentences max. This is meant to be read in 2 minutes.
## State section in {slug}.md with the new State
## State (Compass) and after the State section (Decision Log)## State and ends at the next --- separator before ## Decision LogDo NOT produce any output to the user when called from a hook. When called manually, briefly confirm: "State updated for {slug}."