deadbyte-mcp 0.10.0 → 0.11.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/MANIFEST.SHA256 +69 -55
- package/README.txt +13 -14
- package/bin/WORKER-REGISTRY.txt +3 -3
- package/bin/appcontainer-stage.exe +0 -0
- package/bin/appcontainer-stage.obj +0 -0
- package/bin/bootstrap-advapi32.exe +0 -0
- package/bin/bootstrap-advapi32.obj +0 -0
- package/bin/bootstrap-exitcode.exe +0 -0
- package/bin/bootstrap-exitcode.obj +0 -0
- package/bin/bootstrap-kernel32.exe +0 -0
- package/bin/bootstrap-kernel32.obj +0 -0
- package/bin/child-control-probe.exe +0 -0
- package/bin/child-control-probe.obj +0 -0
- package/bin/child-control-stage.exe +0 -0
- package/bin/child-control-stage.obj +0 -0
- package/bin/contained-reverse-worker.exe +0 -0
- package/bin/contained-reverse-worker.obj +0 -0
- package/bin/contained-transform-worker.exe +0 -0
- package/bin/contained-transform-worker.obj +0 -0
- package/bin/containment-probe.exe +0 -0
- package/bin/containment-probe.obj +0 -0
- package/bin/deadbyte-contain.exe +0 -0
- package/bin/deadbyte-contain.obj +0 -0
- package/bin/deadbyte-exec.exe +0 -0
- package/bin/deadbyte-exec.obj +0 -0
- package/bin/deadbyte-process-host.exe +0 -0
- package/bin/deadbyte-process-host.obj +0 -0
- package/bin/deadbyte-tunnel-host.exe +0 -0
- package/bin/deadbyte-tunnel-host.obj +0 -0
- package/controller/README.TXT +3 -3
- package/controller/deadbyte-controller.ps1 +1 -1
- package/controller/deadbyte-process-policy.json +1 -1
- package/docs/ARCHITECTURE.md +1 -1
- package/package.json +1 -1
- package/scripts/deferred-slot-operation.mjs +1 -1
- package/scripts/final-closure-r36.mjs +113 -0
- package/scripts/final-closure-verify-r36.mjs +208 -0
- package/scripts/final-closure-verify.mjs +48 -48
- package/scripts/final-closure.mjs +13 -13
- package/scripts/gate-windows-r36.ps1 +42 -0
- package/scripts/gate-windows.ps1 +3 -3
- package/scripts/release-parity-r36.mjs +200 -0
- package/scripts/release-parity-tests.ps1 +2 -2
- package/scripts/release-parity.mjs +37 -37
- package/scripts/windows-gate-evidence-r36.mjs +52 -0
- package/scripts/windows-gate-evidence.mjs +5 -5
- package/src/agent-memory-plane.mjs +98 -0
- package/src/autonomous-output-contracts.mjs +5 -2
- package/src/autonomous-runtime.mjs +155 -31
- package/src/autonomous-timeout-recovery.mjs +27 -0
- package/src/deadbyte-cli.mjs +37 -76
- package/src/effect-ledger.mjs +47 -0
- package/src/observation-lease.mjs +32 -0
- package/src/remote-live-log.mjs +59 -0
- package/src/remote-mcp-autonomous-smoke-client.mjs +15 -9
- package/src/version.mjs +1 -1
- package/src/worker-scheduler.mjs +53 -0
- package/test/autonomous-output-contract.test.mjs +1 -1
- package/test/core.test.mjs +1 -1
- package/test/production-docs.test.mjs +5 -5
- package/test/r33-closeout-regression.test.mjs +4 -4
- package/test/r33-finalization.test.mjs +6 -6
- package/test/r36-finalization.test.mjs +5 -5
- package/test/r36-release-identity.test.mjs +12 -19
- package/test/r37-agent-fabric.test.mjs +92 -0
- package/test/r37-autonomous-timeout-recovery.test.mjs +60 -0
- package/test/r37-finalization.test.mjs +74 -0
- package/test/release-version.test.mjs +42 -36
- package/test/remote-live-log-r37.test.mjs +47 -0
- package/test/remote-session-cli.test.mjs +27 -50
package/MANIFEST.SHA256
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
561e5298904c144a3fdb7a6789c46f2fe48a16d6ad36d4bd6dac32e443c57450 bench/fixtures/corpus.json
|
|
2
2
|
ebd5b3524b57c0227eae6d30291809d901ff99626b0b3f394da2560a054eae59 bench/fixtures/r36/case-map.json
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
3
|
+
634add3b9ec2a814365287ebebf4c1c0428b219160ec33e519f148b4ca0d8081 bin/appcontainer-stage.exe
|
|
4
|
+
f2a74024991ea1f1e2348bcc78de59066245bef86a406ffcae003c238b991c3b bin/appcontainer-stage.obj
|
|
5
|
+
2e71a6c0aced6b4577d79b66d353307181f77b77c35d5d3b08baaef4b6c0591e bin/bootstrap-advapi32.exe
|
|
6
|
+
ac2aa6756b77b7e3111dbc286624013927d396178dfcda81b62e0cd24163dad6 bin/bootstrap-advapi32.obj
|
|
7
|
+
14da909c458634ff43d758132a310f6e7094d988129767e1a9fe814b8cf52fcc bin/bootstrap-exitcode.exe
|
|
8
|
+
d2c542db3d08017d47ba05386120eba9824cc1443572aeeb608dcccea55a5f57 bin/bootstrap-exitcode.obj
|
|
9
|
+
619c9ee0b2450d1400e7b11d9784d66a6c2a99ea7f150856e0eb8d3f22a52dfa bin/bootstrap-kernel32.exe
|
|
10
|
+
584b71379f8c80ad274bd2cb114d14a9b43b7da69e3233d21d7b0dd39831da13 bin/bootstrap-kernel32.obj
|
|
11
|
+
d105f2d443ae6c9c5248d45168f53ca4b7791d39958e23bf137fbbe025720237 bin/child-control-probe.exe
|
|
12
|
+
fc2f89683585427facd36b0bdd0e88a2a49b1c6c59add0a896cdcfcf7d4ac9b3 bin/child-control-probe.obj
|
|
13
|
+
49dc13bb0987e200d8bfe88a4b0671bb883f260433e364bad4d427a76617d7c4 bin/child-control-stage.exe
|
|
14
|
+
ddce17cfd8b6a7adc9754da4ceb88ed7b8bad0f534d327d1fff7430520247898 bin/child-control-stage.obj
|
|
15
|
+
9f3754c3c6fe71d6fe0e04889e33b39cdc64b633e0b713d5979faec748dec69d bin/contained-reverse-worker.exe
|
|
16
|
+
3e87b49ec2a0e67d73b601f51b06dccc70f789b2ef56ca8e2fe0e2c629fb7149 bin/contained-reverse-worker.obj
|
|
17
|
+
01528ffe61736cdb5010396f4b1c52203c7e1848b3aeb4181a0c04a508e1da30 bin/contained-transform-worker.exe
|
|
18
|
+
94416cbfc5a4163fccee000daba4df9a97d400b297488d85f547afa98ca94420 bin/contained-transform-worker.obj
|
|
19
|
+
069c555b87d075468917fb692c13bf63904c4ccf07be3ca21647526594170390 bin/containment-probe.exe
|
|
20
|
+
9d445ffb63dbaa82f1c7239a6e87fb35cd939fca0022462c19ddc60f7daa7113 bin/containment-probe.obj
|
|
21
|
+
e8f2f70132d81fa46e56aa58a1d1c78db88554959364acd72e5b1512a3717ebe bin/deadbyte-contain.exe
|
|
22
|
+
db2425583845cb5eb78b2888a8a50978860c5ae19a38723b1bab19f47991cbef bin/deadbyte-contain.obj
|
|
23
|
+
a84168020dee3bb5d63d97b1076523232872bf142859c07bfcb77a45428a1ce5 bin/deadbyte-exec.exe
|
|
24
|
+
fa44146c227d2fd704ea0481c9800af1b7c7cb80048055afcffcc8c4adfc9b9b bin/deadbyte-exec.obj
|
|
25
|
+
8c79f30e834daf2f0a916928bc719abf27ba111f446056bf2993c84d0432747a bin/deadbyte-process-host.exe
|
|
26
|
+
bb6f237bf6984e81ee66db28ac91e8ab116d7db22b5bef1be78a2b9dc0192878 bin/deadbyte-process-host.obj
|
|
27
|
+
c6a39124ba8b043d4e91a2a0511b2a7bb22f8c526e323afc33b827d4de062034 bin/deadbyte-tunnel-host.exe
|
|
28
|
+
3fb93dd45d28479845cb4598513dc6c80badef26d4d53c39fb234494c87a0522 bin/deadbyte-tunnel-host.obj
|
|
29
|
+
cf6ebd8ae2ca2649655ae81196ac9296d713dbfdd10d8ff0757269d088294f06 bin/WORKER-REGISTRY.txt
|
|
30
30
|
e74d45bd9facf03c9a2a0ff52600252924deb804a87e4b5503f48662a2b45a3b conpty-input-observer.obj
|
|
31
31
|
8c1c45dd47e07b05eb2b43a6060ac23ecb9f7d0dd8aecfdfc29d42a6f824e507 CONTEXT.md
|
|
32
32
|
e19ff4253eb57ea6befd5df8b807c1c95fda83bfebd0ba871ceae7c5412d4c27 controller/deadbyte-controller.config.psd1.example
|
|
33
|
-
|
|
33
|
+
58dadf326b8bc7bcf51b82cfac65fb11e14c54f13ee5bae7442407855c7616dd controller/deadbyte-controller.ps1
|
|
34
34
|
5e8ef223b0dbc52173aaf044a075837eef8964ff0e7e16f83a595e0d17695625 controller/deadbyte-host-policy.json.example
|
|
35
35
|
6f0cc469f51444dd18211fa3346c826abeea4d2ec7a8945f0200dc5c622031ef controller/DEADBYTE-MCP.cmd
|
|
36
|
-
|
|
36
|
+
5c98a2942737c34580b9c6e7fa0e95615389895dd327b7523e18e41628a09bf3 controller/deadbyte-process-policy.json
|
|
37
37
|
d274b099a298c1033fea8f1e8849751693bbc0448778d619400acb82d4f53a3b controller/deadbyte-semantic-lsp-config.json
|
|
38
|
-
|
|
38
|
+
9f1602b5c76b1c9036e5a907eebc0d384e07b32bc03e27ce472ecac6bec34955 controller/README.TXT
|
|
39
39
|
101e613518c73c6aa31c725fe1b5f9a24c995dc9876b7b28e1f3e97ac9f8d362 DEADBYTE-MCP-R27-FINAL/R27-ADMIN-CLOSURE.json
|
|
40
40
|
e9baf9abf4410ff8bd0f68e6b957dbbf9790fc88d9126311c5c135e943424952 DEADBYTE-MCP-R27-FINAL/R27-CLEANUP-FINAL-RECEIPT.json
|
|
41
41
|
39cb483c0897af5027bf1790a35a4c3b9a8cd5f6e3a2e0440787615f69cd14b2 DEADBYTE-MCP-R27-FINAL/R27-FINAL-CLOSURE.json
|
|
42
42
|
9aaf6d07e7511a1f0046ee8cc731d4b9660bbbf47dcea785a9c6b6cec95640bc DEADBYTE-MCP-R27-FINAL/R27-SLOT-UPDATE-RECEIPT.json
|
|
43
43
|
70dfccba12797ce5fea60668c97026cf71e7942cb4d886cac5853e05b362b6c1 DEADBYTE-MCP.cmd
|
|
44
44
|
7994082e4340b5f43272e8cb111ce54043af64dc3a04d5279e251f3dae16f654 docs/ADR-0001-PRODUCTION-BASELINE-SEAMS.md
|
|
45
|
-
|
|
45
|
+
2c25f91727682d060c28c49ef179fe7fac3baef0a7f47e6591fab632d2684416 docs/ARCHITECTURE.md
|
|
46
46
|
3f455f407933d8e044682f3415bdb51e68d7c4b508411dda7d8ed65b6e1d7e79 docs/AUTHORITY.md
|
|
47
47
|
3be291331862ac5bd892345e84d6ce8d9b6d835855235d7c5f28d5cd4b04afdb docs/CHILD-CONTROL.md
|
|
48
48
|
a9cbd1e2def00aae93569835f2ee17aa5cfd181e5770d7c1185c9c62deb0769e docs/CONSTRUCTION-LADDER.md
|
|
@@ -1303,7 +1303,7 @@ db605a698f917c4006462596e6526fe6a9c6eff9b8409e8472fe545d4b70027c node_modules/z
|
|
|
1303
1303
|
f67a25ded944912bd4621b68df17c7c70a52aae117278c076c0aabbc32a3abba node_modules/zod/v4/mini/schemas.d.ts
|
|
1304
1304
|
51b3a7869df2d3a1bd98acb9d5b6a61bbccc7653d7a3d8fca7f0e0db7e84e284 node_modules/zod/v4/mini/schemas.js
|
|
1305
1305
|
3e3125b5a537a24c3632c1c5c09640ce7bcb3935901b127ad8ae3c37a27f133f node_modules/zod/v4/package.json
|
|
1306
|
-
|
|
1306
|
+
9dfddaee8fadcddb22b598dd18aeadae20d5fee63b7bfd126bd1cb16952aeb9e package.json
|
|
1307
1307
|
5a2722b8b5b16a2b5af9851638851c82c8f795bf4685f1090745ebbe61498c91 proof/CONTAINMENT-BUILD.txt
|
|
1308
1308
|
a8efa13e44ff50902aee64cfca542d19605a1ae23db95280ad2d44b324f3eae7 proof/MCP-SMOKE-STATUS.txt
|
|
1309
1309
|
7c115069cc4a343ca21b0ebdee74bd8f544b02d4aa906ffa13308725825d891a proof/NODE-SYNTAX.txt
|
|
@@ -1364,27 +1364,33 @@ bd0773a9e02e8ab11475c9cc5a7db29a8313233b7eab7f837922737e75ec5938 proof/VERIFY.t
|
|
|
1364
1364
|
2c821808d4596965c577f40191daee224d3aea81989778c4af97f53a83b487db proof/WINDOWS-CONTAINED-STATUS.txt
|
|
1365
1365
|
f8bc839c7b4fcb0ea7b7e7ad9448847c3beae6f95f2eb4d407d1b284aaa4ff68 proof/WINDOWS-CONTAINMENT-STATUS.txt
|
|
1366
1366
|
27ca0f3c9ee3a1b6374a9c8dd98008decdd0c7659c7a569c70ad7b9734c74655 R34-BASELINE.json
|
|
1367
|
-
|
|
1367
|
+
6739a5a12146ffe74c80f0dd845176c45aecc0ecf0af4cebc756d8c5cd04b4c4 README.txt
|
|
1368
1368
|
1d4e9dee6f0669bd825334a6a72e13ee85ee29ab430dcef21d893ffd744774b5 scripts/autonomous-benchmark.mjs
|
|
1369
1369
|
06447dea18be1fa0a5e5a1167a6e3dcbd10ddfd28dd18d7bfd17383cf5bfc080 scripts/autonomous-build.ps1
|
|
1370
1370
|
6ae23099102eb0f0be4969598ba76600d19b00abf534a039d48e63bc7d7fffe3 scripts/autonomous-tests.ps1
|
|
1371
1371
|
1d987d12c5af6ffbaec1fe2f95aadc4740fe25933c0f0941f362daa2d2d84f48 scripts/build-containment.ps1
|
|
1372
1372
|
1077e2f4baf2aae1c0d3e2416d00bd49a54e9e39a5939872c73143ca9e546633 scripts/capability-benchmark.mjs
|
|
1373
1373
|
7d3c741de2b1c29f82efa96ab81fc819d8520f97413ce5ab0d4a1b1efd0e8b42 scripts/coding-live-smoke.mjs
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1374
|
+
254872f5f1f2fa662b1061aad4c3da59b21d882e45f7f0ceefff2f688ea493a1 scripts/deferred-slot-operation.mjs
|
|
1375
|
+
69e3beb55573b5fc3ba30a220fabf9e3585e7757430fb3264caf27e41254b789 scripts/final-closure-r36.mjs
|
|
1376
|
+
4b895f85e2bf7009def5ecb0a96dad38832c6fac3b2a0633a6b71d9ac9a868be scripts/final-closure-verify-r36.mjs
|
|
1377
|
+
c6cbbfe7ea3e4c257c419535425a9f75e4d58f2d5cb18f2f408b871f1c7c20a8 scripts/final-closure-verify.mjs
|
|
1378
|
+
4b7dce462db12237e9f3bb8637e703689140c16e5ddd8bf08b41f8a4b35de95d scripts/final-closure.mjs
|
|
1379
|
+
feaecfaf78ebf20a42b17974a81777185b74344bc4717f00fde69b5e66ac3257 scripts/gate-windows-r36.ps1
|
|
1380
|
+
75931dbb30e7d5b07bf781481849c7a583c7fe7250ac2e5d43a83e9c4764569b scripts/gate-windows.ps1
|
|
1378
1381
|
a64ab9a70c26495ac5d94c024a8813d8bd2bc8a708f236b672cb18556396c262 scripts/init-host-policy.ps1
|
|
1379
1382
|
b655f2f9c63c7e4b651e7182c6461f9ec63d0991f770f24fe5d44b209ad6bdfb scripts/refresh-process-policy.mjs
|
|
1380
1383
|
c92b518b7232849d945f0fcd9c428a2366758e5c9410be68104ed50ef869a33e scripts/release-manifest.mjs
|
|
1381
|
-
|
|
1382
|
-
|
|
1384
|
+
2272ceab04fba9030fe3dad5ccb14b8313f7dea963873ca64a86945608b6e7fb scripts/release-parity-r36.mjs
|
|
1385
|
+
9e755d89732353136c560deb1a9dde45468c6a10ee00b096318f13cf638b8f24 scripts/release-parity-tests.ps1
|
|
1386
|
+
bb03b8645718c52f7e195703d88caf284c6bdb4459e35bc2ff67ed7dcc7ebcfb scripts/release-parity.mjs
|
|
1383
1387
|
caac2867971dfdf56456528b816ff56282a11cbba81510c13e1723accffac678 scripts/runtime-self-update.mjs
|
|
1384
1388
|
b0cc75c38e0163dbcf7fb1b0d21f2dc34c71f2d0e2a156a53e570ff84afc64e6 scripts/semantic-preflight.ps1
|
|
1385
1389
|
0a115aa9829576c86cc247f754cae69ae09ba146b637d3a1c9fbc16420d20a5d scripts/tool-surface-snapshot.mjs
|
|
1386
|
-
eb59d412712270bedc33bcdabd65fe9c31994339858a4947d0dc4bac371256fc scripts/windows-gate-evidence.mjs
|
|
1390
|
+
eb59d412712270bedc33bcdabd65fe9c31994339858a4947d0dc4bac371256fc scripts/windows-gate-evidence-r36.mjs
|
|
1391
|
+
ea68d948b9e3bf155b7782b5745d75d98c142a199785ba52840aff7d2272ea17 scripts/windows-gate-evidence.mjs
|
|
1387
1392
|
5f4a73a1c3dc178c4b5de193b6cfc4774cfc46d5ad95ef0b786d4d386d82323b src/agent-mcp-tools.mjs
|
|
1393
|
+
22d32373fdaceb7debae300ec4db2f3b1677072e946a203acff6f5e4dc458946 src/agent-memory-plane.mjs
|
|
1388
1394
|
5cca555943318990ae8dc82481ab0d172e813261c71b541cc99114f411b040fa src/agent-runtime.mjs
|
|
1389
1395
|
0e2d1cdcc5e592ffe36e32fa6da68d84e00f992ca3a189b7a3735d8bbac476a6 src/audit-context.mjs
|
|
1390
1396
|
cdbca84e760777e939fd813a16152318271b5cbf64e02d30921f24e1f6f59bff src/audit-verify.mjs
|
|
@@ -1395,15 +1401,16 @@ cdbca84e760777e939fd813a16152318271b5cbf64e02d30921f24e1f6f59bff src/audit-veri
|
|
|
1395
1401
|
ab0158c3f6e270ee367ae96455dd2b75a902c808b2a10ac2c5b75fdda00be6c3 src/autonomous-local-supervisor.mjs
|
|
1396
1402
|
f8aea762270181bfb38c15e52328357c1fbc4156dd1e3ee399b550c3a0cc63b2 src/autonomous-loop-state.mjs
|
|
1397
1403
|
383cfe9b491b4622b744aff8a6517bb16626e80b985e81960bd235877c2b79f3 src/autonomous-mcp-tools.mjs
|
|
1398
|
-
|
|
1404
|
+
370bc4cd4069d57f242cb2c1bc5889563a75f1a9ccfbd2a4245b23e7a84a0383 src/autonomous-output-contracts.mjs
|
|
1399
1405
|
6e73f3f438c6293917ca56b6be3c60bc3d9406e04a61f0da5ba8d754b3a10b7d src/autonomous-plan.mjs
|
|
1400
1406
|
697f0a18ad72661e466c716eb5af4392257042d4c79b4f09f2fd2399a06a8b64 src/autonomous-planner-contracts.mjs
|
|
1401
1407
|
3d77077fa9d369d7e596ca3753c23a8ee2d111e8092269c46a700fc4547081a6 src/autonomous-planner.mjs
|
|
1402
1408
|
c398c5f10eb226bc8edb4eea3b34fe1c74ed18f0c009c580fdb89969ab500a7e src/autonomous-policy.mjs
|
|
1403
1409
|
f9bf3b46e4b32ab7dd7864c646809e13fea64f72accf114929588dac7dc82014 src/autonomous-progress.mjs
|
|
1404
|
-
|
|
1410
|
+
18f9c7a25676aeea41f35c5461b91462ddec4deb8f17e96a219ec8865accadc3 src/autonomous-runtime.mjs
|
|
1405
1411
|
d778233b28e4d1cfbf249a4f80e0dc434bfb43a34c9086c577a5431aaa0f2bd1 src/autonomous-supervisor-host.mjs
|
|
1406
1412
|
b2be549d2c9fcf56466bbecbe0099d57d6f8ce5cee6e2333fc103be0d6003736 src/autonomous-supervisor.mjs
|
|
1413
|
+
61de686111e5b5d24ceb1e2adc8da175d69a4f22af08691c4edaea1c763cf859 src/autonomous-timeout-recovery.mjs
|
|
1407
1414
|
e5f944a310ed957e3b8f7b1cab54c082acf1b35f8fdd7d9b672ebe1a80dc37ac src/canonical-json.mjs
|
|
1408
1415
|
da5181cec30034ddf089baa5358becb5651da238a2e7cf0888007a4c60b4ea6b src/capability-benchmark-runner.mjs
|
|
1409
1416
|
2b62295591f142ca4b3bc5b03e6434f7fc3c51d9502f9a40ef8a03d1f72a8899 src/capability-benchmark.mjs
|
|
@@ -1425,8 +1432,9 @@ dcd4c9784e88e253e91ddad3c24b38cb0b36906ed737f6d7bee7712360f66f7a src/containmen
|
|
|
1425
1432
|
fe1761b98738e1aea1d25ddf3a0ba56ccad95a43d45104a89b8665197c7c9e18 src/containment-result.mjs
|
|
1426
1433
|
705a89cb12fedb993d55dfed32a5870d33e10db26422c944d1e52223566c096c src/containment-smoke.mjs
|
|
1427
1434
|
63a1d4d6a53f9eb7e02197b4e42158b867da8c042c2e61848d8a36cd398b8bd8 src/context-provenance.mjs
|
|
1428
|
-
|
|
1435
|
+
47d1ecbc6a5e19c66aa2697d822ac71cc47b9cd7d55ba887d205a4cfa587dc3b src/deadbyte-cli.mjs
|
|
1429
1436
|
f57fe200ad916a03480c804ca57ab12b603822cbfb8d45ba7bce4376ec3d712a src/document-adapter.mjs
|
|
1437
|
+
7786e7c102cd69ebaefff7696e9e420e28cf9c40c2af5c5227d26bba6fe4f824 src/effect-ledger.mjs
|
|
1430
1438
|
f5fafd46052b09f71a528594eb230edc5766ee0d006432d744590ec97c9c580d src/executor.mjs
|
|
1431
1439
|
264d21a4385a0a04613fe78203e7f5e231a5c06397086cfacc88076e60b89b71 src/hash.mjs
|
|
1432
1440
|
1cc648f59d739cb3269827a7aff23dc9dc6617a77c4da607ba947ca6e4626548 src/host-plane.mjs
|
|
@@ -1446,6 +1454,7 @@ e35ca87ad8ad7b6e046dd4bda92ed9e65939c386e7daf9b178038cde1de60b8e src/mcp-host-s
|
|
|
1446
1454
|
af63881f69cd10fafb2040c3b1836b6e4de0a07f8baa6fa0025cce33c5901767 src/mcp-smoke-client.mjs
|
|
1447
1455
|
8e1f2ffaab1c3a7a824443314d7c4345adc3de40d864fe6b5fdcfc84d83246bf src/native-diff-v2.mjs
|
|
1448
1456
|
cb29ee3bee3b46ae4039148de9688dee1b58e66e3bbe1ecda411c18b1a1ac71b src/native-diff.mjs
|
|
1457
|
+
79fb3b2cea86ef20b7c8a642f8842f686d6c91ae9e7933d546736085f6088179 src/observation-lease.mjs
|
|
1449
1458
|
32641bbce1b9e2f22d4d56052c43d727ac81723a0d91bc6b6925bfc20456cb0e src/observation-mcp-tools.mjs
|
|
1450
1459
|
b6fad0a0fa99e11093b6418706715a470001be69c4f2550477f2d81bd37c87f5 src/observation-output-contracts.mjs
|
|
1451
1460
|
9b6538d916369899a8301938876ccefb89f665605b6ec307062a1ef4d3996343 src/observation-runtime.mjs
|
|
@@ -1467,8 +1476,8 @@ be4a4f7f16e473ac842559a5a18eccb59e3693bded59a1abc71e75ff448cc755 src/proof-work
|
|
|
1467
1476
|
afc638b797d81b16c620ca2226eacc4cb1a36562a402219cdac3376867170610 src/receipt.mjs
|
|
1468
1477
|
adb6c8218b1067b1cf72510661cc4e8e8cedef3d7d163170c2590fd34eeea4ee src/release-generation.mjs
|
|
1469
1478
|
a7a63ea58291e0676c7199633ae234030f46285840cdfc519c879c279ae8bb14 src/release-slot.mjs
|
|
1470
|
-
|
|
1471
|
-
|
|
1479
|
+
895fbfe4afce06726bfddd7afc574dc516b42cf0ebfa57a58fec9c3e6b5fafd4 src/remote-live-log.mjs
|
|
1480
|
+
589c7f348ef24ce61206ea6b6d5e6962e7828c4c12eb23c9bfda7d6103dd710a src/remote-mcp-autonomous-smoke-client.mjs
|
|
1472
1481
|
ebff2982142263632a40b9f144e802b9cb0c86c798bb6c591de7f175ba50b660 src/remote-mcp-coding-smoke-client.mjs
|
|
1473
1482
|
efd3f7ae0a3a614485933942ab5e27e874175feb81eb3e5130913c1e6837e7ca src/remote-mcp-host-smoke-client.mjs
|
|
1474
1483
|
aeed462a1090611ce04f2d4e453e4a6e9163091d6d99f768233943f1c24b949f src/remote-mcp-machine-smoke-client.mjs
|
|
@@ -1496,8 +1505,9 @@ a765372ee27cf34b3f42ca77e43b839a306a4ca7d8b1c5e2fdd4367ab0c95769 src/tunnel-std
|
|
|
1496
1505
|
16df134040e3ff1e73df722b568d3e8ac0a6923b097696cead7580da75aa8d2a src/tunnel-stdio-compat.mjs
|
|
1497
1506
|
642cb67d1854850e336ee73fbd71b329056bdcbdab35cea19c1a995a155ff5d9 src/verifier-cli.mjs
|
|
1498
1507
|
8f818a4852ce3be3a380cd4736c3073a7a3e0e45cd7c7ca90588a6b843d3d022 src/verifier.mjs
|
|
1499
|
-
|
|
1508
|
+
85ffcb0490fb31264f29b734afa07a46ed349d3454ebb13a4cb6e096fef086a1 src/version.mjs
|
|
1500
1509
|
7e09c57a97289360aabfaf3d531208e54872efbfb3182f3c18203d2cb88c46b5 src/worker-registry.mjs
|
|
1510
|
+
76361d5ae9a710273cf64a7525082197b692236bf23689875e5fd1ef4aa96d2b src/worker-scheduler.mjs
|
|
1501
1511
|
2a78c818058b25efdc143a3a97c832da231ccd6ff9d90c7796d681a0251b85c4 test/agent-crash-child.mjs
|
|
1502
1512
|
d9461ab7c118ee75d37a2d6f5e637d7e43505af6a9ad8c7ddafffc8ace185a5b test/agent-crash-worker.mjs
|
|
1503
1513
|
9642b43fafe704501ba18455be70ec54f3234cc318ea9bc762afeed8522e51cd test/agent-runtime-adversarial.test.mjs
|
|
@@ -1517,7 +1527,7 @@ bb760a934f0d4cd99f61b8636491fa2cc81308d0934f932213daef25878036fb test/autonomou
|
|
|
1517
1527
|
5148ed954ecb87d353f1de1c2d5656fd30778866d24d311ce7472ab92898191c test/autonomous-loop-state.test.mjs
|
|
1518
1528
|
e693f99d06924b1c165e7ea03534190cfd268c2bd6340e31553edb903b0efbf8 test/autonomous-loop-v2.test.mjs
|
|
1519
1529
|
694a40854a4aceebc53677f899430ef7b79d28afcd4a7b3c3fef55a9f0fb8c5f test/autonomous-loop.test.mjs
|
|
1520
|
-
|
|
1530
|
+
6b9a088010ba82a624d6cf6e3f8a8f8891c0dda004f5c6e27c0e08826fc60674 test/autonomous-output-contract.test.mjs
|
|
1521
1531
|
581a9887c5e5593f57ab10a6f68dfaa0f709e9bc419340094f6cf7e1d36f87a3 test/autonomous-plan.test.mjs
|
|
1522
1532
|
4f34949332e87b798d48fed30696d26656d31891694ba486eb0afa6fb76b135f test/autonomous-progress.test.mjs
|
|
1523
1533
|
c2eace9093dc9c14d6e7c88540d7edff70e730ae09ea6207fb9dd93dba15186d test/autonomous-r34-e2e.test.mjs
|
|
@@ -1551,7 +1561,7 @@ a972bd20fa927427e6d8e4181699a27e792e916b02dcf8a1ac3e2b44afd238c1 test/controlle
|
|
|
1551
1561
|
ceba7d1a09ccdcb20f33fe4e6de7667ffe0f0170d1bc9fefadfdba4d7f228090 test/controller-r29.test.mjs
|
|
1552
1562
|
4d0dc810d9af13907f31c834a13acfb7e01ffbbe65575b69649fe52741e42175 test/controller-r30.test.mjs
|
|
1553
1563
|
aeeb4894cc9656d13812817c969d9edf31a50222911f65c75472af03d9c4ea80 test/controller.test.mjs
|
|
1554
|
-
|
|
1564
|
+
9fb8e0c3e82af27076edcfdcfe9582adf52c399c39b2dc3870735c008bd36aeb test/core.test.mjs
|
|
1555
1565
|
7ba4b06a1c4141ba87b5b371157fb59940d15a1016b4c599a13753d63ad0d3d3 test/DEADBYTE-MCP-WRITE-PROBE.txt
|
|
1556
1566
|
c526724a6d10648fdd5152af917ba2fe51836dc5877daaac554bbd9e52fcd47e test/deferred-slot-operation-behavior.test.mjs
|
|
1557
1567
|
69a515b1a36f0620cae4057ea8dc5302751058e290aedaf2f0b637eb3288aba8 test/deferred-slot-operation.test.mjs
|
|
@@ -1644,24 +1654,28 @@ b84622d07d2ecfe27b55e45f7e89949f29a2d14184d8c6f6f82ed7f1e5fa59be test/process-n
|
|
|
1644
1654
|
510f51a6288a1030387cf372951499aea6dba2a35362ad89510bf7480e2f8004 test/process-release-gate.test.mjs
|
|
1645
1655
|
e19a477abb83c63a1fb7ab5d5d1e9925113cded95d57084186b6ecd6161780e0 test/process-runtime.test.mjs
|
|
1646
1656
|
34afc8a01e0c21501ec2647b7b0198b73570bce89eaaa983bd50c5709bb83fb8 test/process-supervision.test.mjs
|
|
1647
|
-
|
|
1657
|
+
f5d4d7fc900cde24e75ace4e3a4da57afc40219370cd3c7e16f6f00393cd8f54 test/production-docs.test.mjs
|
|
1648
1658
|
a20273128f4e6dcf2163c0b3fb7fe6ed9bf4d698fb0a5a0c4638396331d961cf test/prompts-resources.test.mjs
|
|
1649
1659
|
fcb70992870cd2f84674d578b0aaee554f958969c629a9d522d1efd230fe8288 test/provider-circuit.test.mjs
|
|
1650
1660
|
0286df49beb2c2dcf46e384d87687d8d7a1618dd86f068517e36ae80dceb489b test/public-autonomous-ingress-budget.test.mjs
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1661
|
+
e2322f4d6fc14366b3cf17d9a0baa9a50ca6dd5734fcad41815e7915f9585b27 test/r33-closeout-regression.test.mjs
|
|
1662
|
+
6744839b555deb8bebb820d00a307b29317c632ad096d2b6260580c4f7034057 test/r33-finalization.test.mjs
|
|
1663
|
+
7e419d3c1caf79bfc7407207f50e5645298f9b19d91a7d6f595af185b92cd55e test/r36-finalization.test.mjs
|
|
1664
|
+
137fe16498b9fead9f3b35f4cfd8b60fd2b6fbbd575ad80d43eac5909f125448 test/r36-release-identity.test.mjs
|
|
1665
|
+
6dfb1b2b74b9e1cc74998d3fe7ce3c69bbad6b6751dabc81a65b6ec810872820 test/r37-agent-fabric.test.mjs
|
|
1666
|
+
72bc1863a2e113f7815903595d010b9c15513e05243d4eef3bef584aea18757b test/r37-autonomous-timeout-recovery.test.mjs
|
|
1667
|
+
2784bc897985a3fdbba83316c5f0fa2f8e4a96b68fa4a46624722871d25ae9ba test/r37-finalization.test.mjs
|
|
1655
1668
|
9d48d51958c30df4931cebe5f5a8f1d6a82de6ffb7fd08711dfc658bc12b201c test/release-generation.test.mjs
|
|
1656
1669
|
bb58887a2c393cd5aac3fa3bb3a04de2704bd2a30dd2083ea638543485fa7e60 test/release-manifest-windows.test.mjs
|
|
1657
1670
|
7cc69e786bfd9e4a7e70888c4c1b5f756a264bc1a991139c468b63af23f24c38 test/release-slot.test.mjs
|
|
1658
1671
|
0109c76b480cc600f6ed42be4519df3fa6835012bb9e4ba4ae6be6635468c4a8 test/release-smoke-isolation.test.mjs
|
|
1659
|
-
|
|
1672
|
+
c2eb4a58604f4f46c3cf4043fcf4d2f4608325d1d7226be8da90f49120c14f7d test/release-version.test.mjs
|
|
1660
1673
|
3d26a0550a22c69990567d998c28e4ba0978c71429741c10c7c47f261653fbe2 test/remote-live-log-r36.test.mjs
|
|
1674
|
+
5787c8c5ff6c73d3d6d49d9b7efedb1b032f4fd0cd23c0e521e3dd4aba2872e5 test/remote-live-log-r37.test.mjs
|
|
1661
1675
|
02ad827dc46e3dacf1ef2cfd861f583a44c471b1411cc674f4d61cd421418ad3 test/remote-live-log-recovery-r36.test.mjs
|
|
1662
1676
|
cda93f7e2453916855a338de63360eb9c9e0b7c513391d344d01c32f500b188e test/remote-r24-catalog.test.mjs
|
|
1663
1677
|
7fb0196c15dc0c98a86d330ece3c752db5d2285289cb7b264a04871ba2fbd3d8 test/remote-result-journal.test.mjs
|
|
1664
|
-
|
|
1678
|
+
1f72bbd9c0ab522b5442857f6690af29fdeb5d53e26af02777feb47560b518d3 test/remote-session-cli.test.mjs
|
|
1665
1679
|
6faccee09e78210ee580f364ce5d56254c0bc8c38351a3a37642a0c60a3291d0 test/runtime-self-update.test.mjs
|
|
1666
1680
|
b131611ec56e83d5db05d40b9be9b029396a177bca1ddacac9bf13086d370897 test/semantic-backend-registry.test.mjs
|
|
1667
1681
|
a939ffa93544602d713749bc315fb970bd1a0d59b0d1570f2b8d4c26b4ec6e35 test/semantic-code.test.mjs
|
package/README.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
DEADBYTE MCP V0.
|
|
1
|
+
DEADBYTE MCP V0.11.0 / R37 PRODUCTION BASELINE
|
|
2
2
|
=========================
|
|
3
3
|
|
|
4
4
|
AUTHENTICATED MACHINE TRUTH + DURABLE AGENT + CODING + AUTONOMOUS PRODUCTION ENGINE
|
|
@@ -7,9 +7,8 @@ NPX PRIMARY OPERATOR UX
|
|
|
7
7
|
------------------------
|
|
8
8
|
Use the npm CLI entry point instead of the legacy CMD convenience wrapper:
|
|
9
9
|
|
|
10
|
-
npx -y deadbyte-mcp@0.
|
|
10
|
+
npx -y deadbyte-mcp@0.11.0 mcp
|
|
11
11
|
npx deadbyte-mcp@latest remote
|
|
12
|
-
npx deadbyte-mcp@latest remote --verbose
|
|
13
12
|
npx deadbyte-mcp@latest remote status
|
|
14
13
|
npx deadbyte-mcp@latest remote restart
|
|
15
14
|
npx deadbyte-mcp@latest audit status
|
|
@@ -19,10 +18,9 @@ The `mcp` command is the quiet stdio server entry for local MCP clients; stdout
|
|
|
19
18
|
The remote CLI invokes the stable active-release PowerShell launcher directly with shell=false.
|
|
20
19
|
Bare `remote` is a foreground device session: it starts/resumes the verified runtime, arms process,
|
|
21
20
|
coding, and autonomous authority, independently verifies those three planes are ARMED, and requires
|
|
22
|
-
Host to remain DISARMED. The
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
`remote --verbose` only when detailed audit plus Bridge diagnostics are needed. Session shutdown
|
|
21
|
+
Host to remain DISARMED. The single remote console shows device/bridge/cloud/session readiness plus a
|
|
22
|
+
unified live timeline (`RUN`, `OK`, `ERR`, interrupted/recovery, cursors, and sanitized Bridge IN/OUT/ERR
|
|
23
|
+
diagnostics) without dumping raw JSON payloads, tokens, private keys, or full Bridge payload records. Session shutdown
|
|
26
24
|
revokes process/coding/autonomous authority, applies fail-safe Host disarm, and parks the Bridge. A detached
|
|
27
25
|
nonce-bound guardian watches the foreground owner and performs the same revoke+park cleanup if the
|
|
28
26
|
owner is hard-killed before `finally` can run. The v2 runtime marker binds owner PID, guardian PID,
|
|
@@ -275,7 +273,7 @@ MCP CLIENT CONFIGURATION
|
|
|
275
273
|
------------------------
|
|
276
274
|
The local stdio entry point is quiet and suitable for MCP hosts:
|
|
277
275
|
|
|
278
|
-
npx -y deadbyte-mcp@0.
|
|
276
|
+
npx -y deadbyte-mcp@0.11.0 mcp
|
|
279
277
|
|
|
280
278
|
CLAUDE DESKTOP
|
|
281
279
|
Use the standard local-server entry in claude_desktop_config.json:
|
|
@@ -284,7 +282,7 @@ Use the standard local-server entry in claude_desktop_config.json:
|
|
|
284
282
|
"mcpServers": {
|
|
285
283
|
"deadbyte": {
|
|
286
284
|
"command": "npx",
|
|
287
|
-
"args": ["-y", "deadbyte-mcp@0.
|
|
285
|
+
"args": ["-y", "deadbyte-mcp@0.11.0", "mcp"]
|
|
288
286
|
}
|
|
289
287
|
}
|
|
290
288
|
}
|
|
@@ -297,7 +295,7 @@ Create .cursor/mcp.json:
|
|
|
297
295
|
"deadbyte": {
|
|
298
296
|
"type": "stdio",
|
|
299
297
|
"command": "npx",
|
|
300
|
-
"args": ["-y", "deadbyte-mcp@0.
|
|
298
|
+
"args": ["-y", "deadbyte-mcp@0.11.0", "mcp"]
|
|
301
299
|
}
|
|
302
300
|
}
|
|
303
301
|
}
|
|
@@ -310,7 +308,7 @@ Create .vscode/mcp.json:
|
|
|
310
308
|
"deadbyte": {
|
|
311
309
|
"type": "stdio",
|
|
312
310
|
"command": "npx",
|
|
313
|
-
"args": ["-y", "deadbyte-mcp@0.
|
|
311
|
+
"args": ["-y", "deadbyte-mcp@0.11.0", "mcp"]
|
|
314
312
|
}
|
|
315
313
|
}
|
|
316
314
|
}
|
|
@@ -320,7 +318,7 @@ Add this to ~/.codex/config.toml:
|
|
|
320
318
|
|
|
321
319
|
[mcp_servers.deadbyte]
|
|
322
320
|
command = "npx"
|
|
323
|
-
args = ["-y", "deadbyte-mcp@0.
|
|
321
|
+
args = ["-y", "deadbyte-mcp@0.11.0", "mcp"]
|
|
324
322
|
|
|
325
323
|
The remote device path remains `npx deadbyte-mcp@latest remote`. Remote public MCP uses the
|
|
326
324
|
verified HTTPS named-tunnel URL selected by the active generation; do not commit a private device
|
|
@@ -370,8 +368,9 @@ Workspace allowlist and coding-policy root checks are on by design. Paths are ro
|
|
|
370
368
|
traversal, symlink escape, denied paths, stale preconditions, and unknown executables fail closed.
|
|
371
369
|
Destructive or executable host work requires the relevant standing grant / authority plane.
|
|
372
370
|
Process execution uses policy-selected profiles or pinned scripts rather than a raw caller-selected
|
|
373
|
-
shell command. Audit files retain request identity, timing, bounded metadata, and signed evidence
|
|
374
|
-
|
|
371
|
+
shell command. Audit files retain request identity, timing, bounded metadata, and signed evidence. The single `remote`
|
|
372
|
+
console exposes the useful correlated timeline and sanitized transport diagnostics directly; there is no
|
|
373
|
+
separate verbose mode.
|
|
375
374
|
|
|
376
375
|
EVIDENCE-BASED COMPARISON
|
|
377
376
|
-------------------------
|
package/bin/WORKER-REGISTRY.txt
CHANGED
|
@@ -2,11 +2,11 @@ schema=deadbyte.worker-registry.v1
|
|
|
2
2
|
version=0.6.0
|
|
3
3
|
policy=compile-time-operation-to-executable
|
|
4
4
|
launcher.executable=deadbyte-exec.exe
|
|
5
|
-
launcher.sha256=
|
|
5
|
+
launcher.sha256=a84168020dee3bb5d63d97b1076523232872bf142859c07bfcb77a45428a1ce5
|
|
6
6
|
operation.lowercase_ascii=contained-transform-v1
|
|
7
7
|
operation.reverse_bytes=contained-reverse-v1
|
|
8
8
|
operation.uppercase_ascii=contained-transform-v1
|
|
9
9
|
worker.contained-reverse-v1.executable=contained-reverse-worker.exe
|
|
10
|
-
worker.contained-reverse-v1.sha256=
|
|
10
|
+
worker.contained-reverse-v1.sha256=9f3754c3c6fe71d6fe0e04889e33b39cdc64b633e0b713d5979faec748dec69d
|
|
11
11
|
worker.contained-transform-v1.executable=contained-transform-worker.exe
|
|
12
|
-
worker.contained-transform-v1.sha256=
|
|
12
|
+
worker.contained-transform-v1.sha256=01528ffe61736cdb5010396f4b1c52203c7e1848b3aeb4181a0c04a508e1da30
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/deadbyte-contain.exe
CHANGED
|
Binary file
|
package/bin/deadbyte-contain.obj
CHANGED
|
Binary file
|
package/bin/deadbyte-exec.exe
CHANGED
|
Binary file
|
package/bin/deadbyte-exec.obj
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/controller/README.TXT
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
DEADBYTE MCP V0.
|
|
1
|
+
DEADBYTE MCP V0.11.0 / R37 CONTROLLER
|
|
2
2
|
====================================
|
|
3
3
|
|
|
4
4
|
ENTRY POINT
|
|
@@ -9,7 +9,7 @@ Primary operator entry point:
|
|
|
9
9
|
|
|
10
10
|
Bare `remote` is a foreground device session. It starts the verified runtime, arms process,
|
|
11
11
|
coding, and autonomous authority, verifies those three planes are ARMED, and requires Host to stay
|
|
12
|
-
DISARMED. The production Bridge uses the
|
|
12
|
+
DISARMED. The production Bridge uses the R37 compact capability profile (<=42 tools) while local
|
|
13
13
|
stdio MCP keeps the exact full 76-tool profile. The compact console shows request-before-result
|
|
14
14
|
Live Activity without raw SHA text, request IDs, payload JSON, or duplicate Bridge stdout by
|
|
15
15
|
default; use `remote --verbose` for the detailed audit/runtime stream. Ctrl+C/SIGTERM or foreground
|
|
@@ -96,7 +96,7 @@ policy digests and profile hashes to the explicit mutable development root; the
|
|
|
96
96
|
armautonomous require coding authority, then enable a standing autonomous grant
|
|
97
97
|
disarmautonomous revoke autonomous authority immediately
|
|
98
98
|
autonomousstatus report configured/standing-grant/coding-disarmed state
|
|
99
|
-
autonomoustest run the
|
|
99
|
+
autonomoustest run the R37 compact public capability-closure MRTR production gate
|
|
100
100
|
|
|
101
101
|
disarmcoding also revokes autonomous authority. No MCP tool creates or widens either
|
|
102
102
|
grant. With an openai_compatible planner the MCP server starts a background supervisor;
|
|
@@ -1197,7 +1197,7 @@ while ($true) {
|
|
|
1197
1197
|
Clear-Host
|
|
1198
1198
|
$cfg = Get-Config
|
|
1199
1199
|
Assert-ControllerRootBound $cfg
|
|
1200
|
-
Write-Host 'DEADBYTE MCP ON-DEMAND CONTROLLER V0.
|
|
1200
|
+
Write-Host 'DEADBYTE MCP ON-DEMAND CONTROLLER V0.11.0 / R37'
|
|
1201
1201
|
Write-Host '======================================'
|
|
1202
1202
|
Show-State $cfg | Out-Null
|
|
1203
1203
|
Write-Host ''
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"state_dir": "D:\\Projects\\deadbyte-mcp-r36-dev\\controller\\runtime\\process-state",
|
|
6
6
|
"native_host": {
|
|
7
7
|
"path": "D:\\Projects\\deadbyte-mcp-r36-dev\\bin\\deadbyte-process-host.exe",
|
|
8
|
-
"sha256": "
|
|
8
|
+
"sha256": "8c79f30e834daf2f0a916928bc719abf27ba111f446056bf2993c84d0432747a"
|
|
9
9
|
},
|
|
10
10
|
"roots": {
|
|
11
11
|
"core": {
|
package/docs/ARCHITECTURE.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deadbyte-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Authenticated MCP machine-truth runtime with signed audit chain, immutable release slots, contained execution, coding/autonomous production authority, and npx-first remote control.",
|
|
@@ -22,7 +22,7 @@ const atomicJson=async(file,value)=>{
|
|
|
22
22
|
};
|
|
23
23
|
function activationArgs(manifestSha){
|
|
24
24
|
if(!HEX64.test(manifestSha??'')) throw new Error('activate requires one lowercase manifest SHA-256');
|
|
25
|
-
return ['--stage',packageRoot,'--development-root',packageRoot,'--expected-version','0.
|
|
25
|
+
return ['--stage',packageRoot,'--development-root',packageRoot,'--expected-version','0.11.0',
|
|
26
26
|
'--expected-manifest',manifestSha,'--process-policy',path.join(packageRoot,'controller','deadbyte-process-policy.json'),
|
|
27
27
|
'--process-policy-sha256',null,'--semantic-lsp-config',path.join(packageRoot,'controller','deadbyte-semantic-lsp-config.json'),
|
|
28
28
|
'--semantic-lsp-config-sha256',null,'--enable-machine-fs','--enable-observation','--enable-autonomous-supervisor'];
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { createHash, createPrivateKey, createPublicKey, sign as cryptoSign } from 'node:crypto';
|
|
2
|
+
import { lstat, mkdir, open, readFile, rename, rm } from 'node:fs/promises';
|
|
3
|
+
import os from 'node:os';
|
|
4
|
+
import path from 'node:path';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
6
|
+
import { probeR36FullSurface } from '../src/r36-full-surface-probe.mjs';
|
|
7
|
+
import { probeR36CompactDisarmed } from '../src/r36-compact-disarmed-probe.mjs';
|
|
8
|
+
import {
|
|
9
|
+
validateParityEvidence,
|
|
10
|
+
R35_PREDECESSOR_RELEASE_ID,
|
|
11
|
+
R35_PREDECESSOR_MANIFEST
|
|
12
|
+
} from './release-parity.mjs';
|
|
13
|
+
|
|
14
|
+
const DOMAIN=Buffer.from('DEADBYTE-R36-FINAL-CLOSURE-V1\0','utf8');
|
|
15
|
+
const stateRoot=path.resolve(process.env.DEADBYTE_STATE_ROOT||path.join(os.homedir(),'.deadbyte-mcp'));
|
|
16
|
+
const sha256=bytes=>createHash('sha256').update(bytes).digest('hex');
|
|
17
|
+
const canonical=value=>Array.isArray(value)?value.map(canonical):value&&typeof value==='object'
|
|
18
|
+
?Object.fromEntries(Object.keys(value).sort().map(key=>[key,canonical(value[key])])):value;
|
|
19
|
+
const canonicalJson=value=>JSON.stringify(canonical(value));
|
|
20
|
+
function insist(ok,msg){if(!ok) throw new Error(msg);}
|
|
21
|
+
function samePath(a,b){return path.resolve(String(a)).toLowerCase()===path.resolve(String(b)).toLowerCase();}
|
|
22
|
+
async function fileEvidence(file){const abs=path.resolve(file),bytes=await readFile(abs);return {path:abs,sha256:sha256(bytes)};}
|
|
23
|
+
async function publicUrl(){
|
|
24
|
+
const value=(await readFile(path.join(stateRoot,'bridge','mcp-url.txt'),'utf8')).trim();
|
|
25
|
+
const url=new URL(value);insist(url.protocol==='https:','final closure requires HTTPS public endpoint');return value;
|
|
26
|
+
}
|
|
27
|
+
async function grantAbsence(){
|
|
28
|
+
const out={};
|
|
29
|
+
for(const name of ['process-grant.json','coding-grant.json','autonomous-grant.json','host-grant.json']){
|
|
30
|
+
let absent=false;try{await lstat(path.join(stateRoot,'runtime',name));}catch(error){if(error?.code==='ENOENT') absent=true;else throw error;}
|
|
31
|
+
insist(absent,`authority grant still present: ${name}`);out[name]=true;
|
|
32
|
+
}
|
|
33
|
+
return out;
|
|
34
|
+
}
|
|
35
|
+
async function atomicCreate(file,bytes){
|
|
36
|
+
await mkdir(path.dirname(file),{recursive:true});
|
|
37
|
+
const temp=`${file}.tmp-${process.pid}-${Math.random().toString(16).slice(2)}`;
|
|
38
|
+
const handle=await open(temp,'wx');
|
|
39
|
+
try{await handle.writeFile(bytes);await handle.sync();}finally{await handle.close();}
|
|
40
|
+
try{await rename(temp,file);}catch(error){await rm(temp,{force:true}).catch(()=>{});throw error;}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export async function writeFinalClosure({parityPath,activationPath,windowsGatePath}){
|
|
44
|
+
const pointer=JSON.parse(await readFile(path.join(stateRoot,'active-release.json'),'utf8'));
|
|
45
|
+
insist(pointer.version==='0.10.0','final closure requires V0.10.0 active release');
|
|
46
|
+
insist(pointer.release_id===`v${pointer.version}-${pointer.manifest_sha256.slice(0,16)}`,'final closure release id/content address mismatch');
|
|
47
|
+
|
|
48
|
+
const parity=JSON.parse(await readFile(path.resolve(parityPath),'utf8'));
|
|
49
|
+
insist(parity.schema==='deadbyte.r36-parity.v1','R36 parity schema mismatch at final closure');
|
|
50
|
+
validateParityEvidence(parity);
|
|
51
|
+
insist(parity.candidate?.release_id===pointer.release_id&&parity.candidate?.manifest_sha256===pointer.manifest_sha256,'parity candidate/current release mismatch');
|
|
52
|
+
insist(parity.successor?.release_id===pointer.release_id&&parity.successor?.manifest_sha256===pointer.manifest_sha256,'parity successor/current release mismatch');
|
|
53
|
+
insist(parity.predecessor?.release_id===R35_PREDECESSOR_RELEASE_ID&&parity.predecessor?.manifest_sha256===R35_PREDECESSOR_MANIFEST,'parity predecessor identity mismatch');
|
|
54
|
+
insist(parity.rollback?.receipt_path&&parity.restore?.receipt_path,'parity rollback/restore receipt paths missing');
|
|
55
|
+
insist(parity.immutable_slot?.protected===true,'parity immutable-slot proof missing');
|
|
56
|
+
insist(samePath(parity.immutable_slot.release_root,pointer.release_root),'parity immutable release root mismatch');
|
|
57
|
+
insist(!samePath(parity.immutable_slot.development_root,pointer.release_root),'development_root must differ from immutable release_root');
|
|
58
|
+
|
|
59
|
+
const windowsGate=JSON.parse(await readFile(path.resolve(windowsGatePath),'utf8'));
|
|
60
|
+
insist(windowsGate.schema==='deadbyte.r36-windows-gate.v1'&&windowsGate.status==='passed'&&windowsGate.exit_code===0,'R36 Windows gate evidence invalid');
|
|
61
|
+
insist(windowsGate.version==='0.10.0'&&windowsGate.manifest_sha256===pointer.manifest_sha256,'R36 Windows gate/current release mismatch');
|
|
62
|
+
insist(windowsGate.marker==='DEADBYTE V0.10.0 / R36 WINDOWS BATCH GATE: PASS','R36 Windows gate marker mismatch');
|
|
63
|
+
|
|
64
|
+
const localFull=await probeR36FullSurface({packageRoot:pointer.release_root,generationRoot:pointer.generation_root,stateRoot});
|
|
65
|
+
insist(localFull.status==='passed'&&localFull.tool_count===76&&localFull.strict_output_schemas===true,'final local full 76-tool proof failed');
|
|
66
|
+
const compact=await probeR36CompactDisarmed(await publicUrl());
|
|
67
|
+
insist(compact.status==='passed'&&compact.tool_count<=42&&compact.capability_closure===true,'final public compact capability closure failed');
|
|
68
|
+
insist(compact.coding_armed===false&&compact.autonomous_armed===false,'final public compact authority is not DISARMED');
|
|
69
|
+
insist(compact.release_id===pointer.release_id&&compact.release_manifest_sha256===pointer.manifest_sha256,'final public compact release binding mismatch');
|
|
70
|
+
insist(compact.machine_status?.release_id===pointer.release_id&&compact.machine_status?.release_manifest_sha256===pointer.manifest_sha256,'final machine status/current release mismatch');
|
|
71
|
+
insist(compact.machine_ping?.nonce===compact.nonce,'final machine ping nonce mismatch');
|
|
72
|
+
|
|
73
|
+
const evidence={
|
|
74
|
+
parity:await fileEvidence(parityPath),activation:await fileEvidence(activationPath),
|
|
75
|
+
rollback:await fileEvidence(parity.rollback.receipt_path),restore:await fileEvidence(parity.restore.receipt_path),
|
|
76
|
+
windows_gate:await fileEvidence(windowsGatePath)
|
|
77
|
+
};
|
|
78
|
+
const body={
|
|
79
|
+
schema:'deadbyte.r36-final-closure.v1',version:'0.10.0',release_label:'R36 FINAL MACHINE BASELINE',
|
|
80
|
+
completed_at_utc:new Date().toISOString(),active_pointer:pointer,
|
|
81
|
+
predecessor:{release_id:R35_PREDECESSOR_RELEASE_ID,version:'0.9.0',manifest_sha256:R35_PREDECESSOR_MANIFEST},
|
|
82
|
+
immutable_slot:{protected:true,release_root:path.resolve(pointer.release_root),development_root:path.resolve(parity.immutable_slot.development_root)},
|
|
83
|
+
surfaces:{
|
|
84
|
+
local_full:{status:localFull.status,profile:localFull.profile,tool_count:localFull.tool_count,catalog_sha256:localFull.catalog_sha256,strict_output_schemas:localFull.strict_output_schemas,protocol_revision:localFull.protocol_revision},
|
|
85
|
+
public_compact:{status:compact.status,profile:compact.profile,tool_count:compact.tool_count,catalog_sha256:compact.catalog_sha256,strict_output_schemas:compact.strict_output_schemas,ledger_sha256:compact.ledger_sha256,capability_count:compact.capability_count,production_non_host_capabilities:compact.production_non_host_capabilities,capability_closure:compact.capability_closure,coding_armed:compact.coding_armed,autonomous_armed:compact.autonomous_armed,protocol_revision:compact.protocol_revision}
|
|
86
|
+
},
|
|
87
|
+
evidence,
|
|
88
|
+
machine:{status:compact.machine_status,ping:compact.machine_ping,nonce:compact.nonce},
|
|
89
|
+
authority:{all_disarmed:true,grants_absent:await grantAbsence()}
|
|
90
|
+
};
|
|
91
|
+
const privateKey=createPrivateKey(await readFile(path.join(stateRoot,'trust','ed25519-private.pem')));
|
|
92
|
+
const publicKey=createPublicKey(privateKey);
|
|
93
|
+
insist(privateKey.asymmetricKeyType==='ed25519'&&publicKey.asymmetricKeyType==='ed25519','closure signing key must be Ed25519');
|
|
94
|
+
const keyId=sha256(Buffer.from(publicKey.export({type:'spki',format:'der'})));
|
|
95
|
+
const bodyBytes=Buffer.from(canonicalJson(body),'utf8');
|
|
96
|
+
const signature=cryptoSign(null,Buffer.concat([DOMAIN,bodyBytes]),privateKey);
|
|
97
|
+
const envelope={body,body_sha256:sha256(bodyBytes),attestation:{algorithm:'ed25519',domain:'DEADBYTE-R36-FINAL-CLOSURE-V1',key_id:keyId,signature_base64:signature.toString('base64')}};
|
|
98
|
+
envelope.closure_sha256=sha256(Buffer.from(canonicalJson(envelope),'utf8'));
|
|
99
|
+
const dir=path.join(stateRoot,'evidence','release');
|
|
100
|
+
const file=path.join(dir,`r36-final-${pointer.manifest_sha256.slice(0,16)}.json`);
|
|
101
|
+
const bytes=Buffer.from(`${JSON.stringify(envelope,null,2)}\n`,'utf8');
|
|
102
|
+
await atomicCreate(file,bytes);
|
|
103
|
+
return {status:'written',path:file,sha256:sha256(bytes),closure_sha256:envelope.closure_sha256,release_id:pointer.release_id};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
const invoked=process.argv[1]&&path.resolve(process.argv[1])===fileURLToPath(import.meta.url);
|
|
107
|
+
if(invoked){
|
|
108
|
+
const [parityPath,activationPath,windowsGatePath]=process.argv.slice(2);
|
|
109
|
+
if(!parityPath||!activationPath||!windowsGatePath) throw new Error('usage: node scripts/final-closure.mjs <parity.json> <activation-receipt.json> <windows-gate.json>');
|
|
110
|
+
writeFinalClosure({parityPath,activationPath,windowsGatePath})
|
|
111
|
+
.then(result=>console.log(JSON.stringify(result,null,2)))
|
|
112
|
+
.catch(error=>{console.error(error instanceof Error?error.stack:String(error));process.exitCode=1;});
|
|
113
|
+
}
|