ccqa 1.13.0 → 1.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 +117 -234
- package/dist/bin/ccqa.mjs +185 -189
- package/dist/hub-client/index.d.mts +8 -3
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -151,7 +151,7 @@ type PutActualCauseRequest = z.infer<typeof PutActualCauseRequestSchema>;
|
|
|
151
151
|
* updates the ledger whenever a `kind: "run"` run reaches a terminal state:
|
|
152
152
|
* every spec that passed gets its entry advanced to that run's `gitHead`
|
|
153
153
|
* (newest `at` wins, so out-of-order finalizes can't move a baseline
|
|
154
|
-
* backwards). `ccqa run --
|
|
154
|
+
* backwards). `ccqa run --on-fail-explain` reads it to diff each
|
|
155
155
|
* failing spec against the commit where that spec was last green.
|
|
156
156
|
*/
|
|
157
157
|
declare const LastGreenEntrySchema: z.ZodObject<{
|
|
@@ -187,6 +187,7 @@ declare const RerunReportSchema: z.ZodObject<{
|
|
|
187
187
|
unknown: "unknown";
|
|
188
188
|
needed: "needed";
|
|
189
189
|
notNeeded: "notNeeded";
|
|
190
|
+
blocked: "blocked";
|
|
190
191
|
neverRun: "neverRun";
|
|
191
192
|
notEvaluated: "notEvaluated";
|
|
192
193
|
}>;
|
|
@@ -199,6 +200,10 @@ declare const RerunReportSchema: z.ZodObject<{
|
|
|
199
200
|
deployedShaNotInLog: "deployedShaNotInLog";
|
|
200
201
|
gapInRange: "gapInRange";
|
|
201
202
|
}>>;
|
|
203
|
+
blockedReason: z.ZodOptional<z.ZodEnum<{
|
|
204
|
+
testDrift: "testDrift";
|
|
205
|
+
specChange: "specChange";
|
|
206
|
+
}>>;
|
|
202
207
|
lastRun: z.ZodNullable<z.ZodObject<{
|
|
203
208
|
gitHead: z.ZodString;
|
|
204
209
|
runId: z.ZodString;
|
|
@@ -297,7 +302,7 @@ type DriftLedgerResponse = z.infer<typeof DriftLedgerResponseSchema>;
|
|
|
297
302
|
*
|
|
298
303
|
* Two kinds share one namespace:
|
|
299
304
|
* - "guidance": the record/live prompt bundle — `.user.md` (human-maintained)
|
|
300
|
-
* and `.agent.md` (auto-rewritten by `ccqa run --
|
|
305
|
+
* and `.agent.md` (auto-rewritten by `ccqa run --learn-hub-live-prompt`) —
|
|
301
306
|
* plus `triage.user`, the human-maintained guidance injected into the
|
|
302
307
|
* failure-analysis (triage) prompt.
|
|
303
308
|
* - "custom-prompt": `analysis-custom-prompt` — Claude-written calibration guidance
|
|
@@ -820,7 +825,7 @@ interface HubClient {
|
|
|
820
825
|
}): Promise<Record<string, LastGreenEntry>>;
|
|
821
826
|
/**
|
|
822
827
|
* Per spec of one project/profile: is its last result still trustworthy?
|
|
823
|
-
* Answers `ccqa run --
|
|
828
|
+
* Answers `ccqa run --only-hub-rerun-needed`. 404 when the project has no
|
|
824
829
|
* perspectives document — there is then no spec registered to compare
|
|
825
830
|
* against a deploy, which the caller must report rather than read as
|
|
826
831
|
* "nothing to run".
|
package/dist/package.json
CHANGED