create-claude-cabinet 0.6.5 → 0.6.6
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/lib/cli.js +1 -1
- package/package.json +1 -1
- package/templates/README.md +1 -1
- package/templates/briefing/_briefing-cabinet-template.md +1 -1
- package/templates/cabinet/committees.yaml +1 -1
- package/templates/scripts/{resolve-committees.js → resolve-committees.cjs} +2 -2
- package/templates/skills/audit/SKILL.md +1 -1
- package/templates/skills/audit/phases/member-selection.md +2 -2
- package/templates/skills/cabinet-cc-health/SKILL.md +1 -1
- package/templates/skills/debrief/SKILL.md +2 -2
package/lib/cli.js
CHANGED
|
@@ -72,7 +72,7 @@ const MODULES = {
|
|
|
72
72
|
'skills/cabinet-usability', 'skills/cabinet-workflow-cop',
|
|
73
73
|
'scripts/merge-findings.js', 'scripts/load-triage-history.js',
|
|
74
74
|
'scripts/triage-server.mjs', 'scripts/triage-ui.html',
|
|
75
|
-
'scripts/finding-schema.json', 'scripts/resolve-committees.
|
|
75
|
+
'scripts/finding-schema.json', 'scripts/resolve-committees.cjs',
|
|
76
76
|
],
|
|
77
77
|
},
|
|
78
78
|
'lifecycle': {
|
package/package.json
CHANGED
package/templates/README.md
CHANGED
|
@@ -297,7 +297,7 @@ when you outgrow them.
|
|
|
297
297
|
5. **Customize committees** (optional):
|
|
298
298
|
Create a `committees-project.yaml` in `.claude/cabinet/` to add custom
|
|
299
299
|
members or committees. The upstream `committees.yaml` is installed
|
|
300
|
-
automatically. Run `node scripts/resolve-committees.
|
|
300
|
+
automatically. Run `node scripts/resolve-committees.cjs` to see the
|
|
301
301
|
merged result.
|
|
302
302
|
|
|
303
303
|
6. **Run your first audit:** `/audit` — it discovers cabinet members, runs
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
*Which cabinet members are active in this project and how they're organized into committees.
|
|
6
6
|
Reference `committees.yaml` (upstream) and `committees-project.yaml` (project
|
|
7
|
-
customizations) for the canonical grouping. Run `node scripts/resolve-committees.
|
|
7
|
+
customizations) for the canonical grouping. Run `node scripts/resolve-committees.cjs`
|
|
8
8
|
to see the merged result.*
|
|
9
9
|
|
|
10
10
|
## Portfolio Rules
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
#
|
|
6
6
|
# Consumed by:
|
|
7
7
|
# - /audit skill (committee selection menu)
|
|
8
|
-
# - scripts/resolve-committees.
|
|
8
|
+
# - scripts/resolve-committees.cjs (merges with committees-project.yaml)
|
|
9
9
|
#
|
|
10
10
|
# Cross-portfolio cabinet members are NOT in any committee. They activate via
|
|
11
11
|
# standing-mandate in their SKILL.md frontmatter and run on every audit:
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* resolve-committees.
|
|
5
|
+
* resolve-committees.cjs — Merge upstream committees.yaml with project committees-project.yaml
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
|
-
* node scripts/resolve-committees.
|
|
8
|
+
* node scripts/resolve-committees.cjs [path-to-claude-dir]
|
|
9
9
|
*
|
|
10
10
|
* Default path: .claude
|
|
11
11
|
*
|
|
@@ -111,7 +111,7 @@ project. Adjust.
|
|
|
111
111
|
Read `phases/member-selection.md` for which cabinet members to run.
|
|
112
112
|
|
|
113
113
|
**Default (absent/empty):** Discover all cabinet members from
|
|
114
|
-
`skills/cabinet-*/SKILL.md`. Run `node scripts/resolve-committees.
|
|
114
|
+
`skills/cabinet-*/SKILL.md`. Run `node scripts/resolve-committees.cjs` to
|
|
115
115
|
get the merged committee list (upstream `cabinet/committees.yaml` merged
|
|
116
116
|
with project `cabinet/committees-project.yaml`). Present the merged
|
|
117
117
|
committees and let the user choose which to run. If neither committees
|
|
@@ -5,7 +5,7 @@ reads this file before spawning cabinet member agents.
|
|
|
5
5
|
|
|
6
6
|
When this file is absent or empty, the default behavior is: discover all
|
|
7
7
|
cabinet members from `skills/cabinet-*/SKILL.md`, run
|
|
8
|
-
`node scripts/resolve-committees.
|
|
8
|
+
`node scripts/resolve-committees.cjs` to merge upstream `cabinet/committees.yaml`
|
|
9
9
|
with project `cabinet/committees-project.yaml`, present merged committees,
|
|
10
10
|
otherwise run all. Cross-portfolio members always run regardless of selection.
|
|
11
11
|
To explicitly skip member selection (and run no audit), write only `skip: true`.
|
|
@@ -28,7 +28,7 @@ Discover all cabinet members in `skills/cabinet-*/SKILL.md`.
|
|
|
28
28
|
Run every one. Good for small projects with few cabinet members.
|
|
29
29
|
|
|
30
30
|
### Committee-Based Selection
|
|
31
|
-
Run `node scripts/resolve-committees.
|
|
31
|
+
Run `node scripts/resolve-committees.cjs` to merge upstream
|
|
32
32
|
`cabinet/committees.yaml` with project `cabinet/committees-project.yaml`.
|
|
33
33
|
Present merged committees to the user.
|
|
34
34
|
|
|
@@ -131,7 +131,7 @@ empty").
|
|
|
131
131
|
|
|
132
132
|
### 2. Cabinet Member Activation Patterns
|
|
133
133
|
|
|
134
|
-
Run `node scripts/resolve-committees.
|
|
134
|
+
Run `node scripts/resolve-committees.cjs` to get the merged committee list
|
|
135
135
|
(upstream `committees.yaml` + project `committees-project.yaml`). Also
|
|
136
136
|
validate that any members listed in `committees-project.yaml` actually
|
|
137
137
|
exist as `cabinet-*` directories. Cross-reference against:
|
|
@@ -262,7 +262,7 @@ relevant expertise ever activates because nobody ran `/seed`.
|
|
|
262
262
|
touched. Did the work involve a framework, library, data store, or
|
|
263
263
|
infrastructure that isn't covered by any existing cabinet member? Compare
|
|
264
264
|
against the cabinet members in `.claude/skills/cabinet-*/` and the
|
|
265
|
-
merged committees (run `node scripts/resolve-committees.
|
|
265
|
+
merged committees (run `node scripts/resolve-committees.cjs`).
|
|
266
266
|
|
|
267
267
|
Examples of what to catch:
|
|
268
268
|
- Session used Mantine components but there's no framework-quality
|
|
@@ -273,7 +273,7 @@ Examples of what to catch:
|
|
|
273
273
|
|
|
274
274
|
**Check B — Dormant cabinet member that should be active.** Are there
|
|
275
275
|
cabinet members installed in the project that aren't in any committee
|
|
276
|
-
(check merged output from `node scripts/resolve-committees.
|
|
276
|
+
(check merged output from `node scripts/resolve-committees.cjs`), but based on the last few sessions, probably should be? A
|
|
277
277
|
cabinet member sitting dormant while the project does exactly the kind of
|
|
278
278
|
work it's designed to review is a waste.
|
|
279
279
|
|