@jspg-ai/coding-bb 0.0.1 → 0.0.2-beta.22
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/cbb/bin/cbb.js +6 -0
- package/cbb/bin/cbbm.js +6 -0
- package/cbb/dev-standards/rules/cbb-ai-behavior.md +103 -103
- package/cbb/dev-standards/rules/cbb-priority.md +55 -55
- package/cbb/lib/install/claude-code.js +2 -0
- package/cbb/lib/install/init.js +496 -290
- package/cbb/lib/install/opencode.js +31 -0
- package/cbb/lib/install/qoder.js +2 -0
- package/cbb/lib/install/workspaces.js +53 -13
- package/cbb/lib/openspec/index.js +3 -3
- package/cbb/lib/superpowers/index.js +1 -1
- package/cbb/lib/utils/check-update.js +16 -14
- package/cbb/lib/utils/gitignore.js +2 -1
- package/cbb/lib/utils/output.js +92 -4
- package/cbb/lib/utils/version.js +2 -31
- package/cbb/lib/wiki/cli.js +25 -25
- package/cbb/lib/wiki/index.js +16 -16
- package/cbb/tools/cbb-design-to-wiki/SKILL.md +14 -14
- package/cbb/tools/cbb-wiki-ops/SKILL.md +22 -22
- package/cbb/worktrees/_shared/scripts/find-target-worktree.js +2 -2
- package/cbb/worktrees/_shared/scripts/find-workspace-root.js +7 -7
- package/cbb/worktrees/_shared/scripts/push-core.js +18 -0
- package/cbb/worktrees/commands/{close.md → worktree-close.md} +8 -8
- package/cbb/worktrees/commands/{init.md → worktree-init.md} +9 -9
- package/cbb/worktrees/commands/{push.md → worktree-push.md} +3 -3
- package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/SKILL.md +20 -20
- package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/check-env.js +4 -4
- package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/check-unarchived.js +1 -1
- package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/delete-branches.js +3 -3
- package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/discover-apps.js +6 -6
- package/cbb/worktrees/skills/{openspec-extend-worktree → cbb-worktree-close}/scripts/find-target-worktree.js +2 -2
- package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-close}/scripts/find-workspace-root.js +7 -7
- package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/remove-worktrees.js +4 -4
- package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/safety-check.js +4 -4
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/SKILL.md +81 -107
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/auto-open.js +1 -1
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/check-env-deep.js +4 -4
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/check-env.js +6 -6
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/check-repos.js +4 -4
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/create-branches.js +4 -4
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/create-worktrees.js +8 -7
- package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-init}/scripts/find-workspace-root.js +7 -7
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/install-ai.js +33 -33
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/parse-config.js +7 -7
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/push-branches.js +9 -7
- package/cbb/worktrees/skills/{openspec-extend-worktree → cbb-worktree-init}/scripts/push-core.js +18 -0
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/sync-repos.js +10 -12
- package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/update-gitignore.js +19 -6
- package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-push}/SKILL.md +16 -16
- package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-push}/scripts/commit-worktrees.js +2 -2
- package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-push}/scripts/find-target-worktree.js +2 -2
- package/cbb/worktrees/skills/{openspec-extend-worktree → cbb-worktree-push}/scripts/find-workspace-root.js +7 -7
- package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-push}/scripts/push-core.js +18 -0
- package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-push}/scripts/push-worktrees.js +7 -5
- package/config/workspace-config.sample.json +18 -0
- package/config/workspaces.json +11 -6
- package/openspec/.version +6 -6
- package/openspec/commands/apply.md +7 -7
- package/openspec/commands/archive.md +7 -7
- package/openspec/commands/bulk-archive.md +7 -7
- package/openspec/commands/continue.md +7 -7
- package/openspec/commands/explore.md +7 -7
- package/openspec/commands/ff.md +7 -7
- package/openspec/commands/new.md +7 -7
- package/openspec/commands/onboard.md +7 -7
- package/openspec/commands/propose.md +7 -7
- package/openspec/commands/sync.md +7 -7
- package/openspec/commands/update.md +7 -7
- package/openspec/commands/verify.md +7 -7
- package/openspec/skills/openspec-apply-change/SKILL.md +187 -187
- package/openspec/skills/openspec-archive-change/SKILL.md +181 -181
- package/openspec/skills/openspec-bulk-archive-change/SKILL.md +338 -338
- package/openspec/skills/openspec-continue-change/SKILL.md +117 -117
- package/openspec/skills/openspec-explore/SKILL.md +342 -342
- package/openspec/skills/openspec-ff-change/SKILL.md +116 -116
- package/openspec/skills/openspec-new-change/SKILL.md +76 -76
- package/openspec/skills/openspec-onboard/SKILL.md +560 -560
- package/openspec/skills/openspec-propose/SKILL.md +162 -162
- package/openspec/skills/openspec-sync-specs/SKILL.md +261 -261
- package/openspec/skills/openspec-update-change/SKILL.md +90 -90
- package/openspec/skills/openspec-verify-change/SKILL.md +174 -174
- package/package.json +4 -3
- package/superpowers/.version +6 -6
- package/superpowers/skills/brainstorming/SKILL.md +250 -250
- package/superpowers/skills/brainstorming/scripts/helper.js +167 -167
- package/superpowers/skills/brainstorming/scripts/start-server.sh +209 -209
- package/superpowers/skills/brainstorming/scripts/stop-server.sh +120 -120
- package/superpowers/skills/brainstorming/spec-document-reviewer-prompt.md +49 -49
- package/superpowers/skills/brainstorming/visual-companion.md +299 -299
- package/superpowers/skills/dispatching-parallel-agents/SKILL.md +167 -167
- package/superpowers/skills/executing-plans/SKILL.md +64 -64
- package/superpowers/skills/finishing-a-development-branch/SKILL.md +225 -225
- package/superpowers/skills/receiving-code-review/SKILL.md +205 -205
- package/superpowers/skills/requesting-code-review/SKILL.md +95 -95
- package/superpowers/skills/requesting-code-review/code-reviewer.md +181 -181
- package/superpowers/skills/subagent-driven-development/SKILL.md +568 -568
- package/superpowers/skills/subagent-driven-development/implementer-prompt.md +154 -154
- package/superpowers/skills/subagent-driven-development/re-review-prompt.md +115 -115
- package/superpowers/skills/subagent-driven-development/task-reviewer-prompt.md +207 -207
- package/superpowers/skills/systematic-debugging/CREATION-LOG.md +119 -119
- package/superpowers/skills/systematic-debugging/SKILL.md +283 -283
- package/superpowers/skills/systematic-debugging/condition-based-waiting-example.ts +158 -158
- package/superpowers/skills/systematic-debugging/condition-based-waiting.md +115 -115
- package/superpowers/skills/systematic-debugging/defense-in-depth.md +122 -122
- package/superpowers/skills/systematic-debugging/find-polluter.sh +72 -72
- package/superpowers/skills/systematic-debugging/root-cause-tracing.md +169 -169
- package/superpowers/skills/systematic-debugging/test-academic.md +14 -14
- package/superpowers/skills/systematic-debugging/test-pressure-1.md +58 -58
- package/superpowers/skills/systematic-debugging/test-pressure-2.md +68 -68
- package/superpowers/skills/systematic-debugging/test-pressure-3.md +69 -69
- package/superpowers/skills/test-driven-development/SKILL.md +320 -320
- package/superpowers/skills/test-driven-development/writing-good-tests.md +198 -198
- package/superpowers/skills/using-git-worktrees/SKILL.md +167 -167
- package/superpowers/skills/using-superpowers/SKILL.md +63 -63
- package/superpowers/skills/using-superpowers/references/antigravity-tools.md +23 -23
- package/superpowers/skills/using-superpowers/references/codex-tools.md +108 -108
- package/superpowers/skills/using-superpowers/references/gemini-tools.md +63 -63
- package/superpowers/skills/using-superpowers/references/hermes-tools.md +56 -56
- package/superpowers/skills/using-superpowers/references/pi-tools.md +16 -16
- package/superpowers/skills/verification-before-completion/SKILL.md +120 -120
- package/superpowers/skills/writing-plans/SKILL.md +171 -171
- package/superpowers/skills/writing-plans/plan-document-reviewer-prompt.md +49 -49
- package/superpowers/skills/writing-skills/SKILL.md +679 -679
- package/superpowers/skills/writing-skills/anthropic-best-practices.md +1150 -1150
- package/superpowers/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -189
- package/superpowers/skills/writing-skills/persuasion-principles.md +187 -187
- package/superpowers/skills/writing-skills/render-graphs.js +169 -169
- package/superpowers/skills/writing-skills/testing-skills-with-subagents.md +384 -384
- package/cbb/worktrees/commands/extend.md +0 -65
- package/cbb/worktrees/skills/openspec-close-worktree/scripts/find-target-worktree.js +0 -96
- package/cbb/worktrees/skills/openspec-extend-worktree/SKILL.md +0 -390
- package/cbb/worktrees/skills/openspec-extend-worktree/scripts/check-env.js +0 -95
- package/cbb/worktrees/skills/openspec-extend-worktree/scripts/check-repos.js +0 -98
- package/cbb/worktrees/skills/openspec-extend-worktree/scripts/create-branches-and-worktrees.js +0 -135
- package/cbb/worktrees/skills/openspec-extend-worktree/scripts/install-ai.js +0 -150
- package/cbb/worktrees/skills/openspec-extend-worktree/scripts/list-available-apps.js +0 -88
- package/cbb/worktrees/skills/openspec-extend-worktree/scripts/sync-repos.js +0 -93
- package/cbb/worktrees/skills/openspec-init-worktree/scripts/find-workspace-root.js +0 -67
- package/cbb/worktrees/skills/openspec-init-worktree/scripts/generate-app-options.js +0 -93
- package/cbb/worktrees/skills/openspec-init-worktree/scripts/push-core.js +0 -136
- package/cbb/worktrees/skills/openspec-push-worktrees/scripts/silence-popup.js +0 -23
- package/config/config.sample.json +0 -16
- /package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/silence-popup.js +0 -0
- /package/cbb/worktrees/skills/{openspec-extend-worktree → cbb-worktree-init}/scripts/silence-popup.js +0 -0
- /package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-push}/scripts/silence-popup.js +0 -0
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: openspec-update-change
|
|
3
|
-
description: Update an OpenSpec change by revising its existing planning artifacts and keeping them coherent with one another. Use when the user wants to revise a change's plan, fold new decisions into it, or reconcile its artifacts after an edit. Never edits code.
|
|
4
|
-
allowed-tools: Bash(openspec:*)
|
|
5
|
-
license: MIT
|
|
6
|
-
compatibility: Requires openspec CLI.
|
|
7
|
-
metadata:
|
|
8
|
-
author: openspec
|
|
9
|
-
version: "1.0"
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
Revise a change's existing planning artifacts and keep them coherent. Never edit code.
|
|
13
|
-
|
|
14
|
-
**Store selection:** If the user names a store (a store is a standalone OpenSpec repo registered on this machine) or the work lives in one, run `openspec store list --json` to discover registered store ids, then pass `--store <id>` on the commands that read or write specs and changes (`new change`, `status`, `instructions`, `list`, `show`, `validate`, `archive`, `doctor`, `context`, `schemas`, `view`). Once selected, treat `--store <id>` as sticky for the rest of the workflow. Every unscoped example of those commands below is shorthand: before running it, append the flag. For example, run `openspec status --change "<name>" --json --store "<id>"`, not the unscoped form shown below. Other commands do not take the flag. Hints printed by commands already carry the flag; keep it on follow-ups. Without a store, commands act on the nearest local `openspec/` root.
|
|
15
|
-
|
|
16
|
-
**Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
17
|
-
|
|
18
|
-
`/openspec-continue-change` is an optional workflow and may not be installed. Before suggesting it anywhere below, verify that it is available. If it is unavailable, `openspec status --change "<name>" --json` shows the next artifact and `openspec instructions "<artifact-id>" --change "<name>" --json` explains how to create it.
|
|
19
|
-
|
|
20
|
-
**Steps**
|
|
21
|
-
|
|
22
|
-
1. **Select the change**
|
|
23
|
-
|
|
24
|
-
If a name is provided, use it. Otherwise:
|
|
25
|
-
- Infer from conversation context if the user mentioned a change
|
|
26
|
-
- Auto-select if only one active change exists
|
|
27
|
-
- If ambiguous, run `openspec list --json` to get available changes sorted by most recently modified, and ask the user to select one
|
|
28
|
-
|
|
29
|
-
When prompting, present the top 3-4 most recently modified changes as options, showing:
|
|
30
|
-
- Change name
|
|
31
|
-
- Schema (from `schema` field if present, otherwise "spec-driven")
|
|
32
|
-
- Status (e.g., "0/5 tasks", "complete", "no tasks")
|
|
33
|
-
- How recently it was modified (from `lastModified` field)
|
|
34
|
-
|
|
35
|
-
Mark the most recently modified change as "(Recommended)" since it's likely what the user wants to update.
|
|
36
|
-
|
|
37
|
-
Always announce: "Using change: <name>" and how to override (e.g., `/openspec-update-change <other>`).
|
|
38
|
-
|
|
39
|
-
2. **Get the change's artifacts**
|
|
40
|
-
```bash
|
|
41
|
-
openspec status --change "<name>" --json
|
|
42
|
-
```
|
|
43
|
-
Parse the JSON to understand current state. The response includes:
|
|
44
|
-
- `schemaName`: The workflow schema being used (e.g., "spec-driven")
|
|
45
|
-
- `artifacts`: Array of artifacts with their status ("done", "skipped", "ready", "blocked")
|
|
46
|
-
- `isPlanningComplete`: Boolean indicating if all planning artifacts are complete. Older CLI versions expose the same value as `isComplete`.
|
|
47
|
-
- `planningHome`, `changeRoot`, `artifactPaths`, and `actionContext`: path and scope context. Use these instead of assuming repo-local paths.
|
|
48
|
-
|
|
49
|
-
The artifact ids and paths come from the active schema - do NOT assume them, and do NOT branch on hardcoded artifact names. Custom schemas must work unchanged.
|
|
50
|
-
|
|
51
|
-
The files to edit are `artifactPaths.<id>.existingOutputPaths` - the concrete files that exist on disk, already glob-expanded for glob artifacts (e.g. `specs/**/*.md`). Do NOT write to `resolvedOutputPath`: for a glob artifact it is still the glob pattern, not a real file.
|
|
52
|
-
|
|
53
|
-
3. **Understand the request**
|
|
54
|
-
- If the user asked for a specific revision ("the design now uses X"), that is the starting edit.
|
|
55
|
-
- If they only said "update" / "make this coherent", treat it as a coherence review: read the existing artifacts and check them against each other for contradictions, gaps, and duplication.
|
|
56
|
-
|
|
57
|
-
4. **Read and reconcile**
|
|
58
|
-
- Read the artifact(s) the request touches and the change's other existing artifacts.
|
|
59
|
-
- Apply the requested edit. Then check every other existing artifact against it - in ANY direction: an edit to a later artifact may require revising an earlier one, not only the other way around. Build order is a useful reading order, not a constraint on which artifacts may be revised.
|
|
60
|
-
- Note everything that is now inconsistent, missing, or contradictory.
|
|
61
|
-
- Revise only files that already exist (`existingOutputPaths`). Do NOT create artifacts that don't exist yet, and do NOT invent new files under a glob artifact - note them and point the user to `/openspec-continue-change` to create them.
|
|
62
|
-
- If the change is already coherent, say so and make no edits.
|
|
63
|
-
|
|
64
|
-
5. **Confirm and apply, one artifact at a time**
|
|
65
|
-
- Show each proposed revision and why. Write only after the user confirms.
|
|
66
|
-
- If the user rejects a revision, do not write it - leave that artifact unchanged.
|
|
67
|
-
- When a substantial rewrite is needed, get that artifact's rules and template first:
|
|
68
|
-
```bash
|
|
69
|
-
openspec instructions "<artifact-id>" --change "<name>" --json
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
6. **Point to the next step (guidance only - NEVER act on it)**
|
|
73
|
-
- Artifacts still missing -> suggest `/openspec-continue-change` to create them.
|
|
74
|
-
- Change already implemented (tasks checked off / already applied) -> the code may no longer match the revised plan; suggest `/openspec-apply-change` to carry the delta into code.
|
|
75
|
-
- Everything done and implemented -> suggest `/openspec-archive-change`.
|
|
76
|
-
|
|
77
|
-
**Output**
|
|
78
|
-
|
|
79
|
-
After each invocation, show:
|
|
80
|
-
- Which artifacts were revised (and which proposed revisions were rejected)
|
|
81
|
-
- Anything deferred to `/openspec-continue-change` (not-yet-created artifacts or files)
|
|
82
|
-
- Where the change stands and the recommended next command
|
|
83
|
-
|
|
84
|
-
**Guardrails**
|
|
85
|
-
- Planning artifacts only - NEVER edit implementation code. If the revised plan implies code changes, stop and point to `/openspec-apply-change`.
|
|
86
|
-
- Use the artifact ids and paths reported by `openspec status`; never branch on hardcoded artifact names.
|
|
87
|
-
- Edit only the concrete files in `existingOutputPaths`; never write to a glob `resolvedOutputPath`.
|
|
88
|
-
- Do not advance the build frontier: no new artifacts, no new files under glob artifacts - that is `/openspec-continue-change`'s job.
|
|
89
|
-
- Confirm every edit with the user before writing.
|
|
90
|
-
- If the request changes the change's *intent* rather than refining it, first verify whether the optional `/openspec-new-change` workflow is available. If it is, recommend starting fresh with `/openspec-new-change` (the "Update vs. Start Fresh" heuristic). If it is unavailable, ask for a distinct unused change name and recommend `openspec new change "<new-change-name>"` instead.
|
|
1
|
+
---
|
|
2
|
+
name: openspec-update-change
|
|
3
|
+
description: Update an OpenSpec change by revising its existing planning artifacts and keeping them coherent with one another. Use when the user wants to revise a change's plan, fold new decisions into it, or reconcile its artifacts after an edit. Never edits code.
|
|
4
|
+
allowed-tools: Bash(openspec:*)
|
|
5
|
+
license: MIT
|
|
6
|
+
compatibility: Requires openspec CLI.
|
|
7
|
+
metadata:
|
|
8
|
+
author: openspec
|
|
9
|
+
version: "1.0"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
Revise a change's existing planning artifacts and keep them coherent. Never edit code.
|
|
13
|
+
|
|
14
|
+
**Store selection:** If the user names a store (a store is a standalone OpenSpec repo registered on this machine) or the work lives in one, run `openspec store list --json` to discover registered store ids, then pass `--store <id>` on the commands that read or write specs and changes (`new change`, `status`, `instructions`, `list`, `show`, `validate`, `archive`, `doctor`, `context`, `schemas`, `view`). Once selected, treat `--store <id>` as sticky for the rest of the workflow. Every unscoped example of those commands below is shorthand: before running it, append the flag. For example, run `openspec status --change "<name>" --json --store "<id>"`, not the unscoped form shown below. Other commands do not take the flag. Hints printed by commands already carry the flag; keep it on follow-ups. Without a store, commands act on the nearest local `openspec/` root.
|
|
15
|
+
|
|
16
|
+
**Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
17
|
+
|
|
18
|
+
`/openspec-continue-change` is an optional workflow and may not be installed. Before suggesting it anywhere below, verify that it is available. If it is unavailable, `openspec status --change "<name>" --json` shows the next artifact and `openspec instructions "<artifact-id>" --change "<name>" --json` explains how to create it.
|
|
19
|
+
|
|
20
|
+
**Steps**
|
|
21
|
+
|
|
22
|
+
1. **Select the change**
|
|
23
|
+
|
|
24
|
+
If a name is provided, use it. Otherwise:
|
|
25
|
+
- Infer from conversation context if the user mentioned a change
|
|
26
|
+
- Auto-select if only one active change exists
|
|
27
|
+
- If ambiguous, run `openspec list --json` to get available changes sorted by most recently modified, and ask the user to select one
|
|
28
|
+
|
|
29
|
+
When prompting, present the top 3-4 most recently modified changes as options, showing:
|
|
30
|
+
- Change name
|
|
31
|
+
- Schema (from `schema` field if present, otherwise "spec-driven")
|
|
32
|
+
- Status (e.g., "0/5 tasks", "complete", "no tasks")
|
|
33
|
+
- How recently it was modified (from `lastModified` field)
|
|
34
|
+
|
|
35
|
+
Mark the most recently modified change as "(Recommended)" since it's likely what the user wants to update.
|
|
36
|
+
|
|
37
|
+
Always announce: "Using change: <name>" and how to override (e.g., `/openspec-update-change <other>`).
|
|
38
|
+
|
|
39
|
+
2. **Get the change's artifacts**
|
|
40
|
+
```bash
|
|
41
|
+
openspec status --change "<name>" --json
|
|
42
|
+
```
|
|
43
|
+
Parse the JSON to understand current state. The response includes:
|
|
44
|
+
- `schemaName`: The workflow schema being used (e.g., "spec-driven")
|
|
45
|
+
- `artifacts`: Array of artifacts with their status ("done", "skipped", "ready", "blocked")
|
|
46
|
+
- `isPlanningComplete`: Boolean indicating if all planning artifacts are complete. Older CLI versions expose the same value as `isComplete`.
|
|
47
|
+
- `planningHome`, `changeRoot`, `artifactPaths`, and `actionContext`: path and scope context. Use these instead of assuming repo-local paths.
|
|
48
|
+
|
|
49
|
+
The artifact ids and paths come from the active schema - do NOT assume them, and do NOT branch on hardcoded artifact names. Custom schemas must work unchanged.
|
|
50
|
+
|
|
51
|
+
The files to edit are `artifactPaths.<id>.existingOutputPaths` - the concrete files that exist on disk, already glob-expanded for glob artifacts (e.g. `specs/**/*.md`). Do NOT write to `resolvedOutputPath`: for a glob artifact it is still the glob pattern, not a real file.
|
|
52
|
+
|
|
53
|
+
3. **Understand the request**
|
|
54
|
+
- If the user asked for a specific revision ("the design now uses X"), that is the starting edit.
|
|
55
|
+
- If they only said "update" / "make this coherent", treat it as a coherence review: read the existing artifacts and check them against each other for contradictions, gaps, and duplication.
|
|
56
|
+
|
|
57
|
+
4. **Read and reconcile**
|
|
58
|
+
- Read the artifact(s) the request touches and the change's other existing artifacts.
|
|
59
|
+
- Apply the requested edit. Then check every other existing artifact against it - in ANY direction: an edit to a later artifact may require revising an earlier one, not only the other way around. Build order is a useful reading order, not a constraint on which artifacts may be revised.
|
|
60
|
+
- Note everything that is now inconsistent, missing, or contradictory.
|
|
61
|
+
- Revise only files that already exist (`existingOutputPaths`). Do NOT create artifacts that don't exist yet, and do NOT invent new files under a glob artifact - note them and point the user to `/openspec-continue-change` to create them.
|
|
62
|
+
- If the change is already coherent, say so and make no edits.
|
|
63
|
+
|
|
64
|
+
5. **Confirm and apply, one artifact at a time**
|
|
65
|
+
- Show each proposed revision and why. Write only after the user confirms.
|
|
66
|
+
- If the user rejects a revision, do not write it - leave that artifact unchanged.
|
|
67
|
+
- When a substantial rewrite is needed, get that artifact's rules and template first:
|
|
68
|
+
```bash
|
|
69
|
+
openspec instructions "<artifact-id>" --change "<name>" --json
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
6. **Point to the next step (guidance only - NEVER act on it)**
|
|
73
|
+
- Artifacts still missing -> suggest `/openspec-continue-change` to create them.
|
|
74
|
+
- Change already implemented (tasks checked off / already applied) -> the code may no longer match the revised plan; suggest `/openspec-apply-change` to carry the delta into code.
|
|
75
|
+
- Everything done and implemented -> suggest `/openspec-archive-change`.
|
|
76
|
+
|
|
77
|
+
**Output**
|
|
78
|
+
|
|
79
|
+
After each invocation, show:
|
|
80
|
+
- Which artifacts were revised (and which proposed revisions were rejected)
|
|
81
|
+
- Anything deferred to `/openspec-continue-change` (not-yet-created artifacts or files)
|
|
82
|
+
- Where the change stands and the recommended next command
|
|
83
|
+
|
|
84
|
+
**Guardrails**
|
|
85
|
+
- Planning artifacts only - NEVER edit implementation code. If the revised plan implies code changes, stop and point to `/openspec-apply-change`.
|
|
86
|
+
- Use the artifact ids and paths reported by `openspec status`; never branch on hardcoded artifact names.
|
|
87
|
+
- Edit only the concrete files in `existingOutputPaths`; never write to a glob `resolvedOutputPath`.
|
|
88
|
+
- Do not advance the build frontier: no new artifacts, no new files under glob artifacts - that is `/openspec-continue-change`'s job.
|
|
89
|
+
- Confirm every edit with the user before writing.
|
|
90
|
+
- If the request changes the change's *intent* rather than refining it, first verify whether the optional `/openspec-new-change` workflow is available. If it is, recommend starting fresh with `/openspec-new-change` (the "Update vs. Start Fresh" heuristic). If it is unavailable, ask for a distinct unused change name and recommend `openspec new change "<new-change-name>"` instead.
|
|
@@ -1,174 +1,174 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: openspec-verify-change
|
|
3
|
-
description: Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete, correct, and coherent before archiving.
|
|
4
|
-
allowed-tools: Bash(openspec:*)
|
|
5
|
-
license: MIT
|
|
6
|
-
compatibility: Requires openspec CLI.
|
|
7
|
-
metadata:
|
|
8
|
-
author: openspec
|
|
9
|
-
version: "1.0"
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
Verify that an implementation matches the change artifacts (specs, tasks, design).
|
|
13
|
-
|
|
14
|
-
**Store selection:** If the user names a store (a store is a standalone OpenSpec repo registered on this machine) or the work lives in one, run `openspec store list --json` to discover registered store ids, then pass `--store <id>` on the commands that read or write specs and changes (`new change`, `status`, `instructions`, `list`, `show`, `validate`, `archive`, `doctor`, `context`, `schemas`, `view`). Once selected, treat `--store <id>` as sticky for the rest of the workflow. Every unscoped example of those commands below is shorthand: before running it, append the flag. For example, run `openspec status --change "<name>" --json --store "<id>"`, not the unscoped form shown below. Other commands do not take the flag. Hints printed by commands already carry the flag; keep it on follow-ups. Without a store, commands act on the nearest local `openspec/` root.
|
|
15
|
-
|
|
16
|
-
**Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
17
|
-
|
|
18
|
-
**Steps**
|
|
19
|
-
|
|
20
|
-
1. **Select the change**
|
|
21
|
-
|
|
22
|
-
If a name is provided, use it. Otherwise:
|
|
23
|
-
- Infer from conversation context if the user mentioned a change
|
|
24
|
-
- Auto-select if only one active change exists
|
|
25
|
-
- If ambiguous, run `openspec list --json` to get available changes and ask the user to select one
|
|
26
|
-
|
|
27
|
-
When prompting, show changes that have implementation tasks (tasks artifact exists).
|
|
28
|
-
Include the schema used for each change if available.
|
|
29
|
-
Mark changes with incomplete tasks as "(In Progress)".
|
|
30
|
-
|
|
31
|
-
Always announce: "Using change: <name>" and how to override (e.g., `/openspec-verify-change <other>`).
|
|
32
|
-
|
|
33
|
-
2. **Check status to understand the schema**
|
|
34
|
-
```bash
|
|
35
|
-
openspec status --change "<name>" --json
|
|
36
|
-
```
|
|
37
|
-
Parse the JSON to understand:
|
|
38
|
-
- `schemaName`: The workflow being used (e.g., "spec-driven")
|
|
39
|
-
- `planningHome`, `changeRoot`, `artifactPaths`, and `actionContext`: path and scope context
|
|
40
|
-
- Which artifacts exist for this change
|
|
41
|
-
|
|
42
|
-
3. **Get planning context and load artifacts**
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
openspec instructions apply --change "<name>" --json
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
This returns the change directory and `contextFiles` (artifact ID -> array of concrete file paths). Read all available artifacts from `contextFiles`.
|
|
49
|
-
|
|
50
|
-
4. **Initialize verification report structure**
|
|
51
|
-
|
|
52
|
-
Create a report structure with three dimensions:
|
|
53
|
-
- **Completeness**: Track tasks and spec coverage
|
|
54
|
-
- **Correctness**: Track requirement implementation and scenario coverage
|
|
55
|
-
- **Coherence**: Track design adherence and pattern consistency
|
|
56
|
-
|
|
57
|
-
Each dimension can have CRITICAL, WARNING, or SUGGESTION issues.
|
|
58
|
-
|
|
59
|
-
5. **Verify Completeness**
|
|
60
|
-
|
|
61
|
-
**Task Completion**:
|
|
62
|
-
- If `contextFiles.tasks` exists, read every file path in it
|
|
63
|
-
- Parse checkboxes: `- [ ]` (incomplete) vs `- [x]` (complete)
|
|
64
|
-
- Count complete vs total tasks
|
|
65
|
-
- If incomplete tasks exist:
|
|
66
|
-
- Add CRITICAL issue for each incomplete task
|
|
67
|
-
- Recommendation: "Complete task: <description>" or "Mark as done if already implemented"
|
|
68
|
-
|
|
69
|
-
**Spec Coverage**:
|
|
70
|
-
- If delta specs exist in `contextFiles.specs`:
|
|
71
|
-
- Extract all requirements (marked with "### Requirement:")
|
|
72
|
-
- For each requirement:
|
|
73
|
-
- Search codebase for keywords related to the requirement
|
|
74
|
-
- Assess if implementation likely exists
|
|
75
|
-
- If requirements appear unimplemented:
|
|
76
|
-
- Add CRITICAL issue: "Requirement not found: <requirement name>"
|
|
77
|
-
- Recommendation: "Implement requirement X: <description>"
|
|
78
|
-
|
|
79
|
-
6. **Verify Correctness**
|
|
80
|
-
|
|
81
|
-
**Requirement Implementation Mapping**:
|
|
82
|
-
- For each requirement from delta specs:
|
|
83
|
-
- Search codebase for implementation evidence
|
|
84
|
-
- If found, note file paths and line ranges
|
|
85
|
-
- Assess if implementation matches requirement intent
|
|
86
|
-
- If divergence detected:
|
|
87
|
-
- Add WARNING: "Implementation may diverge from spec: <details>"
|
|
88
|
-
- Recommendation: "Review <file>:<lines> against requirement X"
|
|
89
|
-
|
|
90
|
-
**Scenario Coverage**:
|
|
91
|
-
- For each scenario in delta specs (marked with "#### Scenario:"):
|
|
92
|
-
- Check if conditions are handled in code
|
|
93
|
-
- Check if tests exist covering the scenario
|
|
94
|
-
- If scenario appears uncovered:
|
|
95
|
-
- Add WARNING: "Scenario not covered: <scenario name>"
|
|
96
|
-
- Recommendation: "Add test or implementation for scenario: <description>"
|
|
97
|
-
|
|
98
|
-
7. **Verify Coherence**
|
|
99
|
-
|
|
100
|
-
**Design Adherence**:
|
|
101
|
-
- If `contextFiles.design` exists:
|
|
102
|
-
- Extract key decisions (look for sections like "Decision:", "Approach:", "Architecture:")
|
|
103
|
-
- Verify implementation follows those decisions
|
|
104
|
-
- If contradiction detected:
|
|
105
|
-
- Add WARNING: "Design decision not followed: <decision>"
|
|
106
|
-
- Recommendation: "Update implementation or revise design.md to match reality"
|
|
107
|
-
- If no design.md: Skip design adherence check, note "No design.md to verify against"
|
|
108
|
-
|
|
109
|
-
**Code Pattern Consistency**:
|
|
110
|
-
- Review new code for consistency with project patterns
|
|
111
|
-
- Check file naming, directory structure, coding style
|
|
112
|
-
- If significant deviations found:
|
|
113
|
-
- Add SUGGESTION: "Code pattern deviation: <details>"
|
|
114
|
-
- Recommendation: "Consider following project pattern: <example>"
|
|
115
|
-
|
|
116
|
-
8. **Generate Verification Report**
|
|
117
|
-
|
|
118
|
-
**Summary Scorecard**:
|
|
119
|
-
```markdown
|
|
120
|
-
## Verification Report: <change-name>
|
|
121
|
-
|
|
122
|
-
### Summary
|
|
123
|
-
| Dimension | Status |
|
|
124
|
-
|--------------|------------------|
|
|
125
|
-
| Completeness | X/Y tasks, N reqs|
|
|
126
|
-
| Correctness | M/N reqs covered |
|
|
127
|
-
| Coherence | Followed/Issues |
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
**Issues by Priority**:
|
|
131
|
-
|
|
132
|
-
1. **CRITICAL** (Must fix before archive):
|
|
133
|
-
- Incomplete tasks
|
|
134
|
-
- Missing requirement implementations
|
|
135
|
-
- Each with specific, actionable recommendation
|
|
136
|
-
|
|
137
|
-
2. **WARNING** (Should fix):
|
|
138
|
-
- Spec/design divergences
|
|
139
|
-
- Missing scenario coverage
|
|
140
|
-
- Each with specific recommendation
|
|
141
|
-
|
|
142
|
-
3. **SUGGESTION** (Nice to fix):
|
|
143
|
-
- Pattern inconsistencies
|
|
144
|
-
- Minor improvements
|
|
145
|
-
- Each with specific recommendation
|
|
146
|
-
|
|
147
|
-
**Final Assessment**:
|
|
148
|
-
- If CRITICAL issues: "X critical issue(s) found. Fix before archiving."
|
|
149
|
-
- If only warnings: "No critical issues. Y warning(s) to consider. Ready for archive (with noted improvements)."
|
|
150
|
-
- If all clear: "All checks passed. Ready for archive."
|
|
151
|
-
|
|
152
|
-
**Verification Heuristics**
|
|
153
|
-
|
|
154
|
-
- **Completeness**: Focus on objective checklist items (checkboxes, requirements list)
|
|
155
|
-
- **Correctness**: Use keyword search, file path analysis, reasonable inference - don't require perfect certainty
|
|
156
|
-
- **Coherence**: Look for glaring inconsistencies, don't nitpick style
|
|
157
|
-
- **False Positives**: When uncertain, prefer SUGGESTION over WARNING, WARNING over CRITICAL
|
|
158
|
-
- **Actionability**: Every issue must have a specific recommendation with file/line references where applicable
|
|
159
|
-
|
|
160
|
-
**Graceful Degradation**
|
|
161
|
-
|
|
162
|
-
- If only tasks.md exists: verify task completion only, skip spec/design checks
|
|
163
|
-
- If tasks + specs exist: verify completeness and correctness, skip design
|
|
164
|
-
- If full artifacts: verify all three dimensions
|
|
165
|
-
- Always note which checks were skipped and why
|
|
166
|
-
|
|
167
|
-
**Output Format**
|
|
168
|
-
|
|
169
|
-
Use clear markdown with:
|
|
170
|
-
- Table for summary scorecard
|
|
171
|
-
- Grouped lists for issues (CRITICAL/WARNING/SUGGESTION)
|
|
172
|
-
- Code references in format: `file.ts:123`
|
|
173
|
-
- Specific, actionable recommendations
|
|
174
|
-
- No vague suggestions like "consider reviewing"
|
|
1
|
+
---
|
|
2
|
+
name: openspec-verify-change
|
|
3
|
+
description: Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete, correct, and coherent before archiving.
|
|
4
|
+
allowed-tools: Bash(openspec:*)
|
|
5
|
+
license: MIT
|
|
6
|
+
compatibility: Requires openspec CLI.
|
|
7
|
+
metadata:
|
|
8
|
+
author: openspec
|
|
9
|
+
version: "1.0"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
Verify that an implementation matches the change artifacts (specs, tasks, design).
|
|
13
|
+
|
|
14
|
+
**Store selection:** If the user names a store (a store is a standalone OpenSpec repo registered on this machine) or the work lives in one, run `openspec store list --json` to discover registered store ids, then pass `--store <id>` on the commands that read or write specs and changes (`new change`, `status`, `instructions`, `list`, `show`, `validate`, `archive`, `doctor`, `context`, `schemas`, `view`). Once selected, treat `--store <id>` as sticky for the rest of the workflow. Every unscoped example of those commands below is shorthand: before running it, append the flag. For example, run `openspec status --change "<name>" --json --store "<id>"`, not the unscoped form shown below. Other commands do not take the flag. Hints printed by commands already carry the flag; keep it on follow-ups. Without a store, commands act on the nearest local `openspec/` root.
|
|
15
|
+
|
|
16
|
+
**Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
17
|
+
|
|
18
|
+
**Steps**
|
|
19
|
+
|
|
20
|
+
1. **Select the change**
|
|
21
|
+
|
|
22
|
+
If a name is provided, use it. Otherwise:
|
|
23
|
+
- Infer from conversation context if the user mentioned a change
|
|
24
|
+
- Auto-select if only one active change exists
|
|
25
|
+
- If ambiguous, run `openspec list --json` to get available changes and ask the user to select one
|
|
26
|
+
|
|
27
|
+
When prompting, show changes that have implementation tasks (tasks artifact exists).
|
|
28
|
+
Include the schema used for each change if available.
|
|
29
|
+
Mark changes with incomplete tasks as "(In Progress)".
|
|
30
|
+
|
|
31
|
+
Always announce: "Using change: <name>" and how to override (e.g., `/openspec-verify-change <other>`).
|
|
32
|
+
|
|
33
|
+
2. **Check status to understand the schema**
|
|
34
|
+
```bash
|
|
35
|
+
openspec status --change "<name>" --json
|
|
36
|
+
```
|
|
37
|
+
Parse the JSON to understand:
|
|
38
|
+
- `schemaName`: The workflow being used (e.g., "spec-driven")
|
|
39
|
+
- `planningHome`, `changeRoot`, `artifactPaths`, and `actionContext`: path and scope context
|
|
40
|
+
- Which artifacts exist for this change
|
|
41
|
+
|
|
42
|
+
3. **Get planning context and load artifacts**
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
openspec instructions apply --change "<name>" --json
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
This returns the change directory and `contextFiles` (artifact ID -> array of concrete file paths). Read all available artifacts from `contextFiles`.
|
|
49
|
+
|
|
50
|
+
4. **Initialize verification report structure**
|
|
51
|
+
|
|
52
|
+
Create a report structure with three dimensions:
|
|
53
|
+
- **Completeness**: Track tasks and spec coverage
|
|
54
|
+
- **Correctness**: Track requirement implementation and scenario coverage
|
|
55
|
+
- **Coherence**: Track design adherence and pattern consistency
|
|
56
|
+
|
|
57
|
+
Each dimension can have CRITICAL, WARNING, or SUGGESTION issues.
|
|
58
|
+
|
|
59
|
+
5. **Verify Completeness**
|
|
60
|
+
|
|
61
|
+
**Task Completion**:
|
|
62
|
+
- If `contextFiles.tasks` exists, read every file path in it
|
|
63
|
+
- Parse checkboxes: `- [ ]` (incomplete) vs `- [x]` (complete)
|
|
64
|
+
- Count complete vs total tasks
|
|
65
|
+
- If incomplete tasks exist:
|
|
66
|
+
- Add CRITICAL issue for each incomplete task
|
|
67
|
+
- Recommendation: "Complete task: <description>" or "Mark as done if already implemented"
|
|
68
|
+
|
|
69
|
+
**Spec Coverage**:
|
|
70
|
+
- If delta specs exist in `contextFiles.specs`:
|
|
71
|
+
- Extract all requirements (marked with "### Requirement:")
|
|
72
|
+
- For each requirement:
|
|
73
|
+
- Search codebase for keywords related to the requirement
|
|
74
|
+
- Assess if implementation likely exists
|
|
75
|
+
- If requirements appear unimplemented:
|
|
76
|
+
- Add CRITICAL issue: "Requirement not found: <requirement name>"
|
|
77
|
+
- Recommendation: "Implement requirement X: <description>"
|
|
78
|
+
|
|
79
|
+
6. **Verify Correctness**
|
|
80
|
+
|
|
81
|
+
**Requirement Implementation Mapping**:
|
|
82
|
+
- For each requirement from delta specs:
|
|
83
|
+
- Search codebase for implementation evidence
|
|
84
|
+
- If found, note file paths and line ranges
|
|
85
|
+
- Assess if implementation matches requirement intent
|
|
86
|
+
- If divergence detected:
|
|
87
|
+
- Add WARNING: "Implementation may diverge from spec: <details>"
|
|
88
|
+
- Recommendation: "Review <file>:<lines> against requirement X"
|
|
89
|
+
|
|
90
|
+
**Scenario Coverage**:
|
|
91
|
+
- For each scenario in delta specs (marked with "#### Scenario:"):
|
|
92
|
+
- Check if conditions are handled in code
|
|
93
|
+
- Check if tests exist covering the scenario
|
|
94
|
+
- If scenario appears uncovered:
|
|
95
|
+
- Add WARNING: "Scenario not covered: <scenario name>"
|
|
96
|
+
- Recommendation: "Add test or implementation for scenario: <description>"
|
|
97
|
+
|
|
98
|
+
7. **Verify Coherence**
|
|
99
|
+
|
|
100
|
+
**Design Adherence**:
|
|
101
|
+
- If `contextFiles.design` exists:
|
|
102
|
+
- Extract key decisions (look for sections like "Decision:", "Approach:", "Architecture:")
|
|
103
|
+
- Verify implementation follows those decisions
|
|
104
|
+
- If contradiction detected:
|
|
105
|
+
- Add WARNING: "Design decision not followed: <decision>"
|
|
106
|
+
- Recommendation: "Update implementation or revise design.md to match reality"
|
|
107
|
+
- If no design.md: Skip design adherence check, note "No design.md to verify against"
|
|
108
|
+
|
|
109
|
+
**Code Pattern Consistency**:
|
|
110
|
+
- Review new code for consistency with project patterns
|
|
111
|
+
- Check file naming, directory structure, coding style
|
|
112
|
+
- If significant deviations found:
|
|
113
|
+
- Add SUGGESTION: "Code pattern deviation: <details>"
|
|
114
|
+
- Recommendation: "Consider following project pattern: <example>"
|
|
115
|
+
|
|
116
|
+
8. **Generate Verification Report**
|
|
117
|
+
|
|
118
|
+
**Summary Scorecard**:
|
|
119
|
+
```markdown
|
|
120
|
+
## Verification Report: <change-name>
|
|
121
|
+
|
|
122
|
+
### Summary
|
|
123
|
+
| Dimension | Status |
|
|
124
|
+
|--------------|------------------|
|
|
125
|
+
| Completeness | X/Y tasks, N reqs|
|
|
126
|
+
| Correctness | M/N reqs covered |
|
|
127
|
+
| Coherence | Followed/Issues |
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**Issues by Priority**:
|
|
131
|
+
|
|
132
|
+
1. **CRITICAL** (Must fix before archive):
|
|
133
|
+
- Incomplete tasks
|
|
134
|
+
- Missing requirement implementations
|
|
135
|
+
- Each with specific, actionable recommendation
|
|
136
|
+
|
|
137
|
+
2. **WARNING** (Should fix):
|
|
138
|
+
- Spec/design divergences
|
|
139
|
+
- Missing scenario coverage
|
|
140
|
+
- Each with specific recommendation
|
|
141
|
+
|
|
142
|
+
3. **SUGGESTION** (Nice to fix):
|
|
143
|
+
- Pattern inconsistencies
|
|
144
|
+
- Minor improvements
|
|
145
|
+
- Each with specific recommendation
|
|
146
|
+
|
|
147
|
+
**Final Assessment**:
|
|
148
|
+
- If CRITICAL issues: "X critical issue(s) found. Fix before archiving."
|
|
149
|
+
- If only warnings: "No critical issues. Y warning(s) to consider. Ready for archive (with noted improvements)."
|
|
150
|
+
- If all clear: "All checks passed. Ready for archive."
|
|
151
|
+
|
|
152
|
+
**Verification Heuristics**
|
|
153
|
+
|
|
154
|
+
- **Completeness**: Focus on objective checklist items (checkboxes, requirements list)
|
|
155
|
+
- **Correctness**: Use keyword search, file path analysis, reasonable inference - don't require perfect certainty
|
|
156
|
+
- **Coherence**: Look for glaring inconsistencies, don't nitpick style
|
|
157
|
+
- **False Positives**: When uncertain, prefer SUGGESTION over WARNING, WARNING over CRITICAL
|
|
158
|
+
- **Actionability**: Every issue must have a specific recommendation with file/line references where applicable
|
|
159
|
+
|
|
160
|
+
**Graceful Degradation**
|
|
161
|
+
|
|
162
|
+
- If only tasks.md exists: verify task completion only, skip spec/design checks
|
|
163
|
+
- If tasks + specs exist: verify completeness and correctness, skip design
|
|
164
|
+
- If full artifacts: verify all three dimensions
|
|
165
|
+
- Always note which checks were skipped and why
|
|
166
|
+
|
|
167
|
+
**Output Format**
|
|
168
|
+
|
|
169
|
+
Use clear markdown with:
|
|
170
|
+
- Table for summary scorecard
|
|
171
|
+
- Grouped lists for issues (CRITICAL/WARNING/SUGGESTION)
|
|
172
|
+
- Code references in format: `file.ts:123`
|
|
173
|
+
- Specific, actionable recommendations
|
|
174
|
+
- No vague suggestions like "consider reviewing"
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jspg-ai/coding-bb",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2-beta.22",
|
|
4
4
|
"description": "整合业界热门且高价值的工具、框架与技能,为 AI CODING AGENT 提供统一的行为准则与工作流,辅助开发者将需求高效落地为符合规范的代码",
|
|
5
5
|
"main": "cbb/lib/install/init.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"cbb": "cbb/
|
|
7
|
+
"cbb": "cbb/bin/cbb.js",
|
|
8
|
+
"cbbm": "cbb/bin/cbbm.js"
|
|
8
9
|
},
|
|
9
10
|
"files": [
|
|
10
11
|
"cbb/",
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
"scripts": {
|
|
19
20
|
"sync:shared": "node scripts/sync-shared.js",
|
|
20
21
|
"pretest": "node scripts/sync-shared.js --check",
|
|
21
|
-
"test": "node test/lib/install/cleanup.test.js && node test/lib/utils/settings.test.js && node test/lib/utils/gitignore.test.js && node test/lib/utils/version.test.js && node test/lib/install/workspaces.test.js && node test/lib/utils/checkbox.test.js && node test/lib/install/cli-help.test.js && node test/lib/wiki/wiki-publish.test.js && node test/lib/wiki/wiki-parse-args.test.js && node test/lib/wiki/wiki-split.test.js && node test/lib/superpowers/superpowers.test.js && node test/worktrees/push-branches.test.js && node test/worktrees/commit-worktrees.test.js && node test/worktrees/push-worktrees.test.js && node test/worktrees/install-ai.test.js && node test/worktrees/
|
|
22
|
+
"test": "node test/lib/install/cleanup.test.js && node test/lib/utils/settings.test.js && node test/lib/utils/gitignore.test.js && node test/lib/utils/version.test.js && node test/lib/install/workspaces.test.js && node test/lib/utils/checkbox.test.js && node test/lib/utils/output.test.js && node test/lib/install/cli-help.test.js && node test/lib/wiki/wiki-publish.test.js && node test/lib/wiki/wiki-parse-args.test.js && node test/lib/wiki/wiki-split.test.js && node test/lib/superpowers/superpowers.test.js && node test/worktrees/push-branches.test.js && node test/worktrees/commit-worktrees.test.js && node test/worktrees/push-worktrees.test.js && node test/worktrees/install-ai.test.js && node test/worktrees/check-env-deep.test.js && node test/lib/openspec/openspec-render.test.js"
|
|
22
23
|
},
|
|
23
24
|
"keywords": [
|
|
24
25
|
"cbb",
|
package/superpowers/.version
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"sha": "b36e0829c6d0140e93cfef2ca599b1b07d4a7797",
|
|
3
|
-
"branch": "main",
|
|
4
|
-
"repo": "obra/superpowers",
|
|
5
|
-
"updatedAt": "2026-09-12T00:00:00.000Z"
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"sha": "b36e0829c6d0140e93cfef2ca599b1b07d4a7797",
|
|
3
|
+
"branch": "main",
|
|
4
|
+
"repo": "obra/superpowers",
|
|
5
|
+
"updatedAt": "2026-09-12T00:00:00.000Z"
|
|
6
|
+
}
|