@callabens/projectmind 0.1.0-dev.1 → 0.1.0-dev.2
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 +66 -4
- package/dist/apps/cli/src/index.js +321 -9
- package/dist/apps/cli/src/index.js.map +1 -1
- package/dist/packages/core/src/index.d.ts +12 -1
- package/dist/packages/core/src/index.js +1 -1
- package/dist/packages/core/src/index.js.map +1 -1
- package/dist/packages/core/src/schema.d.ts +177 -0
- package/dist/packages/core/src/schema.js +17 -2
- package/dist/packages/core/src/schema.js.map +1 -1
- package/dist/packages/doctor/src/index.d.ts +15 -0
- package/dist/packages/doctor/src/index.js +81 -0
- package/dist/packages/doctor/src/index.js.map +1 -0
- package/dist/packages/evidence/src/index.d.ts +1 -0
- package/dist/packages/evidence/src/index.js +70 -6
- package/dist/packages/evidence/src/index.js.map +1 -1
- package/dist/packages/graph/src/index.js +143 -30
- package/dist/packages/graph/src/index.js.map +1 -1
- package/dist/packages/intent/src/index.d.ts +21 -1
- package/dist/packages/intent/src/index.js +63 -1
- package/dist/packages/intent/src/index.js.map +1 -1
- package/dist/packages/intent/src/templates.d.ts +17 -0
- package/dist/packages/intent/src/templates.js +40 -0
- package/dist/packages/intent/src/templates.js.map +1 -0
- package/dist/packages/mcp/src/index.d.ts +11 -0
- package/dist/packages/mcp/src/index.js +175 -36
- package/dist/packages/mcp/src/index.js.map +1 -1
- package/dist/packages/parser/src/index.d.ts +3 -1
- package/dist/packages/parser/src/index.js +17 -3
- package/dist/packages/parser/src/index.js.map +1 -1
- package/dist/packages/proofpack/src/index.d.ts +87 -0
- package/dist/packages/proofpack/src/index.js +144 -1
- package/dist/packages/proofpack/src/index.js.map +1 -1
- package/dist/packages/report/src/index.d.ts +1 -1
- package/dist/packages/report/src/index.js +6 -3
- package/dist/packages/report/src/index.js.map +1 -1
- package/dist/packages/report/src/pr-comment.d.ts +2 -0
- package/dist/packages/report/src/pr-comment.js +74 -0
- package/dist/packages/report/src/pr-comment.js.map +1 -0
- package/dist/packages/sdk/src/examples/eslint-check.d.ts +1 -0
- package/dist/packages/sdk/src/examples/eslint-check.js +18 -0
- package/dist/packages/sdk/src/examples/eslint-check.js.map +1 -0
- package/dist/packages/sdk/src/scaffold.d.ts +5 -0
- package/dist/packages/sdk/src/scaffold.js +45 -0
- package/dist/packages/sdk/src/scaffold.js.map +1 -0
- package/dist/packages/verifier/src/index.js +5 -2
- package/dist/packages/verifier/src/index.js.map +1 -1
- package/package.json +11 -5
- package/schemas/proofpack-v1.schema.json +46 -1
- package/scripts/demo.mjs +80 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
2
2
|
import { dirname, join } from "node:path";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
|
-
export const PROJECTMIND_VERSION = "0.1.0-dev.
|
|
4
|
+
export const PROJECTMIND_VERSION = "0.1.0-dev.2";
|
|
5
5
|
export const projectMindDir = (root) => join(root, ".projectmind");
|
|
6
6
|
export async function ensureDir(path) {
|
|
7
7
|
await mkdir(path, { recursive: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/core/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/core/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE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Optional<z.ZodNumber>;
|
|
10
10
|
provider: z.ZodOptional<z.ZodEnum<["generic-command", "node-test-junit", "pytest-junit"]>>;
|
|
11
|
+
coveragePath: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
11
12
|
}, "strict", z.ZodTypeAny, {
|
|
12
13
|
command: string;
|
|
13
14
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
14
15
|
required: boolean;
|
|
15
16
|
timeoutMs?: number | undefined;
|
|
16
17
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
18
|
+
coveragePath?: string | undefined;
|
|
17
19
|
}, {
|
|
18
20
|
command: string;
|
|
19
21
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
20
22
|
required: boolean;
|
|
21
23
|
timeoutMs?: number | undefined;
|
|
22
24
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
25
|
+
coveragePath?: string | undefined;
|
|
23
26
|
}>, {
|
|
24
27
|
command: string;
|
|
25
28
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
26
29
|
required: boolean;
|
|
27
30
|
timeoutMs?: number | undefined;
|
|
28
31
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
32
|
+
coveragePath?: string | undefined;
|
|
29
33
|
}, {
|
|
30
34
|
command: string;
|
|
31
35
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
32
36
|
required: boolean;
|
|
33
37
|
timeoutMs?: number | undefined;
|
|
34
38
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
39
|
+
coveragePath?: string | undefined;
|
|
35
40
|
}>;
|
|
36
41
|
export declare const configSchema: z.ZodObject<{
|
|
37
42
|
version: z.ZodLiteral<1>;
|
|
@@ -68,42 +73,49 @@ export declare const configSchema: z.ZodObject<{
|
|
|
68
73
|
required: z.ZodBoolean;
|
|
69
74
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
70
75
|
provider: z.ZodOptional<z.ZodEnum<["generic-command", "node-test-junit", "pytest-junit"]>>;
|
|
76
|
+
coveragePath: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
71
77
|
}, "strict", z.ZodTypeAny, {
|
|
72
78
|
command: string;
|
|
73
79
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
74
80
|
required: boolean;
|
|
75
81
|
timeoutMs?: number | undefined;
|
|
76
82
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
83
|
+
coveragePath?: string | undefined;
|
|
77
84
|
}, {
|
|
78
85
|
command: string;
|
|
79
86
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
80
87
|
required: boolean;
|
|
81
88
|
timeoutMs?: number | undefined;
|
|
82
89
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
90
|
+
coveragePath?: string | undefined;
|
|
83
91
|
}>, {
|
|
84
92
|
command: string;
|
|
85
93
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
86
94
|
required: boolean;
|
|
87
95
|
timeoutMs?: number | undefined;
|
|
88
96
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
97
|
+
coveragePath?: string | undefined;
|
|
89
98
|
}, {
|
|
90
99
|
command: string;
|
|
91
100
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
92
101
|
required: boolean;
|
|
93
102
|
timeoutMs?: number | undefined;
|
|
94
103
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
104
|
+
coveragePath?: string | undefined;
|
|
95
105
|
}>, "many">, {
|
|
96
106
|
command: string;
|
|
97
107
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
98
108
|
required: boolean;
|
|
99
109
|
timeoutMs?: number | undefined;
|
|
100
110
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
111
|
+
coveragePath?: string | undefined;
|
|
101
112
|
}[], {
|
|
102
113
|
command: string;
|
|
103
114
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
104
115
|
required: boolean;
|
|
105
116
|
timeoutMs?: number | undefined;
|
|
106
117
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
118
|
+
coveragePath?: string | undefined;
|
|
107
119
|
}[]>;
|
|
108
120
|
}, "strict", z.ZodTypeAny, {
|
|
109
121
|
commands: {
|
|
@@ -112,6 +124,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
112
124
|
required: boolean;
|
|
113
125
|
timeoutMs?: number | undefined;
|
|
114
126
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
127
|
+
coveragePath?: string | undefined;
|
|
115
128
|
}[];
|
|
116
129
|
}, {
|
|
117
130
|
commands: {
|
|
@@ -120,6 +133,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
120
133
|
required: boolean;
|
|
121
134
|
timeoutMs?: number | undefined;
|
|
122
135
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
136
|
+
coveragePath?: string | undefined;
|
|
123
137
|
}[];
|
|
124
138
|
}>;
|
|
125
139
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -141,6 +155,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
141
155
|
required: boolean;
|
|
142
156
|
timeoutMs?: number | undefined;
|
|
143
157
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
158
|
+
coveragePath?: string | undefined;
|
|
144
159
|
}[];
|
|
145
160
|
};
|
|
146
161
|
}, {
|
|
@@ -162,6 +177,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
162
177
|
required: boolean;
|
|
163
178
|
timeoutMs?: number | undefined;
|
|
164
179
|
provider?: "generic-command" | "node-test-junit" | "pytest-junit" | undefined;
|
|
180
|
+
coveragePath?: string | undefined;
|
|
165
181
|
}[];
|
|
166
182
|
};
|
|
167
183
|
}>;
|
|
@@ -241,6 +257,7 @@ export declare const requirementSchema: z.ZodObject<{
|
|
|
241
257
|
evidenceKinds: z.ZodArray<z.ZodEnum<["test", "build", "typecheck", "lint", "static", "runtime", "command"]>, "many">;
|
|
242
258
|
evidenceCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
243
259
|
evidenceTests: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
260
|
+
coveragePaths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
244
261
|
}, "strict", z.ZodTypeAny, {
|
|
245
262
|
id: string;
|
|
246
263
|
statement: string;
|
|
@@ -248,6 +265,7 @@ export declare const requirementSchema: z.ZodObject<{
|
|
|
248
265
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
249
266
|
evidenceCommands?: string[] | undefined;
|
|
250
267
|
evidenceTests?: string[] | undefined;
|
|
268
|
+
coveragePaths?: string[] | undefined;
|
|
251
269
|
}, {
|
|
252
270
|
id: string;
|
|
253
271
|
statement: string;
|
|
@@ -255,6 +273,7 @@ export declare const requirementSchema: z.ZodObject<{
|
|
|
255
273
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
256
274
|
evidenceCommands?: string[] | undefined;
|
|
257
275
|
evidenceTests?: string[] | undefined;
|
|
276
|
+
coveragePaths?: string[] | undefined;
|
|
258
277
|
}>;
|
|
259
278
|
export declare const intentSchema: z.ZodObject<{
|
|
260
279
|
version: z.ZodLiteral<1>;
|
|
@@ -268,6 +287,7 @@ export declare const intentSchema: z.ZodObject<{
|
|
|
268
287
|
evidenceKinds: z.ZodArray<z.ZodEnum<["test", "build", "typecheck", "lint", "static", "runtime", "command"]>, "many">;
|
|
269
288
|
evidenceCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
270
289
|
evidenceTests: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
290
|
+
coveragePaths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
271
291
|
}, "strict", z.ZodTypeAny, {
|
|
272
292
|
id: string;
|
|
273
293
|
statement: string;
|
|
@@ -275,6 +295,7 @@ export declare const intentSchema: z.ZodObject<{
|
|
|
275
295
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
276
296
|
evidenceCommands?: string[] | undefined;
|
|
277
297
|
evidenceTests?: string[] | undefined;
|
|
298
|
+
coveragePaths?: string[] | undefined;
|
|
278
299
|
}, {
|
|
279
300
|
id: string;
|
|
280
301
|
statement: string;
|
|
@@ -282,6 +303,7 @@ export declare const intentSchema: z.ZodObject<{
|
|
|
282
303
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
283
304
|
evidenceCommands?: string[] | undefined;
|
|
284
305
|
evidenceTests?: string[] | undefined;
|
|
306
|
+
coveragePaths?: string[] | undefined;
|
|
285
307
|
}>, "many">, {
|
|
286
308
|
id: string;
|
|
287
309
|
statement: string;
|
|
@@ -289,6 +311,7 @@ export declare const intentSchema: z.ZodObject<{
|
|
|
289
311
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
290
312
|
evidenceCommands?: string[] | undefined;
|
|
291
313
|
evidenceTests?: string[] | undefined;
|
|
314
|
+
coveragePaths?: string[] | undefined;
|
|
292
315
|
}[], {
|
|
293
316
|
id: string;
|
|
294
317
|
statement: string;
|
|
@@ -296,6 +319,7 @@ export declare const intentSchema: z.ZodObject<{
|
|
|
296
319
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
297
320
|
evidenceCommands?: string[] | undefined;
|
|
298
321
|
evidenceTests?: string[] | undefined;
|
|
322
|
+
coveragePaths?: string[] | undefined;
|
|
299
323
|
}[]>;
|
|
300
324
|
preserve: z.ZodArray<z.ZodString, "many">;
|
|
301
325
|
outOfScope: z.ZodArray<z.ZodString, "many">;
|
|
@@ -311,6 +335,7 @@ export declare const intentSchema: z.ZodObject<{
|
|
|
311
335
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
312
336
|
evidenceCommands?: string[] | undefined;
|
|
313
337
|
evidenceTests?: string[] | undefined;
|
|
338
|
+
coveragePaths?: string[] | undefined;
|
|
314
339
|
}[];
|
|
315
340
|
preserve: string[];
|
|
316
341
|
outOfScope: string[];
|
|
@@ -326,6 +351,7 @@ export declare const intentSchema: z.ZodObject<{
|
|
|
326
351
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
327
352
|
evidenceCommands?: string[] | undefined;
|
|
328
353
|
evidenceTests?: string[] | undefined;
|
|
354
|
+
coveragePaths?: string[] | undefined;
|
|
329
355
|
}[];
|
|
330
356
|
preserve: string[];
|
|
331
357
|
outOfScope: string[];
|
|
@@ -432,6 +458,44 @@ export declare const evidenceRecordSchema: z.ZodObject<{
|
|
|
432
458
|
durationMs?: number | undefined;
|
|
433
459
|
}[];
|
|
434
460
|
}>>;
|
|
461
|
+
coverageSummary: z.ZodOptional<z.ZodObject<{
|
|
462
|
+
provider: z.ZodLiteral<"lcov">;
|
|
463
|
+
files: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
464
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
465
|
+
linesFound: z.ZodNumber;
|
|
466
|
+
linesHit: z.ZodNumber;
|
|
467
|
+
}, "strict", z.ZodTypeAny, {
|
|
468
|
+
path: string;
|
|
469
|
+
linesFound: number;
|
|
470
|
+
linesHit: number;
|
|
471
|
+
}, {
|
|
472
|
+
path: string;
|
|
473
|
+
linesFound: number;
|
|
474
|
+
linesHit: number;
|
|
475
|
+
}>, {
|
|
476
|
+
path: string;
|
|
477
|
+
linesFound: number;
|
|
478
|
+
linesHit: number;
|
|
479
|
+
}, {
|
|
480
|
+
path: string;
|
|
481
|
+
linesFound: number;
|
|
482
|
+
linesHit: number;
|
|
483
|
+
}>, "many">;
|
|
484
|
+
}, "strict", z.ZodTypeAny, {
|
|
485
|
+
provider: "lcov";
|
|
486
|
+
files: {
|
|
487
|
+
path: string;
|
|
488
|
+
linesFound: number;
|
|
489
|
+
linesHit: number;
|
|
490
|
+
}[];
|
|
491
|
+
}, {
|
|
492
|
+
provider: "lcov";
|
|
493
|
+
files: {
|
|
494
|
+
path: string;
|
|
495
|
+
linesFound: number;
|
|
496
|
+
linesHit: number;
|
|
497
|
+
}[];
|
|
498
|
+
}>>;
|
|
435
499
|
evidenceError: z.ZodOptional<z.ZodString>;
|
|
436
500
|
}, "strict", z.ZodTypeAny, {
|
|
437
501
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
@@ -465,6 +529,14 @@ export declare const evidenceRecordSchema: z.ZodObject<{
|
|
|
465
529
|
durationMs?: number | undefined;
|
|
466
530
|
}[];
|
|
467
531
|
} | undefined;
|
|
532
|
+
coverageSummary?: {
|
|
533
|
+
provider: "lcov";
|
|
534
|
+
files: {
|
|
535
|
+
path: string;
|
|
536
|
+
linesFound: number;
|
|
537
|
+
linesHit: number;
|
|
538
|
+
}[];
|
|
539
|
+
} | undefined;
|
|
468
540
|
evidenceError?: string | undefined;
|
|
469
541
|
}, {
|
|
470
542
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
@@ -498,6 +570,14 @@ export declare const evidenceRecordSchema: z.ZodObject<{
|
|
|
498
570
|
durationMs?: number | undefined;
|
|
499
571
|
}[];
|
|
500
572
|
} | undefined;
|
|
573
|
+
coverageSummary?: {
|
|
574
|
+
provider: "lcov";
|
|
575
|
+
files: {
|
|
576
|
+
path: string;
|
|
577
|
+
linesFound: number;
|
|
578
|
+
linesHit: number;
|
|
579
|
+
}[];
|
|
580
|
+
} | undefined;
|
|
501
581
|
evidenceError?: string | undefined;
|
|
502
582
|
}>;
|
|
503
583
|
export declare const claimRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -639,6 +719,7 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
639
719
|
evidenceKinds: z.ZodArray<z.ZodEnum<["test", "build", "typecheck", "lint", "static", "runtime", "command"]>, "many">;
|
|
640
720
|
evidenceCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
641
721
|
evidenceTests: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
722
|
+
coveragePaths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
642
723
|
}, "strict", z.ZodTypeAny, {
|
|
643
724
|
id: string;
|
|
644
725
|
statement: string;
|
|
@@ -646,6 +727,7 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
646
727
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
647
728
|
evidenceCommands?: string[] | undefined;
|
|
648
729
|
evidenceTests?: string[] | undefined;
|
|
730
|
+
coveragePaths?: string[] | undefined;
|
|
649
731
|
}, {
|
|
650
732
|
id: string;
|
|
651
733
|
statement: string;
|
|
@@ -653,6 +735,7 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
653
735
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
654
736
|
evidenceCommands?: string[] | undefined;
|
|
655
737
|
evidenceTests?: string[] | undefined;
|
|
738
|
+
coveragePaths?: string[] | undefined;
|
|
656
739
|
}>, "many">, {
|
|
657
740
|
id: string;
|
|
658
741
|
statement: string;
|
|
@@ -660,6 +743,7 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
660
743
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
661
744
|
evidenceCommands?: string[] | undefined;
|
|
662
745
|
evidenceTests?: string[] | undefined;
|
|
746
|
+
coveragePaths?: string[] | undefined;
|
|
663
747
|
}[], {
|
|
664
748
|
id: string;
|
|
665
749
|
statement: string;
|
|
@@ -667,6 +751,7 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
667
751
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
668
752
|
evidenceCommands?: string[] | undefined;
|
|
669
753
|
evidenceTests?: string[] | undefined;
|
|
754
|
+
coveragePaths?: string[] | undefined;
|
|
670
755
|
}[]>;
|
|
671
756
|
preserve: z.ZodArray<z.ZodString, "many">;
|
|
672
757
|
outOfScope: z.ZodArray<z.ZodString, "many">;
|
|
@@ -682,6 +767,7 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
682
767
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
683
768
|
evidenceCommands?: string[] | undefined;
|
|
684
769
|
evidenceTests?: string[] | undefined;
|
|
770
|
+
coveragePaths?: string[] | undefined;
|
|
685
771
|
}[];
|
|
686
772
|
preserve: string[];
|
|
687
773
|
outOfScope: string[];
|
|
@@ -697,6 +783,7 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
697
783
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
698
784
|
evidenceCommands?: string[] | undefined;
|
|
699
785
|
evidenceTests?: string[] | undefined;
|
|
786
|
+
coveragePaths?: string[] | undefined;
|
|
700
787
|
}[];
|
|
701
788
|
preserve: string[];
|
|
702
789
|
outOfScope: string[];
|
|
@@ -872,6 +959,44 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
872
959
|
durationMs?: number | undefined;
|
|
873
960
|
}[];
|
|
874
961
|
}>>;
|
|
962
|
+
coverageSummary: z.ZodOptional<z.ZodObject<{
|
|
963
|
+
provider: z.ZodLiteral<"lcov">;
|
|
964
|
+
files: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
965
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
966
|
+
linesFound: z.ZodNumber;
|
|
967
|
+
linesHit: z.ZodNumber;
|
|
968
|
+
}, "strict", z.ZodTypeAny, {
|
|
969
|
+
path: string;
|
|
970
|
+
linesFound: number;
|
|
971
|
+
linesHit: number;
|
|
972
|
+
}, {
|
|
973
|
+
path: string;
|
|
974
|
+
linesFound: number;
|
|
975
|
+
linesHit: number;
|
|
976
|
+
}>, {
|
|
977
|
+
path: string;
|
|
978
|
+
linesFound: number;
|
|
979
|
+
linesHit: number;
|
|
980
|
+
}, {
|
|
981
|
+
path: string;
|
|
982
|
+
linesFound: number;
|
|
983
|
+
linesHit: number;
|
|
984
|
+
}>, "many">;
|
|
985
|
+
}, "strict", z.ZodTypeAny, {
|
|
986
|
+
provider: "lcov";
|
|
987
|
+
files: {
|
|
988
|
+
path: string;
|
|
989
|
+
linesFound: number;
|
|
990
|
+
linesHit: number;
|
|
991
|
+
}[];
|
|
992
|
+
}, {
|
|
993
|
+
provider: "lcov";
|
|
994
|
+
files: {
|
|
995
|
+
path: string;
|
|
996
|
+
linesFound: number;
|
|
997
|
+
linesHit: number;
|
|
998
|
+
}[];
|
|
999
|
+
}>>;
|
|
875
1000
|
evidenceError: z.ZodOptional<z.ZodString>;
|
|
876
1001
|
}, "strict", z.ZodTypeAny, {
|
|
877
1002
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
@@ -905,6 +1030,14 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
905
1030
|
durationMs?: number | undefined;
|
|
906
1031
|
}[];
|
|
907
1032
|
} | undefined;
|
|
1033
|
+
coverageSummary?: {
|
|
1034
|
+
provider: "lcov";
|
|
1035
|
+
files: {
|
|
1036
|
+
path: string;
|
|
1037
|
+
linesFound: number;
|
|
1038
|
+
linesHit: number;
|
|
1039
|
+
}[];
|
|
1040
|
+
} | undefined;
|
|
908
1041
|
evidenceError?: string | undefined;
|
|
909
1042
|
}, {
|
|
910
1043
|
kind: "test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command";
|
|
@@ -938,6 +1071,14 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
938
1071
|
durationMs?: number | undefined;
|
|
939
1072
|
}[];
|
|
940
1073
|
} | undefined;
|
|
1074
|
+
coverageSummary?: {
|
|
1075
|
+
provider: "lcov";
|
|
1076
|
+
files: {
|
|
1077
|
+
path: string;
|
|
1078
|
+
linesFound: number;
|
|
1079
|
+
linesHit: number;
|
|
1080
|
+
}[];
|
|
1081
|
+
} | undefined;
|
|
941
1082
|
evidenceError?: string | undefined;
|
|
942
1083
|
}>, "many">;
|
|
943
1084
|
verification: z.ZodObject<{
|
|
@@ -1051,6 +1192,7 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1051
1192
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
1052
1193
|
evidenceCommands?: string[] | undefined;
|
|
1053
1194
|
evidenceTests?: string[] | undefined;
|
|
1195
|
+
coveragePaths?: string[] | undefined;
|
|
1054
1196
|
}[];
|
|
1055
1197
|
preserve: string[];
|
|
1056
1198
|
outOfScope: string[];
|
|
@@ -1104,6 +1246,14 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1104
1246
|
durationMs?: number | undefined;
|
|
1105
1247
|
}[];
|
|
1106
1248
|
} | undefined;
|
|
1249
|
+
coverageSummary?: {
|
|
1250
|
+
provider: "lcov";
|
|
1251
|
+
files: {
|
|
1252
|
+
path: string;
|
|
1253
|
+
linesFound: number;
|
|
1254
|
+
linesHit: number;
|
|
1255
|
+
}[];
|
|
1256
|
+
} | undefined;
|
|
1107
1257
|
evidenceError?: string | undefined;
|
|
1108
1258
|
}[];
|
|
1109
1259
|
commit?: string | undefined;
|
|
@@ -1145,6 +1295,7 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1145
1295
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
1146
1296
|
evidenceCommands?: string[] | undefined;
|
|
1147
1297
|
evidenceTests?: string[] | undefined;
|
|
1298
|
+
coveragePaths?: string[] | undefined;
|
|
1148
1299
|
}[];
|
|
1149
1300
|
preserve: string[];
|
|
1150
1301
|
outOfScope: string[];
|
|
@@ -1198,6 +1349,14 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1198
1349
|
durationMs?: number | undefined;
|
|
1199
1350
|
}[];
|
|
1200
1351
|
} | undefined;
|
|
1352
|
+
coverageSummary?: {
|
|
1353
|
+
provider: "lcov";
|
|
1354
|
+
files: {
|
|
1355
|
+
path: string;
|
|
1356
|
+
linesFound: number;
|
|
1357
|
+
linesHit: number;
|
|
1358
|
+
}[];
|
|
1359
|
+
} | undefined;
|
|
1201
1360
|
evidenceError?: string | undefined;
|
|
1202
1361
|
}[];
|
|
1203
1362
|
commit?: string | undefined;
|
|
@@ -1239,6 +1398,7 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1239
1398
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
1240
1399
|
evidenceCommands?: string[] | undefined;
|
|
1241
1400
|
evidenceTests?: string[] | undefined;
|
|
1401
|
+
coveragePaths?: string[] | undefined;
|
|
1242
1402
|
}[];
|
|
1243
1403
|
preserve: string[];
|
|
1244
1404
|
outOfScope: string[];
|
|
@@ -1292,6 +1452,14 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1292
1452
|
durationMs?: number | undefined;
|
|
1293
1453
|
}[];
|
|
1294
1454
|
} | undefined;
|
|
1455
|
+
coverageSummary?: {
|
|
1456
|
+
provider: "lcov";
|
|
1457
|
+
files: {
|
|
1458
|
+
path: string;
|
|
1459
|
+
linesFound: number;
|
|
1460
|
+
linesHit: number;
|
|
1461
|
+
}[];
|
|
1462
|
+
} | undefined;
|
|
1295
1463
|
evidenceError?: string | undefined;
|
|
1296
1464
|
}[];
|
|
1297
1465
|
commit?: string | undefined;
|
|
@@ -1333,6 +1501,7 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1333
1501
|
evidenceKinds: ("test" | "build" | "typecheck" | "lint" | "static" | "runtime" | "command")[];
|
|
1334
1502
|
evidenceCommands?: string[] | undefined;
|
|
1335
1503
|
evidenceTests?: string[] | undefined;
|
|
1504
|
+
coveragePaths?: string[] | undefined;
|
|
1336
1505
|
}[];
|
|
1337
1506
|
preserve: string[];
|
|
1338
1507
|
outOfScope: string[];
|
|
@@ -1386,6 +1555,14 @@ export declare const proofPackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1386
1555
|
durationMs?: number | undefined;
|
|
1387
1556
|
}[];
|
|
1388
1557
|
} | undefined;
|
|
1558
|
+
coverageSummary?: {
|
|
1559
|
+
provider: "lcov";
|
|
1560
|
+
files: {
|
|
1561
|
+
path: string;
|
|
1562
|
+
linesFound: number;
|
|
1563
|
+
linesHit: number;
|
|
1564
|
+
}[];
|
|
1565
|
+
} | undefined;
|
|
1389
1566
|
evidenceError?: string | undefined;
|
|
1390
1567
|
}[];
|
|
1391
1568
|
commit?: string | undefined;
|
|
@@ -3,9 +3,13 @@ export const evidenceKindSchema = z.enum(["test", "build", "typecheck", "lint",
|
|
|
3
3
|
export const evidenceProviderSchema = z.enum(["generic-command", "node-test-junit", "pytest-junit"]);
|
|
4
4
|
export const intentIdSchema = z.string().regex(/^PM-\d{4,}$/, "Invalid intent id");
|
|
5
5
|
const nonempty = z.string().trim().min(1);
|
|
6
|
+
const repositoryRelativePathSchema = nonempty.refine((value) => value !== "." && !value.startsWith("./") && !value.startsWith("/")
|
|
7
|
+
&& !value.endsWith("/") && !value.includes("//") && !value.includes("\\") && !value.split("/").includes(".."), "Paths must be normalized repository-relative paths");
|
|
8
|
+
const coverageReportPathSchema = repositoryRelativePathSchema.refine((value) => value.startsWith(".projectmind/runtime/"), "Coverage reports must be written under .projectmind/runtime");
|
|
6
9
|
export const verificationCommandSchema = z.object({
|
|
7
10
|
kind: evidenceKindSchema, command: nonempty, required: z.boolean(), timeoutMs: z.number().int().min(1).max(600_000).optional(),
|
|
8
11
|
provider: evidenceProviderSchema.optional(),
|
|
12
|
+
coveragePath: coverageReportPathSchema.optional(),
|
|
9
13
|
}).strict().superRefine((item, context) => {
|
|
10
14
|
if ((item.provider === "node-test-junit" || item.provider === "pytest-junit") && item.kind !== "test") {
|
|
11
15
|
context.addIssue({ code: z.ZodIssueCode.custom, message: "Structured JUnit providers are only valid for test evidence" });
|
|
@@ -18,8 +22,9 @@ export const configSchema = z.object({
|
|
|
18
22
|
verification: z.object({ commands: z.array(verificationCommandSchema)
|
|
19
23
|
.refine((items) => new Set(items.map((item) => item.command)).size === items.length, "Duplicate commands") }).strict(),
|
|
20
24
|
}).strict();
|
|
21
|
-
const pathPrefixSchema = nonempty.refine((value) => !value.startsWith("
|
|
22
|
-
&& !value.
|
|
25
|
+
const pathPrefixSchema = nonempty.refine((value) => value !== "." && !value.startsWith("./") && !value.startsWith("/")
|
|
26
|
+
&& !value.endsWith("/") && !value.includes("//") && !value.includes("\\") && !value.split("/").includes("..")
|
|
27
|
+
&& !/[*?]/.test(value), "Path prefixes must be normalized repository-relative paths");
|
|
23
28
|
export const constitutionSchema = z.object({
|
|
24
29
|
version: z.literal(1),
|
|
25
30
|
dependencyRules: z.array(z.object({
|
|
@@ -37,6 +42,7 @@ export const requirementSchema = z.object({
|
|
|
37
42
|
id: z.string().regex(/^REQ-\d+$/), statement: nonempty, critical: z.boolean(),
|
|
38
43
|
evidenceKinds: z.array(evidenceKindSchema).min(1), evidenceCommands: z.array(nonempty).optional(),
|
|
39
44
|
evidenceTests: z.array(nonempty).optional(),
|
|
45
|
+
coveragePaths: z.array(repositoryRelativePathSchema).optional(),
|
|
40
46
|
}).strict();
|
|
41
47
|
export const intentSchema = z.object({
|
|
42
48
|
version: z.literal(1), id: intentIdSchema, title: nonempty, createdAt: z.string().datetime(),
|
|
@@ -65,6 +71,14 @@ const testSummarySchema = z.object({
|
|
|
65
71
|
context.addIssue({ code: z.ZodIssueCode.custom, message: "Test summary counts are inconsistent" });
|
|
66
72
|
}
|
|
67
73
|
});
|
|
74
|
+
const coverageSummarySchema = z.object({
|
|
75
|
+
provider: z.literal("lcov"),
|
|
76
|
+
files: z.array(z.object({
|
|
77
|
+
path: repositoryRelativePathSchema,
|
|
78
|
+
linesFound: z.number().int().nonnegative(),
|
|
79
|
+
linesHit: z.number().int().nonnegative(),
|
|
80
|
+
}).strict().refine((item) => item.linesHit <= item.linesFound, "Covered lines cannot exceed found lines")),
|
|
81
|
+
}).strict();
|
|
68
82
|
export const evidenceRecordSchema = z.object({
|
|
69
83
|
version: z.literal(1),
|
|
70
84
|
id: z.string().regex(/^ev_[a-f0-9]{24}$/),
|
|
@@ -83,6 +97,7 @@ export const evidenceRecordSchema = z.object({
|
|
|
83
97
|
termination: z.enum(["timeout", "output-limit", "spawn-error"]).optional(),
|
|
84
98
|
provider: evidenceProviderSchema.optional(),
|
|
85
99
|
testSummary: testSummarySchema.optional(),
|
|
100
|
+
coverageSummary: coverageSummarySchema.optional(),
|
|
86
101
|
evidenceError: nonempty.optional(),
|
|
87
102
|
}).strict();
|
|
88
103
|
export const claimRecordSchema = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../packages/core/src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,E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@
|
|
|
1
|
+
export type DoctorSeverity = "error" | "warning" | "info";
|
|
2
|
+
export interface DoctorDiagnostic {
|
|
3
|
+
code: string;
|
|
4
|
+
severity: DoctorSeverity;
|
|
5
|
+
message: string;
|
|
6
|
+
remedy?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface DoctorReport {
|
|
9
|
+
status: "READY" | "NEEDS_ATTENTION";
|
|
10
|
+
projectRoot: string;
|
|
11
|
+
projectName?: string;
|
|
12
|
+
intentId?: string;
|
|
13
|
+
diagnostics: DoctorDiagnostic[];
|
|
14
|
+
}
|
|
15
|
+
export declare function diagnoseProject(rootInput: string): Promise<DoctorReport>;
|