ccqa 1.12.0 → 1.14.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 +25 -25
- package/dist/bin/ccqa.mjs +390 -358
- package/dist/hub-client/index.d.mts +4 -4
- 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<{
|
|
@@ -297,7 +297,7 @@ type DriftLedgerResponse = z.infer<typeof DriftLedgerResponseSchema>;
|
|
|
297
297
|
*
|
|
298
298
|
* Two kinds share one namespace:
|
|
299
299
|
* - "guidance": the record/live prompt bundle — `.user.md` (human-maintained)
|
|
300
|
-
* and `.agent.md` (auto-rewritten by `ccqa run --
|
|
300
|
+
* and `.agent.md` (auto-rewritten by `ccqa run --learn-hub-live-prompt`) —
|
|
301
301
|
* plus `triage.user`, the human-maintained guidance injected into the
|
|
302
302
|
* failure-analysis (triage) prompt.
|
|
303
303
|
* - "custom-prompt": `analysis-custom-prompt` — Claude-written calibration guidance
|
|
@@ -820,7 +820,7 @@ interface HubClient {
|
|
|
820
820
|
}): Promise<Record<string, LastGreenEntry>>;
|
|
821
821
|
/**
|
|
822
822
|
* Per spec of one project/profile: is its last result still trustworthy?
|
|
823
|
-
* Answers `ccqa run --
|
|
823
|
+
* Answers `ccqa run --only-hub-stale`. 404 when the project has no
|
|
824
824
|
* perspectives document — there is then no spec registered to compare
|
|
825
825
|
* against a deploy, which the caller must report rather than read as
|
|
826
826
|
* "nothing to run".
|
|
@@ -829,7 +829,7 @@ interface HubClient {
|
|
|
829
829
|
profile: string;
|
|
830
830
|
}): Promise<RerunReport>;
|
|
831
831
|
/**
|
|
832
|
-
* Every spec's last `ccqa
|
|
832
|
+
* Every spec's last `ccqa audit --report-to-hub` result, keyed by "feature/spec". No
|
|
833
833
|
* profile — drift asks whether a spec still describes the code, not
|
|
834
834
|
* whether an environment is stale.
|
|
835
835
|
*/
|
package/dist/package.json
CHANGED