@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,78 +1,48 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const LEARNING_EVENT_SCHEMA_VERSION: 1;
|
|
3
|
-
export declare const LearningTaskTypeSchema: z.ZodEnum<
|
|
4
|
-
|
|
3
|
+
export declare const LearningTaskTypeSchema: z.ZodEnum<{
|
|
4
|
+
review: "review";
|
|
5
|
+
feature: "feature";
|
|
6
|
+
fix: "fix";
|
|
7
|
+
refactor: "refactor";
|
|
8
|
+
verify: "verify";
|
|
9
|
+
}>;
|
|
10
|
+
export declare const LearningOutcomeSchema: z.ZodEnum<{
|
|
11
|
+
passed: "passed";
|
|
12
|
+
failed: "failed";
|
|
13
|
+
blocked: "blocked";
|
|
14
|
+
cancelled: "cancelled";
|
|
15
|
+
}>;
|
|
5
16
|
export declare const LearningEventSchema: z.ZodObject<{
|
|
6
17
|
schemaVersion: z.ZodLiteral<1>;
|
|
7
18
|
id: z.ZodString;
|
|
8
19
|
occurredAt: z.ZodString;
|
|
9
20
|
runId: z.ZodString;
|
|
10
|
-
taskType: z.ZodEnum<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
21
|
+
taskType: z.ZodEnum<{
|
|
22
|
+
review: "review";
|
|
23
|
+
feature: "feature";
|
|
24
|
+
fix: "fix";
|
|
25
|
+
refactor: "refactor";
|
|
26
|
+
verify: "verify";
|
|
27
|
+
}>;
|
|
28
|
+
outcome: z.ZodEnum<{
|
|
29
|
+
passed: "passed";
|
|
30
|
+
failed: "failed";
|
|
31
|
+
blocked: "blocked";
|
|
32
|
+
cancelled: "cancelled";
|
|
33
|
+
}>;
|
|
34
|
+
stacks: z.ZodArray<z.ZodString>;
|
|
35
|
+
affectedFiles: z.ZodArray<z.ZodString>;
|
|
14
36
|
ruleViolations: z.ZodArray<z.ZodObject<{
|
|
15
37
|
ruleId: z.ZodString;
|
|
16
|
-
path: z.
|
|
17
|
-
},
|
|
18
|
-
path: string;
|
|
19
|
-
ruleId: string;
|
|
20
|
-
}, {
|
|
21
|
-
path: string;
|
|
22
|
-
ruleId: string;
|
|
23
|
-
}>, "many">;
|
|
38
|
+
path: z.ZodString;
|
|
39
|
+
}, z.core.$strict>>;
|
|
24
40
|
verification: z.ZodObject<{
|
|
25
41
|
passed: z.ZodNumber;
|
|
26
42
|
failed: z.ZodNumber;
|
|
27
43
|
skipped: z.ZodNumber;
|
|
28
|
-
},
|
|
29
|
-
passed: number;
|
|
30
|
-
failed: number;
|
|
31
|
-
skipped: number;
|
|
32
|
-
}, {
|
|
33
|
-
passed: number;
|
|
34
|
-
failed: number;
|
|
35
|
-
skipped: number;
|
|
36
|
-
}>;
|
|
44
|
+
}, z.core.$strict>;
|
|
37
45
|
durationMs: z.ZodNumber;
|
|
38
|
-
},
|
|
39
|
-
schemaVersion: 1;
|
|
40
|
-
durationMs: number;
|
|
41
|
-
verification: {
|
|
42
|
-
passed: number;
|
|
43
|
-
failed: number;
|
|
44
|
-
skipped: number;
|
|
45
|
-
};
|
|
46
|
-
stacks: string[];
|
|
47
|
-
id: string;
|
|
48
|
-
outcome: "passed" | "failed" | "blocked" | "cancelled";
|
|
49
|
-
runId: string;
|
|
50
|
-
occurredAt: string;
|
|
51
|
-
taskType: "review" | "feature" | "fix" | "refactor" | "verify";
|
|
52
|
-
affectedFiles: string[];
|
|
53
|
-
ruleViolations: {
|
|
54
|
-
path: string;
|
|
55
|
-
ruleId: string;
|
|
56
|
-
}[];
|
|
57
|
-
}, {
|
|
58
|
-
schemaVersion: 1;
|
|
59
|
-
durationMs: number;
|
|
60
|
-
verification: {
|
|
61
|
-
passed: number;
|
|
62
|
-
failed: number;
|
|
63
|
-
skipped: number;
|
|
64
|
-
};
|
|
65
|
-
stacks: string[];
|
|
66
|
-
id: string;
|
|
67
|
-
outcome: "passed" | "failed" | "blocked" | "cancelled";
|
|
68
|
-
runId: string;
|
|
69
|
-
occurredAt: string;
|
|
70
|
-
taskType: "review" | "feature" | "fix" | "refactor" | "verify";
|
|
71
|
-
affectedFiles: string[];
|
|
72
|
-
ruleViolations: {
|
|
73
|
-
path: string;
|
|
74
|
-
ruleId: string;
|
|
75
|
-
}[];
|
|
76
|
-
}>;
|
|
46
|
+
}, z.core.$strict>;
|
|
77
47
|
export type LearningEvent = z.infer<typeof LearningEventSchema>;
|
|
78
48
|
//# sourceMappingURL=learning-event.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"learning-event.d.ts","sourceRoot":"","sources":["../../src/learning/learning-event.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B,EAAG,CAAU,CAAC;AAOxD,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"learning-event.d.ts","sourceRoot":"","sources":["../../src/learning/learning-event.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B,EAAG,CAAU,CAAC;AAOxD,eAAO,MAAM,sBAAsB;;;;;;EAA6D,CAAC;AACjG,eAAO,MAAM,qBAAqB;;;;;EAAuD,CAAC;AAE1F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAoBrB,CAAC;AACZ,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,42 +1,26 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const MemoryTypeSchema: z.ZodEnum<
|
|
2
|
+
export declare const MemoryTypeSchema: z.ZodEnum<{
|
|
3
|
+
episodic: "episodic";
|
|
4
|
+
semantic: "semantic";
|
|
5
|
+
procedural: "procedural";
|
|
6
|
+
}>;
|
|
3
7
|
export type MemoryType = z.infer<typeof MemoryTypeSchema>;
|
|
4
8
|
export declare const MemoryEntrySchema: z.ZodObject<{
|
|
5
9
|
id: z.ZodString;
|
|
6
|
-
type: z.ZodEnum<
|
|
10
|
+
type: z.ZodEnum<{
|
|
11
|
+
episodic: "episodic";
|
|
12
|
+
semantic: "semantic";
|
|
13
|
+
procedural: "procedural";
|
|
14
|
+
}>;
|
|
7
15
|
domain: z.ZodString;
|
|
8
16
|
summary: z.ZodString;
|
|
9
17
|
content: z.ZodString;
|
|
10
18
|
confidence: z.ZodNumber;
|
|
11
|
-
provenance: z.ZodArray<z.ZodString
|
|
19
|
+
provenance: z.ZodArray<z.ZodString>;
|
|
12
20
|
appliedCount: z.ZodDefault<z.ZodNumber>;
|
|
13
21
|
successCount: z.ZodDefault<z.ZodNumber>;
|
|
14
22
|
createdAt: z.ZodString;
|
|
15
23
|
updatedAt: z.ZodString;
|
|
16
|
-
},
|
|
17
|
-
type: "episodic" | "semantic" | "procedural";
|
|
18
|
-
summary: string;
|
|
19
|
-
id: string;
|
|
20
|
-
confidence: number;
|
|
21
|
-
domain: string;
|
|
22
|
-
content: string;
|
|
23
|
-
provenance: string[];
|
|
24
|
-
appliedCount: number;
|
|
25
|
-
successCount: number;
|
|
26
|
-
createdAt: string;
|
|
27
|
-
updatedAt: string;
|
|
28
|
-
}, {
|
|
29
|
-
type: "episodic" | "semantic" | "procedural";
|
|
30
|
-
summary: string;
|
|
31
|
-
id: string;
|
|
32
|
-
confidence: number;
|
|
33
|
-
domain: string;
|
|
34
|
-
content: string;
|
|
35
|
-
provenance: string[];
|
|
36
|
-
createdAt: string;
|
|
37
|
-
updatedAt: string;
|
|
38
|
-
appliedCount?: number | undefined;
|
|
39
|
-
successCount?: number | undefined;
|
|
40
|
-
}>;
|
|
24
|
+
}, z.core.$strip>;
|
|
41
25
|
export type MemoryEntry = z.infer<typeof MemoryEntrySchema>;
|
|
42
26
|
//# sourceMappingURL=memory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/learning/memory.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/learning/memory.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;EAAiD,CAAC;AAC/E,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;iBAY5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -5,27 +5,14 @@ export declare const SkillPromotionRequestSchema: z.ZodObject<{
|
|
|
5
5
|
targetSkill: z.ZodString;
|
|
6
6
|
branchName: z.ZodString;
|
|
7
7
|
diffSummary: z.ZodString;
|
|
8
|
-
status: z.ZodEnum<
|
|
8
|
+
status: z.ZodEnum<{
|
|
9
|
+
rejected: "rejected";
|
|
10
|
+
approved: "approved";
|
|
11
|
+
pending_approval: "pending_approval";
|
|
12
|
+
rolled_back: "rolled_back";
|
|
13
|
+
}>;
|
|
9
14
|
approvedBy: z.ZodOptional<z.ZodString>;
|
|
10
15
|
createdAt: z.ZodString;
|
|
11
|
-
},
|
|
12
|
-
status: "rejected" | "approved" | "pending_approval" | "rolled_back";
|
|
13
|
-
id: string;
|
|
14
|
-
createdAt: string;
|
|
15
|
-
targetSkill: string;
|
|
16
|
-
hypothesisId: string;
|
|
17
|
-
branchName: string;
|
|
18
|
-
diffSummary: string;
|
|
19
|
-
approvedBy?: string | undefined;
|
|
20
|
-
}, {
|
|
21
|
-
status: "rejected" | "approved" | "pending_approval" | "rolled_back";
|
|
22
|
-
id: string;
|
|
23
|
-
createdAt: string;
|
|
24
|
-
targetSkill: string;
|
|
25
|
-
hypothesisId: string;
|
|
26
|
-
branchName: string;
|
|
27
|
-
diffSummary: string;
|
|
28
|
-
approvedBy?: string | undefined;
|
|
29
|
-
}>;
|
|
16
|
+
}, z.core.$strip>;
|
|
30
17
|
export type SkillPromotionRequest = z.infer<typeof SkillPromotionRequestSchema>;
|
|
31
18
|
//# sourceMappingURL=promotion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../src/learning/promotion.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../src/learning/promotion.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;iBAStC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -1,44 +1,63 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const BUG_FIX_STAGE: z.ZodEnum<
|
|
2
|
+
export declare const BUG_FIX_STAGE: z.ZodEnum<{
|
|
3
|
+
review: "review";
|
|
4
|
+
discovery: "discovery";
|
|
5
|
+
report: "report";
|
|
6
|
+
reproduction: "reproduction";
|
|
7
|
+
"root-cause": "root-cause";
|
|
8
|
+
"regression-test": "regression-test";
|
|
9
|
+
"minimal-fix": "minimal-fix";
|
|
10
|
+
"focused-verify": "focused-verify";
|
|
11
|
+
"regression-verify": "regression-verify";
|
|
12
|
+
completion: "completion";
|
|
13
|
+
}>;
|
|
3
14
|
export type BugFixStage = z.infer<typeof BUG_FIX_STAGE>;
|
|
4
|
-
export declare const BUG_FIX_STATUS: z.ZodEnum<
|
|
15
|
+
export declare const BUG_FIX_STATUS: z.ZodEnum<{
|
|
16
|
+
failed: "failed";
|
|
17
|
+
blocked: "blocked";
|
|
18
|
+
pending: "pending";
|
|
19
|
+
in_progress: "in_progress";
|
|
20
|
+
completed: "completed";
|
|
21
|
+
}>;
|
|
5
22
|
export type BugFixStatus = z.infer<typeof BUG_FIX_STATUS>;
|
|
6
|
-
export declare const BUG_FIX_TRANSITION: z.ZodEnum<
|
|
23
|
+
export declare const BUG_FIX_TRANSITION: z.ZodEnum<{
|
|
24
|
+
start: "start";
|
|
25
|
+
block: "block";
|
|
26
|
+
resume: "resume";
|
|
27
|
+
complete: "complete";
|
|
28
|
+
fail: "fail";
|
|
29
|
+
advance: "advance";
|
|
30
|
+
}>;
|
|
7
31
|
export type BugFixTransition = z.infer<typeof BUG_FIX_TRANSITION>;
|
|
8
32
|
export declare const BugFixStateSchema: z.ZodObject<{
|
|
9
33
|
schemaVersion: z.ZodLiteral<1>;
|
|
10
34
|
runId: z.ZodString;
|
|
11
35
|
bugId: z.ZodString;
|
|
12
|
-
status: z.ZodEnum<
|
|
13
|
-
|
|
36
|
+
status: z.ZodEnum<{
|
|
37
|
+
failed: "failed";
|
|
38
|
+
blocked: "blocked";
|
|
39
|
+
pending: "pending";
|
|
40
|
+
in_progress: "in_progress";
|
|
41
|
+
completed: "completed";
|
|
42
|
+
}>;
|
|
43
|
+
stage: z.ZodEnum<{
|
|
44
|
+
review: "review";
|
|
45
|
+
discovery: "discovery";
|
|
46
|
+
report: "report";
|
|
47
|
+
reproduction: "reproduction";
|
|
48
|
+
"root-cause": "root-cause";
|
|
49
|
+
"regression-test": "regression-test";
|
|
50
|
+
"minimal-fix": "minimal-fix";
|
|
51
|
+
"focused-verify": "focused-verify";
|
|
52
|
+
"regression-verify": "regression-verify";
|
|
53
|
+
completion: "completion";
|
|
54
|
+
}>;
|
|
14
55
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
15
56
|
rootCauseSummary: z.ZodOptional<z.ZodString>;
|
|
16
57
|
regressionTestPath: z.ZodOptional<z.ZodString>;
|
|
17
|
-
verificationReportIds: z.ZodDefault<z.ZodArray<z.ZodString
|
|
18
|
-
affectedFiles: z.ZodDefault<z.ZodArray<z.ZodString
|
|
19
|
-
},
|
|
20
|
-
status: "failed" | "blocked" | "pending" | "in_progress" | "completed";
|
|
21
|
-
schemaVersion: 1;
|
|
22
|
-
runId: string;
|
|
23
|
-
affectedFiles: string[];
|
|
24
|
-
stage: "review" | "discovery" | "report" | "reproduction" | "root-cause" | "regression-test" | "minimal-fix" | "focused-verify" | "regression-verify" | "completion";
|
|
25
|
-
bugId: string;
|
|
26
|
-
verificationReportIds: string[];
|
|
27
|
-
startedAt?: string | undefined;
|
|
28
|
-
rootCauseSummary?: string | undefined;
|
|
29
|
-
regressionTestPath?: string | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
status: "failed" | "blocked" | "pending" | "in_progress" | "completed";
|
|
32
|
-
schemaVersion: 1;
|
|
33
|
-
runId: string;
|
|
34
|
-
stage: "review" | "discovery" | "report" | "reproduction" | "root-cause" | "regression-test" | "minimal-fix" | "focused-verify" | "regression-verify" | "completion";
|
|
35
|
-
bugId: string;
|
|
36
|
-
startedAt?: string | undefined;
|
|
37
|
-
affectedFiles?: string[] | undefined;
|
|
38
|
-
rootCauseSummary?: string | undefined;
|
|
39
|
-
regressionTestPath?: string | undefined;
|
|
40
|
-
verificationReportIds?: string[] | undefined;
|
|
41
|
-
}>;
|
|
58
|
+
verificationReportIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
59
|
+
affectedFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
60
|
+
}, z.core.$strip>;
|
|
42
61
|
export type BugFixState = z.infer<typeof BugFixStateSchema>;
|
|
43
62
|
export declare const BUG_FIX_STAGE_ORDER: ReadonlyArray<BugFixStage>;
|
|
44
63
|
export declare const BUG_FIX_TRANSITIONS_BY_STATUS: Readonly<Record<BugFixStatus, ReadonlyArray<BugFixTransition>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bug-fix-workflow.d.ts","sourceRoot":"","sources":["../../src/maintenance/bug-fix-workflow.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"bug-fix-workflow.d.ts","sourceRoot":"","sources":["../../src/maintenance/bug-fix-workflow.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,aAAa;;;;;;;;;;;EAWxB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAExD,eAAO,MAAM,cAAc;;;;;;EAAuE,CAAC;AACnG,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE1D,eAAO,MAAM,kBAAkB;;;;;;;EAO7B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAElE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAAC,WAAW,CAW1D,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAClD,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAOtD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,MAAM,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAOlF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,aAAa,CAAC,WAAW,CAAkB,CAAC;AAErF;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,WAAW,EACtB,OAAO,EAAE,WAAW,GACnB,OAAO,CAQT"}
|
|
@@ -1,61 +1,54 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const BugCategorySchema: z.ZodEnum<
|
|
3
|
-
|
|
2
|
+
export declare const BugCategorySchema: z.ZodEnum<{
|
|
3
|
+
functional: "functional";
|
|
4
|
+
other: "other";
|
|
5
|
+
regression: "regression";
|
|
6
|
+
data: "data";
|
|
7
|
+
security: "security";
|
|
8
|
+
performance: "performance";
|
|
9
|
+
ui: "ui";
|
|
10
|
+
}>;
|
|
11
|
+
export declare const ReproductionStatusSchema: z.ZodEnum<{
|
|
12
|
+
"not-attempted": "not-attempted";
|
|
13
|
+
reproduced: "reproduced";
|
|
14
|
+
"not-reproducible": "not-reproducible";
|
|
15
|
+
intermittent: "intermittent";
|
|
16
|
+
}>;
|
|
4
17
|
export declare const BugReportSchema: z.ZodObject<{
|
|
5
18
|
id: z.ZodString;
|
|
6
19
|
title: z.ZodString;
|
|
7
20
|
description: z.ZodString;
|
|
8
21
|
reportedAt: z.ZodString;
|
|
9
22
|
reportedBy: z.ZodString;
|
|
10
|
-
category: z.ZodEnum<
|
|
11
|
-
|
|
12
|
-
|
|
23
|
+
category: z.ZodEnum<{
|
|
24
|
+
functional: "functional";
|
|
25
|
+
other: "other";
|
|
26
|
+
regression: "regression";
|
|
27
|
+
data: "data";
|
|
28
|
+
security: "security";
|
|
29
|
+
performance: "performance";
|
|
30
|
+
ui: "ui";
|
|
31
|
+
}>;
|
|
32
|
+
severity: z.ZodEnum<{
|
|
33
|
+
low: "low";
|
|
34
|
+
medium: "medium";
|
|
35
|
+
high: "high";
|
|
36
|
+
critical: "critical";
|
|
37
|
+
}>;
|
|
38
|
+
reportedSteps: z.ZodArray<z.ZodString>;
|
|
13
39
|
expectedBehavior: z.ZodString;
|
|
14
40
|
actualBehavior: z.ZodString;
|
|
15
41
|
environment: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
16
42
|
key: z.ZodString;
|
|
17
43
|
value: z.ZodString;
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
}, "strict", z.ZodTypeAny, {
|
|
27
|
-
id: string;
|
|
28
|
-
title: string;
|
|
29
|
-
environment: {
|
|
30
|
-
value: string;
|
|
31
|
-
key: string;
|
|
32
|
-
}[];
|
|
33
|
-
severity: "low" | "medium" | "high" | "critical";
|
|
34
|
-
description: string;
|
|
35
|
-
reportedAt: string;
|
|
36
|
-
reportedBy: string;
|
|
37
|
-
category: "functional" | "other" | "regression" | "data" | "security" | "performance" | "ui";
|
|
38
|
-
reportedSteps: string[];
|
|
39
|
-
expectedBehavior: string;
|
|
40
|
-
actualBehavior: string;
|
|
41
|
-
reproductionStatus: "not-attempted" | "reproduced" | "not-reproducible" | "intermittent";
|
|
42
|
-
}, {
|
|
43
|
-
id: string;
|
|
44
|
-
title: string;
|
|
45
|
-
severity: "low" | "medium" | "high" | "critical";
|
|
46
|
-
description: string;
|
|
47
|
-
reportedAt: string;
|
|
48
|
-
reportedBy: string;
|
|
49
|
-
category: "functional" | "other" | "regression" | "data" | "security" | "performance" | "ui";
|
|
50
|
-
reportedSteps: string[];
|
|
51
|
-
expectedBehavior: string;
|
|
52
|
-
actualBehavior: string;
|
|
53
|
-
environment?: {
|
|
54
|
-
value: string;
|
|
55
|
-
key: string;
|
|
56
|
-
}[] | undefined;
|
|
57
|
-
reproductionStatus?: "not-attempted" | "reproduced" | "not-reproducible" | "intermittent" | undefined;
|
|
58
|
-
}>;
|
|
44
|
+
}, z.core.$strip>>>;
|
|
45
|
+
reproductionStatus: z.ZodDefault<z.ZodEnum<{
|
|
46
|
+
"not-attempted": "not-attempted";
|
|
47
|
+
reproduced: "reproduced";
|
|
48
|
+
"not-reproducible": "not-reproducible";
|
|
49
|
+
intermittent: "intermittent";
|
|
50
|
+
}>>;
|
|
51
|
+
}, z.core.$strict>;
|
|
59
52
|
export type BugCategory = z.infer<typeof BugCategorySchema>;
|
|
60
53
|
export type ReproductionStatus = z.infer<typeof ReproductionStatusSchema>;
|
|
61
54
|
export type BugReport = z.infer<typeof BugReportSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bug-report.d.ts","sourceRoot":"","sources":["../../src/maintenance/bug-report.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"bug-report.d.ts","sourceRoot":"","sources":["../../src/maintenance/bug-report.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,iBAAiB;;;;;;;;EAQ5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;EAKnC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyBjB,CAAC;AAEZ,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -4,77 +4,31 @@ export declare const PerformanceProblemSchema: z.ZodObject<{
|
|
|
4
4
|
description: z.ZodString;
|
|
5
5
|
targetOperation: z.ZodString;
|
|
6
6
|
baseline: z.ZodObject<{
|
|
7
|
-
command: z.ZodArray<z.ZodString
|
|
8
|
-
metric: z.ZodEnum<
|
|
7
|
+
command: z.ZodArray<z.ZodString>;
|
|
8
|
+
metric: z.ZodEnum<{
|
|
9
|
+
custom: "custom";
|
|
10
|
+
p50: "p50";
|
|
11
|
+
p95: "p95";
|
|
12
|
+
p99: "p99";
|
|
13
|
+
throughput: "throughput";
|
|
14
|
+
rss: "rss";
|
|
15
|
+
heap: "heap";
|
|
16
|
+
cpu: "cpu";
|
|
17
|
+
}>;
|
|
9
18
|
customMetricName: z.ZodOptional<z.ZodString>;
|
|
10
19
|
repetitions: z.ZodNumber;
|
|
11
20
|
environment: z.ZodString;
|
|
12
|
-
},
|
|
13
|
-
command: string[];
|
|
14
|
-
environment: string;
|
|
15
|
-
metric: "custom" | "p50" | "p95" | "p99" | "throughput" | "rss" | "heap" | "cpu";
|
|
16
|
-
repetitions: number;
|
|
17
|
-
customMetricName?: string | undefined;
|
|
18
|
-
}, {
|
|
19
|
-
command: string[];
|
|
20
|
-
environment: string;
|
|
21
|
-
metric: "custom" | "p50" | "p95" | "p99" | "throughput" | "rss" | "heap" | "cpu";
|
|
22
|
-
repetitions: number;
|
|
23
|
-
customMetricName?: string | undefined;
|
|
24
|
-
}>;
|
|
21
|
+
}, z.core.$strip>;
|
|
25
22
|
target: z.ZodObject<{
|
|
26
23
|
metric: z.ZodString;
|
|
27
24
|
value: z.ZodNumber;
|
|
28
25
|
unit: z.ZodString;
|
|
29
|
-
direction: z.ZodEnum<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
direction: "lower-is-better" | "higher-is-better";
|
|
35
|
-
}, {
|
|
36
|
-
value: number;
|
|
37
|
-
metric: string;
|
|
38
|
-
unit: string;
|
|
39
|
-
direction: "lower-is-better" | "higher-is-better";
|
|
40
|
-
}>;
|
|
26
|
+
direction: z.ZodEnum<{
|
|
27
|
+
"lower-is-better": "lower-is-better";
|
|
28
|
+
"higher-is-better": "higher-is-better";
|
|
29
|
+
}>;
|
|
30
|
+
}, z.core.$strip>;
|
|
41
31
|
bottleneckHypothesis: z.ZodString;
|
|
42
|
-
},
|
|
43
|
-
id: string;
|
|
44
|
-
description: string;
|
|
45
|
-
target: {
|
|
46
|
-
value: number;
|
|
47
|
-
metric: string;
|
|
48
|
-
unit: string;
|
|
49
|
-
direction: "lower-is-better" | "higher-is-better";
|
|
50
|
-
};
|
|
51
|
-
targetOperation: string;
|
|
52
|
-
baseline: {
|
|
53
|
-
command: string[];
|
|
54
|
-
environment: string;
|
|
55
|
-
metric: "custom" | "p50" | "p95" | "p99" | "throughput" | "rss" | "heap" | "cpu";
|
|
56
|
-
repetitions: number;
|
|
57
|
-
customMetricName?: string | undefined;
|
|
58
|
-
};
|
|
59
|
-
bottleneckHypothesis: string;
|
|
60
|
-
}, {
|
|
61
|
-
id: string;
|
|
62
|
-
description: string;
|
|
63
|
-
target: {
|
|
64
|
-
value: number;
|
|
65
|
-
metric: string;
|
|
66
|
-
unit: string;
|
|
67
|
-
direction: "lower-is-better" | "higher-is-better";
|
|
68
|
-
};
|
|
69
|
-
targetOperation: string;
|
|
70
|
-
baseline: {
|
|
71
|
-
command: string[];
|
|
72
|
-
environment: string;
|
|
73
|
-
metric: "custom" | "p50" | "p95" | "p99" | "throughput" | "rss" | "heap" | "cpu";
|
|
74
|
-
repetitions: number;
|
|
75
|
-
customMetricName?: string | undefined;
|
|
76
|
-
};
|
|
77
|
-
bottleneckHypothesis: string;
|
|
78
|
-
}>;
|
|
32
|
+
}, z.core.$strip>;
|
|
79
33
|
export type PerformanceProblem = z.infer<typeof PerformanceProblemSchema>;
|
|
80
34
|
//# sourceMappingURL=performance-baseline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"performance-baseline.d.ts","sourceRoot":"","sources":["../../src/maintenance/performance-baseline.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"performance-baseline.d.ts","sourceRoot":"","sources":["../../src/maintenance/performance-baseline.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqBnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|