| name | diagnose |
| description | Show the functional-emotions plugin's session state — which interventions fired, when, and why. Use when you want to know what the plugin has done this session, or want to debug whether a hook fired as expected. |
| disable-model-invocation | false |
| allowed-tools | Bash |
Show the user a summary of what this plugin has detected and intervened on
during the current session.
- Locate the state file:
${CLAUDE_PROJECT_DIR}/.claude/.functional-emotions/session-<id>.tsv for
project sessions, or
${TMPDIR}/functional-emotions-${USER}/session-<id>.tsv otherwise.
- If the file is missing, say "No interventions yet this session." and stop.
- Otherwise render it as a small table. Columns:
time, kind, detail.
Truncate detail to 80 chars.
- End with a one-line interpretation: e.g. "3 failure-spiral primes fired
during the test runs at 14:02–14:11."
Do not invent rows. If the file is empty, say so.