← ClaudeAtlas

session-intent-analyzerlisted

Update the per-session intent ledger for every user input and provide current intent as semantic context consumed by gates, skill-evolution, and jailbreak-detector. Keep intent summaries without storing raw prompts.
AidALL/ghost-alice · ★ 13 · AI & Automation · score 83
Install: claude install-skill AidALL/ghost-alice
# session-intent-analyzer session-intent-analyzer maintains a small per-session ledger of the user's current goal, constraints, decisions, non-goals, open questions, and acceptance criteria. It lets skill-evolution interpret tool sequences with intent context and lets jailbreak-detector compare current requests against accumulated session intent. ## Contents - [Storage Contract](#storage-contract) - [When To Use](#when-to-use) - [Procedure](#procedure) - [Consumer Snapshot](#consumer-snapshot) - [Hookless Fallback](#hookless-fallback) - [Warnings](#warnings) ## Storage Contract - The ledger lives under `.tmp/session-intent/<platform>/<session-id>/` in the Ghost-ALICE repo root. - The installer passes `--root <repo>/.tmp/session-intent` to hook commands. Manual runs may override the root with `GHOST_ALICE_SESSION_INTENT_ROOT`. - `intent-state.json` stores the latest session intent state. - Hooks record digest-only observations and intake status. Agents add semantic deltas only when goals, constraints, decisions, or acceptance criteria materially change. - Scalar intent fields are replaced by the latest semantic delta. Lists such as constraints, non-goals, open questions, criteria, and decisions are deduped or merged by id. - `conduct_feedback` records compressed behavioral corrections, how the agent operated versus what the user asked, and merges by id while preserving `occurrence_count`. Repeated same-id corrections in one session increment `occurrence_