create-claude-cabinet 0.6.0
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/LICENSE +21 -0
- package/README.md +196 -0
- package/bin/create-claude-cabinet.js +8 -0
- package/lib/cli.js +624 -0
- package/lib/copy.js +152 -0
- package/lib/db-setup.js +51 -0
- package/lib/metadata.js +42 -0
- package/lib/reset.js +193 -0
- package/lib/settings-merge.js +93 -0
- package/package.json +29 -0
- package/templates/EXTENSIONS.md +311 -0
- package/templates/README.md +485 -0
- package/templates/briefing/_briefing-api-template.md +21 -0
- package/templates/briefing/_briefing-architecture-template.md +16 -0
- package/templates/briefing/_briefing-cabinet-template.md +20 -0
- package/templates/briefing/_briefing-identity-template.md +18 -0
- package/templates/briefing/_briefing-scopes-template.md +39 -0
- package/templates/briefing/_briefing-template.md +148 -0
- package/templates/briefing/_briefing-work-tracking-template.md +18 -0
- package/templates/cabinet/committees-template.yaml +49 -0
- package/templates/cabinet/composition-patterns.md +240 -0
- package/templates/cabinet/eval-protocol.md +208 -0
- package/templates/cabinet/lifecycle.md +93 -0
- package/templates/cabinet/output-contract.md +148 -0
- package/templates/cabinet/prompt-guide.md +266 -0
- package/templates/hooks/cor-upstream-guard.sh +79 -0
- package/templates/hooks/git-guardrails.sh +67 -0
- package/templates/hooks/skill-telemetry.sh +66 -0
- package/templates/hooks/skill-tool-telemetry.sh +54 -0
- package/templates/hooks/stop-hook.md +56 -0
- package/templates/memory/patterns/_pattern-template.md +119 -0
- package/templates/memory/patterns/pattern-intelligence-first.md +41 -0
- package/templates/rules/enforcement-pipeline.md +151 -0
- package/templates/scripts/cor-drift-check.cjs +84 -0
- package/templates/scripts/finding-schema.json +94 -0
- package/templates/scripts/load-triage-history.js +151 -0
- package/templates/scripts/merge-findings.js +126 -0
- package/templates/scripts/pib-db-schema.sql +68 -0
- package/templates/scripts/pib-db.js +365 -0
- package/templates/scripts/triage-server.mjs +98 -0
- package/templates/scripts/triage-ui.html +536 -0
- package/templates/skills/audit/SKILL.md +273 -0
- package/templates/skills/audit/phases/finding-output.md +56 -0
- package/templates/skills/audit/phases/member-execution.md +83 -0
- package/templates/skills/audit/phases/member-selection.md +44 -0
- package/templates/skills/audit/phases/structural-checks.md +54 -0
- package/templates/skills/audit/phases/triage-history.md +45 -0
- package/templates/skills/cabinet-accessibility/SKILL.md +180 -0
- package/templates/skills/cabinet-anti-confirmation/SKILL.md +172 -0
- package/templates/skills/cabinet-architecture/SKILL.md +279 -0
- package/templates/skills/cabinet-boundary-man/SKILL.md +265 -0
- package/templates/skills/cabinet-cor-health/SKILL.md +342 -0
- package/templates/skills/cabinet-data-integrity/SKILL.md +157 -0
- package/templates/skills/cabinet-debugger/SKILL.md +221 -0
- package/templates/skills/cabinet-historian/SKILL.md +253 -0
- package/templates/skills/cabinet-organized-mind/SKILL.md +338 -0
- package/templates/skills/cabinet-process-therapist/SKILL.md +261 -0
- package/templates/skills/cabinet-qa/SKILL.md +205 -0
- package/templates/skills/cabinet-record-keeper/SKILL.md +168 -0
- package/templates/skills/cabinet-roster-check/SKILL.md +297 -0
- package/templates/skills/cabinet-security/SKILL.md +181 -0
- package/templates/skills/cabinet-small-screen/SKILL.md +154 -0
- package/templates/skills/cabinet-speed-freak/SKILL.md +169 -0
- package/templates/skills/cabinet-system-advocate/SKILL.md +194 -0
- package/templates/skills/cabinet-technical-debt/SKILL.md +115 -0
- package/templates/skills/cabinet-usability/SKILL.md +189 -0
- package/templates/skills/cabinet-workflow-cop/SKILL.md +238 -0
- package/templates/skills/cor-upgrade/SKILL.md +302 -0
- package/templates/skills/debrief/SKILL.md +409 -0
- package/templates/skills/debrief/phases/auto-maintenance.md +48 -0
- package/templates/skills/debrief/phases/close-work.md +88 -0
- package/templates/skills/debrief/phases/health-checks.md +54 -0
- package/templates/skills/debrief/phases/inventory.md +40 -0
- package/templates/skills/debrief/phases/loose-ends.md +52 -0
- package/templates/skills/debrief/phases/record-lessons.md +67 -0
- package/templates/skills/debrief/phases/report.md +59 -0
- package/templates/skills/debrief/phases/update-state.md +48 -0
- package/templates/skills/debrief/phases/upstream-feedback.md +129 -0
- package/templates/skills/debrief-quick/SKILL.md +12 -0
- package/templates/skills/execute/SKILL.md +293 -0
- package/templates/skills/execute/phases/cabinet.md +49 -0
- package/templates/skills/execute/phases/commit-and-deploy.md +66 -0
- package/templates/skills/execute/phases/load-plan.md +49 -0
- package/templates/skills/execute/phases/validators.md +50 -0
- package/templates/skills/execute/phases/verification-tools.md +67 -0
- package/templates/skills/extract/SKILL.md +168 -0
- package/templates/skills/investigate/SKILL.md +160 -0
- package/templates/skills/link/SKILL.md +52 -0
- package/templates/skills/menu/SKILL.md +61 -0
- package/templates/skills/onboard/SKILL.md +356 -0
- package/templates/skills/onboard/phases/detect-state.md +79 -0
- package/templates/skills/onboard/phases/generate-briefing.md +127 -0
- package/templates/skills/onboard/phases/generate-session-loop.md +87 -0
- package/templates/skills/onboard/phases/interview.md +233 -0
- package/templates/skills/onboard/phases/modularity-menu.md +162 -0
- package/templates/skills/onboard/phases/options.md +98 -0
- package/templates/skills/onboard/phases/post-onboard-audit.md +121 -0
- package/templates/skills/onboard/phases/summary.md +122 -0
- package/templates/skills/onboard/phases/work-tracking.md +231 -0
- package/templates/skills/orient/SKILL.md +251 -0
- package/templates/skills/orient/phases/auto-maintenance.md +48 -0
- package/templates/skills/orient/phases/briefing.md +53 -0
- package/templates/skills/orient/phases/cabinet.md +46 -0
- package/templates/skills/orient/phases/context.md +63 -0
- package/templates/skills/orient/phases/data-sync.md +35 -0
- package/templates/skills/orient/phases/health-checks.md +50 -0
- package/templates/skills/orient/phases/work-scan.md +69 -0
- package/templates/skills/orient-quick/SKILL.md +12 -0
- package/templates/skills/plan/SKILL.md +358 -0
- package/templates/skills/plan/phases/cabinet-critique.md +47 -0
- package/templates/skills/plan/phases/calibration-examples.md +75 -0
- package/templates/skills/plan/phases/completeness-check.md +44 -0
- package/templates/skills/plan/phases/composition-check.md +36 -0
- package/templates/skills/plan/phases/overlap-check.md +62 -0
- package/templates/skills/plan/phases/plan-template.md +69 -0
- package/templates/skills/plan/phases/present.md +60 -0
- package/templates/skills/plan/phases/research.md +43 -0
- package/templates/skills/plan/phases/work-tracker.md +95 -0
- package/templates/skills/publish/SKILL.md +74 -0
- package/templates/skills/pulse/SKILL.md +242 -0
- package/templates/skills/pulse/phases/auto-fix-scope.md +40 -0
- package/templates/skills/pulse/phases/checks.md +58 -0
- package/templates/skills/pulse/phases/output.md +54 -0
- package/templates/skills/seed/SKILL.md +257 -0
- package/templates/skills/seed/phases/build-member.md +93 -0
- package/templates/skills/seed/phases/evaluate-existing.md +61 -0
- package/templates/skills/seed/phases/maintain.md +92 -0
- package/templates/skills/seed/phases/scan-signals.md +86 -0
- package/templates/skills/triage-audit/SKILL.md +251 -0
- package/templates/skills/triage-audit/phases/apply-verdicts.md +90 -0
- package/templates/skills/triage-audit/phases/load-findings.md +38 -0
- package/templates/skills/triage-audit/phases/triage-ui.md +66 -0
- package/templates/skills/unlink/SKILL.md +35 -0
- package/templates/skills/validate/SKILL.md +116 -0
- package/templates/skills/validate/phases/validators.md +53 -0
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
# Process-in-a-Box
|
|
2
|
+
|
|
3
|
+
Generic methodology artifacts extracted from Flow, a cognitive workspace
|
|
4
|
+
built on Claude Code. These are the transferable parts of a development
|
|
5
|
+
process that emerged from months of iterative building — the patterns
|
|
6
|
+
that work regardless of what you're building.
|
|
7
|
+
|
|
8
|
+
For the full methodology and the reasoning behind these artifacts, see
|
|
9
|
+
the [methodology essay](../areas/flow-development/process-in-a-box-methodology.md).
|
|
10
|
+
|
|
11
|
+
## What's Here
|
|
12
|
+
|
|
13
|
+
This package contains **Waves 1-7** artifacts. Wave 1 is generic as-is.
|
|
14
|
+
Wave 2 parameterizes mixed-extractable artifacts — replacing hardcoded
|
|
15
|
+
paths with references to `_briefing.md` and environment variables. Wave 3
|
|
16
|
+
skeletons the session loop — orient and debrief — using the `phases/`
|
|
17
|
+
pattern established by validate in Wave 2. Wave 4 skeletons the
|
|
18
|
+
compliance stack — enforcement pipeline, plan, and execute. Wave 5
|
|
19
|
+
skeletons the audit loop — audit, pulse, triage-audit — with a reference
|
|
20
|
+
data layer, cabinet member infrastructure, and scripts that make the
|
|
21
|
+
whole system work out of the box. Wave 6 documents how Flow extends
|
|
22
|
+
and will adopt the package — see [EXTENSIONS.md](EXTENSIONS.md) for
|
|
23
|
+
annotated phase file overrides, reusable patterns, and cabinet member
|
|
24
|
+
writing examples. Wave 7 adds the lifecycle layer — onboarding,
|
|
25
|
+
capability seeding, upgrades, and Claude Cabinet health monitoring.
|
|
26
|
+
|
|
27
|
+
Everything is organized to mirror the `.claude/` directory structure, so
|
|
28
|
+
adoption is straightforward: copy what you need into your project's
|
|
29
|
+
`.claude/` directory.
|
|
30
|
+
|
|
31
|
+
### Hooks (4)
|
|
32
|
+
|
|
33
|
+
| Artifact | Wave | What It Does |
|
|
34
|
+
|----------|------|-------------|
|
|
35
|
+
| `hooks/git-guardrails.sh` | 1 | PreToolUse hook that blocks destructive git operations (force push to main, hard reset, git clean). Zero configuration needed. |
|
|
36
|
+
| `hooks/stop-hook.md` | 1 | Template for a Stop event hook that checks whether the session-closing skill ran. Prompt-type (advisory, not blocking). |
|
|
37
|
+
| `hooks/skill-telemetry.sh` | 2 | UserPromptSubmit hook that detects /skill-name invocations and logs to JSONL. Configurable via env vars. |
|
|
38
|
+
| `hooks/skill-tool-telemetry.sh` | 2 | PostToolUse hook that captures programmatic Skill tool invocations. Configurable via env vars. |
|
|
39
|
+
|
|
40
|
+
### Rules (1)
|
|
41
|
+
|
|
42
|
+
| Artifact | Wave | What It Does |
|
|
43
|
+
|----------|------|-------------|
|
|
44
|
+
| `rules/enforcement-pipeline.md` | 4 | Generic enforcement pipeline: capture → classify → promote → encode → monitor. Describes the compliance stack, enforcement types, promotion criteria. |
|
|
45
|
+
|
|
46
|
+
### Skills (13)
|
|
47
|
+
|
|
48
|
+
| Artifact | Wave | What It Does |
|
|
49
|
+
|----------|------|-------------|
|
|
50
|
+
| `skills/menu/SKILL.md` | 1 | Dynamically discovers and displays all skills by scanning `.claude/skills/*/SKILL.md`. No hardcoded content. |
|
|
51
|
+
| `skills/investigate/SKILL.md` | 2 | Structured codebase exploration: frame → observe → hypothesize → test → conclude. Pure methodology, no project-specific content. |
|
|
52
|
+
| `skills/validate/SKILL.md` | 2 | **First `phases/` skeleton.** Orchestrates validators and presents a unified summary. Validators defined in `phases/validators.md`. |
|
|
53
|
+
| `skills/orient/SKILL.md` | 3 | **Session start skeleton.** Loads context, syncs data, scans work, runs health checks and maintenance, presents briefing. 7 phase files. |
|
|
54
|
+
| `skills/debrief/SKILL.md` | 3 | **Session close skeleton.** Inventories work, closes items, updates state, records lessons, captures loose ends. 8 phase files. |
|
|
55
|
+
| `skills/plan/SKILL.md` | 4 | **Planning skeleton.** Research, overlap check, draft, cabinet member critique, completeness check, present, file work item. 7 phase files. |
|
|
56
|
+
| `skills/execute/SKILL.md` | 4 | **Execution skeleton.** Load plan, activate cabinet members, 3-checkpoint protocol (pre-implementation, per-file-group, pre-commit), validate, verify AC. 5 phase files. |
|
|
57
|
+
| `skills/audit/SKILL.md` | 5 | **Audit skeleton.** Select cabinet members, fast structural checks, load triage suppression, spawn parallel cabinet member agents with two-phase protocol, merge and persist findings. 5 phase files. |
|
|
58
|
+
| `skills/pulse/SKILL.md` | 5 | **Pulse skeleton.** Self-description accuracy check: count freshness, dead reference spot-check, staleness detection. Two modes: embedded (silent in orient/debrief) and standalone. 3 phase files. |
|
|
59
|
+
| `skills/triage-audit/SKILL.md` | 5 | **Triage skeleton.** Load findings, prepare commentary, present via local web UI or CLI, apply verdicts (fix/defer/reject), create actions for approved findings. 3 phase files. |
|
|
60
|
+
| `skills/onboard/SKILL.md` | 7 | **Onboarding skeleton.** Conversational interview that generates the initial context layer. Re-runnable: first run generates, subsequent runs refine. 6 phase files. |
|
|
61
|
+
| `skills/seed/SKILL.md` | 7 | **Capability seeding skeleton.** Detects technology adoption signals, proposes expertise conversations, builds and maintains cabinet members collaboratively. 4 phase files. |
|
|
62
|
+
| `skills/cor-upgrade/SKILL.md` | 7 | **Upgrade skeleton.** Conversational merge when new Claude Cabinet skeletons arrive. Intelligence is the merge strategy — conversation, not mechanical copy. 4 phase files. |
|
|
63
|
+
|
|
64
|
+
### Scripts (6)
|
|
65
|
+
|
|
66
|
+
| Artifact | Wave | What It Does |
|
|
67
|
+
|----------|------|-------------|
|
|
68
|
+
| `scripts/pib-db.js` | 5 | Reference data layer CLI. SQLite database for work tracking (actions, projects) and audit findings. Commands: init, query, create-action, list-actions, create-project, ingest-findings, triage, triage-history. |
|
|
69
|
+
| `scripts/pib-db-schema.sql` | 5 | Database schema: projects, actions, audit_runs, audit_findings (with triage status). |
|
|
70
|
+
| `scripts/merge-findings.js` | 5 | Merges per-cabinet-member JSON outputs into unified run-summary.json. Optional `--db` flag to ingest into pib-db. |
|
|
71
|
+
| `scripts/load-triage-history.js` | 5 | Builds suppression lists from triage history. Tries pib-db first, falls back to filesystem scan. |
|
|
72
|
+
| `scripts/triage-server.mjs` | 5 | Self-contained Node.js HTTP server for triage UI. Zero external dependencies. In-memory data shuttle. |
|
|
73
|
+
| `scripts/triage-ui.html` | 5 | Browser-based triage interface. Dark-themed, findings grouped by cabinet member, severity badges, Fix/Defer/Reject/Question verdicts, bulk actions, progress bar. |
|
|
74
|
+
| `scripts/finding-schema.json` | 5 | JSON Schema for audit finding validation. |
|
|
75
|
+
|
|
76
|
+
### Cabinet Members (15 + 7 infrastructure)
|
|
77
|
+
|
|
78
|
+
Generic expert lenses that activate at structured checkpoints (planning,
|
|
79
|
+
execution, audit). Each is a named domain expert encoded in markdown.
|
|
80
|
+
|
|
81
|
+
**Wave 1 — generic as-is (8):**
|
|
82
|
+
|
|
83
|
+
| Cabinet Member | Domain | Activation |
|
|
84
|
+
|------------|--------|-----------|
|
|
85
|
+
| `anti-confirmation` | Reasoning quality, cognitive bias detection | On high-stakes decisions |
|
|
86
|
+
| `boundary-man` | Implicit guards, silent exclusions, ZOMBIES analysis | Always-on during execution |
|
|
87
|
+
| `debugger` | Dependency chains, environment prereqs, pre-flight investigation | Always-on during execution |
|
|
88
|
+
| `small-screen` | Viewport adaptability, touch targets, responsive layout | During audits + layout code |
|
|
89
|
+
| `organized-mind` | Levitin's cognitive neuroscience applied to system design | During audits + planning |
|
|
90
|
+
| `speed-freak` | Database queries, render efficiency, bundle size, perceived speed | During audits |
|
|
91
|
+
| `qa` | Active testing, acceptance criteria, regression verification | Always-on during plan + execute |
|
|
92
|
+
| `technical-debt` | Fowler's debt quadrant, Beck's four rules, structural sustainability | During audits |
|
|
93
|
+
|
|
94
|
+
**Wave 2 — parameterized via `_briefing.md` (6):**
|
|
95
|
+
|
|
96
|
+
| Cabinet Member | Domain | What's Parameterized |
|
|
97
|
+
|------------|--------|---------------------|
|
|
98
|
+
| `accessibility` | WCAG compliance, keyboard nav, screen reader, focus management | Scan scope paths, UI framework references |
|
|
99
|
+
| `data-integrity` | Cross-store consistency, referential integrity, API contracts | Database paths, entity types, server paths |
|
|
100
|
+
| `record-keeper` | Docs-code drift, convention compliance, CLAUDE.md coverage | File paths, validation scripts, entity types |
|
|
101
|
+
| `process-therapist` | Skill/cabinet member effectiveness, overlap/gap analysis | Audit infrastructure paths, prompt guide location |
|
|
102
|
+
| `workflow-cop` | Development lifecycle, human burden, guardrail effectiveness | Deployment platform, sync mechanisms, scheduled tasks |
|
|
103
|
+
| `security` | Threat model, secrets management, API protection, deployment security | Server paths, deployment config, secret names |
|
|
104
|
+
|
|
105
|
+
**Wave 7 — lifecycle (1):**
|
|
106
|
+
|
|
107
|
+
| Cabinet Member | Domain | Activation |
|
|
108
|
+
|------------|--------|-----------|
|
|
109
|
+
| `cor-health` | Claude Cabinet adoption health, phase file coverage, configuration drift, anti-bloat | Always-on during audit |
|
|
110
|
+
|
|
111
|
+
**Infrastructure files (7):**
|
|
112
|
+
|
|
113
|
+
| File | Wave | Purpose |
|
|
114
|
+
|------|------|---------|
|
|
115
|
+
| `_eval-protocol.md` | 1 | Structured assessment framework for evaluating skill/cabinet member effectiveness |
|
|
116
|
+
| `_composition-patterns.md` | 1 | Five patterns for combining cabinet members: parallel, sequential, adversarial, nested, temporal |
|
|
117
|
+
| `_briefing-template.md` | 1+2 | Template for the project-specific briefing every cabinet member reads. Wave 2 added: Scan Scopes, API Configuration, Entity Types, User Context. |
|
|
118
|
+
| `_prompt-guide.md` | 2 | Craft knowledge for writing cabinet member prompts. 17 principles including Levitin's cognitive architecture. |
|
|
119
|
+
| `output-contract.md` | 5 | How cabinet members produce structured findings for the audit system. Defines the assumption/evidence/question triad, severity calibration, positive findings, autoFixable field, JSON output format. |
|
|
120
|
+
| `committees-template.yaml` | 5 | Technology-implied starter committees for organizing cabinet members (ux, code, health, process). Copy as `committees.yaml` and customize. |
|
|
121
|
+
| `_lifecycle.md` | 5 | When to adopt, retire, and assess cabinet members. Cross-cutting vs grouped distinction. |
|
|
122
|
+
|
|
123
|
+
### Memory (1 pattern + 1 template)
|
|
124
|
+
|
|
125
|
+
| Artifact | What It Does |
|
|
126
|
+
|----------|-------------|
|
|
127
|
+
| `patterns/pattern-intelligence-first.md` | Universal principle: use LLM for semantic work, JSON for pipelines, research before coding |
|
|
128
|
+
| `patterns/_pattern-template.md` | The pattern file format itself — frontmatter schema for the feedback-to-enforcement pipeline |
|
|
129
|
+
|
|
130
|
+
## How to Adopt
|
|
131
|
+
|
|
132
|
+
### Minimum viable adoption
|
|
133
|
+
|
|
134
|
+
1. Copy `hooks/git-guardrails.sh` to `.claude/hooks/`
|
|
135
|
+
2. Add the hook to your `.claude/settings.json`:
|
|
136
|
+
```json
|
|
137
|
+
{
|
|
138
|
+
"hooks": {
|
|
139
|
+
"PreToolUse": [{
|
|
140
|
+
"matcher": "Bash",
|
|
141
|
+
"hooks": [{
|
|
142
|
+
"type": "command",
|
|
143
|
+
"command": ".claude/hooks/git-guardrails.sh"
|
|
144
|
+
}]
|
|
145
|
+
}]
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
```
|
|
149
|
+
3. Copy `skills/menu/SKILL.md` to `.claude/skills/menu/`
|
|
150
|
+
|
|
151
|
+
You now have git safety and skill discovery.
|
|
152
|
+
|
|
153
|
+
### Adding telemetry
|
|
154
|
+
|
|
155
|
+
1. Copy `hooks/skill-telemetry.sh` and `hooks/skill-tool-telemetry.sh`
|
|
156
|
+
to `.claude/hooks/`
|
|
157
|
+
2. Add to your `.claude/settings.json`:
|
|
158
|
+
```json
|
|
159
|
+
{
|
|
160
|
+
"hooks": {
|
|
161
|
+
"UserPromptSubmit": [{
|
|
162
|
+
"matcher": "",
|
|
163
|
+
"hooks": [{ "type": "command", "command": ".claude/hooks/skill-telemetry.sh" }]
|
|
164
|
+
}],
|
|
165
|
+
"PostToolUse": [{
|
|
166
|
+
"matcher": "Skill",
|
|
167
|
+
"hooks": [{ "type": "command", "command": ".claude/hooks/skill-tool-telemetry.sh" }]
|
|
168
|
+
}]
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
```
|
|
172
|
+
3. Optionally set `TELEMETRY_DIR` to control where JSONL records are written
|
|
173
|
+
(defaults to `~/.claude/telemetry/`)
|
|
174
|
+
|
|
175
|
+
### Adding cabinet members
|
|
176
|
+
|
|
177
|
+
1. Copy `skills/cabinet/` to `.claude/skills/cabinet/`
|
|
178
|
+
2. Create your own `_briefing.md` from `_briefing-template.md` — fill in
|
|
179
|
+
your project's specifics (scan scopes, data store, entity types, etc.)
|
|
180
|
+
3. Wave 2 cabinet members reference `_briefing.md` sections by name — fill in
|
|
181
|
+
the sections relevant to the cabinet members you adopt
|
|
182
|
+
4. Cabinet members are now available for your planning, execution, and audit
|
|
183
|
+
skills to invoke
|
|
184
|
+
|
|
185
|
+
### Adding the validate skeleton
|
|
186
|
+
|
|
187
|
+
1. Copy `skills/validate/` (including `phases/`) to `.claude/skills/validate/`
|
|
188
|
+
2. Edit `phases/validators.md` — uncomment and adapt the example validators
|
|
189
|
+
for your project's type checker, linter, build step, etc.
|
|
190
|
+
3. Run `/validate` to confirm your validators work
|
|
191
|
+
|
|
192
|
+
This is the first skill using the `phases/` pattern. The skeleton defines
|
|
193
|
+
the orchestration; you write your validators in the phase file.
|
|
194
|
+
|
|
195
|
+
### Guided onboarding (recommended)
|
|
196
|
+
|
|
197
|
+
Instead of manually copying files, run `/onboard` after copying the
|
|
198
|
+
onboard skill. It interviews you about your project, generates the
|
|
199
|
+
context layer, wires the session loop, and presents opt-in modules.
|
|
200
|
+
Re-run it as your project matures to refine what was generated.
|
|
201
|
+
|
|
202
|
+
### Adding the session loop (orient + debrief) — manual
|
|
203
|
+
|
|
204
|
+
1. Copy `skills/orient/` and `skills/debrief/` (including `phases/`)
|
|
205
|
+
to `.claude/skills/orient/` and `.claude/skills/debrief/`
|
|
206
|
+
2. Edit the orient phase files:
|
|
207
|
+
- `phases/context.md` — what files and state to read at session start
|
|
208
|
+
- `phases/data-sync.md` — how to sync fresh data (skip if purely local)
|
|
209
|
+
- `phases/work-scan.md` — what work items to check
|
|
210
|
+
- Leave other phase files empty until you need them
|
|
211
|
+
3. Edit the debrief phase files:
|
|
212
|
+
- `phases/close-work.md` — how to match and close work items
|
|
213
|
+
- `phases/update-state.md` — what state files to update
|
|
214
|
+
- `phases/record-lessons.md` — how to capture lessons
|
|
215
|
+
- Leave other phase files empty until you need them
|
|
216
|
+
4. Add the stop hook (`hooks/stop-hook.md`) to verify debrief ran
|
|
217
|
+
|
|
218
|
+
Start with context + work-scan + close-work + record-lessons. Add more
|
|
219
|
+
phases as your project matures and you discover what decays without them.
|
|
220
|
+
|
|
221
|
+
To add project-specific phases the skeleton doesn't define, create new
|
|
222
|
+
files in `phases/` — each declares when it runs relative to the core
|
|
223
|
+
phases. Claude discovers them at runtime.
|
|
224
|
+
|
|
225
|
+
### Adding the planning/execution workflow
|
|
226
|
+
|
|
227
|
+
1. Copy `skills/plan/` and `skills/execute/` (including `phases/`)
|
|
228
|
+
to `.claude/skills/plan/` and `.claude/skills/execute/`
|
|
229
|
+
2. Edit the plan phase files:
|
|
230
|
+
- `phases/overlap-check.md` — how to search for existing work (skip if
|
|
231
|
+
no work tracker yet)
|
|
232
|
+
- `phases/plan-template.md` — customize your plan sections (or leave
|
|
233
|
+
empty for the default template)
|
|
234
|
+
- `phases/work-tracker.md` — how to file work items
|
|
235
|
+
3. Edit the execute phase files:
|
|
236
|
+
- `phases/load-plan.md` — where your plans live (or leave empty if
|
|
237
|
+
plans are always in conversation)
|
|
238
|
+
- `phases/commit-and-deploy.md` — your commit and deploy workflow
|
|
239
|
+
- `phases/validators.md` — what validation to run
|
|
240
|
+
- `phases/verification-tools.md` — tools for checking manual AC
|
|
241
|
+
4. Fill in the **Work Tracking** section of your `_briefing.md`
|
|
242
|
+
|
|
243
|
+
Start with plan-template + work-tracker + commit-and-deploy. Other phase
|
|
244
|
+
files have sensible defaults. To actively suppress a default phase, write
|
|
245
|
+
`skip: true` in the file instead of leaving it empty.
|
|
246
|
+
|
|
247
|
+
### Adding the enforcement pipeline
|
|
248
|
+
|
|
249
|
+
1. Copy `rules/enforcement-pipeline.md` to `.claude/rules/`
|
|
250
|
+
2. Copy `memory/patterns/` to your memory directory
|
|
251
|
+
|
|
252
|
+
1. Copy `memory/patterns/` to your memory directory
|
|
253
|
+
2. Use `_pattern-template.md` as the format for capturing your own
|
|
254
|
+
project's friction patterns
|
|
255
|
+
3. Over time, patterns accumulate and some get promoted to rules or hooks
|
|
256
|
+
|
|
257
|
+
### Adding the audit loop
|
|
258
|
+
|
|
259
|
+
The audit loop has three skills (audit, pulse, triage-audit), a reference
|
|
260
|
+
data layer, and supporting scripts. The design philosophy is "Claude
|
|
261
|
+
Cabinet" — sensible defaults that work out of the box, easy to override
|
|
262
|
+
when you outgrow them.
|
|
263
|
+
|
|
264
|
+
1. **Initialize the reference data layer:**
|
|
265
|
+
```bash
|
|
266
|
+
cp process-in-a-box/scripts/pib-db*.* your-project/scripts/
|
|
267
|
+
cd your-project && node scripts/pib-db.js init
|
|
268
|
+
```
|
|
269
|
+
This creates a local SQLite database for work tracking and audit
|
|
270
|
+
findings. The session loop skills (orient work-scan, debrief close-work,
|
|
271
|
+
plan overlap-check and work-tracker) will use it automatically via
|
|
272
|
+
their default behaviors.
|
|
273
|
+
|
|
274
|
+
2. **Copy audit skills:**
|
|
275
|
+
```bash
|
|
276
|
+
cp -r process-in-a-box/skills/audit/ .claude/skills/audit/
|
|
277
|
+
cp -r process-in-a-box/skills/pulse/ .claude/skills/pulse/
|
|
278
|
+
cp -r process-in-a-box/skills/triage-audit/ .claude/skills/triage-audit/
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
3. **Copy cabinet member infrastructure:**
|
|
282
|
+
```bash
|
|
283
|
+
cp process-in-a-box/skills/cabinet/output-contract.md .claude/skills/cabinet/
|
|
284
|
+
cp process-in-a-box/skills/cabinet/committees-template.yaml .claude/skills/cabinet/
|
|
285
|
+
cp process-in-a-box/skills/cabinet/_lifecycle.md .claude/skills/cabinet/
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
4. **Copy audit scripts:**
|
|
289
|
+
```bash
|
|
290
|
+
cp process-in-a-box/scripts/merge-findings.js your-project/scripts/
|
|
291
|
+
cp process-in-a-box/scripts/load-triage-history.js your-project/scripts/
|
|
292
|
+
cp process-in-a-box/scripts/triage-server.mjs your-project/scripts/
|
|
293
|
+
cp process-in-a-box/scripts/triage-ui.html your-project/scripts/
|
|
294
|
+
cp process-in-a-box/scripts/finding-schema.json your-project/scripts/
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
5. **Set up committees** (optional):
|
|
298
|
+
```bash
|
|
299
|
+
cp .claude/skills/cabinet/committees-template.yaml .claude/skills/cabinet/committees.yaml
|
|
300
|
+
```
|
|
301
|
+
Uncomment the committees relevant to your project.
|
|
302
|
+
|
|
303
|
+
6. **Run your first audit:** `/audit` — it discovers cabinet members, runs
|
|
304
|
+
them, and persists findings. Then `/triage-audit` to review results.
|
|
305
|
+
|
|
306
|
+
The reference data layer is designed to be replaced. When your project
|
|
307
|
+
outgrows local SQLite (needs a team dashboard, external API, deployed
|
|
308
|
+
database), override the relevant phase files in each skill. The phase
|
|
309
|
+
file protocol means you replace one piece at a time without touching
|
|
310
|
+
the skill orchestration.
|
|
311
|
+
|
|
312
|
+
## What You and Claude Build Together
|
|
313
|
+
|
|
314
|
+
The package provides skeletons and infrastructure. You and Claude fill
|
|
315
|
+
in the project-specific parts together — Claude helps you write the
|
|
316
|
+
phase files, configure cabinet members, and set up validators. This is
|
|
317
|
+
the working relationship the methodology is built around: the human
|
|
318
|
+
provides judgment and domain knowledge, Claude implements, evaluates,
|
|
319
|
+
and proposes.
|
|
320
|
+
|
|
321
|
+
These are the project-specific pieces to build as you adopt:
|
|
322
|
+
|
|
323
|
+
- **`_briefing.md`** — Project-specific briefing that all cabinet members read.
|
|
324
|
+
Start from `_briefing-template.md`. Claude helps you fill in the sections
|
|
325
|
+
relevant to the cabinet members you adopt.
|
|
326
|
+
- **Orient phase files** — Session startup specifics (what to read, what
|
|
327
|
+
to sync, what work to scan). The skeletons have commented-out examples;
|
|
328
|
+
Claude helps you adapt them for your project.
|
|
329
|
+
- **Debrief phase files** — Session close specifics (how to close work,
|
|
330
|
+
what state to update, how to capture lessons). Same pattern — skeletons
|
|
331
|
+
guide, Claude helps implement.
|
|
332
|
+
- **Validators** — Edit `skills/validate/phases/validators.md` with your
|
|
333
|
+
project's specific checks. Claude can help identify what to validate.
|
|
334
|
+
- **Plan phase files** — Planning specifics (how to check for existing work,
|
|
335
|
+
your plan template, how to file work items). Skeletons have defaults for
|
|
336
|
+
each phase; customize when your project needs something different.
|
|
337
|
+
- **Execute phase files** — Execution specifics (where plans live, what
|
|
338
|
+
verification tools to use, how to commit and deploy). Same pattern.
|
|
339
|
+
|
|
340
|
+
- **Audit phase files** — Audit specifics (which cabinet members to run,
|
|
341
|
+
fast structural checks, how to persist findings). Defaults use pib-db
|
|
342
|
+
and the included scripts; customize when your project needs external
|
|
343
|
+
storage or different workflows.
|
|
344
|
+
- **Pulse checks** — What self-description accuracy to verify (counts,
|
|
345
|
+
references, staleness). Start empty for defaults; add project-specific
|
|
346
|
+
checks as you discover what drifts.
|
|
347
|
+
- **Triage phase files** — Where findings come from, how to present them,
|
|
348
|
+
how to apply verdicts. Defaults use the local triage UI and pib-db.
|
|
349
|
+
- **Committees** — Copy `committees-template.yaml` as `committees.yaml`
|
|
350
|
+
and uncomment the committees relevant to your technology stack.
|
|
351
|
+
|
|
352
|
+
None of this requires working alone. Claude is the constant companion
|
|
353
|
+
throughout — the package provides the structure, and you build the
|
|
354
|
+
specifics together through use.
|
|
355
|
+
|
|
356
|
+
## Configuration
|
|
357
|
+
|
|
358
|
+
There is no `box.yaml` or template engine. Configuration uses two mechanisms:
|
|
359
|
+
|
|
360
|
+
1. **`_briefing.md`** — For cabinet members. Fill in the sections relevant to
|
|
361
|
+
the cabinet members you adopt. Cabinet members reference sections by name
|
|
362
|
+
(e.g., `_briefing.md § Data Store`).
|
|
363
|
+
|
|
364
|
+
2. **`phases/` directories** — For skills. Skeleton SKILL.md defines the
|
|
365
|
+
generic workflow. You write your implementations in phase files. Claude
|
|
366
|
+
reads whatever phase files exist at runtime. All skeleton skills use
|
|
367
|
+
this pattern: validate, orient, debrief, plan, and execute.
|
|
368
|
+
|
|
369
|
+
Phase files have **three states**:
|
|
370
|
+
- **Absent or empty** → use the skeleton's default behavior
|
|
371
|
+
- **Contains `skip: true`** → explicitly opt out, skip entirely
|
|
372
|
+
- **Contains content** → custom behavior replaces the default
|
|
373
|
+
|
|
374
|
+
This three-state protocol means a new project gets useful behavior
|
|
375
|
+
out of the box, while mature projects can customize or suppress any
|
|
376
|
+
phase. All skeleton skills use this pattern: validate, orient,
|
|
377
|
+
debrief, plan, execute, audit, pulse, triage-audit, onboard, seed,
|
|
378
|
+
and upgrade.
|
|
379
|
+
|
|
380
|
+
3. **Environment variables** — For hooks and scripts. Telemetry hooks read
|
|
381
|
+
`TELEMETRY_DIR`, `TELEMETRY_FILE`, `DEBUG_LOG`, `SKILL_DIR`. Database
|
|
382
|
+
scripts read `PIB_DB_PATH` (default: `./pib.db`), `REVIEWS_DIR`
|
|
383
|
+
(default: `./reviews`). All have sensible defaults.
|
|
384
|
+
|
|
385
|
+
## What This Package Does NOT Include
|
|
386
|
+
|
|
387
|
+
- **Flow-specific skills** — 15 skills deeply specific to Flow's
|
|
388
|
+
architecture (inbox processing, voice capture, deploy verification,
|
|
389
|
+
etc.). The generic patterns (orient, debrief, plan, execute, audit,
|
|
390
|
+
pulse, triage-audit) are included as skeletons. See
|
|
391
|
+
[EXTENSIONS.md](EXTENSIONS.md) for annotated descriptions of these
|
|
392
|
+
skills and the reusable patterns they embody.
|
|
393
|
+
- **Flow-specific cabinet members** — system-advocate, life-tracker,
|
|
394
|
+
life-optimization, and 19 other cabinet members tied to Flow's domain
|
|
395
|
+
(GTD expertise, Mantine quality, sync health, etc.). EXTENSIONS.md
|
|
396
|
+
includes examples showing how to write your own domain cabinet members.
|
|
397
|
+
- **Distribution mechanism** — No npm package, no installer. Copy files.
|
|
398
|
+
The `/onboard` skill guides adoption. The `/cor-upgrade` skill handles updates.
|
|
399
|
+
|
|
400
|
+
## Relationship to Flow
|
|
401
|
+
|
|
402
|
+
Flow is the reference implementation — the project these artifacts were
|
|
403
|
+
extracted from. Flow continues using its own copies in `.claude/`. The
|
|
404
|
+
package is a standalone extraction that proves these artifacts are
|
|
405
|
+
cleanly separable. Flow's specific implementations serve as extension
|
|
406
|
+
examples showing what a mature deployment looks like. See
|
|
407
|
+
[EXTENSIONS.md](EXTENSIONS.md) for annotated examples of how Flow
|
|
408
|
+
extends, overrides, and will adopt the package's skeletons.
|
|
409
|
+
|
|
410
|
+
## Waves
|
|
411
|
+
|
|
412
|
+
This package includes all 7 waves of the extraction:
|
|
413
|
+
|
|
414
|
+
1. **Package generic artifacts** — done (17 artifacts)
|
|
415
|
+
2. **Parameterize paths** — done (14 artifacts: telemetry hooks, validate
|
|
416
|
+
skeleton, investigate, prompt guide, 6 parameterized cabinet members,
|
|
417
|
+
`_briefing.md` contract)
|
|
418
|
+
3. **Skeleton the session loop** — done (orient + debrief skeletons with
|
|
419
|
+
7 + 8 phase files, custom phase injection for project extensions)
|
|
420
|
+
4. **Skeleton the compliance stack** — done (enforcement pipeline rules,
|
|
421
|
+
plan skeleton with 7 phases, execute skeleton with 5 phases, three-state
|
|
422
|
+
phase protocol, `_briefing.md` Work Tracking section)
|
|
423
|
+
5. **Skeleton the audit loop** — done (audit + pulse + triage-audit
|
|
424
|
+
skeletons with 5 + 3 + 3 phase files, reference data layer with SQLite
|
|
425
|
+
for work tracking and audit findings, cabinet member infrastructure with
|
|
426
|
+
output contract + committees + lifecycle, 7 scripts including triage UI,
|
|
427
|
+
interaction boundary documentation, default phase content using pib-db)
|
|
428
|
+
6. **Document extension examples** — done (EXTENSIONS.md with annotated
|
|
429
|
+
Flow phase file overrides, accidentally-generic scan documenting 8
|
|
430
|
+
reusable patterns, cabinet member writing guide with 3 examples)
|
|
431
|
+
7. **Lifecycle layer** — done (onboard skeleton for project adoption with
|
|
432
|
+
3-mode re-runnability, seed skeleton for capability seeding from tech
|
|
433
|
+
signals, upgrade skeleton for conversational box updates, cor-health
|
|
434
|
+
cabinet member for adoption monitoring, pib-db enhancements: status
|
|
435
|
+
tracking, tags, update-action command, migration logic)
|
|
436
|
+
|
|
437
|
+
## Adopting Skeletons: Where Content Goes
|
|
438
|
+
|
|
439
|
+
When you adopt a skeleton — replacing a monolithic skill definition with
|
|
440
|
+
the skeleton SKILL.md plus project-specific phase files — use these
|
|
441
|
+
placement rules.
|
|
442
|
+
|
|
443
|
+
### Skeleton SKILL.md (generic, lives in this package)
|
|
444
|
+
|
|
445
|
+
- Orchestration (the sequence of phases and how they connect)
|
|
446
|
+
- Phase protocol (the three-state table)
|
|
447
|
+
- Identity (what the skill *is*)
|
|
448
|
+
- Generic motivation (why this kind of skill exists — any project
|
|
449
|
+
recognizes the problem)
|
|
450
|
+
- Boundary tables (generic: how this skill relates to other skeleton skills)
|
|
451
|
+
- Assessment Log section (empty placeholder for runtime accumulation)
|
|
452
|
+
- Calibration (without/with examples using generic scenarios)
|
|
453
|
+
- Extending instructions (how to add phases, validators, checks)
|
|
454
|
+
|
|
455
|
+
### Phase files (project-specific)
|
|
456
|
+
|
|
457
|
+
- Operational instructions (what to check, fix, report)
|
|
458
|
+
- Specific commands (bash, file paths, API calls)
|
|
459
|
+
- Specific file references (which files to count, verify, scan)
|
|
460
|
+
- Domain logic (rotation tracking, drift detection, etc.)
|
|
461
|
+
- Cadence and timing (when checks run relative to other steps)
|
|
462
|
+
|
|
463
|
+
### Your project's SKILL.md (starts as skeleton copy, then extends)
|
|
464
|
+
|
|
465
|
+
- Project frontmatter (`standing-mandate`, project-specific `related`
|
|
466
|
+
entries, `last-verified`)
|
|
467
|
+
- Extended boundary tables: skeleton's generic rows PLUS rows for your
|
|
468
|
+
project-specific skills
|
|
469
|
+
- Project-specific context that helps Claude understand *your*
|
|
470
|
+
deployment (but NOT operational instructions — those go in phases)
|
|
471
|
+
|
|
472
|
+
### What stays outside phase files
|
|
473
|
+
|
|
474
|
+
- **Runtime state** (e.g., `pulse-state.json`) stays alongside the
|
|
475
|
+
skill, not in `phases/`
|
|
476
|
+
- **Contextual guidance** (boundary tables, identity) stays in SKILL.md
|
|
477
|
+
- **Accumulation sections** (assessment logs) stay in SKILL.md
|
|
478
|
+
|
|
479
|
+
### The placement test
|
|
480
|
+
|
|
481
|
+
1. Would a different project need this? → Skeleton SKILL.md
|
|
482
|
+
2. Does it reference specific files, commands, or APIs? → Phase file
|
|
483
|
+
3. Does it help Claude understand the skill but isn't executable? →
|
|
484
|
+
Your SKILL.md
|
|
485
|
+
4. Does it accumulate over time? → SKILL.md section, not a phase
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# API Configuration — [Your Project Name]
|
|
2
|
+
|
|
3
|
+
For cabinet members that interact with the project's API. Skip this file
|
|
4
|
+
entirely if your project doesn't have an API.
|
|
5
|
+
|
|
6
|
+
## Endpoints
|
|
7
|
+
*Base URL, auth mechanism, auth env var name.*
|
|
8
|
+
*Example: `https://my-app.up.railway.app/api`, header `x-api-secret`*
|
|
9
|
+
|
|
10
|
+
## Calendar API
|
|
11
|
+
*How to access calendar events, if applicable.*
|
|
12
|
+
|
|
13
|
+
## Entity Types
|
|
14
|
+
|
|
15
|
+
*What structured entities your system manages. Cabinet members like
|
|
16
|
+
data-integrity need to know what exists.*
|
|
17
|
+
|
|
18
|
+
*Example:*
|
|
19
|
+
*- actions (DB) — tasks with status, due dates, areas*
|
|
20
|
+
*- projects (DB) — bounded deliverables containing actions*
|
|
21
|
+
*- people (DB) — contacts with linked actions and context*
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Architecture — [Your Project Name]
|
|
2
|
+
|
|
3
|
+
## System Structure
|
|
4
|
+
|
|
5
|
+
*How the system is structured. Layers, services, data stores, deployment
|
|
6
|
+
target. Cabinet members use this to understand what they're reviewing.*
|
|
7
|
+
|
|
8
|
+
## Codebase Layout
|
|
9
|
+
|
|
10
|
+
*Key directories and files. What lives where. Which files are most
|
|
11
|
+
important to read.*
|
|
12
|
+
|
|
13
|
+
## Technology Stack
|
|
14
|
+
|
|
15
|
+
*Languages, frameworks, libraries, databases, infrastructure. Include
|
|
16
|
+
versions when they matter (e.g., Mantine v8, not just "Mantine").*
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Cabinet — [Your Project Name]
|
|
2
|
+
|
|
3
|
+
## Active Cabinet Members
|
|
4
|
+
|
|
5
|
+
*Which cabinet members are active in this project and how they're organized into committees.
|
|
6
|
+
Reference `committees.yaml` for the canonical grouping.*
|
|
7
|
+
|
|
8
|
+
## Portfolio Rules
|
|
9
|
+
|
|
10
|
+
Each cabinet member stays in its domain portfolio. When a cabinet member notices
|
|
11
|
+
something outside its portfolio, it flags it for the relevant cabinet member
|
|
12
|
+
rather than developing the observation itself. The one exception is
|
|
13
|
+
anti-confirmation, which intentionally crosses portfolios because its domain
|
|
14
|
+
(reasoning quality) touches everything.
|
|
15
|
+
|
|
16
|
+
## How Cabinet Members Are Invoked
|
|
17
|
+
|
|
18
|
+
*How your project invokes cabinet members — during planning, execution,
|
|
19
|
+
audit, or other checkpoints. Reference the composition patterns in
|
|
20
|
+
`_composition-patterns.md`.*
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Project Identity — [Your Project Name]
|
|
2
|
+
|
|
3
|
+
## What This Project Is
|
|
4
|
+
|
|
5
|
+
*One paragraph: what the project does, who it's for, what technology
|
|
6
|
+
stack it uses.*
|
|
7
|
+
|
|
8
|
+
## Core Principles
|
|
9
|
+
|
|
10
|
+
*3-5 principles that guide design decisions. These help cabinet members
|
|
11
|
+
calibrate their findings — a finding that violates a principle is more
|
|
12
|
+
significant than one that doesn't.*
|
|
13
|
+
|
|
14
|
+
## User Context
|
|
15
|
+
|
|
16
|
+
*Who uses this system. Reference ~/.claude/CLAUDE.md for user identity
|
|
17
|
+
that carries across all projects. Add project-specific user context here
|
|
18
|
+
(e.g., "primary user is the sole developer" or "used by a 3-person team").*
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Paths — [Your Project Name]
|
|
2
|
+
|
|
3
|
+
Cabinet members reference these sections by name to know where to look.
|
|
4
|
+
Only fill in sections relevant to the cabinet members you adopt.
|
|
5
|
+
|
|
6
|
+
## App Source
|
|
7
|
+
*Where the frontend/UI code lives.*
|
|
8
|
+
*Example: `src/components/**/*.tsx`, `src/pages/**/*.tsx`*
|
|
9
|
+
|
|
10
|
+
## API / Server
|
|
11
|
+
*Where the backend/API code lives.*
|
|
12
|
+
*Example: `server.js`, `routes/*.js`*
|
|
13
|
+
|
|
14
|
+
## Data Store
|
|
15
|
+
*Database type and location.*
|
|
16
|
+
*Example: SQLite at `./data/app.db`, or PostgreSQL at `$DATABASE_URL`*
|
|
17
|
+
|
|
18
|
+
## Audit Infrastructure
|
|
19
|
+
*Where audit scripts, finding schemas, and triage data live.*
|
|
20
|
+
*Example: `scripts/audit/`, `reviews/*/triage.json`*
|
|
21
|
+
|
|
22
|
+
## Deployment
|
|
23
|
+
*Platform and config files.*
|
|
24
|
+
*Example: Railway + Dockerfile, Vercel + vercel.json*
|
|
25
|
+
|
|
26
|
+
## Validation Scripts
|
|
27
|
+
*Paths to structural validation scripts.*
|
|
28
|
+
*Example: `scripts/validate-*.sh`*
|
|
29
|
+
|
|
30
|
+
## Documentation Files
|
|
31
|
+
*Where CLAUDE.md files, memory, and system status live.*
|
|
32
|
+
*Example: `CLAUDE.md` (root), `system-status.md`*
|
|
33
|
+
|
|
34
|
+
## System Status
|
|
35
|
+
*Path to system-status.md or equivalent state tracking file.*
|
|
36
|
+
|
|
37
|
+
## Friction Captures
|
|
38
|
+
*Where raw friction captures from debrief accumulate.*
|
|
39
|
+
*Example: `memory/feedback/`, `memory/archive/raw/`*
|