@agentic-sdlc-kit/contracts 1.2.1 → 1.3.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/dist/agent/capability.d.ts +12 -1
- package/dist/agent/capability.d.ts.map +1 -1
- package/dist/agent/errors.d.ts +29 -11
- package/dist/agent/errors.d.ts.map +1 -1
- package/dist/agent/events.d.ts +42 -153
- package/dist/agent/events.d.ts.map +1 -1
- package/dist/agent/execution.d.ts +151 -415
- package/dist/agent/execution.d.ts.map +1 -1
- package/dist/agent/policy.d.ts +30 -92
- package/dist/agent/policy.d.ts.map +1 -1
- package/dist/agent/session.d.ts +1 -7
- package/dist/agent/session.d.ts.map +1 -1
- package/dist/agent-tools/index.d.ts +20 -58
- package/dist/agent-tools/index.d.ts.map +1 -1
- package/dist/application/application-context.d.ts +80 -582
- package/dist/application/application-context.d.ts.map +1 -1
- package/dist/application/application-persistence.d.ts +161 -924
- package/dist/application/application-persistence.d.ts.map +1 -1
- package/dist/application/application-state.d.ts +94 -70
- package/dist/application/application-state.d.ts.map +1 -1
- package/dist/architecture/api-contract.d.ts +56 -208
- package/dist/architecture/api-contract.d.ts.map +1 -1
- package/dist/architecture/architecture-approval.d.ts +2 -26
- package/dist/architecture/architecture-approval.d.ts.map +1 -1
- package/dist/architecture/architecture-options.d.ts +30 -82
- package/dist/architecture/architecture-options.d.ts.map +1 -1
- package/dist/architecture/component-map.d.ts +34 -60
- package/dist/architecture/component-map.d.ts.map +1 -1
- package/dist/architecture/data-model.d.ts +91 -205
- package/dist/architecture/data-model.d.ts.map +1 -1
- package/dist/architecture/operational-design.d.ts +48 -115
- package/dist/architecture/operational-design.d.ts.map +1 -1
- package/dist/architecture/security-design.d.ts +40 -90
- package/dist/architecture/security-design.d.ts.map +1 -1
- package/dist/benchmark/bench.d.ts +44 -263
- package/dist/benchmark/bench.d.ts.map +1 -1
- package/dist/common/identifier.d.ts +1 -1
- package/dist/common/identifier.d.ts.map +1 -1
- package/dist/constitution/cli-output.d.ts +58 -618
- package/dist/constitution/cli-output.d.ts.map +1 -1
- package/dist/constitution/result.d.ts +31 -84
- package/dist/constitution/result.d.ts.map +1 -1
- package/dist/constitution/rule.d.ts +97 -408
- package/dist/constitution/rule.d.ts.map +1 -1
- package/dist/context/project-context.d.ts +57 -227
- package/dist/context/project-context.d.ts.map +1 -1
- package/dist/evaluation/benchmark.d.ts +26 -66
- package/dist/evaluation/benchmark.d.ts.map +1 -1
- package/dist/evaluation/metrics.d.ts +15 -120
- package/dist/evaluation/metrics.d.ts.map +1 -1
- package/dist/evolution/experiment.d.ts +29 -51
- package/dist/evolution/experiment.d.ts.map +1 -1
- package/dist/evolution/improvement-hypothesis.d.ts +56 -78
- package/dist/evolution/improvement-hypothesis.d.ts.map +1 -1
- package/dist/execution/execution-profile.d.ts +25 -111
- package/dist/execution/execution-profile.d.ts.map +1 -1
- package/dist/improvement/config.d.ts +3 -17
- package/dist/improvement/config.d.ts.map +1 -1
- package/dist/improvement/config.js +1 -1
- package/dist/improvement/config.js.map +1 -1
- package/dist/improvement/finding.d.ts +24 -71
- package/dist/improvement/finding.d.ts.map +1 -1
- package/dist/improvement/issue.d.ts +10 -39
- package/dist/improvement/issue.d.ts.map +1 -1
- package/dist/improvement/kit-feedback.d.ts +45 -29
- package/dist/improvement/kit-feedback.d.ts.map +1 -1
- package/dist/improvement/review.d.ts +22 -28
- package/dist/improvement/review.d.ts.map +1 -1
- package/dist/installer/install-plan.d.ts +52 -137
- package/dist/installer/install-plan.d.ts.map +1 -1
- package/dist/installer/ownership-manifest.d.ts +7 -62
- package/dist/installer/ownership-manifest.d.ts.map +1 -1
- package/dist/installer/package-manifest.d.ts +25 -40
- package/dist/installer/package-manifest.d.ts.map +1 -1
- package/dist/learning/engineering-lesson.d.ts +19 -65
- package/dist/learning/engineering-lesson.d.ts.map +1 -1
- package/dist/learning/engineering-memory.d.ts +32 -64
- package/dist/learning/engineering-memory.d.ts.map +1 -1
- package/dist/learning/experience-episode.d.ts +33 -141
- package/dist/learning/experience-episode.d.ts.map +1 -1
- package/dist/learning/experience.d.ts +16 -50
- package/dist/learning/experience.d.ts.map +1 -1
- package/dist/learning/hypothesis.d.ts +14 -39
- package/dist/learning/hypothesis.d.ts.map +1 -1
- package/dist/learning/learning-event.d.ts +32 -62
- package/dist/learning/learning-event.d.ts.map +1 -1
- package/dist/learning/memory.d.ts +12 -28
- package/dist/learning/memory.d.ts.map +1 -1
- package/dist/learning/promotion.d.ts +7 -20
- package/dist/learning/promotion.d.ts.map +1 -1
- package/dist/maintenance/bug-fix-workflow.d.ts +49 -30
- package/dist/maintenance/bug-fix-workflow.d.ts.map +1 -1
- package/dist/maintenance/bug-report.d.ts +39 -46
- package/dist/maintenance/bug-report.d.ts.map +1 -1
- package/dist/maintenance/performance-baseline.d.ts +18 -64
- package/dist/maintenance/performance-baseline.d.ts.map +1 -1
- package/dist/maintenance/refactor-contract.d.ts +47 -133
- package/dist/maintenance/refactor-contract.d.ts.map +1 -1
- package/dist/maintenance/refactor-workflow.d.ts +50 -51
- package/dist/maintenance/refactor-workflow.d.ts.map +1 -1
- package/dist/observer/event-schema.d.ts +31 -31
- package/dist/observer/event-schema.d.ts.map +1 -1
- package/dist/observer/journal.d.ts +32 -57
- package/dist/observer/journal.d.ts.map +1 -1
- package/dist/observer/journal.js +1 -1
- package/dist/observer/journal.js.map +1 -1
- package/dist/observer/retention.d.ts +2 -16
- package/dist/observer/retention.d.ts.map +1 -1
- package/dist/observer/run-summary.d.ts +45 -213
- package/dist/observer/run-summary.d.ts.map +1 -1
- package/dist/onboard/onboard-report.d.ts +85 -279
- package/dist/onboard/onboard-report.d.ts.map +1 -1
- package/dist/patterns/pattern.d.ts +28 -74
- package/dist/patterns/pattern.d.ts.map +1 -1
- package/dist/planning/task.d.ts +70 -149
- package/dist/planning/task.d.ts.map +1 -1
- package/dist/policy/policy.d.ts +61 -56
- package/dist/policy/policy.d.ts.map +1 -1
- package/dist/product/mvp-scope.d.ts +8 -18
- package/dist/product/mvp-scope.d.ts.map +1 -1
- package/dist/product/product-brief.d.ts +6 -74
- package/dist/product/product-brief.d.ts.map +1 -1
- package/dist/product/requirements.d.ts +99 -215
- package/dist/product/requirements.d.ts.map +1 -1
- package/dist/product/traceability.d.ts +7 -39
- package/dist/product/traceability.d.ts.map +1 -1
- package/dist/project/project-profile.d.ts +34 -146
- package/dist/project/project-profile.d.ts.map +1 -1
- package/dist/project/repository-scan.d.ts +8 -64
- package/dist/project/repository-scan.d.ts.map +1 -1
- package/dist/routing/capability-registry.d.ts +15 -67
- package/dist/routing/capability-registry.d.ts.map +1 -1
- package/dist/routing/escalation.d.ts +10 -17
- package/dist/routing/escalation.d.ts.map +1 -1
- package/dist/routing/measured-routing.d.ts +18 -28
- package/dist/routing/measured-routing.d.ts.map +1 -1
- package/dist/routing/routing-policy.d.ts +56 -84
- package/dist/routing/routing-policy.d.ts.map +1 -1
- package/dist/routing/routing-request.d.ts +50 -46
- package/dist/routing/routing-request.d.ts.map +1 -1
- package/dist/runtime-guard/action-classification.d.ts +66 -36
- package/dist/runtime-guard/action-classification.d.ts.map +1 -1
- package/dist/runtime-guard/action-classification.js +1 -1
- package/dist/runtime-guard/action-classification.js.map +1 -1
- package/dist/runtime-guard/audit-event.d.ts +45 -77
- package/dist/runtime-guard/audit-event.d.ts.map +1 -1
- package/dist/runtime-guard/policy-schema.d.ts +100 -116
- package/dist/runtime-guard/policy-schema.d.ts.map +1 -1
- package/dist/scaffolding/scaffold-contract.d.ts +46 -450
- package/dist/scaffolding/scaffold-contract.d.ts.map +1 -1
- package/dist/scaffolding/template-manifest.d.ts +5 -77
- package/dist/scaffolding/template-manifest.d.ts.map +1 -1
- package/dist/secret-guard/detection-rule.d.ts +25 -19
- package/dist/secret-guard/detection-rule.d.ts.map +1 -1
- package/dist/secret-guard/finding.d.ts +70 -69
- package/dist/secret-guard/finding.d.ts.map +1 -1
- package/dist/secret-guard/redaction-policy.d.ts +7 -17
- package/dist/secret-guard/redaction-policy.d.ts.map +1 -1
- package/dist/secret-guard/scanner-failure.d.ts +17 -45
- package/dist/secret-guard/scanner-failure.d.ts.map +1 -1
- package/dist/specification/specification.d.ts +48 -184
- package/dist/specification/specification.d.ts.map +1 -1
- package/dist/stack-pack/manifest.d.ts +19 -90
- package/dist/stack-pack/manifest.d.ts.map +1 -1
- package/dist/verification/report.d.ts +49 -164
- package/dist/verification/report.d.ts.map +1 -1
- package/dist/verification/strength.d.ts +62 -188
- package/dist/verification/strength.d.ts.map +1 -1
- package/dist/workflow/next-action.d.ts +55 -137
- package/dist/workflow/next-action.d.ts.map +1 -1
- package/dist/workflow/workflow.d.ts +50 -50
- package/dist/workflow/workflow.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/improvement/config.ts +1 -1
- package/src/observer/journal.ts +1 -1
- package/src/runtime-guard/action-classification.ts +1 -1
- package/src/zod-defaults.test.ts +28 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-output.d.ts","sourceRoot":"","sources":["../../src/constitution/cli-output.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"cli-output.d.ts","sourceRoot":"","sources":["../../src/constitution/cli-output.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe;;;;;iBAK1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;iBAG/B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const RULE_OUTCOMES: readonly ["passed", "violations", "adapter-unavailable", "adapter-error", "timed-out", "not-evaluated"];
|
|
3
|
-
export declare const RuleOutcomeSchema: z.ZodEnum<
|
|
3
|
+
export declare const RuleOutcomeSchema: z.ZodEnum<{
|
|
4
|
+
passed: "passed";
|
|
5
|
+
violations: "violations";
|
|
6
|
+
"adapter-unavailable": "adapter-unavailable";
|
|
7
|
+
"adapter-error": "adapter-error";
|
|
8
|
+
"timed-out": "timed-out";
|
|
9
|
+
"not-evaluated": "not-evaluated";
|
|
10
|
+
}>;
|
|
4
11
|
export type RuleOutcome = z.infer<typeof RuleOutcomeSchema>;
|
|
5
12
|
export declare const RuleViolationSchema: z.ZodObject<{
|
|
6
13
|
ruleId: z.ZodString;
|
|
@@ -8,100 +15,40 @@ export declare const RuleViolationSchema: z.ZodObject<{
|
|
|
8
15
|
fingerprint: z.ZodString;
|
|
9
16
|
line: z.ZodOptional<z.ZodNumber>;
|
|
10
17
|
message: z.ZodString;
|
|
11
|
-
},
|
|
12
|
-
path: string;
|
|
13
|
-
message: string;
|
|
14
|
-
ruleId: string;
|
|
15
|
-
fingerprint: string;
|
|
16
|
-
line?: number | undefined;
|
|
17
|
-
}, {
|
|
18
|
-
path: string;
|
|
19
|
-
message: string;
|
|
20
|
-
ruleId: string;
|
|
21
|
-
fingerprint: string;
|
|
22
|
-
line?: number | undefined;
|
|
23
|
-
}>;
|
|
18
|
+
}, z.core.$strip>;
|
|
24
19
|
export type RuleViolation = z.infer<typeof RuleViolationSchema>;
|
|
25
|
-
export declare const RuleResultSchema: z.
|
|
20
|
+
export declare const RuleResultSchema: z.ZodObject<{
|
|
26
21
|
ruleId: z.ZodString;
|
|
27
|
-
mode: z.ZodEnum<
|
|
28
|
-
|
|
22
|
+
mode: z.ZodEnum<{
|
|
23
|
+
off: "off";
|
|
24
|
+
shadow: "shadow";
|
|
25
|
+
advisory: "advisory";
|
|
26
|
+
blocking: "blocking";
|
|
27
|
+
}>;
|
|
28
|
+
outcome: z.ZodEnum<{
|
|
29
|
+
passed: "passed";
|
|
30
|
+
violations: "violations";
|
|
31
|
+
"adapter-unavailable": "adapter-unavailable";
|
|
32
|
+
"adapter-error": "adapter-error";
|
|
33
|
+
"timed-out": "timed-out";
|
|
34
|
+
"not-evaluated": "not-evaluated";
|
|
35
|
+
}>;
|
|
29
36
|
violations: z.ZodArray<z.ZodObject<{
|
|
30
37
|
ruleId: z.ZodString;
|
|
31
38
|
path: z.ZodString;
|
|
32
39
|
fingerprint: z.ZodString;
|
|
33
40
|
line: z.ZodOptional<z.ZodNumber>;
|
|
34
41
|
message: z.ZodString;
|
|
35
|
-
},
|
|
36
|
-
path: string;
|
|
37
|
-
message: string;
|
|
38
|
-
ruleId: string;
|
|
39
|
-
fingerprint: string;
|
|
40
|
-
line?: number | undefined;
|
|
41
|
-
}, {
|
|
42
|
-
path: string;
|
|
43
|
-
message: string;
|
|
44
|
-
ruleId: string;
|
|
45
|
-
fingerprint: string;
|
|
46
|
-
line?: number | undefined;
|
|
47
|
-
}>, "many">;
|
|
42
|
+
}, z.core.$strip>>;
|
|
48
43
|
baselined: z.ZodNumber;
|
|
49
44
|
detail: z.ZodOptional<z.ZodString>;
|
|
50
|
-
},
|
|
51
|
-
ruleId: string;
|
|
52
|
-
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
53
|
-
violations: {
|
|
54
|
-
path: string;
|
|
55
|
-
message: string;
|
|
56
|
-
ruleId: string;
|
|
57
|
-
fingerprint: string;
|
|
58
|
-
line?: number | undefined;
|
|
59
|
-
}[];
|
|
60
|
-
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
61
|
-
baselined: number;
|
|
62
|
-
detail?: string | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
ruleId: string;
|
|
65
|
-
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
66
|
-
violations: {
|
|
67
|
-
path: string;
|
|
68
|
-
message: string;
|
|
69
|
-
ruleId: string;
|
|
70
|
-
fingerprint: string;
|
|
71
|
-
line?: number | undefined;
|
|
72
|
-
}[];
|
|
73
|
-
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
74
|
-
baselined: number;
|
|
75
|
-
detail?: string | undefined;
|
|
76
|
-
}>, {
|
|
77
|
-
ruleId: string;
|
|
78
|
-
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
79
|
-
violations: {
|
|
80
|
-
path: string;
|
|
81
|
-
message: string;
|
|
82
|
-
ruleId: string;
|
|
83
|
-
fingerprint: string;
|
|
84
|
-
line?: number | undefined;
|
|
85
|
-
}[];
|
|
86
|
-
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
87
|
-
baselined: number;
|
|
88
|
-
detail?: string | undefined;
|
|
89
|
-
}, {
|
|
90
|
-
ruleId: string;
|
|
91
|
-
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
92
|
-
violations: {
|
|
93
|
-
path: string;
|
|
94
|
-
message: string;
|
|
95
|
-
ruleId: string;
|
|
96
|
-
fingerprint: string;
|
|
97
|
-
line?: number | undefined;
|
|
98
|
-
}[];
|
|
99
|
-
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
100
|
-
baselined: number;
|
|
101
|
-
detail?: string | undefined;
|
|
102
|
-
}>;
|
|
45
|
+
}, z.core.$strip>;
|
|
103
46
|
export type RuleResult = z.infer<typeof RuleResultSchema>;
|
|
104
|
-
export declare const GateStatusSchema: z.ZodEnum<
|
|
47
|
+
export declare const GateStatusSchema: z.ZodEnum<{
|
|
48
|
+
passed: "passed";
|
|
49
|
+
failed: "failed";
|
|
50
|
+
blocked: "blocked";
|
|
51
|
+
}>;
|
|
105
52
|
export type GateStatus = z.infer<typeof GateStatusSchema>;
|
|
106
53
|
/**
|
|
107
54
|
* Gate roll-up over blocking rules only. New violations fail the gate. Any
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../src/constitution/result.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,yGAOhB,CAAC;AACX,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../src/constitution/result.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,yGAOhB,CAAC;AACX,eAAO,MAAM,iBAAiB;;;;;;;EAAwB,CAAC;AACvD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;iBAM9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBzB,CAAC;AACL,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,gBAAgB;;;;EAA0C,CAAC;AACxE,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,aAAa,CAAC,UAAU,CAAC,GAAG,UAAU,CAK7E"}
|