diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index 638ce9c..f2fbe60 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "scribe", "description": "Scribe second brain for Claude Code: MCP tools over your notes/tasks/projects/rules, a session-start push channel that surfaces your always-on rules + active-project context, process-skills (writing-plans, systematic-debugging, verification, brainstorming), and your saved Scribe Processes auto-surfaced as skills (/scribe:sync). Replaces superpowers + file-memory with one app-backed plugin.", - "version": "0.1.10", + "version": "0.1.11", "author": { "name": "Bryan Van Deusen" }, "mcpServers": { "scribe": { diff --git a/plugin/hooks/scribe_session_context.sh b/plugin/hooks/scribe_session_context.sh index 0e77af2..fa40586 100755 --- a/plugin/hooks/scribe_session_context.sh +++ b/plugin/hooks/scribe_session_context.sh @@ -90,7 +90,7 @@ fi # Compaction re-grounding: lead with a reload banner when this fire is a compact. if [ "$source" = "compact" ]; then - prepend "> ⟳ This session was just COMPACTED — earlier turns are now a summary, so in-flight detail may be lost. Before continuing, reload your bearings from Scribe: re-run \`enter_project()\` for the active project, check its open tasks and recent notes, and reconcile what you're mid-way through against what Scribe records. Don't trust half-remembered state — Scribe is the record." + prepend "> ⟳ This session was just COMPACTED — earlier turns are now a summary, so in-flight detail may be lost. Before continuing, reload your bearings from Scribe: re-pull the operator's binding rules with \`list_always_on_rules()\` (a compaction can summarize them out of context, leaving only generic harness defaults in their place), re-run \`enter_project()\` for the active project, check its open tasks and recent notes, and reconcile what you're mid-way through against what Scribe records. Don't trust half-remembered state — Scribe is the record." fi # Nothing at all to inject → stay silent. diff --git a/plugin/hooks/scribe_static_context.md b/plugin/hooks/scribe_static_context.md index 98ac8a9..d4f2703 100644 --- a/plugin/hooks/scribe_static_context.md +++ b/plugin/hooks/scribe_static_context.md @@ -12,6 +12,15 @@ for the operator's work, and as your own working memory across sessions. recent notes in one shot. **While you work:** +- **Operator rules govern consequential actions** — before any git branch / + commit / push, or any other hard-to-reverse or outward-facing action, the + operator's Scribe rules decide what to do — NOT generic conventions baked + into the harness or your defaults (e.g. "branch before committing," "open a + feature branch per task," "push to a fork"). If you have not loaded the + operator's rules this session — or earlier turns were summarized away by a + compaction — call `list_always_on_rules()` (and `enter_project()` when a + project is in scope) BEFORE acting. When a loaded rule and a default habit + disagree, the rule wins; if no rule speaks to it, ask rather than assume. - **Recall before acting** — before you answer anything about the operator's work or start a task, `search` Scribe first; assume a related note, task, or decision already exists. Concretely, reach for recall whenever a request