@devtrack-solution/codesdd 1.2.3 → 1.2.4
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/.sdd/skills/curated/devtrack-api/SKILL.md +98 -12
- package/.sdd/skills/curated/devtrack-api/agents/claude-code.yaml +10 -0
- package/.sdd/skills/curated/devtrack-api/agents/codex.yaml +10 -0
- package/.sdd/skills/curated/devtrack-api/agents/cursor.yaml +10 -0
- package/.sdd/skills/curated/devtrack-api/agents/gemini.yaml +10 -0
- package/.sdd/skills/curated/devtrack-api/agents/kimi.yaml +10 -0
- package/.sdd/skills/curated/devtrack-api/agents/openai.yaml +5 -3
- package/.sdd/skills/curated/devtrack-api/agents/opencode.yaml +12 -0
- package/.sdd/skills/curated/devtrack-api/references/application-presentation.md +61 -5
- package/.sdd/skills/curated/devtrack-api/references/consumer-sync-policy.md +15 -3
- package/.sdd/skills/curated/devtrack-api/references/contract-pack.yaml +1951 -0
- package/.sdd/skills/curated/devtrack-api/references/domain-modeling.md +16 -14
- package/.sdd/skills/curated/devtrack-api/references/field-validation-protocol.md +40 -0
- package/.sdd/skills/curated/devtrack-api/references/foundation-layout.md +19 -2
- package/.sdd/skills/curated/devtrack-api/references/generated-artifact-invalidation.md +97 -0
- package/.sdd/skills/curated/devtrack-api/references/implementation-checklist.md +30 -1
- package/.sdd/skills/curated/devtrack-api/references/portable-agent-contract.md +42 -0
- package/.sdd/skills/curated/devtrack-api/references/testing-validation.md +22 -1
- package/.sdd/skills/curated/devtrack-api/references/typeorm-infrastructure.md +9 -7
- package/README.md +280 -29
- package/dist/applications/sdd/index.d.ts +16 -0
- package/dist/applications/sdd/index.js +16 -0
- package/dist/cli/program.js +180 -11
- package/dist/commands/config.js +197 -10
- package/dist/commands/sdd/execution.js +408 -16
- package/dist/commands/sdd/plugin.js +5 -0
- package/dist/commands/sdd/shared.d.ts +1 -0
- package/dist/commands/sdd/shared.js +10 -0
- package/dist/commands/sdd.js +157 -7
- package/dist/core/cli/command-matrix.d.ts +18 -0
- package/dist/core/cli/command-matrix.js +157 -0
- package/dist/core/cli-command-quality.js +11 -0
- package/dist/core/completions/command-registry.js +45 -0
- package/dist/core/config-schema.d.ts +31 -1
- package/dist/core/config-schema.js +79 -5
- package/dist/core/config.d.ts +1 -0
- package/dist/core/config.js +11 -0
- package/dist/core/global-config.d.ts +29 -0
- package/dist/core/init.d.ts +2 -2
- package/dist/core/init.js +13 -14
- package/dist/core/sdd/agent-binding.d.ts +19 -19
- package/dist/core/sdd/agent-runtime-contract.d.ts +204 -0
- package/dist/core/sdd/agent-runtime-contract.js +200 -0
- package/dist/core/sdd/allocator-recovery.d.ts +14 -0
- package/dist/core/sdd/allocator-recovery.js +30 -0
- package/dist/core/sdd/allocator-security.d.ts +18 -0
- package/dist/core/sdd/allocator-security.js +36 -0
- package/dist/core/sdd/api-foundation-baseline.d.ts +111 -0
- package/dist/core/sdd/api-foundation-baseline.js +151 -0
- package/dist/core/sdd/api-foundation-parity.d.ts +114 -0
- package/dist/core/sdd/api-foundation-parity.js +131 -0
- package/dist/core/sdd/api-profile-catalog.d.ts +36 -0
- package/dist/core/sdd/api-profile-catalog.js +132 -0
- package/dist/core/sdd/api-profile-dry-run-projection.d.ts +93 -0
- package/dist/core/sdd/api-profile-dry-run-projection.js +370 -0
- package/dist/core/sdd/api-profile-recipes.d.ts +82 -0
- package/dist/core/sdd/api-profile-recipes.js +484 -0
- package/dist/core/sdd/artifact-id-allocator.d.ts +368 -0
- package/dist/core/sdd/artifact-id-allocator.js +510 -0
- package/dist/core/sdd/check.d.ts +52 -1
- package/dist/core/sdd/check.js +326 -11
- package/dist/core/sdd/coordination/coordination-adapters.d.ts +15 -8
- package/dist/core/sdd/coordination/coordination-adapters.js +43 -15
- package/dist/core/sdd/coordination/index.d.ts +1 -0
- package/dist/core/sdd/coordination/index.js +1 -0
- package/dist/core/sdd/coordination/redis-runtime.d.ts +131 -0
- package/dist/core/sdd/coordination/redis-runtime.js +698 -0
- package/dist/core/sdd/deepagent-contracts.d.ts +99 -5
- package/dist/core/sdd/deepagent-contracts.js +62 -0
- package/dist/core/sdd/deepagents/reversa-subagents.d.ts +3 -3
- package/dist/core/sdd/default-bootstrap-files.d.ts +2 -2
- package/dist/core/sdd/default-bootstrap-files.js +14 -10
- package/dist/core/sdd/default-skills.js +115 -9
- package/dist/core/sdd/devtrack-api-appliance.d.ts +42 -1
- package/dist/core/sdd/devtrack-api-appliance.js +159 -32
- package/dist/core/sdd/devtrack-api-architecture.d.ts +16 -0
- package/dist/core/sdd/devtrack-api-architecture.js +86 -0
- package/dist/core/sdd/docs-sync.js +24 -18
- package/dist/core/sdd/domain/capability-diff.d.ts +63 -0
- package/dist/core/sdd/domain/capability-diff.js +200 -0
- package/dist/core/sdd/domain/change-safety-guardrails.d.ts +74 -0
- package/dist/core/sdd/domain/change-safety-guardrails.js +333 -0
- package/dist/core/sdd/domain/semantic-intent-classifier.d.ts +29 -0
- package/dist/core/sdd/domain/semantic-intent-classifier.js +117 -0
- package/dist/core/sdd/enterprise-mutating-command-gate.d.ts +27 -0
- package/dist/core/sdd/enterprise-mutating-command-gate.js +104 -0
- package/dist/core/sdd/enterprise-provenance-gates.d.ts +20 -0
- package/dist/core/sdd/enterprise-provenance-gates.js +63 -0
- package/dist/core/sdd/enterprise-provisioning-policy.d.ts +26 -0
- package/dist/core/sdd/enterprise-provisioning-policy.js +104 -0
- package/dist/core/sdd/foundation-artifact-map-validator.d.ts +16 -0
- package/dist/core/sdd/foundation-artifact-map-validator.js +71 -0
- package/dist/core/sdd/foundation-layer-manifest.d.ts +24 -0
- package/dist/core/sdd/foundation-layer-manifest.js +117 -0
- package/dist/core/sdd/governance-schemas.d.ts +2 -2
- package/dist/core/sdd/governance-schemas.js +11 -2
- package/dist/core/sdd/intent-guard.d.ts +22 -0
- package/dist/core/sdd/intent-guard.js +67 -0
- package/dist/core/sdd/json-schema.js +13 -1
- package/dist/core/sdd/legacy-operations.js +169 -5
- package/dist/core/sdd/migrate-workspace.js +39 -0
- package/dist/core/sdd/package-security-gates.d.ts +21 -0
- package/dist/core/sdd/package-security-gates.js +121 -0
- package/dist/core/sdd/package-structure-gate.d.ts +85 -3
- package/dist/core/sdd/package-structure-gate.js +384 -11
- package/dist/core/sdd/parallel-feat-automation.d.ts +185 -7
- package/dist/core/sdd/parallel-feat-automation.js +212 -0
- package/dist/core/sdd/plugin-broker.d.ts +223 -4
- package/dist/core/sdd/plugin-broker.js +10 -0
- package/dist/core/sdd/plugin-cli.d.ts +30 -0
- package/dist/core/sdd/plugin-cli.js +70 -3
- package/dist/core/sdd/plugin-evidence.d.ts +73 -0
- package/dist/core/sdd/plugin-manifest.d.ts +69 -1
- package/dist/core/sdd/plugin-manifest.js +10 -0
- package/dist/core/sdd/plugin-policy-pack.d.ts +1 -1
- package/dist/core/sdd/plugin-policy.js +6 -1
- package/dist/core/sdd/plugin-registry.d.ts +138 -2
- package/dist/core/sdd/plugin-sdk-contract.d.ts +363 -0
- package/dist/core/sdd/plugin-sdk-contract.js +268 -0
- package/dist/core/sdd/plugin-skill-binding.d.ts +1 -1
- package/dist/core/sdd/quality-validation.d.ts +89 -16
- package/dist/core/sdd/release-readiness.d.ts +68 -0
- package/dist/core/sdd/release-readiness.js +767 -0
- package/dist/core/sdd/reversa-architecture-extractor.d.ts +13 -0
- package/dist/core/sdd/reversa-architecture-extractor.js +89 -0
- package/dist/core/sdd/reversa-artifact-writer.d.ts +18 -0
- package/dist/core/sdd/reversa-artifact-writer.js +40 -0
- package/dist/core/sdd/reversa-command-policy.d.ts +136 -0
- package/dist/core/sdd/reversa-command-policy.js +361 -0
- package/dist/core/sdd/reversa-data-extractor.d.ts +11 -0
- package/dist/core/sdd/reversa-data-extractor.js +73 -0
- package/dist/core/sdd/reversa-equivalence.d.ts +20 -0
- package/dist/core/sdd/reversa-equivalence.js +34 -0
- package/dist/core/sdd/reversa-evidence.d.ts +298 -0
- package/dist/core/sdd/reversa-evidence.js +118 -0
- package/dist/core/sdd/reversa-reconstruction.d.ts +29 -0
- package/dist/core/sdd/reversa-reconstruction.js +32 -0
- package/dist/core/sdd/reversa-rules-extractor.d.ts +12 -0
- package/dist/core/sdd/reversa-rules-extractor.js +86 -0
- package/dist/core/sdd/reversa-source-safety.d.ts +19 -0
- package/dist/core/sdd/reversa-source-safety.js +105 -0
- package/dist/core/sdd/reversa-surface-scout.d.ts +13 -0
- package/dist/core/sdd/reversa-surface-scout.js +85 -0
- package/dist/core/sdd/reversa-ux-mapper.d.ts +11 -0
- package/dist/core/sdd/reversa-ux-mapper.js +73 -0
- package/dist/core/sdd/runtime-boundary-contract.d.ts +45 -0
- package/dist/core/sdd/runtime-boundary-contract.js +90 -0
- package/dist/core/sdd/sdk-agent-plugin-quality-gates.d.ts +150 -0
- package/dist/core/sdd/sdk-agent-plugin-quality-gates.js +258 -0
- package/dist/core/sdd/services/agent-run.service.d.ts +38 -6
- package/dist/core/sdd/services/agent-run.service.js +73 -1
- package/dist/core/sdd/services/archive-quality-coherence.service.d.ts +17 -0
- package/dist/core/sdd/services/archive-quality-coherence.service.js +141 -0
- package/dist/core/sdd/services/capability-diff.service.d.ts +18 -0
- package/dist/core/sdd/services/capability-diff.service.js +26 -0
- package/dist/core/sdd/services/change-safety-preflight.service.d.ts +17 -0
- package/dist/core/sdd/services/change-safety-preflight.service.js +17 -0
- package/dist/core/sdd/services/context.service.d.ts +43 -340
- package/dist/core/sdd/services/context.service.js +323 -9
- package/dist/core/sdd/services/decide.service.js +1 -1
- package/dist/core/sdd/services/finalize.service.d.ts +27 -0
- package/dist/core/sdd/services/finalize.service.js +226 -18
- package/dist/core/sdd/services/frontend-impact.service.d.ts +1 -1
- package/dist/core/sdd/services/historical-quality-regression.service.d.ts +35 -0
- package/dist/core/sdd/services/historical-quality-regression.service.js +228 -0
- package/dist/core/sdd/services/ingest-deposito.service.js +1 -1
- package/dist/core/sdd/services/planning-execution-coherence.service.d.ts +45 -0
- package/dist/core/sdd/services/planning-execution-coherence.service.js +225 -0
- package/dist/core/sdd/services/semantic-intent-classifier.service.d.ts +6 -0
- package/dist/core/sdd/services/semantic-intent-classifier.service.js +7 -0
- package/dist/core/sdd/state.d.ts +1 -0
- package/dist/core/sdd/state.js +266 -34
- package/dist/core/sdd/store/sdd-stores.js +2 -2
- package/dist/core/sdd/structural-health.d.ts +13 -13
- package/dist/core/sdd/types.d.ts +30 -15
- package/dist/core/sdd/types.js +4 -0
- package/dist/core/sdd/views.js +17 -0
- package/dist/core/sdd/workspace-schemas.d.ts +428 -7
- package/dist/core/sdd/workspace-schemas.js +223 -70
- package/dist/core/shared/skill-generation.d.ts +2 -0
- package/dist/core/shared/skill-generation.js +19 -2
- package/dist/core/shared/tool-detection.d.ts +19 -0
- package/dist/core/shared/tool-detection.js +89 -0
- package/dist/domains/sdd/index.d.ts +6 -0
- package/dist/domains/sdd/index.js +6 -0
- package/dist/infrastructures/sdd/index.d.ts +7 -0
- package/dist/infrastructures/sdd/index.js +6 -0
- package/dist/presentations/cli/sdd/index.d.ts +3 -0
- package/dist/presentations/cli/sdd/index.js +3 -0
- package/dist/shared/sdd/index.d.ts +3 -0
- package/dist/shared/sdd/index.js +2 -0
- package/package.json +14 -10
- package/schemas/sdd/2-plan.schema.json +207 -2
- package/schemas/sdd/5-quality.schema.json +324 -25
- package/schemas/sdd/agent-runtime-command-plan.schema.json +212 -0
- package/schemas/sdd/agent-runtime-opencode-run-evidence.schema.json +270 -0
- package/schemas/sdd/codesdd-plugin.schema.json +171 -0
- package/schemas/sdd/deepagent-run-request.schema.json +316 -0
- package/schemas/sdd/parallel-feat-automation-plan.schema.json +89 -0
- package/schemas/sdd/parallel-feat-scheduler-request.schema.json +116 -0
- package/schemas/sdd/parallel-feat-scheduler-result.schema.json +404 -0
- package/schemas/sdd/plugin-artifact-manifest.schema.json +109 -0
- package/schemas/sdd/plugin-artifact-map.schema.json +223 -0
- package/schemas/sdd/plugin-evidence-manifest.schema.json +109 -0
- package/schemas/sdd/plugin-language-runtime.schema.json +103 -0
- package/schemas/sdd/plugin-package-governance.schema.json +74 -0
- package/schemas/sdd/plugin-registry.schema.json +171 -0
- package/schemas/sdd/plugin-runtime-invocation-plan.schema.json +109 -0
- package/schemas/sdd/quality-evidence-bundle.schema.json +109 -0
- package/schemas/sdd/reversa-evidence-bundle.schema.json +466 -0
- package/schemas/sdd/sdk-agent-plugin-quality-gate-input.schema.json +168 -0
- package/schemas/sdd/sdk-agent-plugin-quality-gate-report.schema.json +160 -0
- package/schemas/sdd/workspace-catalog.schema.json +5298 -1409
|
@@ -37,6 +37,46 @@ export declare const workspacePolicyInjectionSchema: z.ZodObject<{
|
|
|
37
37
|
required_evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
38
38
|
}, z.core.$strip>>>;
|
|
39
39
|
}, z.core.$strip>;
|
|
40
|
+
export declare const workspaceValidationGateSchema: z.ZodObject<{
|
|
41
|
+
name: z.ZodString;
|
|
42
|
+
command: z.ZodString;
|
|
43
|
+
expected: z.ZodString;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
export declare const workspaceExecutionStepSchema: z.ZodObject<{
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
command: z.ZodString;
|
|
48
|
+
writes_state: z.ZodDefault<z.ZodBoolean>;
|
|
49
|
+
expected_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
export declare const workspacePlanExecutionSchema: z.ZodDefault<z.ZodObject<{
|
|
52
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
53
|
+
"single-feature": "single-feature";
|
|
54
|
+
"parallel-wave": "parallel-wave";
|
|
55
|
+
"chained-features": "chained-features";
|
|
56
|
+
}>>;
|
|
57
|
+
state_boundary_ref: z.ZodDefault<z.ZodLiteral<"codesdd-canonical-sdd-state">>;
|
|
58
|
+
command_sequence: z.ZodArray<z.ZodObject<{
|
|
59
|
+
name: z.ZodString;
|
|
60
|
+
command: z.ZodString;
|
|
61
|
+
writes_state: z.ZodDefault<z.ZodBoolean>;
|
|
62
|
+
expected_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
63
|
+
}, z.core.$strip>>;
|
|
64
|
+
allowed_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
65
|
+
forbidden_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
66
|
+
handoff_artifacts: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
export declare const workspacePlanGovernanceSchema: z.ZodDefault<z.ZodObject<{
|
|
69
|
+
state_boundary: z.ZodDefault<z.ZodLiteral<"codesdd-canonical-sdd-state">>;
|
|
70
|
+
planning_artifacts: z.ZodArray<z.ZodString>;
|
|
71
|
+
decision_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
72
|
+
planned_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
73
|
+
rollback_plan: z.ZodString;
|
|
74
|
+
validation_gates: z.ZodArray<z.ZodObject<{
|
|
75
|
+
name: z.ZodString;
|
|
76
|
+
command: z.ZodString;
|
|
77
|
+
expected: z.ZodString;
|
|
78
|
+
}, z.core.$strip>>;
|
|
79
|
+
}, z.core.$strip>>;
|
|
40
80
|
export declare const workspaceSpecSchema: z.ZodObject<{
|
|
41
81
|
schema_version: z.ZodLiteral<1>;
|
|
42
82
|
feature_id: z.ZodString;
|
|
@@ -103,14 +143,43 @@ export declare const workspaceSpecSchema: z.ZodObject<{
|
|
|
103
143
|
export declare const workspacePlanSchema: z.ZodObject<{
|
|
104
144
|
schema_version: z.ZodLiteral<1>;
|
|
105
145
|
feature_id: z.ZodString;
|
|
146
|
+
governance: z.ZodDefault<z.ZodObject<{
|
|
147
|
+
state_boundary: z.ZodDefault<z.ZodLiteral<"codesdd-canonical-sdd-state">>;
|
|
148
|
+
planning_artifacts: z.ZodArray<z.ZodString>;
|
|
149
|
+
decision_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
150
|
+
planned_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
151
|
+
rollback_plan: z.ZodString;
|
|
152
|
+
validation_gates: z.ZodArray<z.ZodObject<{
|
|
153
|
+
name: z.ZodString;
|
|
154
|
+
command: z.ZodString;
|
|
155
|
+
expected: z.ZodString;
|
|
156
|
+
}, z.core.$strip>>;
|
|
157
|
+
}, z.core.$strip>>;
|
|
158
|
+
execution_plan: z.ZodDefault<z.ZodObject<{
|
|
159
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
160
|
+
"single-feature": "single-feature";
|
|
161
|
+
"parallel-wave": "parallel-wave";
|
|
162
|
+
"chained-features": "chained-features";
|
|
163
|
+
}>>;
|
|
164
|
+
state_boundary_ref: z.ZodDefault<z.ZodLiteral<"codesdd-canonical-sdd-state">>;
|
|
165
|
+
command_sequence: z.ZodArray<z.ZodObject<{
|
|
166
|
+
name: z.ZodString;
|
|
167
|
+
command: z.ZodString;
|
|
168
|
+
writes_state: z.ZodDefault<z.ZodBoolean>;
|
|
169
|
+
expected_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
170
|
+
}, z.core.$strip>>;
|
|
171
|
+
allowed_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
172
|
+
forbidden_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
173
|
+
handoff_artifacts: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
174
|
+
}, z.core.$strip>>;
|
|
106
175
|
architectural_impact: z.ZodObject<{
|
|
107
176
|
description: z.ZodString;
|
|
108
177
|
affected_modules: z.ZodArray<z.ZodString>;
|
|
109
178
|
}, z.core.$strip>;
|
|
110
179
|
frontend_impact: z.ZodObject<{
|
|
111
180
|
status: z.ZodEnum<{
|
|
112
|
-
unknown: "unknown";
|
|
113
181
|
none: "none";
|
|
182
|
+
unknown: "unknown";
|
|
114
183
|
required: "required";
|
|
115
184
|
}>;
|
|
116
185
|
description: z.ZodString;
|
|
@@ -163,8 +232,8 @@ export declare const workspaceTaskSchema: z.ZodObject<{
|
|
|
163
232
|
id: z.ZodString;
|
|
164
233
|
phase: z.ZodEnum<{
|
|
165
234
|
documentation: "documentation";
|
|
166
|
-
preparation: "preparation";
|
|
167
235
|
implementation: "implementation";
|
|
236
|
+
preparation: "preparation";
|
|
168
237
|
testing: "testing";
|
|
169
238
|
finalization: "finalization";
|
|
170
239
|
}>;
|
|
@@ -206,8 +275,8 @@ export declare const workspaceTasksSchema: z.ZodObject<{
|
|
|
206
275
|
id: z.ZodString;
|
|
207
276
|
phase: z.ZodEnum<{
|
|
208
277
|
documentation: "documentation";
|
|
209
|
-
preparation: "preparation";
|
|
210
278
|
implementation: "implementation";
|
|
279
|
+
preparation: "preparation";
|
|
211
280
|
testing: "testing";
|
|
212
281
|
finalization: "finalization";
|
|
213
282
|
}>;
|
|
@@ -230,8 +299,8 @@ export declare const workspaceTasksSchema: z.ZodObject<{
|
|
|
230
299
|
}, z.core.$strip>;
|
|
231
300
|
export declare const promptAssetPhaseSchema: z.ZodEnum<{
|
|
232
301
|
documentation: "documentation";
|
|
233
|
-
preparation: "preparation";
|
|
234
302
|
implementation: "implementation";
|
|
303
|
+
preparation: "preparation";
|
|
235
304
|
testing: "testing";
|
|
236
305
|
finalization: "finalization";
|
|
237
306
|
}>;
|
|
@@ -240,8 +309,8 @@ export declare const promptAssetSchemaV1: z.ZodObject<{
|
|
|
240
309
|
version: z.ZodLiteral<1>;
|
|
241
310
|
phase: z.ZodEnum<{
|
|
242
311
|
documentation: "documentation";
|
|
243
|
-
preparation: "preparation";
|
|
244
312
|
implementation: "implementation";
|
|
313
|
+
preparation: "preparation";
|
|
245
314
|
testing: "testing";
|
|
246
315
|
finalization: "finalization";
|
|
247
316
|
}>;
|
|
@@ -320,6 +389,193 @@ export declare const workspaceTraceabilitySchema: z.ZodObject<{
|
|
|
320
389
|
evidence_refs: z.ZodArray<z.ZodString>;
|
|
321
390
|
}, z.core.$strip>>>;
|
|
322
391
|
}, z.core.$strip>;
|
|
392
|
+
export declare const workspaceQualityLedgerAxisSchema: z.ZodObject<{
|
|
393
|
+
raw_score: z.ZodNumber;
|
|
394
|
+
weighted_score: z.ZodNumber;
|
|
395
|
+
rationale: z.ZodString;
|
|
396
|
+
}, z.core.$strip>;
|
|
397
|
+
export declare const workspaceQualityLedgerWeightsSchema: z.ZodObject<{
|
|
398
|
+
coverage: z.ZodDefault<z.ZodNumber>;
|
|
399
|
+
traceability: z.ZodDefault<z.ZodNumber>;
|
|
400
|
+
integrity: z.ZodDefault<z.ZodNumber>;
|
|
401
|
+
naming: z.ZodDefault<z.ZodNumber>;
|
|
402
|
+
token: z.ZodDefault<z.ZodNumber>;
|
|
403
|
+
}, z.core.$strip>;
|
|
404
|
+
export declare const workspaceQualityLedgerSchema: z.ZodObject<{
|
|
405
|
+
threshold: z.ZodDefault<z.ZodNumber>;
|
|
406
|
+
score: z.ZodDefault<z.ZodNumber>;
|
|
407
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
408
|
+
pass: "pass";
|
|
409
|
+
fail: "fail";
|
|
410
|
+
pending: "pending";
|
|
411
|
+
}>>;
|
|
412
|
+
computed_at: z.ZodDefault<z.ZodString>;
|
|
413
|
+
weights: z.ZodDefault<z.ZodObject<{
|
|
414
|
+
coverage: z.ZodDefault<z.ZodNumber>;
|
|
415
|
+
traceability: z.ZodDefault<z.ZodNumber>;
|
|
416
|
+
integrity: z.ZodDefault<z.ZodNumber>;
|
|
417
|
+
naming: z.ZodDefault<z.ZodNumber>;
|
|
418
|
+
token: z.ZodDefault<z.ZodNumber>;
|
|
419
|
+
}, z.core.$strip>>;
|
|
420
|
+
axes: z.ZodDefault<z.ZodObject<{
|
|
421
|
+
coverage: z.ZodObject<{
|
|
422
|
+
raw_score: z.ZodNumber;
|
|
423
|
+
weighted_score: z.ZodNumber;
|
|
424
|
+
rationale: z.ZodString;
|
|
425
|
+
}, z.core.$strip>;
|
|
426
|
+
traceability: z.ZodObject<{
|
|
427
|
+
raw_score: z.ZodNumber;
|
|
428
|
+
weighted_score: z.ZodNumber;
|
|
429
|
+
rationale: z.ZodString;
|
|
430
|
+
}, z.core.$strip>;
|
|
431
|
+
integrity: z.ZodObject<{
|
|
432
|
+
raw_score: z.ZodNumber;
|
|
433
|
+
weighted_score: z.ZodNumber;
|
|
434
|
+
rationale: z.ZodString;
|
|
435
|
+
}, z.core.$strip>;
|
|
436
|
+
naming: z.ZodObject<{
|
|
437
|
+
raw_score: z.ZodNumber;
|
|
438
|
+
weighted_score: z.ZodNumber;
|
|
439
|
+
rationale: z.ZodString;
|
|
440
|
+
}, z.core.$strip>;
|
|
441
|
+
token: z.ZodObject<{
|
|
442
|
+
raw_score: z.ZodNumber;
|
|
443
|
+
weighted_score: z.ZodNumber;
|
|
444
|
+
rationale: z.ZodString;
|
|
445
|
+
}, z.core.$strip>;
|
|
446
|
+
}, z.core.$strip>>;
|
|
447
|
+
next_best_action: z.ZodDefault<z.ZodString>;
|
|
448
|
+
}, z.core.$strip>;
|
|
449
|
+
export declare const workspaceTokenTelemetrySchema: z.ZodObject<{
|
|
450
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
451
|
+
standard: "standard";
|
|
452
|
+
full: "full";
|
|
453
|
+
compact: "compact";
|
|
454
|
+
}>>;
|
|
455
|
+
budget_chars: z.ZodOptional<z.ZodNumber>;
|
|
456
|
+
actual_chars: z.ZodOptional<z.ZodNumber>;
|
|
457
|
+
efficiency_percent: z.ZodOptional<z.ZodNumber>;
|
|
458
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
459
|
+
pass: "pass";
|
|
460
|
+
fail: "fail";
|
|
461
|
+
warn: "warn";
|
|
462
|
+
}>>;
|
|
463
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
464
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
465
|
+
}, z.core.$strip>;
|
|
466
|
+
export declare const workspaceTokenBudgetGatesSchema: z.ZodObject<{
|
|
467
|
+
max_context_chars: z.ZodOptional<z.ZodNumber>;
|
|
468
|
+
require_numeric_efficiency: z.ZodDefault<z.ZodBoolean>;
|
|
469
|
+
fail_below_percent: z.ZodDefault<z.ZodNumber>;
|
|
470
|
+
telemetry: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
471
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
472
|
+
standard: "standard";
|
|
473
|
+
full: "full";
|
|
474
|
+
compact: "compact";
|
|
475
|
+
}>>;
|
|
476
|
+
budget_chars: z.ZodOptional<z.ZodNumber>;
|
|
477
|
+
actual_chars: z.ZodOptional<z.ZodNumber>;
|
|
478
|
+
efficiency_percent: z.ZodOptional<z.ZodNumber>;
|
|
479
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
480
|
+
pass: "pass";
|
|
481
|
+
fail: "fail";
|
|
482
|
+
warn: "warn";
|
|
483
|
+
}>>;
|
|
484
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
485
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
486
|
+
}, z.core.$strip>>>;
|
|
487
|
+
}, z.core.$strip>;
|
|
488
|
+
export declare const workspaceRuntimePerformanceTelemetrySchema: z.ZodObject<{
|
|
489
|
+
command: z.ZodString;
|
|
490
|
+
metric: z.ZodDefault<z.ZodEnum<{
|
|
491
|
+
duration_ms: "duration_ms";
|
|
492
|
+
p95_ms: "p95_ms";
|
|
493
|
+
memory_mb: "memory_mb";
|
|
494
|
+
cpu_percent: "cpu_percent";
|
|
495
|
+
}>>;
|
|
496
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
497
|
+
actual: z.ZodOptional<z.ZodNumber>;
|
|
498
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
499
|
+
pass: "pass";
|
|
500
|
+
fail: "fail";
|
|
501
|
+
warn: "warn";
|
|
502
|
+
}>>;
|
|
503
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
504
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
505
|
+
}, z.core.$strip>;
|
|
506
|
+
export declare const workspaceFlakinessTelemetrySchema: z.ZodObject<{
|
|
507
|
+
command: z.ZodString;
|
|
508
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
509
|
+
failures: z.ZodOptional<z.ZodNumber>;
|
|
510
|
+
failure_rate_percent: z.ZodOptional<z.ZodNumber>;
|
|
511
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
512
|
+
pass: "pass";
|
|
513
|
+
fail: "fail";
|
|
514
|
+
warn: "warn";
|
|
515
|
+
}>>;
|
|
516
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
517
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
518
|
+
}, z.core.$strip>;
|
|
519
|
+
export declare const workspaceRuntimeQualityGatesSchema: z.ZodObject<{
|
|
520
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
521
|
+
observe: "observe";
|
|
522
|
+
enforce: "enforce";
|
|
523
|
+
}>>;
|
|
524
|
+
performance: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
525
|
+
command: z.ZodString;
|
|
526
|
+
metric: z.ZodDefault<z.ZodEnum<{
|
|
527
|
+
duration_ms: "duration_ms";
|
|
528
|
+
p95_ms: "p95_ms";
|
|
529
|
+
memory_mb: "memory_mb";
|
|
530
|
+
cpu_percent: "cpu_percent";
|
|
531
|
+
}>>;
|
|
532
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
533
|
+
actual: z.ZodOptional<z.ZodNumber>;
|
|
534
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
535
|
+
pass: "pass";
|
|
536
|
+
fail: "fail";
|
|
537
|
+
warn: "warn";
|
|
538
|
+
}>>;
|
|
539
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
540
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
541
|
+
}, z.core.$strip>>>;
|
|
542
|
+
flakiness: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
543
|
+
command: z.ZodString;
|
|
544
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
545
|
+
failures: z.ZodOptional<z.ZodNumber>;
|
|
546
|
+
failure_rate_percent: z.ZodOptional<z.ZodNumber>;
|
|
547
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
548
|
+
pass: "pass";
|
|
549
|
+
fail: "fail";
|
|
550
|
+
warn: "warn";
|
|
551
|
+
}>>;
|
|
552
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
553
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
554
|
+
}, z.core.$strip>>>;
|
|
555
|
+
}, z.core.$strip>;
|
|
556
|
+
export declare const workspaceCriticalEvidenceProvenanceSchema: z.ZodObject<{
|
|
557
|
+
command: z.ZodString;
|
|
558
|
+
exit_code: z.ZodNumber;
|
|
559
|
+
timestamp_iso: z.ZodString;
|
|
560
|
+
commit_sha: z.ZodString;
|
|
561
|
+
artifact_path: z.ZodString;
|
|
562
|
+
artifact_hash: z.ZodString;
|
|
563
|
+
}, z.core.$strip>;
|
|
564
|
+
export declare const workspaceEvidenceLogEntrySchema: z.ZodObject<{
|
|
565
|
+
timestamp: z.ZodString;
|
|
566
|
+
kind: z.ZodString;
|
|
567
|
+
result: z.ZodString;
|
|
568
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
569
|
+
critical: z.ZodOptional<z.ZodBoolean>;
|
|
570
|
+
provenance: z.ZodOptional<z.ZodObject<{
|
|
571
|
+
command: z.ZodString;
|
|
572
|
+
exit_code: z.ZodNumber;
|
|
573
|
+
timestamp_iso: z.ZodString;
|
|
574
|
+
commit_sha: z.ZodString;
|
|
575
|
+
artifact_path: z.ZodString;
|
|
576
|
+
artifact_hash: z.ZodString;
|
|
577
|
+
}, z.core.$strip>>;
|
|
578
|
+
}, z.core.$strip>;
|
|
323
579
|
export declare const workspaceQualitySchema: z.ZodObject<{
|
|
324
580
|
schema_version: z.ZodLiteral<1>;
|
|
325
581
|
feature_id: z.ZodString;
|
|
@@ -338,6 +594,15 @@ export declare const workspaceQualitySchema: z.ZodObject<{
|
|
|
338
594
|
kind: z.ZodString;
|
|
339
595
|
result: z.ZodString;
|
|
340
596
|
artifact: z.ZodOptional<z.ZodString>;
|
|
597
|
+
critical: z.ZodOptional<z.ZodBoolean>;
|
|
598
|
+
provenance: z.ZodOptional<z.ZodObject<{
|
|
599
|
+
command: z.ZodString;
|
|
600
|
+
exit_code: z.ZodNumber;
|
|
601
|
+
timestamp_iso: z.ZodString;
|
|
602
|
+
commit_sha: z.ZodString;
|
|
603
|
+
artifact_path: z.ZodString;
|
|
604
|
+
artifact_hash: z.ZodString;
|
|
605
|
+
}, z.core.$strip>>;
|
|
341
606
|
}, z.core.$strip>>;
|
|
342
607
|
skill_evidence: z.ZodDefault<z.ZodObject<{
|
|
343
608
|
required_skill_ids: z.ZodArray<z.ZodString>;
|
|
@@ -462,6 +727,65 @@ export declare const workspaceQualitySchema: z.ZodObject<{
|
|
|
462
727
|
}>>;
|
|
463
728
|
notes: z.ZodOptional<z.ZodString>;
|
|
464
729
|
}, z.core.$strip>>;
|
|
730
|
+
token_budget_gates: z.ZodDefault<z.ZodObject<{
|
|
731
|
+
max_context_chars: z.ZodOptional<z.ZodNumber>;
|
|
732
|
+
require_numeric_efficiency: z.ZodDefault<z.ZodBoolean>;
|
|
733
|
+
fail_below_percent: z.ZodDefault<z.ZodNumber>;
|
|
734
|
+
telemetry: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
735
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
736
|
+
standard: "standard";
|
|
737
|
+
full: "full";
|
|
738
|
+
compact: "compact";
|
|
739
|
+
}>>;
|
|
740
|
+
budget_chars: z.ZodOptional<z.ZodNumber>;
|
|
741
|
+
actual_chars: z.ZodOptional<z.ZodNumber>;
|
|
742
|
+
efficiency_percent: z.ZodOptional<z.ZodNumber>;
|
|
743
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
744
|
+
pass: "pass";
|
|
745
|
+
fail: "fail";
|
|
746
|
+
warn: "warn";
|
|
747
|
+
}>>;
|
|
748
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
749
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
750
|
+
}, z.core.$strip>>>;
|
|
751
|
+
}, z.core.$strip>>;
|
|
752
|
+
runtime_quality_gates: z.ZodDefault<z.ZodObject<{
|
|
753
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
754
|
+
observe: "observe";
|
|
755
|
+
enforce: "enforce";
|
|
756
|
+
}>>;
|
|
757
|
+
performance: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
758
|
+
command: z.ZodString;
|
|
759
|
+
metric: z.ZodDefault<z.ZodEnum<{
|
|
760
|
+
duration_ms: "duration_ms";
|
|
761
|
+
p95_ms: "p95_ms";
|
|
762
|
+
memory_mb: "memory_mb";
|
|
763
|
+
cpu_percent: "cpu_percent";
|
|
764
|
+
}>>;
|
|
765
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
766
|
+
actual: z.ZodOptional<z.ZodNumber>;
|
|
767
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
768
|
+
pass: "pass";
|
|
769
|
+
fail: "fail";
|
|
770
|
+
warn: "warn";
|
|
771
|
+
}>>;
|
|
772
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
773
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
774
|
+
}, z.core.$strip>>>;
|
|
775
|
+
flakiness: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
776
|
+
command: z.ZodString;
|
|
777
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
778
|
+
failures: z.ZodOptional<z.ZodNumber>;
|
|
779
|
+
failure_rate_percent: z.ZodOptional<z.ZodNumber>;
|
|
780
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
781
|
+
pass: "pass";
|
|
782
|
+
fail: "fail";
|
|
783
|
+
warn: "warn";
|
|
784
|
+
}>>;
|
|
785
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
786
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
787
|
+
}, z.core.$strip>>>;
|
|
788
|
+
}, z.core.$strip>>;
|
|
465
789
|
q95_ledger: z.ZodDefault<z.ZodObject<{
|
|
466
790
|
threshold: z.ZodDefault<z.ZodNumber>;
|
|
467
791
|
score: z.ZodDefault<z.ZodNumber>;
|
|
@@ -575,14 +899,43 @@ export declare const workspaceDocumentSchemas: {
|
|
|
575
899
|
readonly '2-plan.yaml': z.ZodObject<{
|
|
576
900
|
schema_version: z.ZodLiteral<1>;
|
|
577
901
|
feature_id: z.ZodString;
|
|
902
|
+
governance: z.ZodDefault<z.ZodObject<{
|
|
903
|
+
state_boundary: z.ZodDefault<z.ZodLiteral<"codesdd-canonical-sdd-state">>;
|
|
904
|
+
planning_artifacts: z.ZodArray<z.ZodString>;
|
|
905
|
+
decision_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
906
|
+
planned_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
907
|
+
rollback_plan: z.ZodString;
|
|
908
|
+
validation_gates: z.ZodArray<z.ZodObject<{
|
|
909
|
+
name: z.ZodString;
|
|
910
|
+
command: z.ZodString;
|
|
911
|
+
expected: z.ZodString;
|
|
912
|
+
}, z.core.$strip>>;
|
|
913
|
+
}, z.core.$strip>>;
|
|
914
|
+
execution_plan: z.ZodDefault<z.ZodObject<{
|
|
915
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
916
|
+
"single-feature": "single-feature";
|
|
917
|
+
"parallel-wave": "parallel-wave";
|
|
918
|
+
"chained-features": "chained-features";
|
|
919
|
+
}>>;
|
|
920
|
+
state_boundary_ref: z.ZodDefault<z.ZodLiteral<"codesdd-canonical-sdd-state">>;
|
|
921
|
+
command_sequence: z.ZodArray<z.ZodObject<{
|
|
922
|
+
name: z.ZodString;
|
|
923
|
+
command: z.ZodString;
|
|
924
|
+
writes_state: z.ZodDefault<z.ZodBoolean>;
|
|
925
|
+
expected_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
926
|
+
}, z.core.$strip>>;
|
|
927
|
+
allowed_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
928
|
+
forbidden_state_writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
929
|
+
handoff_artifacts: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
930
|
+
}, z.core.$strip>>;
|
|
578
931
|
architectural_impact: z.ZodObject<{
|
|
579
932
|
description: z.ZodString;
|
|
580
933
|
affected_modules: z.ZodArray<z.ZodString>;
|
|
581
934
|
}, z.core.$strip>;
|
|
582
935
|
frontend_impact: z.ZodObject<{
|
|
583
936
|
status: z.ZodEnum<{
|
|
584
|
-
unknown: "unknown";
|
|
585
937
|
none: "none";
|
|
938
|
+
unknown: "unknown";
|
|
586
939
|
required: "required";
|
|
587
940
|
}>;
|
|
588
941
|
description: z.ZodString;
|
|
@@ -653,8 +1006,8 @@ export declare const workspaceDocumentSchemas: {
|
|
|
653
1006
|
id: z.ZodString;
|
|
654
1007
|
phase: z.ZodEnum<{
|
|
655
1008
|
documentation: "documentation";
|
|
656
|
-
preparation: "preparation";
|
|
657
1009
|
implementation: "implementation";
|
|
1010
|
+
preparation: "preparation";
|
|
658
1011
|
testing: "testing";
|
|
659
1012
|
finalization: "finalization";
|
|
660
1013
|
}>;
|
|
@@ -703,6 +1056,15 @@ export declare const workspaceDocumentSchemas: {
|
|
|
703
1056
|
kind: z.ZodString;
|
|
704
1057
|
result: z.ZodString;
|
|
705
1058
|
artifact: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
critical: z.ZodOptional<z.ZodBoolean>;
|
|
1060
|
+
provenance: z.ZodOptional<z.ZodObject<{
|
|
1061
|
+
command: z.ZodString;
|
|
1062
|
+
exit_code: z.ZodNumber;
|
|
1063
|
+
timestamp_iso: z.ZodString;
|
|
1064
|
+
commit_sha: z.ZodString;
|
|
1065
|
+
artifact_path: z.ZodString;
|
|
1066
|
+
artifact_hash: z.ZodString;
|
|
1067
|
+
}, z.core.$strip>>;
|
|
706
1068
|
}, z.core.$strip>>;
|
|
707
1069
|
skill_evidence: z.ZodDefault<z.ZodObject<{
|
|
708
1070
|
required_skill_ids: z.ZodArray<z.ZodString>;
|
|
@@ -827,6 +1189,65 @@ export declare const workspaceDocumentSchemas: {
|
|
|
827
1189
|
}>>;
|
|
828
1190
|
notes: z.ZodOptional<z.ZodString>;
|
|
829
1191
|
}, z.core.$strip>>;
|
|
1192
|
+
token_budget_gates: z.ZodDefault<z.ZodObject<{
|
|
1193
|
+
max_context_chars: z.ZodOptional<z.ZodNumber>;
|
|
1194
|
+
require_numeric_efficiency: z.ZodDefault<z.ZodBoolean>;
|
|
1195
|
+
fail_below_percent: z.ZodDefault<z.ZodNumber>;
|
|
1196
|
+
telemetry: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1197
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1198
|
+
standard: "standard";
|
|
1199
|
+
full: "full";
|
|
1200
|
+
compact: "compact";
|
|
1201
|
+
}>>;
|
|
1202
|
+
budget_chars: z.ZodOptional<z.ZodNumber>;
|
|
1203
|
+
actual_chars: z.ZodOptional<z.ZodNumber>;
|
|
1204
|
+
efficiency_percent: z.ZodOptional<z.ZodNumber>;
|
|
1205
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
1206
|
+
pass: "pass";
|
|
1207
|
+
fail: "fail";
|
|
1208
|
+
warn: "warn";
|
|
1209
|
+
}>>;
|
|
1210
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
1211
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1212
|
+
}, z.core.$strip>>>;
|
|
1213
|
+
}, z.core.$strip>>;
|
|
1214
|
+
runtime_quality_gates: z.ZodDefault<z.ZodObject<{
|
|
1215
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
1216
|
+
observe: "observe";
|
|
1217
|
+
enforce: "enforce";
|
|
1218
|
+
}>>;
|
|
1219
|
+
performance: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1220
|
+
command: z.ZodString;
|
|
1221
|
+
metric: z.ZodDefault<z.ZodEnum<{
|
|
1222
|
+
duration_ms: "duration_ms";
|
|
1223
|
+
p95_ms: "p95_ms";
|
|
1224
|
+
memory_mb: "memory_mb";
|
|
1225
|
+
cpu_percent: "cpu_percent";
|
|
1226
|
+
}>>;
|
|
1227
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
1228
|
+
actual: z.ZodOptional<z.ZodNumber>;
|
|
1229
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
1230
|
+
pass: "pass";
|
|
1231
|
+
fail: "fail";
|
|
1232
|
+
warn: "warn";
|
|
1233
|
+
}>>;
|
|
1234
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1236
|
+
}, z.core.$strip>>>;
|
|
1237
|
+
flakiness: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1238
|
+
command: z.ZodString;
|
|
1239
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
1240
|
+
failures: z.ZodOptional<z.ZodNumber>;
|
|
1241
|
+
failure_rate_percent: z.ZodOptional<z.ZodNumber>;
|
|
1242
|
+
gate: z.ZodDefault<z.ZodEnum<{
|
|
1243
|
+
pass: "pass";
|
|
1244
|
+
fail: "fail";
|
|
1245
|
+
warn: "warn";
|
|
1246
|
+
}>>;
|
|
1247
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1249
|
+
}, z.core.$strip>>>;
|
|
1250
|
+
}, z.core.$strip>>;
|
|
830
1251
|
q95_ledger: z.ZodDefault<z.ZodObject<{
|
|
831
1252
|
threshold: z.ZodDefault<z.ZodNumber>;
|
|
832
1253
|
score: z.ZodDefault<z.ZodNumber>;
|