cc-codeconductor 1.5.0 → 1.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/README.md +24 -11
- package/dist/core/runner/runner-target.d.ts +4 -4
- package/dist/domain/product/entities.d.ts +1 -1
- package/dist/index.js +1714 -795
- package/dist/library.js +62 -7
- package/dist/validation/schemas.d.ts +210 -43
- package/docs/generated/cli.md +8 -0
- package/package.json +1 -1
- package/presets/agy/skills/openspec/SKILL.md +39 -11
- package/presets/agy/workflows/cc-api-contract.md +4 -5
- package/presets/agy/workflows/cc-backlog.md +4 -5
- package/presets/agy/workflows/cc-clarify.md +4 -5
- package/presets/agy/workflows/cc-council.md +6 -7
- package/presets/agy/workflows/cc-db-migration.md +4 -5
- package/presets/agy/workflows/cc-explore.md +4 -5
- package/presets/agy/workflows/cc-feature.md +4 -5
- package/presets/agy/workflows/cc-fix.md +4 -5
- package/presets/agy/workflows/cc-handoff.md +8 -5
- package/presets/agy/workflows/cc-iterative.md +4 -5
- package/presets/agy/workflows/cc-odd.md +4 -3
- package/presets/agy/workflows/cc-openspec.md +5 -6
- package/presets/agy/workflows/cc-pagespeed.md +4 -5
- package/presets/agy/workflows/cc-prototype.md +4 -5
- package/presets/agy/workflows/cc-refactor.md +4 -5
- package/presets/agy/workflows/cc-review.md +4 -5
- package/presets/agy/workflows/cc-scorecard.md +4 -5
- package/presets/agy/workflows/cc-security.md +4 -5
- package/presets/agy/workflows/cc-spec-mutation.md +4 -5
- package/presets/agy/workflows/cc-tdd-cycle.md +4 -5
- package/presets/agy/workflows/cc-test-plan.md +4 -5
- package/presets/agy/workflows/cc-triage.md +4 -5
- package/presets/claude/CLAUDE.md +6 -5
- package/presets/claude/commands/cc/api-contract.md +4 -5
- package/presets/claude/commands/cc/backlog.md +4 -5
- package/presets/claude/commands/cc/clarify.md +4 -5
- package/presets/claude/commands/cc/council.md +6 -7
- package/presets/claude/commands/cc/db-migration.md +4 -5
- package/presets/claude/commands/cc/explore.md +4 -5
- package/presets/claude/commands/cc/feature.md +4 -5
- package/presets/claude/commands/cc/fix.md +4 -5
- package/presets/claude/commands/cc/handoff.md +8 -5
- package/presets/claude/commands/cc/iterative.md +4 -5
- package/presets/claude/commands/cc/odd.md +4 -3
- package/presets/claude/commands/cc/openspec.md +43 -8
- package/presets/claude/commands/cc/pagespeed.md +4 -5
- package/presets/claude/commands/cc/prototype.md +4 -5
- package/presets/claude/commands/cc/refactor.md +4 -5
- package/presets/claude/commands/cc/review.md +4 -5
- package/presets/claude/commands/cc/scorecard.md +4 -5
- package/presets/claude/commands/cc/security.md +4 -5
- package/presets/claude/commands/cc/spec-mutation.md +4 -5
- package/presets/claude/commands/cc/tdd-cycle.md +4 -5
- package/presets/claude/commands/cc/test-plan.md +4 -5
- package/presets/claude/commands/cc/triage.md +4 -5
- package/presets/claude/settings.json +32 -78
- package/presets/claude/skills/openspec/SKILL.md +39 -11
- package/presets/codex/config.toml +2 -0
- package/presets/codex/skills/cc-api-contract/SKILL.md +4 -5
- package/presets/codex/skills/cc-backlog/SKILL.md +4 -5
- package/presets/codex/skills/cc-clarify/SKILL.md +4 -5
- package/presets/codex/skills/cc-council/SKILL.md +12 -7
- package/presets/codex/skills/cc-db-migration/SKILL.md +4 -5
- package/presets/codex/skills/cc-explore/SKILL.md +4 -5
- package/presets/codex/skills/cc-feature/SKILL.md +4 -5
- package/presets/codex/skills/cc-fix/SKILL.md +4 -5
- package/presets/codex/skills/cc-handoff/SKILL.md +8 -5
- package/presets/codex/skills/cc-iterative/SKILL.md +4 -5
- package/presets/codex/skills/cc-odd/SKILL.md +4 -3
- package/presets/codex/skills/cc-openspec/SKILL.md +31 -7
- package/presets/codex/skills/cc-pagespeed/SKILL.md +4 -5
- package/presets/codex/skills/cc-prototype/SKILL.md +4 -5
- package/presets/codex/skills/cc-refactor/SKILL.md +4 -5
- package/presets/codex/skills/cc-review/SKILL.md +4 -5
- package/presets/codex/skills/cc-scorecard/SKILL.md +4 -5
- package/presets/codex/skills/cc-security/SKILL.md +4 -5
- package/presets/codex/skills/cc-spec-mutation/SKILL.md +4 -5
- package/presets/codex/skills/cc-tdd-cycle/SKILL.md +4 -5
- package/presets/codex/skills/cc-test-plan/SKILL.md +4 -5
- package/presets/codex/skills/cc-triage/SKILL.md +4 -5
- package/presets/codex/skills/openspec/SKILL.md +39 -11
- package/presets/cursor/commands/cc/api-contract.md +4 -5
- package/presets/cursor/commands/cc/backlog.md +4 -5
- package/presets/cursor/commands/cc/clarify.md +4 -5
- package/presets/cursor/commands/cc/council.md +6 -7
- package/presets/cursor/commands/cc/db-migration.md +4 -5
- package/presets/cursor/commands/cc/explore.md +4 -5
- package/presets/cursor/commands/cc/feature.md +4 -5
- package/presets/cursor/commands/cc/fix.md +4 -5
- package/presets/cursor/commands/cc/handoff.md +8 -5
- package/presets/cursor/commands/cc/iterative.md +4 -5
- package/presets/cursor/commands/cc/odd.md +4 -3
- package/presets/cursor/commands/cc/openspec.md +25 -7
- package/presets/cursor/commands/cc/pagespeed.md +4 -5
- package/presets/cursor/commands/cc/prototype.md +4 -5
- package/presets/cursor/commands/cc/refactor.md +4 -5
- package/presets/cursor/commands/cc/review.md +4 -5
- package/presets/cursor/commands/cc/scorecard.md +4 -5
- package/presets/cursor/commands/cc/security.md +4 -5
- package/presets/cursor/commands/cc/spec-mutation.md +4 -5
- package/presets/cursor/commands/cc/tdd-cycle.md +4 -5
- package/presets/cursor/commands/cc/test-plan.md +4 -5
- package/presets/cursor/commands/cc/triage.md +4 -5
- package/presets/cursor/skills/openspec/SKILL.md +39 -11
- package/presets/gemini/commands/cc/api-contract.toml +4 -5
- package/presets/gemini/commands/cc/backlog.toml +4 -5
- package/presets/gemini/commands/cc/clarify.toml +4 -5
- package/presets/gemini/commands/cc/council.toml +6 -7
- package/presets/gemini/commands/cc/db-migration.toml +4 -5
- package/presets/gemini/commands/cc/explore.toml +4 -5
- package/presets/gemini/commands/cc/feature.toml +4 -5
- package/presets/gemini/commands/cc/fix.toml +4 -5
- package/presets/gemini/commands/cc/handoff.toml +8 -5
- package/presets/gemini/commands/cc/iterative.toml +4 -5
- package/presets/gemini/commands/cc/odd.toml +4 -3
- package/presets/gemini/commands/cc/openspec.toml +25 -7
- package/presets/gemini/commands/cc/pagespeed.toml +4 -5
- package/presets/gemini/commands/cc/prototype.toml +4 -5
- package/presets/gemini/commands/cc/refactor.toml +4 -5
- package/presets/gemini/commands/cc/review.toml +4 -5
- package/presets/gemini/commands/cc/scorecard.toml +4 -5
- package/presets/gemini/commands/cc/security.toml +4 -5
- package/presets/gemini/commands/cc/spec-mutation.toml +4 -5
- package/presets/gemini/commands/cc/tdd-cycle.toml +4 -5
- package/presets/gemini/commands/cc/test-plan.toml +4 -5
- package/presets/gemini/commands/cc/triage.toml +4 -5
- package/presets/muse/AGENTS.md +46 -0
- package/presets/muse/hooks.json +30 -0
- package/presets/opencode/commands/cc-api-contract.md +4 -5
- package/presets/opencode/commands/cc-backlog.md +4 -5
- package/presets/opencode/commands/cc-clarify.md +4 -5
- package/presets/opencode/commands/cc-council.md +6 -7
- package/presets/opencode/commands/cc-db-migration.md +4 -5
- package/presets/opencode/commands/cc-explore.md +4 -5
- package/presets/opencode/commands/cc-feature.md +4 -5
- package/presets/opencode/commands/cc-fix.md +4 -5
- package/presets/opencode/commands/cc-handoff.md +8 -5
- package/presets/opencode/commands/cc-iterative.md +4 -5
- package/presets/opencode/commands/cc-odd.md +4 -3
- package/presets/opencode/commands/cc-openspec.md +10 -9
- package/presets/opencode/commands/cc-pagespeed.md +4 -5
- package/presets/opencode/commands/cc-prototype.md +4 -5
- package/presets/opencode/commands/cc-refactor.md +4 -5
- package/presets/opencode/commands/cc-review.md +4 -5
- package/presets/opencode/commands/cc-scorecard.md +4 -5
- package/presets/opencode/commands/cc-security.md +4 -5
- package/presets/opencode/commands/cc-spec-mutation.md +4 -5
- package/presets/opencode/commands/cc-tdd-cycle.md +4 -5
- package/presets/opencode/commands/cc-test-plan.md +4 -5
- package/presets/opencode/commands/cc-triage.md +4 -5
- package/presets/opencode/skills/openspec/SKILL.md +39 -11
- package/src/presets/manifests/codex.yml +3 -0
- package/src/presets/manifests/muse.yml +18 -0
- package/src/presets/models/muse.yml +4 -0
- package/src/presets/models/roles.yml +40 -28
- package/src/presets/targets/muse.yml +12 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Stop prompting. Start orchestrating.**
|
|
4
4
|
|
|
5
|
-
[](https://badge.socket.dev/npm/package/cc-codeconductor/1.6.0)
|
|
6
6
|
|
|
7
7
|
CodeConductor is an open-source framework for building structured, reproducible
|
|
8
8
|
AI-assisted software engineering workflows.
|
|
@@ -15,19 +15,19 @@ contracts, task cards, and risk-based routing.
|
|
|
15
15
|
>
|
|
16
16
|
> ## Current Scope
|
|
17
17
|
>
|
|
18
|
-
> Published package is **1.
|
|
18
|
+
> Published package is **1.6.0** (current stable line: **1.6.x**). Limitations
|
|
19
19
|
> matrix:
|
|
20
20
|
> [docs/current-status.md](docs/current-status.md). This repository:
|
|
21
21
|
> `bun run dev …` (not `npx`) while iterating.
|
|
22
22
|
>
|
|
23
|
-
> Shipped in the 1.
|
|
23
|
+
> Shipped in the 1.6.x stable line:
|
|
24
24
|
>
|
|
25
25
|
> - `npx cc-codeconductor setup --target <target> --yes` — onboarding flow
|
|
26
26
|
> - `npx cc-codeconductor init` — detects project stack, writes
|
|
27
27
|
> `.codeconductor/config.yml`, copies `council.yml` and `policy.yml` into
|
|
28
28
|
> `.codeconductor/presets/`
|
|
29
|
-
> - `npx cc-codeconductor install council --target <opencode|claude|codex|agy|all>`
|
|
30
|
-
> - `npx cc-codeconductor install preset --target <opencode|claude|codex|gemini|cursor|agy|all>`
|
|
29
|
+
> - `npx cc-codeconductor install council --target <opencode|claude|codex|gemini|cursor|agy|pi|all>`
|
|
30
|
+
> - `npx cc-codeconductor install preset --target <opencode|claude|codex|gemini|cursor|agy|pi|muse|all>`
|
|
31
31
|
> - `npx cc-codeconductor install lsp --target <…>`
|
|
32
32
|
> - `npx cc-codeconductor detect` / `status` / `version` / `doctor` / `update` /
|
|
33
33
|
> `migrate`
|
|
@@ -146,8 +146,9 @@ engineering skill. Re-install presets after upgrading.
|
|
|
146
146
|
closed.
|
|
147
147
|
- **Schemas.** `ExecutionContext.ast.source` includes `product-graph`.
|
|
148
148
|
`ReviewerOutput` finding `axis` is extended with Staff Engineer axes.
|
|
149
|
-
- **CCEP bootstrap.** Installed slash commands run `ccep
|
|
150
|
-
|
|
149
|
+
- **CCEP bootstrap.** Installed slash commands run `ccep profile` → `compile`
|
|
150
|
+
(one role-scoped prompt per delegated phase) → `evaluate` before delegating
|
|
151
|
+
to agents. Agent JSON must validate
|
|
151
152
|
against Zod; unknown output schemas fail closed.
|
|
152
153
|
|
|
153
154
|
### Slash commands
|
|
@@ -245,7 +246,7 @@ Details: [docs/v1.3.0-release-notes.md](docs/v1.3.0-release-notes.md) and
|
|
|
245
246
|
### Migrate from v0.5.0
|
|
246
247
|
|
|
247
248
|
```bash
|
|
248
|
-
npx cc-codeconductor install preset --target=<opencode|claude|cursor|codex|gemini|agy> --force
|
|
249
|
+
npx cc-codeconductor install preset --target=<opencode|claude|cursor|codex|gemini|agy|pi|muse> --force
|
|
249
250
|
```
|
|
250
251
|
|
|
251
252
|
---
|
|
@@ -324,14 +325,14 @@ Task Card → Risk Classification → Routing Policy → Conductor Agent → Del
|
|
|
324
325
|
|
|
325
326
|
## Supply chain
|
|
326
327
|
|
|
327
|
-
Published **1.
|
|
328
|
+
Published **1.6.0** declares two production dependencies (`package.json`
|
|
328
329
|
`dependencies`; same on
|
|
329
330
|
[npm](https://www.npmjs.com/package/cc-codeconductor)). Neither has further
|
|
330
331
|
npm transitive dependencies.
|
|
331
332
|
|
|
332
333
|
```mermaid
|
|
333
334
|
graph LR
|
|
334
|
-
cc["cc-codeconductor@1.
|
|
335
|
+
cc["cc-codeconductor@1.6.0"]
|
|
335
336
|
zod["zod@^3.23.8"]
|
|
336
337
|
yaml["yaml@^2.4.5"]
|
|
337
338
|
cc --> zod
|
|
@@ -653,6 +654,7 @@ npx cc-codeconductor ccep parse --command review "PR #42" --output json
|
|
|
653
654
|
npx cc-codeconductor ccep profile tdd-cycle --output json
|
|
654
655
|
npx cc-codeconductor ccep resolve --command feature "Add CRUD" --output json
|
|
655
656
|
npx cc-codeconductor ccep compile --command feature --phase intake --role task-coach "Add CRUD" --output json
|
|
657
|
+
npx cc-codeconductor ccep compile --command feature --phase intake --view prompt --record-telemetry --execution-id exec-1 --task-id task-1 --context-strategy artifact "Add CRUD" --output json
|
|
656
658
|
npx cc-codeconductor ccep validate --command feature --phase implement --role implementer --output json \
|
|
657
659
|
--input @implementer-output.json
|
|
658
660
|
npx cc-codeconductor ccep evaluate --command feature --input @planner.json --output json
|
|
@@ -665,6 +667,12 @@ Subcommands: `parse` / `profile` / `resolve` / `compile` / `validate` /
|
|
|
665
667
|
Zod schema for that role. `consensus` exit codes: `0` APPROVED, `1` REJECTED,
|
|
666
668
|
`2` ESCALATED. Full protocol: [docs/CCEP.md](docs/CCEP.md).
|
|
667
669
|
|
|
670
|
+
`compile --view prompt|layers|full` controls the returned representation;
|
|
671
|
+
`full` remains the default. `--record-telemetry` appends local compilation
|
|
672
|
+
sizes and timing to `.codeconductor/events.jsonl`; unavailable provider and
|
|
673
|
+
token metrics are recorded as `unknown`. `--execution-id`, `--task-id`, and
|
|
674
|
+
`--context-strategy` add correlation metadata when recording telemetry.
|
|
675
|
+
|
|
668
676
|
#### `openspec` — backlog delivery loop
|
|
669
677
|
|
|
670
678
|
```bash
|
|
@@ -680,6 +688,7 @@ npx cc-codeconductor openspec block BC-001-implement --reason "waiting on design
|
|
|
680
688
|
npx cc-codeconductor openspec unblock BC-001-implement
|
|
681
689
|
npx cc-codeconductor openspec archive BC-001
|
|
682
690
|
npx cc-codeconductor odd read delivery-001
|
|
691
|
+
npx cc-codeconductor odd handoff --id delivery-001 --output json
|
|
683
692
|
```
|
|
684
693
|
|
|
685
694
|
Subcommands: `validate` / `scan` / `plan` / `analyze` / `status` / `next` /
|
|
@@ -689,6 +698,10 @@ archive synchronizes validated deltas into durable specs before filing the
|
|
|
689
698
|
change. Illegal status transitions fail closed. See
|
|
690
699
|
[docs/SDD.md](docs/SDD.md) and the OpenSpec skill.
|
|
691
700
|
|
|
701
|
+
`odd handoff` derives a compact envelope from the Delivery Ledger and current
|
|
702
|
+
workspace state. It contains the task, scope, evidence, changed paths, and next
|
|
703
|
+
action; it does not return the ledger body or a conversation transcript.
|
|
704
|
+
|
|
692
705
|
#### Product OS — `ingest` / `product` / `orchestrate` / `impact` / `verify`
|
|
693
706
|
|
|
694
707
|
```bash
|
|
@@ -847,7 +860,7 @@ codeconductor/
|
|
|
847
860
|
|
|
848
861
|
## Roadmap
|
|
849
862
|
|
|
850
|
-
Published package: **1.
|
|
863
|
+
Published package: **1.6.x (current stable: 1.6.0)**. Remaining gaps (sandbox, policy compiler, full
|
|
851
864
|
stack-specific asset pruning): [docs/current-status.md](docs/current-status.md).
|
|
852
865
|
Release history: [CHANGELOG.md](CHANGELOG.md).
|
|
853
866
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Runner target type
|
|
3
3
|
*/
|
|
4
|
-
export type RunnerTarget = 'opencode' | 'claude' | 'codex' | 'gemini' | 'cursor' | 'agy' | 'pi' | 'all';
|
|
4
|
+
export type RunnerTarget = 'opencode' | 'claude' | 'codex' | 'gemini' | 'cursor' | 'agy' | 'pi' | 'muse' | 'all';
|
|
5
5
|
/**
|
|
6
6
|
* Valid runner targets
|
|
7
7
|
*/
|
|
8
|
-
export declare const RUNNER_TARGETS: readonly ["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "all"];
|
|
8
|
+
export declare const RUNNER_TARGETS: readonly ["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "muse", "all"];
|
|
9
9
|
/**
|
|
10
10
|
* Individual runner targets (excluding 'all')
|
|
11
11
|
*/
|
|
12
|
-
export declare const INDIVIDUAL_TARGETS: readonly ["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"];
|
|
12
|
+
export declare const INDIVIDUAL_TARGETS: readonly ["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "muse"];
|
|
13
13
|
/**
|
|
14
14
|
* A single, installable runner target — every RunnerTarget value except
|
|
15
15
|
* 'all'. The single source for the union type repeated inline across
|
|
16
16
|
* loaders/commands (manifest-loader.ts, install.command.ts, ...) — import
|
|
17
|
-
* this instead of re-listing the
|
|
17
|
+
* this instead of re-listing the 8 targets, so adding a 9th only requires
|
|
18
18
|
* updating INDIVIDUAL_TARGETS above.
|
|
19
19
|
*/
|
|
20
20
|
export type IndividualRunnerTarget = (typeof INDIVIDUAL_TARGETS)[number];
|
|
@@ -6,6 +6,6 @@ export type ConfidenceLevel = 'low' | 'medium' | 'high';
|
|
|
6
6
|
export type ProductNodeType = 'product' | 'domain' | 'capability' | 'requirement' | 'decision' | 'component' | 'flow' | 'contract' | 'metric' | 'risk' | 'task' | 'evidence';
|
|
7
7
|
export type GraphRelation = 'implements' | 'depends_on' | 'documents' | 'affects' | 'evidences' | 'blocks' | 'contains';
|
|
8
8
|
export type MemoryLayer = 'operational' | 'semantic' | 'episodic' | 'procedural' | 'strategic';
|
|
9
|
-
export type ProductEventType = 'task.started' | 'task.completed' | 'decision.recorded' | 'evidence.added' | 'ingest.completed' | 'goal.updated' | 'blocker.detected' | 'verification.completed' | 'feedback.processed';
|
|
9
|
+
export type ProductEventType = 'task.started' | 'task.completed' | 'decision.recorded' | 'evidence.added' | 'ingest.completed' | 'goal.updated' | 'blocker.detected' | 'verification.completed' | 'feedback.processed' | 'context.compiled';
|
|
10
10
|
export declare const PRODUCT_NODE_TYPES: readonly ProductNodeType[];
|
|
11
11
|
export declare const GRAPH_RELATIONS: readonly GraphRelation[];
|