cc-codeconductor 0.3.2 → 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 CHANGED
@@ -18,9 +18,9 @@ contracts, task cards, and risk-based routing.
18
18
  > - `npx cc-codeconductor init` — detects project stack, writes
19
19
  > `.codeconductor/config.yml`, copies `council.yml` and `policy.yml` into
20
20
  > `.codeconductor/presets/`
21
- > - `npx cc-codeconductor install council --target <opencode|claude|codex|all>` —
21
+ > - `npx cc-codeconductor install council --target <opencode|claude|codex|agy|all>` —
22
22
  > generates and writes preset files; supports `--global` to install to
23
- > `~/.opencode/`, `~/.claude/`, `~/.codex/`
23
+ > `~/.opencode/`, `~/.claude/`, `~/.codex/`, `~/.agents/`
24
24
  > - `npx cc-codeconductor install lsp --target <opencode|claude|codex|gemini|cursor|agy|all>` —
25
25
  > installs LSP servers and configures AI coding tools; auto-detects project
26
26
  > languages or use `--lang` to override
@@ -36,12 +36,16 @@ 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;
42
46
  > requires `PAGESPEED_API_KEY` env var for full CrUX field data (optional but
43
47
  > recommended)
44
- > - `npx cc-codeconductor install preset --target <opencode|claude|codex|all>` —
48
+ > - `npx cc-codeconductor install preset --target <opencode|claude|codex|agy|all>` —
45
49
  > installs the full preset (agents, prompts, skills, commands, settings) for the
46
50
  > chosen runner; use `--locale=es` to inject Spanish-aware instructions into
47
51
  > agent files, or rely on the locale saved during `init`
@@ -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
- - 8 core Conductor Agents
127
- - Routing Policy v0.1.0
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
 
@@ -189,6 +195,7 @@ Detected:
189
195
  npx cc-codeconductor install preset --target opencode # project-level
190
196
  npx cc-codeconductor install preset --target claude
191
197
  npx cc-codeconductor install preset --target codex
198
+ npx cc-codeconductor install preset --target agy # antigravity cli
192
199
  npx cc-codeconductor install preset --target all # all targets
193
200
 
194
201
  npx cc-codeconductor install preset --target claude --global # write to ~/.claude/
@@ -221,7 +228,8 @@ With `--global`, files are written under `~/` instead of `./`.
221
228
  npx cc-codeconductor install council --target opencode # project-level
222
229
  npx cc-codeconductor install council --target claude
223
230
  npx cc-codeconductor install council --target codex
224
- npx cc-codeconductor install council --target all # all three targets
231
+ npx cc-codeconductor install council --target agy # antigravity cli
232
+ npx cc-codeconductor install council --target all # all targets
225
233
 
226
234
  npx cc-codeconductor install council --target claude --global # write to ~/.claude/
227
235
  npx cc-codeconductor install council --target opencode --global
@@ -264,6 +272,34 @@ npx cc-codeconductor update --global
264
272
 
265
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.
266
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
+
267
303
 
268
304
  ### Global options
269
305