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
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
3
3
|
"env": {
|
|
4
4
|
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0",
|
|
5
|
-
"CLAUDE_CODE_DISABLE_1M_CONTEXT": "0",
|
|
6
|
-
"CLAUDE_CODE_DISABLE_AUTO_MEMORY": "1",
|
|
7
|
-
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
|
|
8
5
|
"CLAUDE_CODE_DISABLE_TERMINAL_TITLE": "1",
|
|
9
6
|
"DISABLE_EXTRA_USAGE_COMMAND": "1",
|
|
10
7
|
"DISABLE_TELEMETRY": "1",
|
|
@@ -12,12 +9,7 @@
|
|
|
12
9
|
"DISABLE_FEEDBACK_COMMAND": "1",
|
|
13
10
|
"CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT": "1",
|
|
14
11
|
"ENABLE_TOOL_SEARCH": "auto",
|
|
15
|
-
"
|
|
16
|
-
"CLAUDE_CODE_SUBPROCESS_ENV_SCRUB": "0",
|
|
17
|
-
"CLAUDE_CODE_SUBAGENT_MODEL": "haiku",
|
|
18
|
-
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1",
|
|
19
|
-
"MAX_THINKING_TOKENS": "24000",
|
|
20
|
-
"DISABLE_BUG_COMMAND": "1"
|
|
12
|
+
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "0"
|
|
21
13
|
},
|
|
22
14
|
"attribution": {
|
|
23
15
|
"commit": "",
|
|
@@ -27,29 +19,11 @@
|
|
|
27
19
|
"includeGitInstructions": false,
|
|
28
20
|
"permissions": {
|
|
29
21
|
"allow": [
|
|
30
|
-
"Bash(git status*)",
|
|
31
|
-
"Bash(git diff*)",
|
|
32
|
-
"Bash(git log*)",
|
|
33
22
|
"Bash(./gradlew test*)",
|
|
34
23
|
"Bash(./gradlew build*)",
|
|
35
24
|
"Bash(./gradlew check*)",
|
|
36
25
|
"Bash(npm test*)",
|
|
37
26
|
"Bash(npm run lint*)",
|
|
38
|
-
"Bash(ls *)",
|
|
39
|
-
"Bash(cat *)",
|
|
40
|
-
"Bash(grep *)",
|
|
41
|
-
"Bash(rg *)",
|
|
42
|
-
"Bash(find *)",
|
|
43
|
-
"Bash(tree *)",
|
|
44
|
-
"Bash(echo *)",
|
|
45
|
-
"Bash(pwd)",
|
|
46
|
-
"Bash(which *)",
|
|
47
|
-
"Bash(head *)",
|
|
48
|
-
"Bash(tail *)",
|
|
49
|
-
"Bash(wc *)",
|
|
50
|
-
"Bash(diff *)",
|
|
51
|
-
"Bash(git branch*)",
|
|
52
|
-
"Bash(git show*)",
|
|
53
27
|
"Bash(git add*)",
|
|
54
28
|
"Bash(git commit*)",
|
|
55
29
|
"Bash(git stash*)",
|
|
@@ -113,30 +87,38 @@
|
|
|
113
87
|
"Bash(rm -fr *)",
|
|
114
88
|
"Bash(chmod -R *)",
|
|
115
89
|
"Bash(eval *)",
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"Read(
|
|
123
|
-
"Read(
|
|
124
|
-
"Read(
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"Read(
|
|
129
|
-
"
|
|
90
|
+
"PowerShell(Remove-Item *)",
|
|
91
|
+
"PowerShell(git push --force*)",
|
|
92
|
+
"PowerShell(git push -f*)",
|
|
93
|
+
"PowerShell(git reset --hard*)",
|
|
94
|
+
"PowerShell(git rebase *)",
|
|
95
|
+
"PowerShell(Invoke-Expression *)",
|
|
96
|
+
"Read(.env)",
|
|
97
|
+
"Read(.env.*)",
|
|
98
|
+
"Read(!.env.example)",
|
|
99
|
+
"Edit(.env)",
|
|
100
|
+
"Edit(.env.*)",
|
|
101
|
+
"Edit(!.env.example)",
|
|
102
|
+
"Read(secrets/**)",
|
|
103
|
+
"Edit(secrets/**)",
|
|
104
|
+
"Read(**/credentials.json)",
|
|
105
|
+
"Edit(**/credentials.json)",
|
|
106
|
+
"Read(**/serviceAccount*.json)",
|
|
107
|
+
"Edit(**/serviceAccount*.json)",
|
|
108
|
+
"Read(**/*.pem)",
|
|
109
|
+
"Edit(**/*.pem)",
|
|
110
|
+
"Read(**/*.key)",
|
|
111
|
+
"Edit(**/*.key)",
|
|
112
|
+
"Read(**/id_rsa*)",
|
|
113
|
+
"Edit(**/id_rsa*)",
|
|
130
114
|
"Read(~/.ssh/**)",
|
|
115
|
+
"Edit(~/.ssh/**)",
|
|
131
116
|
"Read(~/.aws/**)",
|
|
117
|
+
"Edit(~/.aws/**)",
|
|
132
118
|
"Read(~/.gnupg/**)",
|
|
133
|
-
"Edit(
|
|
134
|
-
"Edit(./.env.*)",
|
|
135
|
-
"Edit(./**/.env)"
|
|
119
|
+
"Edit(~/.gnupg/**)"
|
|
136
120
|
],
|
|
137
121
|
"ask": [
|
|
138
|
-
"Bash(git push --force*)",
|
|
139
|
-
"Bash(git reset --hard*)",
|
|
140
122
|
"Bash(docker run*)",
|
|
141
123
|
"Bash(docker compose up*)",
|
|
142
124
|
"Bash(docker compose down*)"
|
|
@@ -158,7 +140,7 @@
|
|
|
158
140
|
],
|
|
159
141
|
"PreToolUse": [
|
|
160
142
|
{
|
|
161
|
-
"matcher": "Bash|Read|Write|Edit|MultiEdit",
|
|
143
|
+
"matcher": "Bash|PowerShell|Read|Write|Edit|MultiEdit",
|
|
162
144
|
"hooks": [
|
|
163
145
|
{
|
|
164
146
|
"type": "command",
|
|
@@ -188,34 +170,6 @@
|
|
|
188
170
|
}
|
|
189
171
|
]
|
|
190
172
|
},
|
|
191
|
-
"sandbox": {
|
|
192
|
-
"enabled": false,
|
|
193
|
-
"failIfUnavailable": false,
|
|
194
|
-
"autoAllowBashIfSandboxed": true,
|
|
195
|
-
"network": {
|
|
196
|
-
"allowedDomains": [
|
|
197
|
-
"github.com",
|
|
198
|
-
"*.githubusercontent.com",
|
|
199
|
-
"registry.npmjs.org",
|
|
200
|
-
"*.npmjs.org",
|
|
201
|
-
"registry.yarnpkg.com",
|
|
202
|
-
"pypi.org",
|
|
203
|
-
"*.pythonhosted.org",
|
|
204
|
-
"repo.maven.apache.org",
|
|
205
|
-
"repo1.maven.org",
|
|
206
|
-
"services.gradle.org",
|
|
207
|
-
"plugins.gradle.org",
|
|
208
|
-
"*.gradle.org",
|
|
209
|
-
"*.googleapis.com",
|
|
210
|
-
"api.anthropic.com"
|
|
211
|
-
],
|
|
212
|
-
"allowLocalBinding": true
|
|
213
|
-
},
|
|
214
|
-
"filesystem": {
|
|
215
|
-
"denyRead": ["~/.ssh", "~/.aws", "~/.gnupg", "./.env", "./.env.*"]
|
|
216
|
-
},
|
|
217
|
-
"excludedCommands": ["docker *"]
|
|
218
|
-
},
|
|
219
173
|
"extraKnownMarketplaces": {
|
|
220
174
|
"agricidaniel-claude-seo": {
|
|
221
175
|
"source": {
|
|
@@ -225,13 +179,13 @@
|
|
|
225
179
|
}
|
|
226
180
|
},
|
|
227
181
|
"language": "spanish",
|
|
182
|
+
"model": "sonnet",
|
|
183
|
+
"effortLevel": "medium",
|
|
228
184
|
"feedbackSurveyRate": 0,
|
|
229
185
|
"spinnerTipsEnabled": false,
|
|
230
|
-
"alwaysThinkingEnabled": true,
|
|
231
|
-
"effortLevel": "medium",
|
|
232
186
|
"awaySummaryEnabled": false,
|
|
233
187
|
"showClearContextOnPlanAccept": true,
|
|
234
|
-
"autoUpdatesChannel": "
|
|
188
|
+
"autoUpdatesChannel": "latest",
|
|
235
189
|
"prefersReducedMotion": false,
|
|
236
190
|
"autoMemoryEnabled": false,
|
|
237
191
|
"showThinkingSummaries": true,
|
|
@@ -16,7 +16,7 @@ gates, not a reference doc. Specs describe WHAT; `design.md` describes HOW.
|
|
|
16
16
|
|
|
17
17
|
## When to Use
|
|
18
18
|
|
|
19
|
-
- `/cc-openspec` or `openspec
|
|
19
|
+
- `/cc-openspec` or `openspec plan` / `next` / `done` / `sync` / `verify` / `archive`
|
|
20
20
|
- An item is `READY` or later and must move through the state machine
|
|
21
21
|
|
|
22
22
|
**NOT** for creating `BACKLOG.md` (use skill `backlog`) or for stack-specific
|
|
@@ -26,22 +26,43 @@ coding rules.
|
|
|
26
26
|
|
|
27
27
|
Local CLI is `bun run dev`. Published package is `npx cc-codeconductor`.
|
|
28
28
|
|
|
29
|
-
1. `openspec validate` — must pass before delivery.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
1. `openspec validate` — must pass before delivery. If you reached this
|
|
30
|
+
workflow on your own (the user did not ask for OpenSpec) and there is no
|
|
31
|
+
`BACKLOG.md` / `openspec/` root, answer normally instead — never scaffold
|
|
32
|
+
one as a side effect.
|
|
33
|
+
2. `openspec plan BC-xxx` if the item is not yet `PLANNED`. Planning only: it
|
|
34
|
+
writes TaskCards plus proposal/design/tasks/specs under
|
|
35
|
+
`openspec/changes/<slug>/` and stops. Never implement in this step.
|
|
36
|
+
3. Review the plan before `start`: read proposal → delta specs → tasks, in that
|
|
37
|
+
order, and confirm intent, scope, testable FR/SC, and edge-case scenarios.
|
|
38
|
+
Fix the Markdown directly or ask for revisions — code comes later.
|
|
39
|
+
4. `openspec analyze --output json` — CRITICAL findings exit 1. Do not implement.
|
|
40
|
+
5. Phases: discover (`repo-explorer`) → design (`architect`) → test (`tester`) →
|
|
33
41
|
implement (`implementer`) → review (`reviewer`). If Global `TDD required: yes`,
|
|
34
|
-
test runs before implement.
|
|
35
|
-
|
|
36
|
-
evidence JSON is rejected.
|
|
37
|
-
|
|
38
|
-
7.
|
|
39
|
-
|
|
42
|
+
test runs before implement. Discover is read-only: it never writes code.
|
|
43
|
+
6. `openspec done` on test/implement requires `captureTddSuiteEvidence`. Handmade
|
|
44
|
+
evidence JSON is rejected. The implementer ticks `tasks.md` boxes
|
|
45
|
+
(`- [ ]` → `- [x]`) as each FR lands; only `x`/`X` counts as done.
|
|
46
|
+
7. When implementation reveals a design problem, pause and reconcile the planning
|
|
47
|
+
artifacts first — in any direction (a later artifact may force revising an
|
|
48
|
+
earlier one). Planning artifacts only in that step, never code; confirm each
|
|
49
|
+
edit. If the item's intent changed rather than its details, open a fresh item
|
|
50
|
+
with `/cc-backlog` (`/cc:backlog`) instead of warping this one.
|
|
51
|
+
8. `openspec verify --output json` — advisory pre-archive checklist
|
|
52
|
+
(`archiveReady` plus Completeness/Correctness/Coherence issues). Optional:
|
|
53
|
+
`openspec sync` merges delta specs into `openspec/specs/` without closing.
|
|
54
|
+
9. `scorecard create --task BC-xxx --from-diff` then record a verdict.
|
|
55
|
+
10. `openspec archive` only after human review when `Review required: yes` and
|
|
56
|
+
the scorecard is PASS. Archive re-checks planning artifacts and analyze
|
|
57
|
+
CRITICALs, and warns on unchecked `tasks.md` boxes.
|
|
40
58
|
|
|
41
59
|
Status machine: `TODO` → `READY` → `PLANNED` → `IN_PROGRESS` → `REVIEW` → `DONE`
|
|
42
60
|
→ Archive. `BLOCKED` returns to `READY`. Reviewer rejection: `REVIEW` →
|
|
43
61
|
`IN_PROGRESS`.
|
|
44
62
|
|
|
63
|
+
`openspec status --output json` also reports artifact presence, `tasks.md`
|
|
64
|
+
checkbox progress, and `nextSteps` for the next CLI call.
|
|
65
|
+
|
|
45
66
|
## Web interface scope
|
|
46
67
|
|
|
47
68
|
When the task concerns web layout, component states, feedback, motion, or a
|
|
@@ -70,17 +91,24 @@ delivery read-only and record unavailable visual or emulator evidence as pending
|
|
|
70
91
|
| I'll add tests after green | Global TDD required means tester before implementer. |
|
|
71
92
|
| I'll write the evidence JSON myself | Handmade TDD JSON is rejected. Use the verification runner. |
|
|
72
93
|
| The item is small; skip analyze | `openspec analyze` CRITICAL still stops implement. |
|
|
94
|
+
| The plan is generated; skip reading it | Read proposal → specs → tasks before `start`. Generated is not reviewed. |
|
|
95
|
+
| I'll fix the spec after shipping | Reconcile planning artifacts before continuing to implement. |
|
|
73
96
|
|
|
74
97
|
## Red Flags
|
|
75
98
|
|
|
76
99
|
- Implementing while analyze reports CRITICAL
|
|
100
|
+
- Starting cards before reading the generated plan
|
|
77
101
|
- Archive without a PASS scorecard when review is required
|
|
102
|
+
- Archive while `openspec verify` reports CRITICAL
|
|
78
103
|
- Acceptance like "improve UX" with no measurable check
|
|
79
104
|
|
|
80
105
|
## Verification
|
|
81
106
|
|
|
82
107
|
- [ ] `openspec validate` exit 0
|
|
108
|
+
- [ ] Plan reviewed (proposal → specs → tasks) before `start`
|
|
83
109
|
- [ ] `openspec analyze --output json` has no CRITICAL
|
|
84
110
|
- [ ] TDD evidence from the runner when TDD is required
|
|
111
|
+
- [ ] `tasks.md` boxes ticked as FRs land
|
|
112
|
+
- [ ] `openspec verify --output json` checked before archive
|
|
85
113
|
- [ ] `scorecard create --from-diff` recorded
|
|
86
114
|
- [ ] Suite check (optional): `bun run dev scorecard suite-run --suite workflow-gates`
|
|
@@ -15,11 +15,10 @@ API contract request: $ARGUMENTS
|
|
|
15
15
|
|
|
16
16
|
Command: `api-contract` (fixed for this workflow — do not infer from user text)
|
|
17
17
|
|
|
18
|
-
1. Run: `npx cc-codeconductor ccep
|
|
19
|
-
2.
|
|
20
|
-
3.
|
|
21
|
-
4.
|
|
22
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
18
|
+
1. Run: `npx cc-codeconductor ccep profile api-contract --output json` to get the phases and their roles.
|
|
19
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command api-contract --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
20
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command api-contract --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
21
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
23
22
|
|
|
24
23
|
---
|
|
25
24
|
|
|
@@ -20,11 +20,10 @@ deliver implementation — that is `/cc-openspec`.
|
|
|
20
20
|
|
|
21
21
|
Command: `backlog` (fixed for this workflow — do not infer from user text)
|
|
22
22
|
|
|
23
|
-
1. Run: `npx cc-codeconductor ccep
|
|
24
|
-
2.
|
|
25
|
-
3.
|
|
26
|
-
4.
|
|
27
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
23
|
+
1. Run: `npx cc-codeconductor ccep profile backlog --output json` to get the phases and their roles.
|
|
24
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command backlog --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
25
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command backlog --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
26
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
28
27
|
|
|
29
28
|
---
|
|
30
29
|
|
|
@@ -15,11 +15,10 @@ Clarify request: $ARGUMENTS
|
|
|
15
15
|
|
|
16
16
|
Command: `clarify` (fixed for this workflow — do not infer from user text)
|
|
17
17
|
|
|
18
|
-
1. Run: `npx cc-codeconductor ccep
|
|
19
|
-
2.
|
|
20
|
-
3.
|
|
21
|
-
4.
|
|
22
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
18
|
+
1. Run: `npx cc-codeconductor ccep profile clarify --output json` to get the phases and their roles.
|
|
19
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command clarify --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
20
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command clarify --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
21
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
23
22
|
|
|
24
23
|
---
|
|
25
24
|
|
|
@@ -7,6 +7,12 @@ description: Council-driven workflow with CCEP-1 bootstrap
|
|
|
7
7
|
|
|
8
8
|
Invoke as `$cc-council`. The user request follows the skill mention.
|
|
9
9
|
|
|
10
|
+
## Council context budget
|
|
11
|
+
|
|
12
|
+
Use GPT-6.1 Sol with medium reasoning effort. Give each necessary council role
|
|
13
|
+
the same short evidence summary and relevant diff. Reuse those findings in the
|
|
14
|
+
verdict; avoid spawning roles for questions already answered by evidence.
|
|
15
|
+
|
|
10
16
|
# Council-Driven Workflow
|
|
11
17
|
|
|
12
18
|
Task request: $ARGUMENTS
|
|
@@ -16,11 +22,10 @@ Task request: $ARGUMENTS
|
|
|
16
22
|
Command: `council` (fixed for this workflow — do not infer from user text)
|
|
17
23
|
command: council
|
|
18
24
|
|
|
19
|
-
1. Run: `npx cc-codeconductor ccep
|
|
20
|
-
2.
|
|
21
|
-
3.
|
|
22
|
-
4.
|
|
23
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
25
|
+
1. Run: `npx cc-codeconductor ccep profile council --output json` to get the phases and their roles.
|
|
26
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command council --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
27
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command council --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
28
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
24
29
|
|
|
25
30
|
---
|
|
26
31
|
|
|
@@ -68,7 +73,7 @@ implementer must:
|
|
|
68
73
|
1. Write the minimal code required to pass the tests.
|
|
69
74
|
2. Touch ONLY the files specified in the Technical Plan (Surgical Changes).
|
|
70
75
|
3. NOT refactor adjacent code, change existing styles, or build speculative features.
|
|
71
|
-
4. Run the tests. Loop `implementer` -> `tester` until all tests pass (Green state).
|
|
76
|
+
4. Run the tests. Loop `implementer` -> `tester` until all tests pass (Green state), at most 3 iterations -- then stop and report the failing tests instead of looping.
|
|
72
77
|
|
|
73
78
|
---
|
|
74
79
|
|
|
@@ -80,7 +85,7 @@ The council will evaluate the diff against the 6 axes (Architecture, Security, P
|
|
|
80
85
|
|
|
81
86
|
If ANY agent votes CRITICAL (especially due to over-engineering, scope creep, or missing the verifiable goals):
|
|
82
87
|
- The Review Report status is **BLOCKED**.
|
|
83
|
-
- Return to Step 4 with the feedback.
|
|
88
|
+
- Return to Step 4 with the feedback (at most 3 review rounds in total -- then deliver the BLOCKED verdict with the unresolved findings instead of looping).
|
|
84
89
|
|
|
85
90
|
If APPROVED (no CRITICAL findings):
|
|
86
91
|
- Deliver the final Council Verdict and the diff summary.
|
|
@@ -15,11 +15,10 @@ Migration request: $ARGUMENTS
|
|
|
15
15
|
|
|
16
16
|
Command: `db-migration` (fixed for this workflow — do not infer from user text)
|
|
17
17
|
|
|
18
|
-
1. Run: `npx cc-codeconductor ccep
|
|
19
|
-
2.
|
|
20
|
-
3.
|
|
21
|
-
4.
|
|
22
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
18
|
+
1. Run: `npx cc-codeconductor ccep profile db-migration --output json` to get the phases and their roles.
|
|
19
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command db-migration --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
20
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command db-migration --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
21
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
23
22
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
24
23
|
|
|
25
24
|
---
|
|
@@ -15,11 +15,10 @@ Explore request: $ARGUMENTS
|
|
|
15
15
|
|
|
16
16
|
Command: `explore` (fixed for this workflow — do not infer from user text)
|
|
17
17
|
|
|
18
|
-
1. Run: `npx cc-codeconductor ccep
|
|
19
|
-
2.
|
|
20
|
-
3.
|
|
21
|
-
4.
|
|
22
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
18
|
+
1. Run: `npx cc-codeconductor ccep profile explore --output json` to get the phases and their roles.
|
|
19
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command explore --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
20
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command explore --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
21
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
23
22
|
|
|
24
23
|
---
|
|
25
24
|
|
|
@@ -39,11 +39,10 @@ unavailable visual or emulator checks remain pending rather than claimed complet
|
|
|
39
39
|
|
|
40
40
|
Command: `feature` (fixed for this workflow — do not infer from user text)
|
|
41
41
|
|
|
42
|
-
1. Run: `npx cc-codeconductor ccep
|
|
43
|
-
2.
|
|
44
|
-
3.
|
|
45
|
-
4.
|
|
46
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
42
|
+
1. Run: `npx cc-codeconductor ccep profile feature --output json` to get the phases and their roles.
|
|
43
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command feature --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
44
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command feature --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
45
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
47
46
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
48
47
|
|
|
49
48
|
---
|
|
@@ -47,11 +47,10 @@ unavailable visual or emulator checks remain pending rather than claimed complet
|
|
|
47
47
|
|
|
48
48
|
Command: `fix` (fixed for this workflow — do not infer from user text)
|
|
49
49
|
|
|
50
|
-
1. Run: `npx cc-codeconductor ccep
|
|
51
|
-
2.
|
|
52
|
-
3.
|
|
53
|
-
4.
|
|
54
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
50
|
+
1. Run: `npx cc-codeconductor ccep profile fix --output json` to get the phases and their roles.
|
|
51
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command fix --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
52
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command fix --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
53
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
55
54
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
56
55
|
|
|
57
56
|
---
|
|
@@ -15,11 +15,10 @@ Handoff request: $ARGUMENTS
|
|
|
15
15
|
|
|
16
16
|
Command: `handoff` (fixed for this workflow — do not infer from user text)
|
|
17
17
|
|
|
18
|
-
1. Run: `npx cc-codeconductor ccep
|
|
19
|
-
2.
|
|
20
|
-
3.
|
|
21
|
-
4.
|
|
22
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
18
|
+
1. Run: `npx cc-codeconductor ccep profile handoff --output json` to get the phases and their roles.
|
|
19
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command handoff --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
20
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command handoff --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
21
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
23
22
|
|
|
24
23
|
---
|
|
25
24
|
|
|
@@ -38,6 +37,10 @@ pass/fail (not log dumps), open questions, the next `$cc-` command, plus links
|
|
|
38
37
|
to the Delivery Ledger and verification evidence when they exist. Do not repeat
|
|
39
38
|
the original request or transcript.
|
|
40
39
|
|
|
40
|
+
If a Delivery Ledger exists, run `npx cc-codeconductor odd handoff --id <ledger-id> --output json`
|
|
41
|
+
and use its `handoff` envelope as the source for these fields. Secret redaction
|
|
42
|
+
still applies.
|
|
43
|
+
|
|
41
44
|
Do not edit source or tests.
|
|
42
45
|
|
|
43
46
|
---
|
|
@@ -17,11 +17,10 @@ Iterative request: $ARGUMENTS
|
|
|
17
17
|
|
|
18
18
|
Command: `iterative` (fixed for this workflow — do not infer from user text)
|
|
19
19
|
|
|
20
|
-
1. Run: `npx cc-codeconductor ccep
|
|
21
|
-
2.
|
|
22
|
-
3.
|
|
23
|
-
4.
|
|
24
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
20
|
+
1. Run: `npx cc-codeconductor ccep profile iterative --output json` to get the phases and their roles.
|
|
21
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command iterative --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
22
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command iterative --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
23
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
25
24
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
26
25
|
|
|
27
26
|
---
|
|
@@ -12,11 +12,12 @@ Invoke as `$cc-odd`. The user request follows the skill mention.
|
|
|
12
12
|
## Step 0 — CCEP Bootstrap
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
bun run dev ccep
|
|
16
|
-
bun run dev ccep
|
|
17
|
-
bun run dev ccep profile --command odd
|
|
15
|
+
bun run dev ccep profile odd --output json
|
|
16
|
+
bun run dev ccep compile --command odd --phase <phase-id> "$ARGUMENTS" --view prompt --output json
|
|
18
17
|
```
|
|
19
18
|
|
|
19
|
+
Pass each subagent only the compiled `prompt` for its phase.
|
|
20
|
+
|
|
20
21
|
Create a ledger only after authorization and tracked coordination. Read-only and small work do not create state.
|
|
21
22
|
|
|
22
23
|
When ODD has verification evidence, include its RDD receipt in the ledger
|
|
@@ -7,6 +7,12 @@ description: Run OpenSpec backlog delivery — validate BACKLOG.md, plan TaskCar
|
|
|
7
7
|
|
|
8
8
|
Invoke as `$cc-openspec`. The user request follows the skill mention.
|
|
9
9
|
|
|
10
|
+
## Model and context budget
|
|
11
|
+
|
|
12
|
+
Use GPT-6.1 Sol with medium reasoning effort for every OpenSpec phase. Pass each
|
|
13
|
+
role only its current TaskCard, relevant file paths, acceptance criteria, and a
|
|
14
|
+
short handoff. Avoid replaying the full transcript or re-reading large files.
|
|
15
|
+
|
|
10
16
|
# OpenSpec Backlog Workflow
|
|
11
17
|
|
|
12
18
|
Scope: $ARGUMENTS
|
|
@@ -43,11 +49,10 @@ unavailable visual or emulator checks remain pending rather than claimed complet
|
|
|
43
49
|
|
|
44
50
|
Command: `openspec` (fixed for this workflow — do not infer from user text)
|
|
45
51
|
|
|
46
|
-
1. Run: `npx cc-codeconductor ccep
|
|
47
|
-
2.
|
|
48
|
-
3.
|
|
49
|
-
4.
|
|
50
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
52
|
+
1. Run: `npx cc-codeconductor ccep profile openspec --output json` to get the phases and their roles.
|
|
53
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command openspec --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
54
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command openspec --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
55
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
51
56
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
52
57
|
|
|
53
58
|
---
|
|
@@ -123,6 +128,13 @@ Show:
|
|
|
123
128
|
|
|
124
129
|
Update BACKLOG item status to `PLANNED` (CLI does this automatically).
|
|
125
130
|
|
|
131
|
+
`plan` is planning-only: it writes TaskCards plus proposal/design/tasks/specs
|
|
132
|
+
and stops. Before Step 5, review the plan in this order — proposal → delta
|
|
133
|
+
specs → tasks — and confirm: intent is right, no scope creep, every FR is
|
|
134
|
+
testable with a scenario that exercises it, edge/error cases are covered, and
|
|
135
|
+
each task traces to an FR/SC. Fix the Markdown directly or ask for revisions.
|
|
136
|
+
Do not `start` any card until the plan reads correctly.
|
|
137
|
+
|
|
126
138
|
---
|
|
127
139
|
|
|
128
140
|
## Drive card status (CLI)
|
|
@@ -133,10 +145,12 @@ Do not edit `.codeconductor/openspec-state.json` by hand.
|
|
|
133
145
|
npx cc-codeconductor openspec start <cardId>
|
|
134
146
|
npx cc-codeconductor openspec done <cardId>
|
|
135
147
|
npx cc-codeconductor openspec block <cardId> --reason "waiting on design"
|
|
148
|
+
npx cc-codeconductor openspec sync <itemId>
|
|
149
|
+
npx cc-codeconductor openspec verify <itemId>
|
|
136
150
|
npx cc-codeconductor openspec archive <itemId>
|
|
137
151
|
```
|
|
138
152
|
|
|
139
|
-
`start` moves the card `pending → doing` and the item `PLANNED → IN_PROGRESS`. `done` marks the card complete, updates Progress, and moves the item to `REVIEW` when every card is done and review is required. `archive` requires all cards done (and review evidence when Global review is required) and moves `openspec/changes/<slug>` to `archive/`.
|
|
153
|
+
`start` moves the card `pending → doing` and the item `PLANNED → IN_PROGRESS`. `done` marks the card complete, updates Progress, and moves the item to `REVIEW` when every card is done and review is required. `sync` merges delta specs into `openspec/specs/` without closing the item (optional before archive). `verify` is the advisory pre-archive checklist: exit 0 with `archiveReady` plus Completeness/Correctness/Coherence issues. `archive` requires all cards done (and review evidence when Global review is required), re-checks planning artifacts and analyze CRITICALs, warns on unchecked `tasks.md` boxes, then moves `openspec/changes/<slug>` to `archive/`.
|
|
140
154
|
|
|
141
155
|
For test and implementation cards, `done` also requires a current RDD-backed
|
|
142
156
|
RED or GREEN receipt respectively. Do not reuse evidence after candidate files
|
|
@@ -158,7 +172,7 @@ For each pending TaskCard, run:
|
|
|
158
172
|
npx cc-codeconductor openspec next
|
|
159
173
|
```
|
|
160
174
|
|
|
161
|
-
Invoke the agent named on the card with **isolated** context (`/clear`
|
|
175
|
+
Invoke the agent named on the card as a subagent with **isolated** context (subagents already start fresh; do not `/clear` the main session between phases):
|
|
162
176
|
|
|
163
177
|
| Phase | Agent | Role |
|
|
164
178
|
|-------|-------|------|
|
|
@@ -177,6 +191,14 @@ After each phase:
|
|
|
177
191
|
|
|
178
192
|
Implementer: create a Git worktree before editing (`git worktree add ../<branch>-session <branch>`).
|
|
179
193
|
|
|
194
|
+
Discover is read-only: `repo-explorer` never writes code. The implementer ticks
|
|
195
|
+
`tasks.md` boxes (`- [ ]` → `- [x]`) as each FR lands — only `x`/`X` counts as
|
|
196
|
+
done. If implementation reveals a design problem, pause and reconcile the
|
|
197
|
+
planning artifacts first (any direction: a later artifact may force revising an
|
|
198
|
+
earlier one). Planning artifacts only in that step — never code — and confirm
|
|
199
|
+
each edit. If the item's intent changed rather than its details, open a fresh
|
|
200
|
+
item with `$cc-backlog` instead of warping this one.
|
|
201
|
+
|
|
180
202
|
---
|
|
181
203
|
|
|
182
204
|
## Step 6 — Review gate
|
|
@@ -202,6 +224,8 @@ If **approved**: proceed to Step 6.
|
|
|
202
224
|
|
|
203
225
|
## Step 7 — Scorecard and update backlog
|
|
204
226
|
|
|
227
|
+
First run the advisory pre-archive check (`npx cc-codeconductor openspec verify <BC-id> --output json`): confirm `archiveReady` and clear any Completeness/Correctness/Coherence issues. Optionally run `openspec sync <BC-id>` to merge delta specs into `openspec/specs/` without closing the item. Then:
|
|
228
|
+
|
|
205
229
|
1. `npx cc-codeconductor scorecard create --task <BC-id> --from-diff`
|
|
206
230
|
2. Complete criteria; `scorecard record` with verdict and optional cost/tokens
|
|
207
231
|
3. Set item `Progress: 100%`, `Status: DONE` if PASS
|
|
@@ -17,11 +17,10 @@ Produces a prioritized report in the current working directory.
|
|
|
17
17
|
|
|
18
18
|
Command: `pagespeed` (fixed for this workflow — do not infer from user text)
|
|
19
19
|
|
|
20
|
-
1. Run: `npx cc-codeconductor ccep
|
|
21
|
-
2.
|
|
22
|
-
3.
|
|
23
|
-
4.
|
|
24
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
20
|
+
1. Run: `npx cc-codeconductor ccep profile pagespeed --output json` to get the phases and their roles.
|
|
21
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command pagespeed --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
22
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command pagespeed --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
23
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
25
24
|
|
|
26
25
|
---
|
|
27
26
|
|
|
@@ -15,11 +15,10 @@ Prototype request: $ARGUMENTS
|
|
|
15
15
|
|
|
16
16
|
Command: `prototype` (fixed for this workflow — do not infer from user text)
|
|
17
17
|
|
|
18
|
-
1. Run: `npx cc-codeconductor ccep
|
|
19
|
-
2.
|
|
20
|
-
3.
|
|
21
|
-
4.
|
|
22
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
18
|
+
1. Run: `npx cc-codeconductor ccep profile prototype --output json` to get the phases and their roles.
|
|
19
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command prototype --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
20
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command prototype --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
21
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
23
22
|
|
|
24
23
|
---
|
|
25
24
|
|