cc-codeconductor 0.3.3 → 0.4.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/README.md +36 -2
- package/dist/index.js +552 -60
- package/package.json +1 -1
- package/policy.yml +12 -0
- package/presets/agy/AGENTS.md +42 -0
- package/presets/agy/skills/cc-review/SKILL.md +25 -1
- package/presets/claude/CLAUDE.md +69 -5
- package/presets/codex/AGENTS.md +52 -0
- package/presets/opencode/README.md +15 -0
- package/presets/opencode/agents/complexity-auditor.md +89 -0
package/README.md
CHANGED
|
@@ -36,6 +36,10 @@ contracts, task cards, and risk-based routing.
|
|
|
36
36
|
> a sitemap.xml with rate limiting and SSRF prevention
|
|
37
37
|
> - `npx cc-codeconductor seo llms --sitemap <url>` — generates a `llms.txt` file
|
|
38
38
|
> for AI-search readiness from sitemap content
|
|
39
|
+
> - `npx cc-codeconductor help` (alias: `cc-help`) — shows preset inventory
|
|
40
|
+
> (skills, subagents, commands) for the active or specified target
|
|
41
|
+
> - `npx cc-codeconductor debt-harvest` (alias: `harvest`) — scans source files
|
|
42
|
+
> for `// defer` comments and writes `.codeconductor/debt-ledger.md`
|
|
39
43
|
> - `/cc-pagespeed --url <url>` — audits web performance using the PageSpeed
|
|
40
44
|
> Insights API; applies the 80/20 principle to produce a prioritized report of
|
|
41
45
|
> Core Web Vitals (LCP, TBT, CLS, FCP, TTFB) with framework-specific fixes;
|
|
@@ -123,12 +127,14 @@ Task Card → Risk Classification → Routing Policy → Conductor Agent → Del
|
|
|
123
127
|
- Codex preset
|
|
124
128
|
- Spring Boot / Kotlin workflow
|
|
125
129
|
- Python / Django workflow guidance
|
|
126
|
-
-
|
|
127
|
-
- Routing Policy v0.
|
|
130
|
+
- 10 core Conductor Agents
|
|
131
|
+
- Routing Policy v0.2.0
|
|
128
132
|
- Task Card template
|
|
129
133
|
- Scorecard template
|
|
130
134
|
- End-to-end example
|
|
131
135
|
- YAML-driven model configuration
|
|
136
|
+
- Provider-agnostic `AgentContract` abstraction with target renderers for Claude, OpenCode, Codex, and Agy
|
|
137
|
+
- Council consensus engine (`councilConsensus()`) for multi-agent governance with majority/unanimous algorithms and security veto
|
|
132
138
|
|
|
133
139
|
---
|
|
134
140
|
|
|
@@ -266,6 +272,34 @@ npx cc-codeconductor update --global
|
|
|
266
272
|
|
|
267
273
|
Smart updates all currently installed target presets, council configurations, and skills (from `skills-lock.json`), preserving user edits outside managed blocks. Also validates that `AGENTS.md` and `CLAUDE.md` do not exceed the 40KB size limit.
|
|
268
274
|
|
|
275
|
+
#### `help` — show preset inventory
|
|
276
|
+
|
|
277
|
+
```bash
|
|
278
|
+
npx cc-codeconductor help # show inventory for active target
|
|
279
|
+
npx cc-codeconductor help --target claude # show inventory for specific target
|
|
280
|
+
npx cc-codeconductor cc-help # alias
|
|
281
|
+
npx cc-codeconductor help --output json # machine-readable output
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
Lists the skills, subagents, commands, and workflows available in the active
|
|
285
|
+
preset. Reads from `presets/<target>/` in the project root.
|
|
286
|
+
|
|
287
|
+
#### `debt-harvest` — collect deferred debt items
|
|
288
|
+
|
|
289
|
+
```bash
|
|
290
|
+
npx cc-codeconductor debt-harvest # scan src/ for // defer comments
|
|
291
|
+
npx cc-codeconductor debt-harvest --dir lib # scan a different directory
|
|
292
|
+
npx cc-codeconductor harvest # alias
|
|
293
|
+
npx cc-codeconductor debt-harvest --output json
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
Scans source files for `// defer - [reason]` comments and consolidates them
|
|
297
|
+
into `.codeconductor/debt-ledger.md`, grouped by optional tag
|
|
298
|
+
(`// defer - reason --tag`). Read-only on source files; only writes the ledger.
|
|
299
|
+
|
|
300
|
+
Supported extensions: `.ts`, `.tsx`, `.js`, `.jsx`, `.go`, `.rs`, `.java`,
|
|
301
|
+
`.kt`, `.swift`, `.cs`, `.php`, `.scala`, `.dart`, `.c`, `.cpp`, `.h`, `.hpp`.
|
|
302
|
+
|
|
269
303
|
|
|
270
304
|
### Global options
|
|
271
305
|
|