feat(mcp): S5 — issue-kind guidance across all instruction surfaces
CI & Build / Python lint (push) Successful in 3s
CI & Build / integration (push) Successful in 15s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Python tests (push) Successful in 46s
CI & Build / Build & push image (push) Successful in 1m3s
CI & Build / Python lint (push) Successful in 3s
CI & Build / integration (push) Successful in 15s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Python tests (push) Successful in 46s
CI & Build / Build & push image (push) Successful in 1m3s
Plan #825 (T2 — Issues task_kind) shipped S1–S4 but its S5 docs slice never landed, so every behavioral surface the plugin pushes to the agent still described the pre-kind convention ("tag `issue`" on a create_note). Result: agents fixed bugs without reaching for kind=issue and dumped the work as logs on unrelated open tasks. - _INSTRUCTIONS: rewrite the "record a problem" bullet to create_task(kind="issue") with symptom→cause→fix + arose_from_id / system_ids, and an explicit "not a work-log on an unrelated task"; add Issue + System to the hierarchy section. - skills/systematic-debugging, verification: drop "tag `issue`" / create_note-issue, point at create_task(kind="issue"). - skills/using-scribe: add issues/systems to the entity list + reflex #6. - hooks/scribe_static_context: fix → its own issue on the keyless floor. Instance-agnostic, prose-only; no schema or tool-behavior change. Pairs with always-on rule #118. Issue: #855. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,9 @@ for the operator's work, and as your own working memory across sessions.
|
||||
`add_task_log`. Always log when you **complete a task** and when you **hit or
|
||||
discover a problem** — so changes of direction are captured, not just
|
||||
successes. Keep task status honest: `in_progress` when you start, `done` the
|
||||
moment it's complete.
|
||||
moment it's complete. When you **fix** something — even in passing — record it
|
||||
as its own issue (`create_task(kind="issue")`), not as a work-log line on an
|
||||
unrelated open task.
|
||||
- Do **not** keep the operator's rules, plans, or project notes in local
|
||||
memory / CLAUDE.md in parallel with Scribe — Scribe holds the single copy.
|
||||
- **Compact at clean seams** — because you record as you go, a context
|
||||
|
||||
@@ -10,8 +10,9 @@ guessed fix that "seems to work" often just moves the bug somewhere else.
|
||||
|
||||
## Recall first
|
||||
|
||||
Before digging in, `search` Scribe for the symptom — a prior `issue` note may
|
||||
already hold the cause and the fix. Don't re-debug what's already solved.
|
||||
Before digging in, `search` Scribe for the symptom — a prior issue
|
||||
(`list_tasks(kind="issue")` or `search`) may already hold the cause and the fix.
|
||||
Don't re-debug what's already solved.
|
||||
|
||||
## The loop
|
||||
|
||||
@@ -29,7 +30,10 @@ already hold the cause and the fix. Don't re-debug what's already solved.
|
||||
|
||||
## Capture the issue (so it's findable)
|
||||
|
||||
When resolved, record it in Scribe (`create_note`, tag `issue`): **symptom →
|
||||
root cause → fix → how it was verified**. Even a problem fixed in passing is
|
||||
worth two lines — that's how the next person (or you) avoids re-deriving it. If
|
||||
the fix was tracked as a task, log the resolution there and set it `done`.
|
||||
When resolved, record it in Scribe as its own issue (`create_task(kind="issue")`):
|
||||
**symptom → root cause → fix → how it was verified** in the body, optionally
|
||||
linked to the task it arose from (`arose_from_id`) and the subsystem it touches
|
||||
(`system_ids`). Even a problem fixed in passing is worth two lines — that's how
|
||||
the next person (or you) avoids re-deriving it. Record it discretely; don't bury
|
||||
it as a work-log line on an unrelated open task. If the work was already tracked
|
||||
as its own task, log the resolution there and set it `done`.
|
||||
|
||||
@@ -5,10 +5,11 @@ description: Use at the START of every session, and before answering anything ab
|
||||
|
||||
# Using Scribe
|
||||
|
||||
Scribe is the operator's self-hosted second brain (notes, tasks, projects,
|
||||
milestones, events, typed entities) and rulebook, reachable through the bundled
|
||||
`scribe` MCP server. Its value is mostly in what it **already holds** — so make
|
||||
reading it a reflex, not something you wait to be asked for.
|
||||
Scribe is the operator's self-hosted second brain (notes, tasks, issues,
|
||||
projects, milestones, systems, events, typed entities) and rulebook, reachable
|
||||
through the bundled `scribe` MCP server. Its value is mostly in what it
|
||||
**already holds** — so make reading it a reflex, not something you wait to be
|
||||
asked for.
|
||||
|
||||
## Do this first (every session)
|
||||
|
||||
@@ -72,6 +73,12 @@ Two constraints on *how* that's achieved:
|
||||
5. **Keep state honest.** Set a task `in_progress` when you start it, `done` the
|
||||
moment it's complete; log progress as you go.
|
||||
|
||||
6. **Fixes are issues, not work-logs.** When you fix a problem — even one solved
|
||||
in passing — record it as its own issue (`create_task(kind="issue")`) with
|
||||
symptom → root cause → fix, optionally linked to the task it arose from
|
||||
(`arose_from_id`) and the subsystem it touches (`system_ids`). Don't bury a
|
||||
fix as a work-log line on whatever task happened to be open.
|
||||
|
||||
## Stay inside the active project's scope
|
||||
|
||||
Once a project is in scope — you called `enter_project`, or the working repo is
|
||||
|
||||
@@ -23,8 +23,9 @@ task `done`, confirm it against reality and record what you checked.
|
||||
part of the record, not a private step.
|
||||
- Only then set the task `done`. Never mark finished work you haven't confirmed,
|
||||
and never leave confirmed work sitting at `in_progress`.
|
||||
- If verification surfaced a problem, capture it (tag `issue`) and keep the task
|
||||
open — a found problem is a pivot to record, not something to quietly skip.
|
||||
- If verification surfaced a problem, capture it as its own issue
|
||||
(`create_task(kind="issue")`) and keep the task open — a found problem is a
|
||||
pivot to record, not something to quietly skip.
|
||||
|
||||
## Honesty over optimism
|
||||
|
||||
|
||||
Reference in New Issue
Block a user