create-cmp-cli 0.14.0 → 0.15.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 +51 -353
- package/bin/create-cmp.mjs +19 -3
- package/llms.txt +3 -3
- package/options.schema.json +4 -0
- package/package.json +2 -2
- package/packages/harness/package.json +11 -3
- package/packages/harness/src/lib/harness-lock.mjs +2 -2
- package/packages/harness/src/lib/inputs-hash.mjs +1 -1
- package/packages/harness/src/lib/receipt-validate.mjs +1 -1
- package/packages/harness/src/receipt-check.mjs +1 -1
- package/packages/harness/src/verify.mjs +15 -1
- package/packages/receipts/package.json +11 -3
- package/packages/receipts/src/index.mjs +1 -1
- package/packages/receipts/src/inputs-hash.mjs +1 -1
- package/packages/receipts/src/receipt-validate.mjs +1 -1
- package/src/commands/attach.mjs +250 -0
- package/src/commands/create.mjs +13 -2
- package/src/commands/harden.mjs +263 -0
- package/src/commands/upgrade.mjs +20 -2
- package/src/lib/adr-seed.mjs +27 -0
- package/src/lib/harness-upgrade.mjs +40 -5
- package/src/lib/hooks.mjs +140 -0
- package/src/lib/minimal.mjs +130 -0
- package/src/lib/toggle.mjs +4 -1
- package/src/lib/verify.mjs +6 -1
- package/src/scaffold.mjs +18 -1
- package/template/.github/workflows/verify.yml +15 -0
- package/template/AGENTS.md +57 -8
- package/template/CLAUDE.md +49 -0
- package/template/CONTRIBUTING.md +13 -0
- package/template/README.md +33 -0
- package/template/docs/ARCHITECTURE.md +18 -1
- package/template/docs/TESTING.md +10 -0
- package/template/manifest.json +13 -0
- package/template/qa/lib/harness-lock.mjs +2 -2
- package/template/qa/lib/inputs-hash.mjs +1 -1
- package/template/qa/lib/receipt-validate.mjs +1 -1
- package/template/qa/receipt-check.mjs +1 -1
- package/template/qa/verify.mjs +15 -1
package/template/qa/verify.mjs
CHANGED
|
@@ -93,6 +93,14 @@ Flags:
|
|
|
93
93
|
with --profile ci (or release) it runs
|
|
94
94
|
inside the lane and lands on the receipt.
|
|
95
95
|
Never combinable with --fast
|
|
96
|
+
--no-journal skip the qa/flight-recorder.jsonl append.
|
|
97
|
+
qa/watch.mjs passes this on every
|
|
98
|
+
save-triggered run: journalling each save
|
|
99
|
+
would add hundreds of committed lines a day
|
|
100
|
+
and leave a permanently dirty tree inside
|
|
101
|
+
the loop the recorder exists to observe. The
|
|
102
|
+
gap is disclosed in the retrospective's own
|
|
103
|
+
output
|
|
96
104
|
--json print the receipt as JSON instead of the
|
|
97
105
|
human-readable step-by-step log
|
|
98
106
|
--help, -h print this usage and exit 0 without
|
|
@@ -116,7 +124,13 @@ if (rawArgs.includes("--help") || rawArgs.includes("-h")) {
|
|
|
116
124
|
process.exit(0);
|
|
117
125
|
}
|
|
118
126
|
|
|
119
|
-
|
|
127
|
+
// Every flag this file CONSUMES must be listed here, or the strict check below
|
|
128
|
+
// rejects it. `--no-journal` was consumed but unlisted in 0.13.0, which meant
|
|
129
|
+
// qa/watch.mjs — whose spawn passes exactly these flags — exited 2 on every
|
|
130
|
+
// save without ever running the lane. test/verify-flags.test.mjs now pins
|
|
131
|
+
// consumed ⊆ recognized and watch's spawn ⊆ recognized so the class cannot
|
|
132
|
+
// recur.
|
|
133
|
+
const RECOGNIZED_FLAGS = new Set(["--profile", "--json", "--fast", "--determinism", "--no-journal"]);
|
|
120
134
|
for (let i = 0; i < rawArgs.length; i += 1) {
|
|
121
135
|
const arg = rawArgs[i];
|
|
122
136
|
if (arg === "--profile") {
|