substrate-ai 0.21.15 → 0.21.17
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/dist/{acceptance-judge-D5Iba2D_.js → acceptance-judge-BStwKVzD.js} +1 -1
- package/dist/{acceptance-judge-lAv5EvYA.js → acceptance-judge-COyOxhQ2.js} +25 -3
- package/dist/cli/index.js +431 -162
- package/dist/{health-CvsH53bv.js → health-C1m6-7WH.js} +2 -2
- package/dist/{health-kr5GC1SN.js → health-CI8pIygU.js} +2 -2
- package/dist/index.d.ts +32 -1
- package/dist/{interactive-prompt-B5KE69I6.js → interactive-prompt-BWdH9Lb9.js} +2 -2
- package/dist/{manifest-read-CcK_LIaI.js → manifest-read-3cF8yP3_.js} +79 -3
- package/dist/modules/interactive-prompt/index.js +2 -2
- package/dist/{run-DR_D61vF.js → run-AKetuV82.js} +82 -5
- package/dist/{run-UilZoIOh.js → run-CvP_sgQ4.js} +5 -5
- package/package.json +1 -1
- package/packs/bmad/manifest.yaml +3 -0
- package/packs/bmad/prompts/acceptance-completeness.md +52 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./logger-KeHncl-f.js";
|
|
2
|
-
import { runAcceptanceJudge, validateEvidenceGrounding, validateVerdictCoverage } from "./acceptance-judge-
|
|
2
|
+
import { runAcceptanceJudge, validateEvidenceGrounding, validateVerdictCoverage } from "./acceptance-judge-COyOxhQ2.js";
|
|
3
3
|
|
|
4
4
|
export { runAcceptanceJudge };
|
|
@@ -478,6 +478,27 @@ const AcceptanceDeriveResultSchema = z.object({
|
|
|
478
478
|
journeys: z.array(AcceptanceDeriveJourneySchema).default([]),
|
|
479
479
|
error: z.string().optional()
|
|
480
480
|
});
|
|
481
|
+
/**
|
|
482
|
+
* One journey-shaped claim the completeness checker found in the PRD, mapped
|
|
483
|
+
* to its registry disposition. `prd_span` is MANDATORY for every claim (the
|
|
484
|
+
* evidence rule): a disposition that cannot cite the document language it was
|
|
485
|
+
* read from is schema-invalid.
|
|
486
|
+
*/
|
|
487
|
+
const AcceptanceCompletenessClaimSchema = z.object({
|
|
488
|
+
description: z.string().min(1),
|
|
489
|
+
disposition: z.preprocess((val) => typeof val === "string" ? val.toLowerCase() : val, z.enum([
|
|
490
|
+
"registered",
|
|
491
|
+
"excluded",
|
|
492
|
+
"undispositioned"
|
|
493
|
+
])),
|
|
494
|
+
registry_ref: z.string().optional(),
|
|
495
|
+
prd_span: z.string().min(1)
|
|
496
|
+
});
|
|
497
|
+
const AcceptanceCompletenessResultSchema = z.object({
|
|
498
|
+
result: z.preprocess((val) => val === "failure" ? "failed" : val, z.enum(["success", "failed"])),
|
|
499
|
+
claims: z.array(AcceptanceCompletenessClaimSchema).default([]),
|
|
500
|
+
error: z.string().optional()
|
|
501
|
+
});
|
|
481
502
|
|
|
482
503
|
//#endregion
|
|
483
504
|
//#region src/modules/compiled-workflows/token-ceiling.ts
|
|
@@ -493,7 +514,8 @@ const TOKEN_CEILING_DEFAULTS = {
|
|
|
493
514
|
"test-expansion": 2e5,
|
|
494
515
|
"probe-author": 5e4,
|
|
495
516
|
"acceptance-judge": 1e5,
|
|
496
|
-
"acceptance-derive": 2e5
|
|
517
|
+
"acceptance-derive": 2e5,
|
|
518
|
+
"acceptance-completeness": 2e5
|
|
497
519
|
};
|
|
498
520
|
/**
|
|
499
521
|
* Resolve the effective token ceiling for a workflow type.
|
|
@@ -735,5 +757,5 @@ async function runAcceptanceJudge(deps, params) {
|
|
|
735
757
|
}
|
|
736
758
|
|
|
737
759
|
//#endregion
|
|
738
|
-
export { AcceptanceDeriveResultSchema, CodeReviewResultSchema, CreateStoryResultSchema, DevStoryResultSchema, ProbeAuthorResultSchema, TestExpansionResultSchema, TestPlanResultSchema, assemblePrompt, countTokens, getTokenCeiling, runAcceptanceJudge, truncateToTokens, validateEvidenceGrounding, validateVerdictCoverage };
|
|
739
|
-
//# sourceMappingURL=acceptance-judge-
|
|
760
|
+
export { AcceptanceCompletenessResultSchema, AcceptanceDeriveResultSchema, CodeReviewResultSchema, CreateStoryResultSchema, DevStoryResultSchema, ProbeAuthorResultSchema, TestExpansionResultSchema, TestPlanResultSchema, assemblePrompt, countTokens, getTokenCeiling, runAcceptanceJudge, truncateToTokens, validateEvidenceGrounding, validateVerdictCoverage };
|
|
761
|
+
//# sourceMappingURL=acceptance-judge-COyOxhQ2.js.map
|