@junghanacs/entwurf 0.31.0 → 0.32.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/AGENTS.md +3 -2
- package/CHANGELOG.md +82 -0
- package/README.md +46 -36
- package/VERIFY.md +35 -16
- package/demo/README.md +1 -1
- package/docs/acp-backend-rail.md +1 -1
- package/docs/setup-clean-host.md +112 -95
- package/mcp/entwurf-bridge/dist/mcp/entwurf-bridge/src/index.js +1 -1
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/fresh-call-composition.js +1 -1
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/mux-fresh-call.js +8 -10
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/pi-durable-fresh-preflight.js +3 -3
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/pi-durable-runtime.js +153 -205
- package/mcp/entwurf-bridge/dist/pi-extensions/meta-bridge-pi-durable.js +6 -4
- package/mcp/entwurf-bridge/src/index.ts +1 -1
- package/package.json +14 -17
- package/pi/pi-durable/bootstrap.mjs +142 -19
- package/pi/pi-durable/carrier/LICENSE +21 -0
- package/pi/pi-durable/carrier/harness-setup.js +123 -0
- package/pi/pi-durable/carrier/prompt.js +74 -0
- package/pi/pi-durable/carrier/runtime.js +402 -0
- package/pi/pi-durable/carrier/sessions.js +56 -0
- package/pi/pi-durable/carrier/subagent.js +55 -0
- package/pi/pi-durable/carrier/tui.js +655 -0
- package/pi/pi-durable/carrier-relocation.mjs +160 -0
- package/pi/pi-durable/carrier-resolver.mjs +38 -0
- package/pi/pi-durable/overlay/upstream-pin.json +103 -11
- package/pi-extensions/lib/fresh-call-composition.ts +1 -1
- package/pi-extensions/lib/mux-fresh-call.ts +8 -10
- package/pi-extensions/lib/pi-durable-fresh-preflight.ts +3 -3
- package/pi-extensions/lib/pi-durable-runtime.ts +197 -263
- package/pi-extensions/meta-bridge-pi-durable.ts +11 -7
- package/run.sh +508 -235
- package/scripts/check-entwurf-bridge-pi-free.ts +7 -5
- package/scripts/check-fresh-call-dispatch.ts +1 -1
- package/scripts/check-gate-qualification.ts +86 -34
- package/scripts/check-herdr-activation.ts +5 -4
- package/scripts/check-pi-durable-contact.ts +26 -93
- package/scripts/check-pi-durable-receive.ts +22 -59
- package/scripts/check-pi-durable-send.ts +235 -75
- package/scripts/emit-pi-durable-carrier.ts +355 -0
- package/scripts/lib/mutation-qualify.ts +21 -45
- package/scripts/lib/pi-durable-operator-guard.ts +89 -0
- package/scripts/lib/qualification-receipt.ts +7 -11
- package/scripts/mutants/control-send-receipt.json +1 -1
- package/scripts/mutants/gate-qualification.json +13 -0
- package/scripts/mutants/mux-fresh-call.json +13 -13
- package/scripts/mutants/pack-install.json +3 -3
- package/scripts/mutants/pi-durable.json +442 -109
- package/scripts/mutants/pi-floor.json +24 -2
- package/scripts/pi-durable-contact-host.mjs +3 -3
- package/scripts/pi-durable-receive-host.mjs +3 -3
- package/scripts/pi-durable-send-host.mjs +76 -5
- package/scripts/smoke-herdr-raw-install-live.sh +1 -1
- package/scripts/smoke-pi-durable-fresh-live.ts +3 -3
- package/scripts/smoke-setup-verdict.sh +15 -15
- package/scripts/smoke-user-scope-citizen.sh +1 -1
|
@@ -2,81 +2,6 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"lane": "pi-durable",
|
|
4
4
|
"mutants": [
|
|
5
|
-
{
|
|
6
|
-
"claim": "PI-DURABLE-RUNTIME-UNTRACKED-DRIFT",
|
|
7
|
-
"title": "a non-ignored untracked file in the operator runtime no longer counts as pin drift",
|
|
8
|
-
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
9
|
-
"find": [" || facts.untracked !== \"\" || "],
|
|
10
|
-
"replace": [" || "],
|
|
11
|
-
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
12
|
-
"timeoutSeconds": 300,
|
|
13
|
-
"signature": "[QK:PI-DURABLE-RUNTIME-UNTRACKED-DRIFT]",
|
|
14
|
-
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
15
|
-
"build": {
|
|
16
|
-
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
17
|
-
"output": "mcp/entwurf-bridge/dist"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"claim": "PI-DURABLE-RUNTIME-MODELDATA-DRIFT",
|
|
22
|
-
"title": "model data that is not the pinned bytes is no longer its own refusal",
|
|
23
|
-
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
24
|
-
"find": ["\t\treturn \"pi-durable-runtime-modeldata-drift\";\n"],
|
|
25
|
-
"replace": ["\t\treturn null;\n"],
|
|
26
|
-
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
27
|
-
"timeoutSeconds": 300,
|
|
28
|
-
"signature": "[QK:PI-DURABLE-RUNTIME-MODELDATA-DRIFT]",
|
|
29
|
-
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
30
|
-
"build": {
|
|
31
|
-
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
32
|
-
"output": "mcp/entwurf-bridge/dist"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"claim": "PI-DURABLE-RUNTIME-READ-ONLY",
|
|
37
|
-
"title": "verification runs git against the operator checkout's own index instead of a private copy, so a stale stat cache is rewritten",
|
|
38
|
-
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
39
|
-
"find": ["const onCopy = { ...base, GIT_INDEX_FILE: copy };"],
|
|
40
|
-
"replace": ["const onCopy = { ...base };"],
|
|
41
|
-
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
42
|
-
"timeoutSeconds": 300,
|
|
43
|
-
"signature": "[QK:PI-DURABLE-RUNTIME-READ-ONLY]",
|
|
44
|
-
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
45
|
-
"build": {
|
|
46
|
-
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
47
|
-
"output": "mcp/entwurf-bridge/dist"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"claim": "PI-DURABLE-RUNTIME-LOCATOR-FIXED",
|
|
52
|
-
"title": "a relative XDG_DATA_HOME is honoured, so the runtime's one fixed place follows the caller's cwd",
|
|
53
|
-
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
54
|
-
"find": [" && xdg.length > 0 && path.isAbsolute(xdg)) {"],
|
|
55
|
-
"replace": [" && xdg.length > 0) {"],
|
|
56
|
-
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
57
|
-
"timeoutSeconds": 300,
|
|
58
|
-
"signature": "[QK:PI-DURABLE-RUNTIME-LOCATOR-FIXED]",
|
|
59
|
-
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
60
|
-
"build": {
|
|
61
|
-
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
62
|
-
"output": "mcp/entwurf-bridge/dist"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"claim": "PI-DURABLE-RUNTIME-STAGED-DRIFT",
|
|
67
|
-
"title": "the index == HEAD term leaves the verdict, so a staged change behind an equal worktree diff verifies as the pin",
|
|
68
|
-
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
69
|
-
"find": ["\tif (!facts.indexMatchesHead) return \"pi-durable-runtime-pin-drift\";\n"],
|
|
70
|
-
"replace": [""],
|
|
71
|
-
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
72
|
-
"timeoutSeconds": 300,
|
|
73
|
-
"signature": "[QK:PI-DURABLE-RUNTIME-STAGED-DRIFT]",
|
|
74
|
-
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
75
|
-
"build": {
|
|
76
|
-
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
77
|
-
"output": "mcp/entwurf-bridge/dist"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
5
|
{
|
|
81
6
|
"claim": "PI-DURABLE-ENTRY-GUARD-FLOOR-SAFE",
|
|
82
7
|
"title": "the verifier's entry guard goes back to import.meta.main, which the floor's runner can misread as the process entry",
|
|
@@ -92,38 +17,6 @@
|
|
|
92
17
|
"output": "mcp/entwurf-bridge/dist"
|
|
93
18
|
}
|
|
94
19
|
},
|
|
95
|
-
{
|
|
96
|
-
"claim": "PI-DURABLE-RUNTIME-CONFIG-NEUTRAL",
|
|
97
|
-
"title": "the diff's blank-context spacing is left to the runtime's git configuration again, so a config can move the verdict",
|
|
98
|
-
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
99
|
-
"find": [
|
|
100
|
-
"[\"-c\", \"core.abbrev=8\", \"-c\", \"diff.suppressBlankEmpty=false\", \"diff\", ...PI_DURABLE_DIFF_SHAPE]"
|
|
101
|
-
],
|
|
102
|
-
"replace": ["[\"-c\", \"core.abbrev=8\", \"diff\", ...PI_DURABLE_DIFF_SHAPE]"],
|
|
103
|
-
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
104
|
-
"timeoutSeconds": 300,
|
|
105
|
-
"signature": "[QK:PI-DURABLE-RUNTIME-CONFIG-NEUTRAL]",
|
|
106
|
-
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
107
|
-
"build": {
|
|
108
|
-
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
109
|
-
"output": "mcp/entwurf-bridge/dist"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"claim": "PI-DURABLE-RUNTIME-GATES-CONSUME-INDEX-TERM",
|
|
114
|
-
"title": "the contact gate's tracked-overlay assertion loses the index term, so it certifies a runtime tree it never saw",
|
|
115
|
-
"subject": "scripts/check-pi-durable-contact.ts",
|
|
116
|
-
"find": ["facts.gitAnswered && facts.indexMatchesHead && facts.diffEqualsPatch && facts.untracked"],
|
|
117
|
-
"replace": ["facts.gitAnswered && facts.diffEqualsPatch && facts.untracked"],
|
|
118
|
-
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
119
|
-
"timeoutSeconds": 300,
|
|
120
|
-
"signature": "[QK:PI-DURABLE-RUNTIME-GATES-CONSUME-INDEX-TERM]",
|
|
121
|
-
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
122
|
-
"build": {
|
|
123
|
-
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
124
|
-
"output": "mcp/entwurf-bridge/dist"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
20
|
{
|
|
128
21
|
"claim": "PI-DURABLE-PREFLIGHT-FOUR-UNITS",
|
|
129
22
|
"title": "the receive unit stops asking whether the compiled owner join admits the durable host, so a launch proceeds to a citizen nobody can deliver to",
|
|
@@ -160,9 +53,11 @@
|
|
|
160
53
|
"claim": "PI-DURABLE-BOOTSTRAP-ARGV-NO-BRIDGE-ENTRY",
|
|
161
54
|
"title": "the launch argv accepts --bridge-entry, so a caller can point the contact at a bridge outside this package",
|
|
162
55
|
"subject": "pi/pi-durable/bootstrap.mjs",
|
|
163
|
-
"find": [
|
|
56
|
+
"find": [
|
|
57
|
+
"const VALUE_FLAGS = [\"--provider\", \"--model\", \"--width\", \"--entwurf-bootstrap\", \"--native-module\"];"
|
|
58
|
+
],
|
|
164
59
|
"replace": [
|
|
165
|
-
"const VALUE_FLAGS = [\"--bridge-entry\", \"--provider\", \"--model\", \"--width\", \"--entwurf-bootstrap\"];"
|
|
60
|
+
"const VALUE_FLAGS = [\"--bridge-entry\", \"--provider\", \"--model\", \"--width\", \"--entwurf-bootstrap\", \"--native-module\"];"
|
|
166
61
|
],
|
|
167
62
|
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
168
63
|
"timeoutSeconds": 300,
|
|
@@ -385,6 +280,444 @@
|
|
|
385
280
|
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
386
281
|
"output": "mcp/entwurf-bridge/dist"
|
|
387
282
|
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"claim": "PI-DURABLE-CARRIER-RELOCATION-TWO-RULES",
|
|
286
|
+
"title": "a carrier file's import of a sibling keeps its .ts specifier, so the installed carrier asks Node for a file that was never emitted",
|
|
287
|
+
"subject": "pi/pi-durable/carrier-relocation.mjs",
|
|
288
|
+
"find": ["return `./${name}`;"],
|
|
289
|
+
"replace": ["return spec;"],
|
|
290
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
291
|
+
"timeoutSeconds": 300,
|
|
292
|
+
"signature": "[QK:PI-DURABLE-CARRIER-RELOCATION-TWO-RULES]",
|
|
293
|
+
"signatureSource": "pi-extensions/lib/pi-durable-carrier.test.ts",
|
|
294
|
+
"build": { "argv": ["bash", "scripts/build-bridge.sh"], "output": "mcp/entwurf-bridge/dist" }
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"claim": "PI-DURABLE-CARRIER-RELOCATION-REFUSES",
|
|
298
|
+
"title": "the emitter stops counting specifier openings against recognized statements, so a dynamic or single-quoted import escapes the relocation unrewritten",
|
|
299
|
+
"subject": "pi/pi-durable/carrier-relocation.mjs",
|
|
300
|
+
"find": ["if (begun !== statements) {"],
|
|
301
|
+
"replace": ["if (false) {"],
|
|
302
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
303
|
+
"timeoutSeconds": 300,
|
|
304
|
+
"signature": "[QK:PI-DURABLE-CARRIER-RELOCATION-REFUSES]",
|
|
305
|
+
"signatureSource": "pi-extensions/lib/pi-durable-carrier.test.ts",
|
|
306
|
+
"build": { "argv": ["bash", "scripts/build-bridge.sh"], "output": "mcp/entwurf-bridge/dist" }
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"claim": "PI-DURABLE-CARRIER-RESOLVE-DECLARED",
|
|
310
|
+
"title": "the resolver maps a declared target one directory above the package's dist, so every carrier internal import binds a file the pin never named",
|
|
311
|
+
"subject": "pi/pi-durable/carrier-relocation.mjs",
|
|
312
|
+
"find": ["return pathToFileURL(file).href;"],
|
|
313
|
+
"replace": ["return pathToFileURL(path.join(dist(), \"..\", target)).href;"],
|
|
314
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
315
|
+
"timeoutSeconds": 300,
|
|
316
|
+
"signature": "[QK:PI-DURABLE-CARRIER-RESOLVE-DECLARED]",
|
|
317
|
+
"signatureSource": "pi-extensions/lib/pi-durable-carrier.test.ts",
|
|
318
|
+
"build": { "argv": ["bash", "scripts/build-bridge.sh"], "output": "mcp/entwurf-bridge/dist" }
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"claim": "PI-DURABLE-CARRIER-RESOLVE-REFUSES",
|
|
322
|
+
"title": "the resolver only asks that a parent be somewhere under the carrier directory, so an undeclared or nested file there may reach pi-coding-agent internals",
|
|
323
|
+
"subject": "pi/pi-durable/carrier-relocation.mjs",
|
|
324
|
+
"find": ["if (!files.includes(parent)) {"],
|
|
325
|
+
"replace": ["if (parent === \"\") {"],
|
|
326
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
327
|
+
"timeoutSeconds": 300,
|
|
328
|
+
"signature": "[QK:PI-DURABLE-CARRIER-RESOLVE-REFUSES]",
|
|
329
|
+
"signatureSource": "pi-extensions/lib/pi-durable-carrier.test.ts",
|
|
330
|
+
"build": { "argv": ["bash", "scripts/build-bridge.sh"], "output": "mcp/entwurf-bridge/dist" }
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"claim": "PI-DURABLE-CARRIER-HOST-ROOT",
|
|
334
|
+
"title": "the coding-agent root is taken from any package directory above the root export, so a different package named in that place becomes the dist the carrier binds",
|
|
335
|
+
"subject": "pi/pi-durable/carrier-relocation.mjs",
|
|
336
|
+
"find": ["if (name !== CODING_AGENT) {"],
|
|
337
|
+
"replace": ["if (false) {"],
|
|
338
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
339
|
+
"timeoutSeconds": 300,
|
|
340
|
+
"signature": "[QK:PI-DURABLE-CARRIER-HOST-ROOT]",
|
|
341
|
+
"signatureSource": "pi-extensions/lib/pi-durable-carrier.test.ts",
|
|
342
|
+
"build": { "argv": ["bash", "scripts/build-bridge.sh"], "output": "mcp/entwurf-bridge/dist" }
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"claim": "PI-DURABLE-CARRIER-PIN-MATCHES",
|
|
346
|
+
"title": "the pin records a digest the committed carrier file does not carry, so a carrier edited after emission would still be the declared one",
|
|
347
|
+
"subject": "pi/pi-durable/overlay/upstream-pin.json",
|
|
348
|
+
"find": ["\"sha256\": \"ca0ee10dc904a57d46bb33b37fcc4efe48dfa08b2f0d10e79e7bc22136871f0a\""],
|
|
349
|
+
"replace": ["\"sha256\": \"0000000000000000000000000000000000000000000000000000000000000000\""],
|
|
350
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
351
|
+
"timeoutSeconds": 300,
|
|
352
|
+
"signature": "[QK:PI-DURABLE-CARRIER-PIN-MATCHES]",
|
|
353
|
+
"signatureSource": "pi-extensions/lib/pi-durable-carrier.test.ts",
|
|
354
|
+
"build": { "argv": ["bash", "scripts/build-bridge.sh"], "output": "mcp/entwurf-bridge/dist" }
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"claim": "PI-DURABLE-CARRIER-PIN-MALFORMED",
|
|
358
|
+
"title": "the carrier declaration no longer requires plain file names, so a pin naming ../escape.js is accepted and the resolver answers a path outside the carrier",
|
|
359
|
+
"subject": "pi/pi-durable/carrier-relocation.mjs",
|
|
360
|
+
"find": ["if (!names?.every(plain) || names.length === 0"],
|
|
361
|
+
"replace": ["if (!names || names.length === 0"],
|
|
362
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
363
|
+
"timeoutSeconds": 300,
|
|
364
|
+
"signature": "[QK:PI-DURABLE-CARRIER-PIN-MALFORMED]",
|
|
365
|
+
"signatureSource": "pi-extensions/lib/pi-durable-carrier.test.ts",
|
|
366
|
+
"build": { "argv": ["bash", "scripts/build-bridge.sh"], "output": "mcp/entwurf-bridge/dist" }
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"claim": "PI-DURABLE-CARRIER-EMIT-NO-REPLACE",
|
|
370
|
+
"title": "the emitter reads source objects without --no-replace-objects, so a refs/replace entry in the maintainer's repository stands in for a pinned file",
|
|
371
|
+
"subject": "scripts/emit-pi-durable-carrier.ts",
|
|
372
|
+
"find": ["return [\"--no-replace-objects\", \"-C\", source, ...args];"],
|
|
373
|
+
"replace": ["return [\"-C\", source, ...args];"],
|
|
374
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
375
|
+
"timeoutSeconds": 300,
|
|
376
|
+
"signature": "[QK:PI-DURABLE-CARRIER-EMIT-NO-REPLACE]",
|
|
377
|
+
"signatureSource": "pi-extensions/lib/pi-durable-carrier.test.ts",
|
|
378
|
+
"build": { "argv": ["bash", "scripts/build-bridge.sh"], "output": "mcp/entwurf-bridge/dist" }
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"claim": "PI-DURABLE-RUNTIME-VERIFIED",
|
|
382
|
+
"title": "the verifier stops walking from each member to its own member dependencies, so only the carrier's direct edges are ever compared",
|
|
383
|
+
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
384
|
+
"find": ["\t\tif (name in pin.members && edge.at !== null) pending.push({ name, at: edge.at });\n"],
|
|
385
|
+
"replace": [""],
|
|
386
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
387
|
+
"timeoutSeconds": 300,
|
|
388
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-VERIFIED]",
|
|
389
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
390
|
+
"build": {
|
|
391
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
392
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"claim": "PI-DURABLE-RUNTIME-PACKAGE-INCOMPLETE",
|
|
397
|
+
"title": "a missing carrier resolver or relocation grammar is no longer an incomplete package, so the launcher prints a resolver path that does not exist",
|
|
398
|
+
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
399
|
+
"find": ["for (const at of [layout.resolver, layout.relocation]) {"],
|
|
400
|
+
"replace": ["for (const at of [] as string[]) {"],
|
|
401
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
402
|
+
"timeoutSeconds": 300,
|
|
403
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-PACKAGE-INCOMPLETE]",
|
|
404
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
405
|
+
"build": {
|
|
406
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
407
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"claim": "PI-DURABLE-RUNTIME-CARRIER-DRIFT",
|
|
412
|
+
"title": "a carrier file whose bytes are not the pinned ones verifies, so an edited app runs as the emitted one",
|
|
413
|
+
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
414
|
+
"find": ["else if (sha256(fs.readFileSync(at)) !== file.sha256) drifted.push("],
|
|
415
|
+
"replace": ["else if (false) drifted.push("],
|
|
416
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
417
|
+
"timeoutSeconds": 300,
|
|
418
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-CARRIER-DRIFT]",
|
|
419
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
420
|
+
"build": {
|
|
421
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
422
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"claim": "PI-DURABLE-RUNTIME-SDK-ABSENT",
|
|
427
|
+
"title": "a declared package that resolves nothing is no longer named absent and reads as a version mismatch",
|
|
428
|
+
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
429
|
+
"find": ["if (absent !== undefined) return { reason: \"pi-durable-sdk-absent\", detail: edgeText(absent) };"],
|
|
430
|
+
"replace": [""],
|
|
431
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
432
|
+
"timeoutSeconds": 300,
|
|
433
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-SDK-ABSENT]",
|
|
434
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
435
|
+
"build": {
|
|
436
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
437
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"claim": "PI-DURABLE-RUNTIME-SDK-MISMATCH",
|
|
442
|
+
"title": "only the carrier's own edges are compared, so a member binding another version of a member through its nested copy verifies",
|
|
443
|
+
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
444
|
+
"find": ["const mismatch = facts.edges.find((e) => e.got !== e.want || e.name !== e.to);"],
|
|
445
|
+
"replace": [
|
|
446
|
+
"const mismatch = facts.edges.find((e) => e.from === \"carrier\" && (e.got !== e.want || e.name !== e.to));"
|
|
447
|
+
],
|
|
448
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
449
|
+
"timeoutSeconds": 300,
|
|
450
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-SDK-MISMATCH]",
|
|
451
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
452
|
+
"build": {
|
|
453
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
454
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"claim": "PI-DURABLE-RUNTIME-SHARED-COPY-PASSES",
|
|
459
|
+
"title": "a same-version copy shared from above the package is treated as absent, so an ordinary hoisted install of the pinned set is refused",
|
|
460
|
+
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
461
|
+
"find": ["\t\tconst edge = resolveEdge(\"carrier\", name, want, base);\n"],
|
|
462
|
+
"replace": [
|
|
463
|
+
"\t\tconst edge = ((e) => (e.at !== null && !e.at.startsWith(layout.root) ? { ...e, got: null } : e))(resolveEdge(\"carrier\", name, want, base));\n"
|
|
464
|
+
],
|
|
465
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
466
|
+
"timeoutSeconds": 300,
|
|
467
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-SHARED-COPY-PASSES]",
|
|
468
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
469
|
+
"build": {
|
|
470
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
471
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"claim": "PI-DURABLE-RUNTIME-READ-ONLY",
|
|
476
|
+
"title": "verifying leaves a marker in the installed carrier directory, so a read-only check mutates the package it certifies",
|
|
477
|
+
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
478
|
+
"find": ["\tconst facts = inspectPiDurableRuntime(layout);\n\tconst verdict = piDurableRuntimeVerdict(facts);"],
|
|
479
|
+
"replace": [
|
|
480
|
+
"\tfs.writeFileSync(path.join(layout.carrierDir, \".verified\"), \"\");\n\tconst facts = inspectPiDurableRuntime(layout);\n\tconst verdict = piDurableRuntimeVerdict(facts);"
|
|
481
|
+
],
|
|
482
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
483
|
+
"timeoutSeconds": 300,
|
|
484
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-READ-ONLY]",
|
|
485
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
486
|
+
"build": {
|
|
487
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
488
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"claim": "PI-DURABLE-RUNTIME-CHECKOUT-CARRIER",
|
|
493
|
+
"title": "a committed carrier file is edited by hand after emission, so the checkout ships app bytes its pin does not record",
|
|
494
|
+
"subject": "pi/pi-durable/carrier/sessions.js",
|
|
495
|
+
"find": ["import lockfile from \"proper-lockfile\";"],
|
|
496
|
+
"replace": ["import lockfile from \"proper-lockfile\"; // edited"],
|
|
497
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
498
|
+
"timeoutSeconds": 300,
|
|
499
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-CHECKOUT-CARRIER]",
|
|
500
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
501
|
+
"build": { "argv": ["bash", "scripts/build-bridge.sh"], "output": "mcp/entwurf-bridge/dist" }
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"claim": "PI-DURABLE-RUNTIME-CLI-EXITS",
|
|
505
|
+
"title": "a refused carrier exits 0 from resolve, so the launcher execs node under whatever the refusal printed",
|
|
506
|
+
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
507
|
+
"find": ["\treturn PI_DURABLE_RUNTIME_EXIT.refused;\n}"],
|
|
508
|
+
"replace": ["\treturn PI_DURABLE_RUNTIME_EXIT.verified;\n}"],
|
|
509
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
510
|
+
"timeoutSeconds": 300,
|
|
511
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-CLI-EXITS]",
|
|
512
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
513
|
+
"build": {
|
|
514
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
515
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"claim": "PI-DURABLE-RUNTIME-REACHABLE-CLOSURE",
|
|
520
|
+
"title": "the walk stops at the members the carrier finds itself, so a same-version nested copy's own wrong-version dependency verifies",
|
|
521
|
+
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
522
|
+
"find": ["\t\t\tif (edge.at !== null) pending.push({ name: dep, at: edge.at });\n"],
|
|
523
|
+
"replace": [""],
|
|
524
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
525
|
+
"timeoutSeconds": 300,
|
|
526
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-REACHABLE-CLOSURE]",
|
|
527
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
528
|
+
"build": {
|
|
529
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
530
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"claim": "PI-DURABLE-RUNTIME-PACKAGE-IDENTITY",
|
|
535
|
+
"title": "an edge is judged by version alone, so a different package that happens to carry the pinned version stands in for the member",
|
|
536
|
+
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
537
|
+
"find": [" || e.name !== e.to);"],
|
|
538
|
+
"replace": [");"],
|
|
539
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
540
|
+
"timeoutSeconds": 300,
|
|
541
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-PACKAGE-IDENTITY]",
|
|
542
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
543
|
+
"build": {
|
|
544
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
545
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"claim": "PI-DURABLE-RUNTIME-SHARED-WALKED-ONCE",
|
|
550
|
+
"title": "a copy reached by two paths is walked twice, so its edges are reported twice and a member cycle never ends",
|
|
551
|
+
"subject": "pi-extensions/lib/pi-durable-runtime.ts",
|
|
552
|
+
"find": ["\t\tif (walked.has(next.at)) continue;\n"],
|
|
553
|
+
"replace": [""],
|
|
554
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
555
|
+
"timeoutSeconds": 300,
|
|
556
|
+
"signature": "[QK:PI-DURABLE-RUNTIME-SHARED-WALKED-ONCE]",
|
|
557
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
558
|
+
"build": {
|
|
559
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
560
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"claim": "PI-DURABLE-GATE-OPERATOR-GUARD-INVARIANT",
|
|
565
|
+
"title": "the registration snapshot keeps names but not bytes, so an edit to an existing pi-durable record under the same filename passes the guard",
|
|
566
|
+
"subject": "scripts/lib/pi-durable-operator-guard.ts",
|
|
567
|
+
"find": ["if (fs.lstatSync(file).isFile() && keep(name)) out[name] = sha256(file);"],
|
|
568
|
+
"replace": ["if (fs.lstatSync(file).isFile() && keep(name)) out[name] = \"\";"],
|
|
569
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
570
|
+
"timeoutSeconds": 300,
|
|
571
|
+
"signature": "[QK:PI-DURABLE-GATE-OPERATOR-GUARD-INVARIANT]",
|
|
572
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
573
|
+
"build": { "argv": ["bash", "scripts/build-bridge.sh"], "output": "mcp/entwurf-bridge/dist" }
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"claim": "PI-DURABLE-GATE-OPERATOR-GUARD-WIRED",
|
|
577
|
+
"title": "the contact gate compares the operator snapshot with itself, so a run that changed the operator's registrations still passes its guard",
|
|
578
|
+
"subject": "scripts/check-pi-durable-contact.ts",
|
|
579
|
+
"find": ["operatorSnapshotUnchanged(operatorBefore, operatorPiDurableSnapshot(operatorAgent)),"],
|
|
580
|
+
"replace": ["operatorSnapshotUnchanged(operatorBefore, operatorBefore),"],
|
|
581
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
582
|
+
"timeoutSeconds": 300,
|
|
583
|
+
"signature": "[QK:PI-DURABLE-GATE-OPERATOR-GUARD-WIRED]",
|
|
584
|
+
"signatureSource": "pi-extensions/lib/pi-durable-runtime.test.ts",
|
|
585
|
+
"build": { "argv": ["bash", "scripts/build-bridge.sh"], "output": "mcp/entwurf-bridge/dist" }
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"claim": "PI-DURABLE-MODULE-ABSENT-UNCHANGED",
|
|
589
|
+
"title": "the module phase runs without a --native-module, so a launch that names no module still tries to import one",
|
|
590
|
+
"subject": "pi/pi-durable/bootstrap.mjs",
|
|
591
|
+
"find": ["\tconst extensions = nativeModule === undefined ? [] : [await loadNativeModule(nativeModule)];"],
|
|
592
|
+
"replace": ["\tconst extensions = false ? [] : [await loadNativeModule(nativeModule)];"],
|
|
593
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
594
|
+
"timeoutSeconds": 300,
|
|
595
|
+
"signature": "[QK:PI-DURABLE-MODULE-ABSENT-UNCHANGED]",
|
|
596
|
+
"signatureSource": "pi-extensions/lib/pi-durable-native-module.test.ts",
|
|
597
|
+
"build": {
|
|
598
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
599
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"claim": "PI-DURABLE-MODULE-PATH-REFUSED",
|
|
604
|
+
"title": "a relative --native-module is resolved against whatever directory the launch happens to be in",
|
|
605
|
+
"subject": "pi/pi-durable/bootstrap.mjs",
|
|
606
|
+
"find": ["\tif (!isAbsolute(value))"],
|
|
607
|
+
"replace": ["\tif (false)"],
|
|
608
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
609
|
+
"timeoutSeconds": 300,
|
|
610
|
+
"signature": "[QK:PI-DURABLE-MODULE-PATH-REFUSED]",
|
|
611
|
+
"signatureSource": "pi-extensions/lib/pi-durable-native-module.test.ts",
|
|
612
|
+
"build": {
|
|
613
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
614
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"claim": "PI-DURABLE-MODULE-INIT-BEFORE-RUNTIME",
|
|
619
|
+
"title": "the module initializes after the TUI is imported, so its environment arrives after the SDK modules have evaluated",
|
|
620
|
+
"subject": "pi/pi-durable/bootstrap.mjs",
|
|
621
|
+
"find": [
|
|
622
|
+
"\tconst extensions = nativeModule === undefined ? [] : [await loadNativeModule(nativeModule)];",
|
|
623
|
+
"\t// Loaded before anything opens, as upstream main.ts imports it statically: a TUI that cannot",
|
|
624
|
+
"\t// load opens no session, mints no citizen and leaves nothing to clean up.",
|
|
625
|
+
"\tconst { runDurableTui } = await loadTui();"
|
|
626
|
+
],
|
|
627
|
+
"replace": [
|
|
628
|
+
"\t// Loaded before anything opens, as upstream main.ts imports it statically: a TUI that cannot",
|
|
629
|
+
"\t// load opens no session, mints no citizen and leaves nothing to clean up.",
|
|
630
|
+
"\tconst { runDurableTui } = await loadTui();",
|
|
631
|
+
"\tconst extensions = nativeModule === undefined ? [] : [await loadNativeModule(nativeModule)];"
|
|
632
|
+
],
|
|
633
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
634
|
+
"timeoutSeconds": 300,
|
|
635
|
+
"signature": "[QK:PI-DURABLE-MODULE-INIT-BEFORE-RUNTIME]",
|
|
636
|
+
"signatureSource": "pi-extensions/lib/pi-durable-native-module.test.ts",
|
|
637
|
+
"build": {
|
|
638
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
639
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"claim": "PI-DURABLE-MODULE-IMPORT-FAILED",
|
|
644
|
+
"title": "a module that throws during initialization is treated as no module and the app opens anyway",
|
|
645
|
+
"subject": "pi/pi-durable/bootstrap.mjs",
|
|
646
|
+
"find": ["\t} catch (error) {", "\t\tthrow Object.assign(", "\t\t\trefuse(\"native-module-import-failed\","],
|
|
647
|
+
"replace": [
|
|
648
|
+
"\t} catch (error) {",
|
|
649
|
+
"\t\treturn undefined;",
|
|
650
|
+
"\t\tthrow Object.assign(",
|
|
651
|
+
"\t\t\trefuse(\"native-module-import-failed\","
|
|
652
|
+
],
|
|
653
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
654
|
+
"timeoutSeconds": 300,
|
|
655
|
+
"signature": "[QK:PI-DURABLE-MODULE-IMPORT-FAILED]",
|
|
656
|
+
"signatureSource": "pi-extensions/lib/pi-durable-native-module.test.ts",
|
|
657
|
+
"build": {
|
|
658
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
659
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"claim": "PI-DURABLE-MODULE-IDENTITY-GUARD",
|
|
664
|
+
"title": "the identity carriers are compared only after the module ran, so a change its initialization made is never seen",
|
|
665
|
+
"subject": "pi/pi-durable/bootstrap.mjs",
|
|
666
|
+
"find": ["\tconst changed = identityChanges(before, identitySnapshot());"],
|
|
667
|
+
"replace": ["\tconst changed = identityChanges(identitySnapshot(), identitySnapshot());"],
|
|
668
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
669
|
+
"timeoutSeconds": 300,
|
|
670
|
+
"signature": "[QK:PI-DURABLE-MODULE-IDENTITY-GUARD]",
|
|
671
|
+
"signatureSource": "pi-extensions/lib/pi-durable-native-module.test.ts",
|
|
672
|
+
"build": {
|
|
673
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
674
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"claim": "PI-DURABLE-MODULE-CWD-PINNED",
|
|
679
|
+
"title": "the app is opened wherever the process is at open time, not in the caller's directory fixed before the module ran",
|
|
680
|
+
"subject": "pi/pi-durable/bootstrap.mjs",
|
|
681
|
+
"find": ["\tconst citizen = await openDurableCitizen({ ...args, cwd, extensions, bridgeEntry, open, contact });"],
|
|
682
|
+
"replace": ["\tconst citizen = await openDurableCitizen({ ...args, extensions, bridgeEntry, open, contact });"],
|
|
683
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
684
|
+
"timeoutSeconds": 300,
|
|
685
|
+
"signature": "[QK:PI-DURABLE-MODULE-CWD-PINNED]",
|
|
686
|
+
"signatureSource": "pi-extensions/lib/pi-durable-native-module.test.ts",
|
|
687
|
+
"build": {
|
|
688
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
689
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"claim": "PI-DURABLE-MODULE-EXPORT-NAME",
|
|
694
|
+
"title": "a module may name its extension entwurf, coding-tools, pi-prompt or subagent, and the native registry silently replaces that extension",
|
|
695
|
+
"subject": "pi/pi-durable/bootstrap.mjs",
|
|
696
|
+
"find": ["\tif (RESERVED_EXTENSION_NAMES.includes(extension.name)) {"],
|
|
697
|
+
"replace": ["\tif (false) {"],
|
|
698
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
699
|
+
"timeoutSeconds": 300,
|
|
700
|
+
"signature": "[QK:PI-DURABLE-MODULE-EXPORT-NAME]",
|
|
701
|
+
"signatureSource": "pi-extensions/lib/pi-durable-native-module.test.ts",
|
|
702
|
+
"build": {
|
|
703
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
704
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"claim": "PI-DURABLE-MODULE-EXTENSION-ORDER",
|
|
709
|
+
"title": "the module's extension is installed before the contact",
|
|
710
|
+
"subject": "pi/pi-durable/bootstrap.mjs",
|
|
711
|
+
"find": ["\t\t\textensions: [contact.extension, ...extensions],"],
|
|
712
|
+
"replace": ["\t\t\textensions: [...extensions, contact.extension],"],
|
|
713
|
+
"gate": ["bash", "run.sh", "check-pi-durable-beside"],
|
|
714
|
+
"timeoutSeconds": 300,
|
|
715
|
+
"signature": "[QK:PI-DURABLE-MODULE-EXTENSION-ORDER]",
|
|
716
|
+
"signatureSource": "pi-extensions/lib/pi-durable-native-module.test.ts",
|
|
717
|
+
"build": {
|
|
718
|
+
"argv": ["bash", "scripts/build-bridge.sh"],
|
|
719
|
+
"output": "mcp/entwurf-bridge/dist"
|
|
720
|
+
}
|
|
388
721
|
}
|
|
389
722
|
]
|
|
390
723
|
}
|
|
@@ -7,15 +7,37 @@
|
|
|
7
7
|
"title": "one row of the pnpm workspace closure is left on the previous floor while every other surface moved — the shape a version bump actually fails in. Nothing else reads that file, so the stranded row surfaces only at install time, in a different command, far from the change that stranded it",
|
|
8
8
|
"subject": "pnpm-workspace.yaml",
|
|
9
9
|
"find": [
|
|
10
|
-
" - '@earendil-works/pi-telemetry@0.85.0 || 0.85.1 || 0.86.0 || 0.87.0 || 0.87.1 || 0.99.1 || 0.99.2 || 1.0.0 || 1.0.2'"
|
|
10
|
+
" - '@earendil-works/pi-telemetry@0.85.0 || 0.85.1 || 0.86.0 || 0.87.0 || 0.87.1 || 0.99.1 || 0.99.2 || 1.0.0 || 1.0.2 || 1.0.4'"
|
|
11
11
|
],
|
|
12
12
|
"replace": [
|
|
13
|
-
" - '@earendil-works/pi-telemetry@0.85.0 || 0.85.1 || 0.86.0 || 0.87.0 || 0.87.1 || 0.99.1 || 0.99.2 || 1.0.0'"
|
|
13
|
+
" - '@earendil-works/pi-telemetry@0.85.0 || 0.85.1 || 0.86.0 || 0.87.0 || 0.87.1 || 0.99.1 || 0.99.2 || 1.0.0 || 1.0.2'"
|
|
14
14
|
],
|
|
15
15
|
"gate": ["bash", "run.sh", "check-dep-versions"],
|
|
16
16
|
"timeoutSeconds": 300,
|
|
17
17
|
"signature": "[QK:PI-FLOOR-SINGLE-SOURCE]",
|
|
18
18
|
"signatureSource": "run.sh"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"claim": "PI-SDK-PRODUCTION-SET",
|
|
22
|
+
"title": "the durable library's production pin falls one patch behind the SDK set the pin declares, so the carrier would bind a pi-durable nobody verified it against",
|
|
23
|
+
"subject": "package.json",
|
|
24
|
+
"find": ["\"@earendil-works/pi-durable\": \"1.0.4\","],
|
|
25
|
+
"replace": ["\"@earendil-works/pi-durable\": \"1.0.3\","],
|
|
26
|
+
"gate": ["bash", "run.sh", "check-dep-versions"],
|
|
27
|
+
"timeoutSeconds": 300,
|
|
28
|
+
"signature": "[QK:PI-SDK-PRODUCTION-SET]",
|
|
29
|
+
"signatureSource": "run.sh"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"claim": "PI-SDK-NO-DUAL-DECLARATION",
|
|
33
|
+
"title": "an @earendil-works package returns as a dev dependency beside its production pin, one name in two dependency classes",
|
|
34
|
+
"subject": "package.json",
|
|
35
|
+
"find": ["\"@biomejs/biome\": \"^2.4.13\","],
|
|
36
|
+
"replace": ["\"@biomejs/biome\": \"^2.4.13\",\n\t\t\"@earendil-works/pi-ai\": \"1.0.4\","],
|
|
37
|
+
"gate": ["bash", "run.sh", "check-dep-versions"],
|
|
38
|
+
"timeoutSeconds": 300,
|
|
39
|
+
"signature": "[QK:PI-SDK-NO-DUAL-DECLARATION]",
|
|
40
|
+
"signatureSource": "run.sh"
|
|
19
41
|
}
|
|
20
42
|
]
|
|
21
43
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// G-contact host half (#129 L-identity). Runs AS the durable host, under
|
|
2
|
-
//
|
|
1
|
+
// G-contact host half (#129 L-identity). Runs AS the durable host, under this checkout's pi-durable
|
|
2
|
+
// carrier resolver (#130), and is spawned only by scripts/check-pi-durable-contact.ts:
|
|
3
3
|
//
|
|
4
|
-
// node --import <checkout>/
|
|
4
|
+
// node --import <checkout>/pi/pi-durable/carrier-resolver.mjs \
|
|
5
5
|
// scripts/pi-durable-contact-host.mjs <bridge entry> new|continue \
|
|
6
6
|
// [<sessions dir> <senders dir> <mailbox dir> <receivers dir>]
|
|
7
7
|
//
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// G-receive host half (#129 L-receive). Runs AS the durable host, under
|
|
2
|
-
//
|
|
1
|
+
// G-receive host half (#129 L-receive). Runs AS the durable host, under this checkout's pi-durable
|
|
2
|
+
// carrier resolver (#130), and is spawned only by scripts/check-pi-durable-receive.ts:
|
|
3
3
|
//
|
|
4
|
-
// node --import <checkout>/
|
|
4
|
+
// node --import <checkout>/pi/pi-durable/carrier-resolver.mjs \
|
|
5
5
|
// scripts/pi-durable-receive-host.mjs <bridge entry>
|
|
6
6
|
//
|
|
7
7
|
// It opens the durable app through the production bootstrap composition — which arms the contact's
|