immune-brain 3.6.6 → 3.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +110 -51
- package/README.zh-CN.md +153 -49
- package/package.json +2 -1
- package/plugins/immune-brain/.claude-plugin/plugin.json +1 -1
- package/plugins/immune-brain/.pi-extension/imm-canary-work.ts +29 -19
- package/plugins/immune-brain/.pi-extension/imm-unattended-batch.ts +932 -0
- package/plugins/immune-brain/.pi-extension/package.json +3 -2
- package/plugins/immune-brain/.pi-extension/pi-canary-interaction.ts +149 -4
- package/plugins/immune-brain/.pi-extension/runtime-stub.ts +200 -2
- package/plugins/immune-brain/dist/claude/mcp-server.mjs +3404 -227
- package/plugins/immune-brain/dist/imm-loop.md +25 -0
- package/plugins/immune-brain/dist/role-prompts/code-review.md +9 -1
- package/plugins/immune-brain/runtime/assurance/coordinator.ts +101 -3
- package/plugins/immune-brain/runtime/claude/interaction.ts +16 -3
- package/plugins/immune-brain/runtime/claude/kernel_ports.ts +840 -17
- package/plugins/immune-brain/runtime/claude/mcp_server.ts +72 -10
- package/plugins/immune-brain/runtime/kernel/canary_application.ts +9 -0
- package/plugins/immune-brain/runtime/kernel/completion.ts +19 -1
- package/plugins/immune-brain/runtime/kernel/reducer.ts +162 -11
- package/plugins/immune-brain/runtime/kernel/refutation.ts +82 -0
- package/plugins/immune-brain/runtime/kernel/types.ts +34 -1
- package/plugins/immune-brain/runtime/kernel/validation.ts +202 -9
- package/plugins/immune-brain/runtime/plugin_version.ts +1 -1
- package/plugins/immune-brain/runtime/prompts/code-review.md +9 -1
- package/plugins/immune-brain/runtime/unattended/batch_git.ts +775 -0
- package/plugins/immune-brain/runtime/unattended/batch_plan.ts +203 -0
- package/plugins/immune-brain/runtime/unattended/batch_runner.ts +1224 -0
- package/plugins/immune-brain/runtime/unattended/batch_state.ts +360 -0
- package/plugins/immune-brain/runtime/unattended/types.ts +60 -0
- package/plugins/immune-brain/skills/imm-loop/SKILL.md +1 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Immune-Brain
|
|
2
2
|
|
|
3
|
-
> Deterministic workflow & quality engine for [Pi](https://github.com/badlogic/pi) — turn vague ideas into shipped code with planning, execution, QA, and review.
|
|
3
|
+
> Deterministic workflow & quality engine for [Pi](https://github.com/badlogic/pi) and [Claude Code](https://claude.ai/code) — turn vague ideas into shipped code with planning, execution, QA, and review.
|
|
4
4
|
|
|
5
5
|
**Language:** **English** | [中文](./README.zh-CN.md)
|
|
6
6
|
|
|
@@ -8,11 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
## What Is This?
|
|
10
10
|
|
|
11
|
-
Immune-Brain
|
|
11
|
+
Immune-Brain brings a structured engineering workflow to AI coding assistants (**Pi** and **Claude Code**):
|
|
12
12
|
|
|
13
|
-
- **
|
|
14
|
-
- **
|
|
15
|
-
- **
|
|
13
|
+
- **Zero overhead for normal chat & coding** — Ordinary questions, quick edits, and exploratory chat stay 100% host-native. Immune-Brain never interrupts normal conversation.
|
|
14
|
+
- **Explicit trigger when rigor matters** — When you want engineering discipline, invoke `imm-brainstorm`, `imm-planner`, or `imm-loop`.
|
|
15
|
+
- **Plans become trackable tasks** (`TaskIntent` + `TaskRecord`) — Progress lives on disk (Git + `.imm/`), surviving restarts and context wipes.
|
|
16
|
+
- **Quality is enforced by code, not promises** — Automated QA and isolated review subagents must pass before a task can complete.
|
|
17
|
+
- **Ready Initiatives can run as a batch** — One confirmed batch authorization lets `imm-loop` work through a published Initiative's children serially, while every child is still enrolled, QA'd, reviewed, and settled on its own.
|
|
16
18
|
|
|
17
19
|
Pi and Claude Code are the supported hosts. Undeclared adapters remain unsupported. Minimum Claude Code is `2.1.236`, the lowest version verified with interactive server-initiated MCP elicitation. Current real-Host evidence is recorded in [Claude native elicitation conformance](docs/verification/claude-native-elicitation-authority-conformance.md); historical reports remain under [docs/verification/archive/](docs/verification/archive/). Either host can use the model provider you configure — Immune-Brain works on top of Kernel authority, not a vendor chat.
|
|
18
20
|
|
|
@@ -25,6 +27,7 @@ Pi and Claude Code are the supported hosts. Undeclared adapters remain unsupport
|
|
|
25
27
|
- [How to Use](#how-to-use)
|
|
26
28
|
- [The 6 Skills](#the-6-skills)
|
|
27
29
|
- [Lifecycle](#lifecycle)
|
|
30
|
+
- [Unattended Batch Runs](#unattended-batch-runs)
|
|
28
31
|
- [Configuration](#configuration)
|
|
29
32
|
- [Project Layout](#project-layout)
|
|
30
33
|
- [FAQ](#faq)
|
|
@@ -34,9 +37,11 @@ Pi and Claude Code are the supported hosts. Undeclared adapters remain unsupport
|
|
|
34
37
|
|
|
35
38
|
## Installation
|
|
36
39
|
|
|
37
|
-
**Prerequisites:** [Pi](https://github.com/badlogic/pi)
|
|
40
|
+
**Prerequisites:** [Pi](https://github.com/badlogic/pi) or [Claude Code](https://claude.ai/code) (>= 2.1.236), Node.js 20+, `bun` for tests.
|
|
38
41
|
|
|
39
|
-
|
|
42
|
+
### In Pi
|
|
43
|
+
|
|
44
|
+
Pi discovers Skills and extensions from `package.json` (or your global Pi configuration):
|
|
40
45
|
|
|
41
46
|
```json
|
|
42
47
|
// package.json → pi.skills / pi.extensions
|
|
@@ -46,7 +51,24 @@ This repo is a Pi package — Pi discovers Skills and extensions from `package.j
|
|
|
46
51
|
}
|
|
47
52
|
```
|
|
48
53
|
|
|
49
|
-
No extra server config is needed. Installing the package via Pi makes all 6 Skills available automatically.
|
|
54
|
+
No extra server config is needed. Installing the package via Pi makes all 6 Skills available automatically.
|
|
55
|
+
|
|
56
|
+
### In Claude Code
|
|
57
|
+
|
|
58
|
+
Add the plugin from the marketplace:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
claude plugin marketplace add dereknex/immune-brain
|
|
62
|
+
claude plugin install immune-brain
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Or load the local directory directly:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
claude --plugin-dir ./plugins/immune-brain
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Verification
|
|
50
72
|
|
|
51
73
|
```bash
|
|
52
74
|
bun test # run all tests
|
|
@@ -58,38 +80,49 @@ mise run check-dist-sync # verify generated docs are in sync
|
|
|
58
80
|
|
|
59
81
|
## Quick Start
|
|
60
82
|
|
|
61
|
-
**
|
|
83
|
+
Immune-Brain follows a **Skill-explicit** model: ordinary conversation is just standard, lightweight AI coding. The managed workflow activates **only when you explicitly invoke a skill**.
|
|
62
84
|
|
|
63
|
-
|
|
85
|
+
**1. Call a skill when you need structured engineering**:
|
|
86
|
+
- Fuzzy idea that needs scoping? Run `/imm-brainstorm` (or ask the agent to use `imm-brainstorm`).
|
|
87
|
+
- Ready to design and build? Run `/imm-planner` (or ask the agent to use `imm-planner`).
|
|
64
88
|
|
|
65
|
-
|
|
89
|
+
*(Ordinary questions like "What does this function do?" or "Fix this typo" stay host-native — zero workflow ceremony.)*
|
|
66
90
|
|
|
67
|
-
**2. Confirm the plan
|
|
91
|
+
**2. Confirm the plan**:
|
|
92
|
+
Planner authors a `TaskIntent` and living Spec (scoped files, risk tier, acceptance checks). A native confirmation dialog opens directly:
|
|
93
|
+
- In **Pi**: native TUI modal dialog.
|
|
94
|
+
- In **Claude Code**: native MCP elicitation confirmation.
|
|
68
95
|
|
|
69
|
-
|
|
96
|
+
Review the scope and confirm enrollment. No code or authority writes happen before your explicit confirmation.
|
|
70
97
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
98
|
+
**3. Run and verify with `imm-loop`**:
|
|
99
|
+
Run `/imm-loop` (or say "Start imm-loop"). The engine will:
|
|
100
|
+
- Dispatch an Executor to write code strictly within the frozen scope.
|
|
101
|
+
- Run deterministic QA acceptance checks.
|
|
102
|
+
- Dispatch an isolated Review subagent for material/critical changes.
|
|
103
|
+
- Settle the completed proof into `.imm/audit/<task-id>/`.
|
|
76
104
|
|
|
77
105
|
---
|
|
78
106
|
|
|
79
107
|
## How to Use
|
|
80
108
|
|
|
81
|
-
|
|
109
|
+
Immune-Brain provides two clean modes: **Host-native** for daily coding, and **Managed Path** for structured, high-assurance tasks:
|
|
82
110
|
|
|
83
111
|
| Your situation | What to say / do | What happens |
|
|
84
112
|
|---|---|---|
|
|
85
|
-
|
|
|
86
|
-
|
|
|
87
|
-
|
|
|
88
|
-
|
|
|
89
|
-
|
|
|
90
|
-
|
|
|
91
|
-
|
|
92
|
-
|
|
113
|
+
| Daily coding, quick fix, general Q&A | Normal conversation ("Fix typo in README", "Explain this function") | **Host-native**: Standard Pi / Claude Code behavior. Zero workflow overhead. |
|
|
114
|
+
| Fuzzy idea, needs scoping & risk analysis | `/imm-brainstorm` "Help me think through webhook support" | → `imm-brainstorm` frames requirements, constraints, and risks (read-only, no code edits) |
|
|
115
|
+
| Clear goal, want formal plan & specs | `/imm-planner` "Plan the webhook feature" | → `imm-planner` writes `TaskIntent` + Specs with testable acceptance checks |
|
|
116
|
+
| Plan confirmed, ready to build & verify | `/imm-loop` | → Executor builds within scope → deterministic QA verifies → isolated Review checks → task settles |
|
|
117
|
+
| Session interrupted or resuming a task | `/imm-loop` | → Resumes existing task seamlessly from on-disk state (`.imm/`) |
|
|
118
|
+
| Ready Initiative to run unattended | "Run initiative `<slug>` unattended" | → Host's `start_unattended_batch`: one native confirmation covers ordered plan digest, children run serially |
|
|
119
|
+
| PR has review comments or failing CI | `/imm-pr-fix` on that PR | → Standalone repair: minimal scoped fix in place, no managed task created |
|
|
120
|
+
| Project docs out of date | `/imm-doc-prune` | → Read-only audit; deletes only user-approved stale docs from manifest |
|
|
121
|
+
| Agent instructions bloated | `/imm-agent-doc-maintain` | → Minimizes tracked `AGENTS.md` / `CLAUDE.md` to essential non-discoverable rules |
|
|
122
|
+
|
|
123
|
+
> **Core Principle: Skill-Explicit Entry**
|
|
124
|
+
> - **Ordinary input stays host-native**: Natural language queries never automatically start planning or task enrollment. You choose when to turn on engineering rigor.
|
|
125
|
+
> - **Managed work starts with explicit skills**: Use `imm-brainstorm` to clarify, `imm-planner` to plan, and `imm-loop` to execute and resume.
|
|
93
126
|
|
|
94
127
|
---
|
|
95
128
|
|
|
@@ -106,7 +139,7 @@ You rarely need to remember skill names — **just describe your intent**:
|
|
|
106
139
|
|
|
107
140
|
Internal roles (Executor, QA, Review, Compounder) are dispatched by `imm-loop` — you never invoke them directly.
|
|
108
141
|
|
|
109
|
-
|
|
142
|
+
All 6 skills are invoked explicitly. For new features, start with `imm-brainstorm` (if requirements are uncertain) or `imm-planner` (if requirements are clear), then proceed to `imm-loop` once enrolled.
|
|
110
143
|
|
|
111
144
|
### Managed Path entries (brainstorm → planner → loop)
|
|
112
145
|
|
|
@@ -114,23 +147,24 @@ The three Managed skills form one continuous pipeline with a single authority mo
|
|
|
114
147
|
|
|
115
148
|
#### `imm-brainstorm` — requirement clarification
|
|
116
149
|
|
|
117
|
-
- **Trigger:** explicit
|
|
150
|
+
- **Trigger:** explicit `/imm-brainstorm` or request for requirement clarification.
|
|
118
151
|
- **What it does:** frames the problem — goal, constraints, unknowns, risks — and produces a `brainstorm_framing` result with a recommended next step (usually → `imm-planner`).
|
|
119
152
|
- **What it never does:** read-only by design. No code, test, or runtime edits; no Spec, Plan, or workflow-state writes.
|
|
120
153
|
- **Exit:** a framed, answerable problem statement you can hand to the Planner.
|
|
121
154
|
|
|
122
155
|
#### `imm-planner` — Spec & TaskIntent planning
|
|
123
156
|
|
|
124
|
-
- **Trigger:** explicit
|
|
157
|
+
- **Trigger:** explicit `/imm-planner` or request for Spec & TaskIntent planning.
|
|
125
158
|
- **What it does:** authors or revises `TaskIntent` files (`docs/plans/`) and living Specs (`docs/specs/`) — scope (`scope_hint`), risk tier, acceptance descriptors. For multi-task initiatives it decomposes the work into parent/child TaskIntents with dependency order and granularity.
|
|
126
159
|
- **What it never does:** implements code, overwrites an enrolled TaskIntent without a revision flow, or grants execution authority — only the native Enrollment gate can.
|
|
127
160
|
- **Exit:** Git-tracked `TaskIntent` awaiting enrollment confirmation.
|
|
128
161
|
|
|
129
162
|
#### `imm-loop` — managed execution & assurance
|
|
130
163
|
|
|
131
|
-
- **Trigger:** explicit
|
|
164
|
+
- **Trigger:** explicit `/imm-loop` (start, resume, or check a managed task).
|
|
132
165
|
- **What it does:** drives one task end to end through foreground tools — Executor edits inside the frozen scope, deterministic QA executes every acceptance descriptor, an isolated Review subagent audits material/critical tasks, and the Kernel settles terminal evidence. Interrupted workflows resume from on-disk state; the Kernel projection is authoritative.
|
|
133
166
|
- **What it never does:** skips or weakens a failing check, runs without your Enrollment/revision/authorization gates, or continues after lineage or authority drift — it fails closed.
|
|
167
|
+
- **Finding evidence:** every Review finding carries machine-checkable provenance (`trigger`, `caller_chain`, `violated`). A claim that fresh passing QA evidence already contradicts is recorded as `refuted` and only blocks again if that evidence goes stale.
|
|
134
168
|
- **Exit:** `done` task record with QA + Review attestations in `.imm/audit/<task-id>/`.
|
|
135
169
|
|
|
136
170
|
### Standalone maintenance entries
|
|
@@ -158,19 +192,27 @@ The three repair/maintenance skills are host-native: they never create a managed
|
|
|
158
192
|
## Lifecycle
|
|
159
193
|
|
|
160
194
|
```
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
195
|
+
Ordinary request: normal coding / Q&A (Host-native, zero overhead)
|
|
196
|
+
│
|
|
197
|
+
Explicit skill call (/imm-brainstorm or /imm-planner)
|
|
198
|
+
│
|
|
199
|
+
┌──────────────┴──────────────┐
|
|
200
|
+
▼ ▼
|
|
201
|
+
imm-brainstorm imm-planner
|
|
202
|
+
(clarify requirements, (author Spec + TaskIntent,
|
|
203
|
+
read-only framing) define acceptance checks)
|
|
204
|
+
│ │
|
|
205
|
+
└──────────────┬──────────────┘
|
|
206
|
+
▼
|
|
207
|
+
Native Host Confirmation
|
|
208
|
+
(Pi TUI dialog / Claude MCP elicitation)
|
|
209
|
+
│
|
|
210
|
+
▼
|
|
211
|
+
imm-loop
|
|
212
|
+
├── Executor (edits strictly inside scope)
|
|
213
|
+
├── Deterministic QA (runs all acceptance checks)
|
|
214
|
+
├── Isolated Review (independent subagent audit)
|
|
215
|
+
└── Settled (.imm/audit/<task-id>/)
|
|
174
216
|
```
|
|
175
217
|
|
|
176
218
|
Key invariants:
|
|
@@ -178,10 +220,23 @@ Key invariants:
|
|
|
178
220
|
- **One active step at a time**, edits only inside that step's boundary.
|
|
179
221
|
- **Scope (`scope_hint`) is frozen at enrollment** — out-of-scope files are ignored.
|
|
180
222
|
- **Evidence before closure** — QA is the only authority that can close a step.
|
|
223
|
+
- **Findings carry evidence** — a refuted Review finding suppresses work only while the QA evidence bound to it stays fresh for the current revision, intent hash, and diff; when that evidence goes stale the finding blocks again, and nothing stored is rewritten by the invalidation.
|
|
224
|
+
- **Batches are opt-in and bounded** — an unattended batch exists only after you confirm the Host's `start_unattended_batch`; each child keeps its own enrollment, QA, review, and settlement.
|
|
181
225
|
- **Advisory never implements**, execution never self-approves.
|
|
182
226
|
|
|
183
227
|
---
|
|
184
228
|
|
|
229
|
+
## Unattended Batch Runs
|
|
230
|
+
|
|
231
|
+
When an Initiative has several ready children, you can run them as one serial batch instead of task by task.
|
|
232
|
+
|
|
233
|
+
- **Entry is explicit:** the Host's privileged `start_unattended_batch` tool, taking the Initiative slug. Nothing batch-related exists until it is called — without it, `imm-loop` behaves exactly like per-task enrollment and creates no batch state, branch, or authorization.
|
|
234
|
+
- **One confirmation, one digest:** the native gate (Pi TUI dialog or Claude MCP elicitation) shows the ordered child list and the shared plan digest; that single literal-user act is the whole Batch Authorization.
|
|
235
|
+
- **Per-child authority survives:** every child is still enrolled, frozen, QA'd, reviewed, and settled by the Kernel on its own `TaskRecord`. The batch is the scope of one authorization, never a new authority layer.
|
|
236
|
+
- **Bounds:** only published, non-`critical` children run, serially on a dedicated batch branch. The run parks when a child needs a human decision or a budget, deadline, authorization, or commit failure stops it, and dependents of a blocked child are skipped rather than reordered. The runner never pushes, opens PRs, resolves user decisions, or creates, switches, or deletes Git worktrees.
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
185
240
|
## Configuration
|
|
186
241
|
|
|
187
242
|
Immune-Brain has **no separate config file**. Preferences live in your host's agent instruction file at the repo root — `AGENTS.md` (Pi) or `CLAUDE.md` (Claude Code):
|
|
@@ -228,15 +283,19 @@ docs/specs/ # Living specs (updated in place)
|
|
|
228
283
|
|
|
229
284
|
## FAQ
|
|
230
285
|
|
|
231
|
-
**Do I need to learn all 6 skills?** No.
|
|
286
|
+
**Do I need to learn all 6 skills?** No. Most of the time you only need `/imm-planner` (to plan and enroll a task) and `/imm-loop` (to build and verify it). Use `imm-brainstorm` when requirements need clarifying first, and the maintenance skills (`imm-pr-fix`, etc.) only when specific repair needs arise. Ordinary chat and simple edits don't need any skills at all.
|
|
232
287
|
|
|
233
|
-
**What if I interrupt or close
|
|
288
|
+
**What if I interrupt or close the session mid-task?** State is safely stored on disk (`.imm/` + TaskIntent). In Pi or Claude Code, simply re-enter `/imm-loop` to resume — the Kernel projection is authoritative.
|
|
234
289
|
|
|
235
|
-
**Why does enrollment show a
|
|
290
|
+
**Why does enrollment show a confirmation dialog?** All risk levels (`routine`/`material`/`critical`) require explicit human confirmation before execution authority is granted. In Pi, this is a native TUI modal dialog; in Claude Code, it is a native MCP elicitation gate. It binds the staged digest so you see exactly what will be tracked.
|
|
236
291
|
|
|
237
292
|
**QA failed — what now?** QA returns `rework` or `replan_required`. `imm-loop` routes back to the executor or to `imm-planner` for scope changes. No manual reset needed.
|
|
238
293
|
|
|
239
|
-
**
|
|
294
|
+
**A review finding stopped blocking — why?** It was refuted: fresh deterministic QA evidence shows the acceptance it names passes. The refutation is bound to that exact evidence, so the finding blocks again the moment the evidence goes stale for the current revision, intent hash, or diff.
|
|
295
|
+
|
|
296
|
+
**Can it run a whole Initiative without me?** Only as far as you authorize. Confirm `start_unattended_batch` with the Initiative slug and the runner works through the published, non-`critical` children serially on one batch branch — parking as soon as a child needs a human decision or the run hits a budget, deadline, authorization, or commit failure. It never pushes, opens PRs, or settles user decisions for you.
|
|
297
|
+
|
|
298
|
+
**Which AI coding assistants are supported?** Pi and Claude Code are the supported hosts (Claude Code version >= `2.1.236`). Both hosts run on the exact same Kernel authority, assurance guarantees, and multi-skill pipeline.
|
|
240
299
|
|
|
241
300
|
---
|
|
242
301
|
|
|
@@ -256,13 +315,13 @@ This repo uses [Changesets](https://github.com/changesets/changesets) for versio
|
|
|
256
315
|
|
|
257
316
|
Setup: add `NPM_TOKEN` (npm access token with publish permission) to GitHub repo secrets. Workflow is `.github/workflows/release.yml` using `changesets/action@v1`.
|
|
258
317
|
|
|
259
|
-
**
|
|
318
|
+
**Manual publish (fallback):**
|
|
260
319
|
```bash
|
|
261
|
-
npm publish --access public #
|
|
320
|
+
npm publish --access public # requires npm login / NPM_TOKEN
|
|
262
321
|
# or
|
|
263
322
|
bun run changeset:publish
|
|
264
323
|
```
|
|
265
|
-
The package
|
|
324
|
+
The package publishes to npm as `immune-brain` (current release `3.6.7`) with `publishConfig.access=public` already set. After the initial publish, all future releases go through changesets.
|
|
266
325
|
|
|
267
326
|
See `CHANGELOG.md` and `.changeset/config.json` (changelog: `@changesets/changelog-github`, repo: `dereknex/immune-brain`).
|
|
268
327
|
|
package/README.zh-CN.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Immune-Brain
|
|
2
2
|
|
|
3
|
-
> 面向 [Pi](https://github.com/badlogic/pi) 的确定性工程工作流与质量保障引擎 — 把模糊想法变成可交付代码,覆盖规划、执行、QA 与审查。
|
|
3
|
+
> 面向 [Pi](https://github.com/badlogic/pi) 与 [Claude Code](https://claude.ai/code) 的确定性工程工作流与质量保障引擎 — 把模糊想法变成可交付代码,覆盖规划、执行、QA 与审查。
|
|
4
4
|
|
|
5
5
|
**语言:** [English](./README.md) | **中文**
|
|
6
6
|
|
|
@@ -8,11 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
## 这是什么?
|
|
10
10
|
|
|
11
|
-
Immune-Brain
|
|
11
|
+
Immune-Brain 为 AI 编程工具(**Pi** 与 **Claude Code**)提供结构化的工程工作流保障:
|
|
12
12
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
13
|
+
- **日常对话零负担** — 普通问答、单点代码修改与探索性对话完全保持 Host 原生体验,不拦截、不强加流程。
|
|
14
|
+
- **需要严谨时显式启用** — 遇到复杂功能开发或高保证任务时,显式调用 `imm-brainstorm`、`imm-planner` 或 `imm-loop`。
|
|
15
|
+
- **计划变为可追踪的任务**(`TaskIntent` + `TaskRecord`) — 进度落盘持久化(Git + `.imm/`),会话重启或上下文清理后仍可无缝恢复。
|
|
16
|
+
- **质量由代码强制保障** — 自动化 QA 验收与隔离式 Reviewer 审查必须通过,任务才会结算完成。
|
|
17
|
+
- **已就绪的 Initiative 可以整批运行** — 一次确认的 Batch Authorization 让 `imm-loop` 串行推进已发布 Initiative 的各个 child,而每个 child 仍然独立 Enrollment、独立 QA/Review、独立结算。
|
|
16
18
|
|
|
17
19
|
Pi 与 Claude Code 是支持的宿主。未声明的适配器仍不受支持。Claude Code 最低版本为 `2.1.236`,这是已通过交互式 server-initiated MCP elicitation 验证的最低版本。当前真实 Host 证据见 `docs/verification/claude-native-elicitation-authority-conformance.md`;历史报告归档于 `docs/verification/archive/`。
|
|
18
20
|
|
|
@@ -25,6 +27,7 @@ Pi 与 Claude Code 是支持的宿主。未声明的适配器仍不受支持。C
|
|
|
25
27
|
- [如何使用](#如何使用)
|
|
26
28
|
- [6 个 Skills](#6-个-skills)
|
|
27
29
|
- [生命周期](#生命周期)
|
|
30
|
+
- [无人值守批次运行](#无人值守批次运行)
|
|
28
31
|
- [配置](#配置)
|
|
29
32
|
- [项目结构](#项目结构)
|
|
30
33
|
- [常见问题](#常见问题)
|
|
@@ -34,9 +37,11 @@ Pi 与 Claude Code 是支持的宿主。未声明的适配器仍不受支持。C
|
|
|
34
37
|
|
|
35
38
|
## 安装
|
|
36
39
|
|
|
37
|
-
**前置要求:** 已安装 [Pi](https://github.com/badlogic/pi)
|
|
40
|
+
**前置要求:** 已安装 [Pi](https://github.com/badlogic/pi) 或 [Claude Code](https://claude.ai/code)(>= 2.1.236)、Node.js 20+、`bun`(用于测试)。
|
|
38
41
|
|
|
39
|
-
|
|
42
|
+
### 在 Pi 中使用
|
|
43
|
+
|
|
44
|
+
Pi 通过 `package.json`(或全局 Pi 配置)自动发现 Skills 与扩展:
|
|
40
45
|
|
|
41
46
|
```json
|
|
42
47
|
// package.json → pi.skills / pi.extensions
|
|
@@ -46,7 +51,24 @@ Pi 与 Claude Code 是支持的宿主。未声明的适配器仍不受支持。C
|
|
|
46
51
|
}
|
|
47
52
|
```
|
|
48
53
|
|
|
49
|
-
无需额外 server 配置,通过 Pi 安装本 package 后 6 个 Skill
|
|
54
|
+
无需额外 server 配置,通过 Pi 安装本 package 后 6 个 Skill 即自动可用。
|
|
55
|
+
|
|
56
|
+
### 在 Claude Code 中使用
|
|
57
|
+
|
|
58
|
+
从 Marketplace 安装插件:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
claude plugin marketplace add dereknex/immune-brain
|
|
62
|
+
claude plugin install immune-brain
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
或在本地开发时直接加载插件目录:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
claude --plugin-dir ./plugins/immune-brain
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### 验证安装
|
|
50
72
|
|
|
51
73
|
```bash
|
|
52
74
|
bun test # 全量测试
|
|
@@ -58,38 +80,49 @@ mise run check-dist-sync # 校验生成文档同步
|
|
|
58
80
|
|
|
59
81
|
## 快速开始
|
|
60
82
|
|
|
61
|
-
|
|
83
|
+
Immune-Brain 遵循 **显式 Skill 触发(Skill-explicit)** 模型:日常对话就是轻量自然的 AI 编程,只有显式调用对应 Skill 时才会开启严格工程管理。
|
|
62
84
|
|
|
63
|
-
|
|
85
|
+
**1. 当你需要严谨工程流程时,显式调用 Skill:**
|
|
86
|
+
- 需求模糊想先梳理?输入 `/imm-brainstorm`(或对 Agent 说 "用 imm-brainstorm 梳理需求")。
|
|
87
|
+
- 目标明确准备制定方案?输入 `/imm-planner`(或对 Agent 说 "用 imm-planner 规划深色模式功能")。
|
|
64
88
|
|
|
65
|
-
|
|
89
|
+
*(日常提问如 "这个函数什么意思"、"改个 typo" 保持完全原生,没有任何流程弹窗和开销。)*
|
|
66
90
|
|
|
67
|
-
**2.
|
|
91
|
+
**2. 确认计划:**
|
|
92
|
+
Planner 会在 `docs/plans/` 生成 `TaskIntent` 与 living Spec(锁定文件范围、风险等级与自动化验收条件)。随后弹出当前 Host 的原生确认界面:
|
|
93
|
+
- 在 **Pi** 中:原生 TUI 对话框;
|
|
94
|
+
- 在 **Claude Code** 中:原生 MCP elicitation 确认弹窗。
|
|
68
95
|
|
|
69
|
-
|
|
96
|
+
检查无误并确认后,才会正式锁定范围并开放执行权限。
|
|
70
97
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
98
|
+
**3. 用 `imm-loop` 自动执行与验收:**
|
|
99
|
+
输入 `/imm-loop`(或 "开始 imm-loop"),工作流引擎会自动:
|
|
100
|
+
- 调度 Executor 仅在锁定的 scope 范围内编写代码。
|
|
101
|
+
- 自动运行确定性 QA 验收命令。
|
|
102
|
+
- 对 material/critical 任务分发隔离的 Reviewer 子代理审查代码。
|
|
103
|
+
- 全部通过后落盘结算凭证至 `.imm/audit/<task-id>/`,任务完成。
|
|
76
104
|
|
|
77
105
|
---
|
|
78
106
|
|
|
79
107
|
## 如何使用
|
|
80
108
|
|
|
81
|
-
|
|
109
|
+
Immune-Brain 提供两种清晰的工作模式:日常轻量编码走 **Host-native**,复杂高保证任务走 **Managed Path**:
|
|
82
110
|
|
|
83
|
-
| 你的情况 |
|
|
111
|
+
| 你的情况 | 你做什么 / 说什么 | 会发生什么 |
|
|
84
112
|
|---|---|---|
|
|
85
|
-
|
|
|
86
|
-
|
|
|
87
|
-
|
|
|
88
|
-
|
|
|
89
|
-
|
|
|
90
|
-
|
|
|
91
|
-
|
|
92
|
-
|
|
113
|
+
| 日常编码、快速改动、普通问答 | 正常自然语言对话("帮我改下文案"、"解释这段代码") | **Host-native**:标准 Pi / Claude Code 行为,零流程开销 |
|
|
114
|
+
| 想法模糊,需要梳理边界与风险 | `/imm-brainstorm` "帮我梳理一下通知系统的方案" | → `imm-brainstorm` 提问澄清、分析约束与风险(只读,不改代码) |
|
|
115
|
+
| 目标明确,需要正规计划与规格 | `/imm-planner` "规划一下深色模式功能" | → `imm-planner` 产出 `TaskIntent` + Spec,包含可执行验收条件 |
|
|
116
|
+
| 计划已确认,准备执行与验证 | `/imm-loop` | → Executor 在范围内实现 → 确定性 QA 验收 → 隔离 Review 审查 → 任务结算 |
|
|
117
|
+
| 会话中断或需恢复未完成任务 | `/imm-loop` | → 从磁盘状态(`.imm/`)无缝恢复,以 Kernel projection 为准 |
|
|
118
|
+
| 已发布的 Initiative 可以整批跑了 | "把 initiative `<slug>` 无人值守跑完" | → Host 的 `start_unattended_batch`:一次原生确认绑定有序 plan digest,child 串行执行 |
|
|
119
|
+
| PR 被评论 / CI 挂了 | 对该 PR 使用 `/imm-pr-fix` | → 独立修复:在当前 PR 内针对性修复,不创建新 managed 任务 |
|
|
120
|
+
| 文档过时需要清理 | `/imm-doc-prune` | → 只读审计过时文档,仅删除经哈希审批的条目 |
|
|
121
|
+
| Agent 指令文件膨胀 | `/imm-agent-doc-maintain` | → 将 tracked `AGENTS.md` / `CLAUDE.md` 压到最小必要上下文 |
|
|
122
|
+
|
|
123
|
+
> **核心原则:Skill 显式调用**
|
|
124
|
+
> - **普通输入保持 Host-native**:自然语言提问绝不自动绑架流程或发起 Enrollment。你完全自主决定何时开启严格工程保障。
|
|
125
|
+
> - **Managed 工作流显式启动**:需要澄清用 `imm-brainstorm`,制定计划用 `imm-planner`,执行与恢复用 `imm-loop`。
|
|
93
126
|
|
|
94
127
|
---
|
|
95
128
|
|
|
@@ -106,26 +139,80 @@ QA 与 Review 以 foreground Tool 形式运行并回传结果,返回 `phase=do
|
|
|
106
139
|
|
|
107
140
|
Executor、QA、Review、Compounder 等为 `imm-loop` 内部调度的角色,无需手动调用。
|
|
108
141
|
|
|
109
|
-
|
|
142
|
+
所有 6 个 Skill 均显式调用。新需求开发时:若需求含糊先调 `imm-brainstorm`,目标清晰直接调 `imm-planner`,完成确认后调 `imm-loop` 推进闭环。
|
|
143
|
+
|
|
144
|
+
### Managed Path 入口(brainstorm → planner → loop)
|
|
145
|
+
|
|
146
|
+
这三个 Managed Skill 组成连续的工作流管道,拥有统一的 authority 模型:在你于原生确认窗口授权前绝不执行任何写入,每一次状态转换均由 Kernel 权威结算。
|
|
147
|
+
|
|
148
|
+
#### `imm-brainstorm` — 需求与问题澄清
|
|
149
|
+
|
|
150
|
+
- **触发方式:** 显式调用 `/imm-brainstorm` 或明确提出需求澄清。
|
|
151
|
+
- **职责:** 梳理问题框架 — 目标、约束、未知项与风险 — 产出 `brainstorm_framing` 结论及下一步建议(通常指向 `imm-planner`)。
|
|
152
|
+
- **边界:** 纯只读设计。不修改代码、不修改测试、不写入运行态、不创建 Spec 或 TaskIntent。
|
|
153
|
+
- **产出:** 结构清晰、可解答的问题框架,作为 Planner 的输入。
|
|
154
|
+
|
|
155
|
+
#### `imm-planner` — Spec 与 TaskIntent 规划
|
|
156
|
+
|
|
157
|
+
- **触发方式:** 显式调用 `/imm-planner` 或明确提出规划请求。
|
|
158
|
+
- **职责:** 编写或修订 `TaskIntent` 文件(`docs/plans/`)与 living Spec(`docs/specs/`) — 划定文件范围(`scope_hint`)、风险等级与验收条件。对于多任务 Initiative,负责按依赖顺序和粒度拆解为 parent/child TaskIntent。
|
|
159
|
+
- **边界:** 不编写业务实现代码、不经 revision 流程不覆盖已 Enrolled 的 TaskIntent,不擅自赋予执行权限 — 仅当前 Host 原生确认窗口具备授权能力。
|
|
160
|
+
- **产出:** 纳入 Git 版本控制、等待 Enrollment 确认的 `TaskIntent`。
|
|
161
|
+
|
|
162
|
+
#### `imm-loop` — Managed 执行与质量保障
|
|
163
|
+
|
|
164
|
+
- **触发方式:** 显式调用 `/imm-loop`(启动、恢复或检查 managed 任务)。
|
|
165
|
+
- **职责:** 通过前台 Tool 驱动任务端到端闭环 — Executor 仅在冻结的 scope 内修改代码,确定性 QA 逐项运行验收条件,隔离的 Reviewer 子代理审计 material/critical 任务,最后由 Kernel 结算落盘凭证。会话中断后从磁盘状态自动恢复,以 Kernel projection 为真源。
|
|
166
|
+
- **边界:** 绝不跳过或弱化失败检查、无用户原生授权绝不执行、遇到版本或权限偏移立即 fail-closed。
|
|
167
|
+
- **Finding 证据:** 每一项 Review finding 均携带可机器核验的 provenance(`trigger`、`caller_chain`、`violated`)。若新鲜且通过的 QA 证据已证明某项 finding 声称的 acceptance 通过,则标记为 `refuted`,仅在证据过期时才会重新阻塞。
|
|
168
|
+
- **产出:** 带有完整 QA + Review 签批、保存在 `.imm/audit/<task-id>/` 的 `done` 状态 TaskRecord。
|
|
169
|
+
|
|
170
|
+
### 独立维护入口
|
|
171
|
+
|
|
172
|
+
三个维护类 Skill 保持 Host-native:不创建 managed 任务、不推进 Managed 工作流、尊重已有的 Managed owner。
|
|
173
|
+
|
|
174
|
+
#### `imm-pr-fix` — PR 修复
|
|
175
|
+
|
|
176
|
+
- **触发方式:** 显式要求修复 GitHub PR 的 review 意见、合并冲突或 CI 失败。
|
|
177
|
+
- **职责:** 原地修复单个 PR — 诊断 review/冲突/CI 证据,实施最小范围修复,并重跑相关检查。
|
|
178
|
+
- **边界:** 严格限定在 PR 原有范围内;将远端文本视为不可信数据;修复不授予合入或批准权限。
|
|
179
|
+
|
|
180
|
+
#### `imm-doc-prune` — 过时文档清理
|
|
181
|
+
|
|
182
|
+
- **触发方式:** 显式要求清理当前过时的文档。
|
|
183
|
+
- **职责:** 只读审计文档时效性,根据用户明确审批的哈希绑定 manifest 进行精准删除,每次修改后立即重验。
|
|
184
|
+
|
|
185
|
+
#### `imm-agent-doc-maintain` — Agent 指令文件瘦身
|
|
186
|
+
|
|
187
|
+
- **触发方式:** 显式要求精简版本控制下的 `AGENTS.md` / `CLAUDE.md` / `GEMINI.md`。
|
|
188
|
+
- **职责:** 遵循与 `imm-doc-prune` 相同的「只读审计 + 哈希清单审批」模式,仅保留无法直接推导的必要规则。
|
|
110
189
|
|
|
111
190
|
---
|
|
112
191
|
|
|
113
192
|
## 生命周期
|
|
114
193
|
|
|
115
194
|
```
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
195
|
+
普通请求:日常编程 / 问答(Host-native,零流程开销)
|
|
196
|
+
│
|
|
197
|
+
显式调用 Skill(/imm-brainstorm 或 /imm-planner)
|
|
198
|
+
│
|
|
199
|
+
┌──────────────┴──────────────┐
|
|
200
|
+
▼ ▼
|
|
201
|
+
imm-brainstorm imm-planner
|
|
202
|
+
(澄清需求、约束与风险, (编写 Spec + TaskIntent,
|
|
203
|
+
只读输出 framing) 定义可自动化验证的验收条件)
|
|
204
|
+
│ │
|
|
205
|
+
└──────────────┬──────────────┘
|
|
206
|
+
▼
|
|
207
|
+
当前 Host 原生确认
|
|
208
|
+
(Pi TUI 弹窗 / Claude MCP elicitation)
|
|
209
|
+
│
|
|
210
|
+
▼
|
|
211
|
+
imm-loop
|
|
212
|
+
├── Executor(严格在 scope 内修改代码)
|
|
213
|
+
├── 确定性 QA(前台逐项执行验收命令)
|
|
214
|
+
├── 隔离式 Review(独立 subagent 审查代码)
|
|
215
|
+
└── 落盘结算(.imm/audit/<task-id>/)
|
|
129
216
|
```
|
|
130
217
|
|
|
131
218
|
核心不变量:
|
|
@@ -133,10 +220,23 @@ Executor、QA、Review、Compounder 等为 `imm-loop` 内部调度的角色,
|
|
|
133
220
|
- **一次仅一个活跃步骤**,编辑仅在步骤边界内。
|
|
134
221
|
- **范围(`scope_hint`)在 enrollment 时冻结**,范围外文件被忽略。
|
|
135
222
|
- **先记录证据再关闭** — 只有 QA 能关闭步骤。
|
|
223
|
+
- **Finding 必须携带证据** — 被反证的 Review finding 只在绑定它的 QA 证据对当前 revision、intent hash 与 diff 仍然新鲜时压制工作;证据过期后 finding 重新阻塞,且这个失效过程不重写任何已存状态。
|
|
224
|
+
- **批次必须显式授权且有边界** — 只有你确认 Host 的 `start_unattended_batch` 之后才存在无人值守批次;每个 child 仍各自 Enrollment、QA、Review 与结算。
|
|
136
225
|
- **Advisory 不实现,执行不自审。**
|
|
137
226
|
|
|
138
227
|
---
|
|
139
228
|
|
|
229
|
+
## 无人值守批次运行
|
|
230
|
+
|
|
231
|
+
当一个 Initiative 下已经有多个就绪的 child,可以把它们作为一批串行跑完,而不用逐个任务手动推进。
|
|
232
|
+
|
|
233
|
+
- **入口显式:** Host 的 privileged tool `start_unattended_batch`(参数为 Initiative slug)。未调用之前不存在任何 batch state、分支或授权;未调用时 `imm-loop` 行为与逐任务 Enrollment 完全一致。
|
|
234
|
+
- **一次确认、一个 digest:** 原生 gate(Pi TUI 弹窗或 Claude MCP elicitation)展示有序 child 列表与共享 plan digest,这一次 literal-user 确认就是全部 Batch Authorization。
|
|
235
|
+
- **每个 child 的 authority 不变:** 每个 child 仍由 Kernel 单独 Enrollment、冻结、QA、Review 并以自己的 `TaskRecord` 结算。批次只是一次授权的覆盖范围,不是新的授权层级。
|
|
236
|
+
- **边界:** 只跑已发布且非 `critical` 的 child,在专属 batch 分支上串行执行;一旦某个 child 需要人决策,或遇到预算/截止时间/授权/提交失败就暂停,被阻塞 child 的依赖项标记为跳过而不是调序。runner 不 push、不开 PR、不代替用户结算 decision、也不创建/切换/删除 Git worktree。
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
140
240
|
## 配置
|
|
141
241
|
|
|
142
242
|
Immune-Brain **没有独立配置文件**,偏好设置写在仓库根目录下当前 Host 的 agent 指令文件里——`AGENTS.md`(Pi)或 `CLAUDE.md`(Claude Code):
|
|
@@ -183,15 +283,19 @@ docs/specs/ # Living specs(原地更新)
|
|
|
183
283
|
|
|
184
284
|
## 常见问题
|
|
185
285
|
|
|
186
|
-
**需要记住所有 Skill 吗?**
|
|
286
|
+
**需要记住所有 Skill 吗?** 不需要。日常开发核心只需两个:`/imm-planner`(规划与确认任务)和 `/imm-loop`(执行与验证)。需求模糊时用 `/imm-brainstorm`,维护类任务(如 `/imm-pr-fix`)按需使用。普通问答与即时小修改无需任何 Skill。
|
|
187
287
|
|
|
188
|
-
|
|
288
|
+
**中途关闭会话会怎样?** 状态已落盘保存(`.imm/` + TaskIntent)。在 Pi 或 Claude Code 中重新输入 `/imm-loop` 即可恢复,以 Kernel projection 状态为准。
|
|
189
289
|
|
|
190
|
-
**为什么 enrollment 要弹窗确认?** 所有风险等级(`routine`/`material`/`critical
|
|
290
|
+
**为什么 enrollment 要弹窗确认?** 所有风险等级(`routine`/`material`/`critical`)在获得执行授权前都必须经由人工显式确认。在 Pi 中是原生 TUI 对话框,在 Claude Code 中是原生 MCP elicitation 弹窗。确认界面绑定 staged digest,让你清楚看到被锁定的文件范围和验收要求。
|
|
191
291
|
|
|
192
292
|
**QA 失败怎么办?** QA 返回 `rework` 或 `replan_required`,`imm-loop` 会自动路由回 Executor 或 `imm-planner` 调整范围,无需手动重置。
|
|
193
293
|
|
|
194
|
-
|
|
294
|
+
**Review finding 突然不再阻塞了?** 它被反证了:新鲜的确定性 QA 证据表明它声称的 acceptance 是通过的。反证绑定到那份具体证据,所以证据一旦对当前 revision、intent hash 或 diff 失效,该 finding 会重新阻塞。
|
|
295
|
+
|
|
296
|
+
**能不能整个 Initiative 不用我盯着?** 只能在你授权范围内。用 Initiative slug 确认 `start_unattended_batch` 后,runner 会在一个 batch 分支上串行推进已发布且非 `critical` 的 child — 一旦某个 child 需要人决策,或遇到预算/截止时间/授权/提交失败就暂停。它不会替你 push、开 PR 或结算用户决策。
|
|
297
|
+
|
|
298
|
+
**支持哪些 AI 编程工具?** Pi 与 Claude Code 是支持的宿主(Claude Code 最低版本为 `2.1.236`)。两者共享同一套确定性 Kernel 核心、质量保障机制与工具链。
|
|
195
299
|
|
|
196
300
|
---
|
|
197
301
|
|
|
@@ -211,13 +315,13 @@ docs/specs/ # Living specs(原地更新)
|
|
|
211
315
|
|
|
212
316
|
配置:在 GitHub 仓库 Secrets 中添加 `NPM_TOKEN`(有发布权限的 npm token)。Workflow 为 `.github/workflows/release.yml`,基于 `changesets/action@v1`。
|
|
213
317
|
|
|
214
|
-
|
|
318
|
+
**手动发布(回退方案):**
|
|
215
319
|
```bash
|
|
216
|
-
npm publish --access public #
|
|
320
|
+
npm publish --access public # 需 npm login / NPM_TOKEN
|
|
217
321
|
# 或
|
|
218
322
|
bun run changeset:publish
|
|
219
323
|
```
|
|
220
|
-
包名为
|
|
324
|
+
包名为 `immune-brain`(当前版本 `3.6.7`),已配置 `publishConfig.access=public`。首次发布后,后续所有版本均通过 changesets 管理。
|
|
221
325
|
|
|
222
326
|
详见 `CHANGELOG.md` 与 `.changeset/config.json`(changelog: `@changesets/changelog-github`,repo: `dereknex/immune-brain`)。
|
|
223
327
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "immune-brain",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.8",
|
|
4
4
|
"description": "Immune-Brain agent skill system",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"plugins/immune-brain/runtime/loop_contract.ts",
|
|
83
83
|
"plugins/immune-brain/runtime/plugin_version.ts",
|
|
84
84
|
"plugins/immune-brain/runtime/assurance",
|
|
85
|
+
"plugins/immune-brain/runtime/unattended",
|
|
85
86
|
"plugins/immune-brain/runtime/claude",
|
|
86
87
|
"plugins/immune-brain/runtime/prompts",
|
|
87
88
|
".claude-plugin",
|