deadbyte-mcp 0.15.31 → 0.15.32

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 CHANGED
@@ -49,7 +49,7 @@ ad9821d027ac70612820617ed3c197d465c98e42a9e2a5bbb40f571fb2314894 controller/dea
49
49
  8c70a873fd77e5b1579512ec218220182c2bddba63dc50c56ec70a7b449c52d9 controller/deadbyte-desktop-policy.json
50
50
  5e8ef223b0dbc52173aaf044a075837eef8964ff0e7e16f83a595e0d17695625 controller/deadbyte-host-policy.json.example
51
51
  6f0cc469f51444dd18211fa3346c826abeea4d2ec7a8945f0200dc5c622031ef controller/DEADBYTE-MCP.cmd
52
- adefb04b969613ff844fae45845f5847e8eb4b076211fc98c9848779f37cb37e controller/deadbyte-process-policy.json
52
+ e6899562e44cc791e056b4bf2c3f1ebfef24cf211ad3251e0665b36d42450d18 controller/deadbyte-process-policy.json
53
53
  d274b099a298c1033fea8f1e8849751693bbc0448778d619400acb82d4f53a3b controller/deadbyte-semantic-lsp-config.json
54
54
  3023d2985f5b6e5cc7c0d08cb8b342b362c93dce7ebd4224635362194be40cf2 controller/README.TXT
55
55
  101e613518c73c6aa31c725fe1b5f9a24c995dc9876b7b28e1f3e97ac9f8d362 DEADBYTE-MCP-R27-FINAL/R27-ADMIN-CLOSURE.json
@@ -1343,7 +1343,7 @@ db605a698f917c4006462596e6526fe6a9c6eff9b8409e8472fe545d4b70027c node_modules/z
1343
1343
  f67a25ded944912bd4621b68df17c7c70a52aae117278c076c0aabbc32a3abba node_modules/zod/v4/mini/schemas.d.ts
1344
1344
  51b3a7869df2d3a1bd98acb9d5b6a61bbccc7653d7a3d8fca7f0e0db7e84e284 node_modules/zod/v4/mini/schemas.js
1345
1345
  3e3125b5a537a24c3632c1c5c09640ce7bcb3935901b127ad8ae3c37a27f133f node_modules/zod/v4/package.json
1346
- 5e0a860a72317cc63f2e278d834d9873abfac284c8eef07f385f3315827d3e41 package.json
1346
+ f1254116d524eba721c198f8b2aa7c14c1e824820d1644bc1b3b13e811d8e4d7 package.json
1347
1347
  872947dffd89755b03558b217129f009dc9f4fd1ce55e93c602fc6ea97ba8b48 proof/commander-closure-20260927/CONTINUATION.json
1348
1348
  2959980d295814aaa0df71fdb358d2cbfd01c1357ee36ef6b10c149875bdb262 proof/commander-closure-20260927/RESULT.json
1349
1349
  2c2866309ca3a6fc8de5b03d445f1dcf0778474fa25cefb822b2ab729bc91c62 proof/commander-closure-20260927/SEARCH-CONTINUATION.json
@@ -1408,7 +1408,7 @@ d433aaea5cccd1e184775ac4d915f34e0b39c6c99916dddd009731ad5fd6443f proof/V073-WIN
1408
1408
  bd0773a9e02e8ab11475c9cc5a7db29a8313233b7eab7f837922737e75ec5938 proof/VERIFY.txt
1409
1409
  2c821808d4596965c577f40191daee224d3aea81989778c4af97f53a83b487db proof/WINDOWS-CONTAINED-STATUS.txt
1410
1410
  f8bc839c7b4fcb0ea7b7e7ad9448847c3beae6f95f2eb4d407d1b284aaa4ff68 proof/WINDOWS-CONTAINMENT-STATUS.txt
1411
- bb26c46cc3847be6ebced830b7baad2041459e370cca044be342048a94370b25 PROVENANCE.json
1411
+ d794997857413a8ce6358be6f7bc16076430c1783b35fd6ab793e073db1662bc PROVENANCE.json
1412
1412
  27ca0f3c9ee3a1b6374a9c8dd98008decdd0c7659c7a569c70ad7b9734c74655 R34-BASELINE.json
1413
1413
  0b7ec5ee347ddfa6cca59740fc7a8fe3fc5d51406265bb12189e82fa106319d2 R41-PARENT.json
1414
1414
  bd2a789b0aab5663f0d208af2ca8e4ec98179bc8c7b57e70a962d4e06a3dcfc4 R42-PARENT.json
@@ -1417,9 +1417,9 @@ f932ef78b7a72b1bb0d7aedb5fe42fbb9951c2492eb528b72442f46ddff81a6c R44-DONORS.jso
1417
1417
  731b4c559fc0d25dea701e4474f02400b27e8e3f4cac9f230d5214497d4490a9 R44-PARENT.json
1418
1418
  d33ec5d167dd44800ba4e68372b08db43deb8d01df2ef71dd435ff004ac66c8b R45-PARENT.json
1419
1419
  3dc607603fea511e2f428e9546a875ab7e38b6a0bbd5e803e4510de082f30804 R49-PARENT.json
1420
- faa48ce6e84b6e14265de3e3a720979823e4a1a25e894a31e651979fdcab9e1c README.txt
1421
- 6a64fdaf80f010ef335f35c3a669e29ac2a4ad63be83abd122a0a553a88f6db7 RELEASE.json
1422
- 8867f7263a2b975788973b57e774dcc99857c2284a30d4f616ebc5c07c3dfe4b SBOM.cdx.json
1420
+ 0bdb79693ddcaf0ea1bcea699ac7c6054e48ce8bbb1dea2afd9a5360a1f45d2b README.txt
1421
+ 9a7063641da98ffe033770318f42fb9cb00a02da0e37ea1a1a3626dba5f1f7a1 RELEASE.json
1422
+ 1cafdc845fff4d51b9f5c8565af0705aad1ca9fc7b03885aa0b81d34f329d432 SBOM.cdx.json
1423
1423
  7c86062c4f69db3179a129d65945ccfab1b1c1c5bcc29b91383eac097d50f2aa scripts/activate-skill-creator-1.1.1.mjs
1424
1424
  bd138fe5a64088e8e1a7a5bf6104c5b17317bdc8cf3ad8191ea00ed82ace7d9b scripts/agent-eval-r42.mjs
1425
1425
  8d90256a6863f3bbbff02e95cb12389fc6f9e8dbcb77bf1c20c902de371425e8 scripts/archive-source-zips.mjs
@@ -1516,6 +1516,7 @@ a62d69eea0c9db8778cd1551185ff6721ee6390d91afcb6863aecb75f9f422d1 scripts/gate-w
1516
1516
  612ec086c3c9ce6954711736b8590719cb66633ebbeafd6b9781b6b5b8169134 scripts/gate-windows-r52.ps1
1517
1517
  2df3dfb98aabef25e25a61035d9f17d644aecb52257047230142783b3ce5a1a3 scripts/gate-windows-r53.ps1
1518
1518
  89f930eb3d3b9d8972d777a327f16bcfebcf12576a6ada48e53f64d1142adb2d scripts/gate-windows-r54.ps1
1519
+ 7dddf9b547f59b4b36ab4a7e7576d598ecd3f9e0ec24807608b2c52b0b6e6963 scripts/gate-windows-r55.ps1
1519
1520
  9a085b34b9e54023eb0efadcea1e74a1bef44b984105d064768d66910999173e scripts/gate-windows.ps1
1520
1521
  9e625bdc701298c05eb2a63c208d023a487a1baf306c05940eb29c19fb1d6544 scripts/init-desktop-policy-r40.ps1
1521
1522
  01451045bff624a157e7eea79afd7edfa8cb8212ea0256c8ec744fe1e1b269ff scripts/init-host-policy.ps1
@@ -1608,6 +1609,7 @@ f344639080f68b7da5cda765b518e0fb91bc8818229b6f460e82b173018ad30c scripts/window
1608
1609
  95b2de777a8ddc02469ea2b64af13c3f6b9905f62fca7622a62bb4cdcc680e32 scripts/windows-gate-evidence-r52.mjs
1609
1610
  2eb7373875a9a6b6eab62dfb10136ec0f3525836015c80f097d9ae2714356b68 scripts/windows-gate-evidence-r53.mjs
1610
1611
  127497b8ac8701da6a1211efb9f311aab3a67c4995430588617210d681139cf2 scripts/windows-gate-evidence-r54.mjs
1612
+ 93021201c4f37191545502a411886eafef8df031675b716c5d7eb4b50d5e30df scripts/windows-gate-evidence-r55.mjs
1611
1613
  2255b8eb78ca61267df54448560a671357f04893b6bb1df27b8b9fc8a944d255 scripts/windows-gate-evidence.mjs
1612
1614
  105a5c6dcd54e4fabb416df9eaac093654f3ea39c4233a56e0bc6d53371b2128 scripts/workload-contract-regression-r47.mjs
1613
1615
  c32cb9054a1b9641ae071c00622c0054272bdb0b519ea22c4ff926a1600a2b46 scripts/workload-stream-regression.mjs
@@ -1772,7 +1774,7 @@ fafeb0ec6e31762f14de46a5f021582b9a54de8af4c73c3ecc92ac71020cc8b7 src/remote-ses
1772
1774
  45fcd7e9447545785e851fbeec439551c10a85c93f60a19437729870222c697c src/runtime-catalog-expectation.mjs
1773
1775
  066c97427989298ff3d7db06e40572f4d634269ea7dfd5836575ea98c52d92bc src/runtime-coherence.mjs
1774
1776
  ce2223bf6075e96cc02505c1439acce18bb1f204c5e86cf9152bb7194daf3cd2 src/runtime-identity.mjs
1775
- 1f8aaf0cdb7079665d72a2b5abab505fac25eb2ade9531ad5b0320be93cc44da src/runtime-update.mjs
1777
+ 10608193e8dfc09209ecf3483e093798dcbd52f7a5eaed273d8f1376a94e7057 src/runtime-update.mjs
1776
1778
  c61335adb38bfc415fe1cdabfe2c0a87e61579dfd1e52cce91c44d6993479457 src/search-cursor.mjs
1777
1779
  fc5407ef8338ebeeede16225b3249166dc4d45e903d873eb46c15c3df07dc9ad src/semantic-backend-registry.mjs
1778
1780
  686e9b55b9f4352b941579f186a9b9d348d86af53d052cbd5da953e7d15470ff src/semantic-code.mjs
@@ -1792,12 +1794,12 @@ c99c2402fb0df4f68634fa906eb198c551c55dad9f0921a7b8ed6e33d503884e src/tunnel-std
1792
1794
  aa765e9a28c69ff58a5b5a0d29b49ea181af4db9076633b102dbca25861e708e src/tunnel-stdio-compat.mjs
1793
1795
  642cb67d1854850e336ee73fbd71b329056bdcbdab35cea19c1a995a155ff5d9 src/verifier-cli.mjs
1794
1796
  8f818a4852ce3be3a380cd4736c3073a7a3e0e45cd7c7ca90588a6b843d3d022 src/verifier.mjs
1795
- b2d01b3b74ee19fd1640672f42edc25b918673c13e9119647485df7279af4be9 src/version.mjs
1797
+ baf6d13e168890295bc2f9fe667ae4c679289adeb454c5a9644f7738c5bccef9 src/version.mjs
1796
1798
  7e09c57a97289360aabfaf3d531208e54872efbfb3182f3c18203d2cb88c46b5 src/worker-registry.mjs
1797
1799
  76361d5ae9a710273cf64a7525082197b692236bf23689875e5fd1ef4aa96d2b src/worker-scheduler.mjs
1798
1800
  4da1b32f5198bb089bc68b7eb6de21ea296678b5020018a73742bf0df57d62fa src/workload-substrate.mjs
1799
1801
  1bd637e7634ca0259791c5108fcf324554f70b1db49e5eac3505287c04bbc3be STABILIZATION-PROGRESS.md
1800
- c743893b478a8150c96c8c927916e2477fdfd128c5cd316cd6c012e58164b5d8 TEST-MATRIX.json
1802
+ db7e4ba5fd294f9d4c4ae02a1575c67a3a935374d9a91f9128546db9607f87b7 TEST-MATRIX.json
1801
1803
  e4f1fb97545f23772ddff28ad3f9954a4714f9854062fca62e0e12c1cb2ec4ae test/agent-backend-r44.test.mjs
1802
1804
  2a78c818058b25efdc143a3a97c832da231ccd6ff9d90c7796d681a0251b85c4 test/agent-crash-child.mjs
1803
1805
  d9461ab7c118ee75d37a2d6f5e637d7e43505af6a9ad8c7ddafffc8ace185a5b test/agent-crash-worker.mjs
@@ -2042,7 +2044,7 @@ eaaf2547cf06fad4c16db72413ea137143c280a9bc641b3230ee2d85a0b65b5a test/r44-final
2042
2044
  25a21ccffcf566b020b8f3c6c0a5a3b7ff06b243fff84e405207e458640ba487 test/r47-release-contract.test.mjs
2043
2045
  2871a825520cca851a10f65f42a6033c4c17d7446c1930d7a64316a76aacf681 test/r48-release-contract.test.mjs
2044
2046
  ec6fc253774c318b048dc943c83b496f942d8dd034f6db9439a99a46ae3a6158 test/r49-remote-control-donors.test.mjs
2045
- 34c8185b3e0f5933d6b414c499bfddfb555220784b54a6789effd4afde897353 test/r49-windows-gate.test.mjs
2047
+ 4cd9657cf8b42f8512ab0aee028696abbe0b0aea371e37aa44cc1ac552b9213c test/r49-windows-gate.test.mjs
2046
2048
  c3f0a8b6ced2c15ed8580fcb261ad65bf3b885e6593d70de7394be63aba8dd1c test/r51-live-log-polling.test.mjs
2047
2049
  3821085180a09707110e4c1a10e711343e9fb2fcf871c7c1e34149a77c7fba50 test/r51-release-contract.test.mjs
2048
2050
  cc1ca8fe9514ca047ace52cd688f3f4fa5b7680a280d7a31cc2196ce915b91c9 test/r51-runtime-coherence.test.mjs
@@ -2051,7 +2053,9 @@ cc1ca8fe9514ca047ace52cd688f3f4fa5b7680a280d7a31cc2196ce915b91c9 test/r51-runti
2051
2053
  7771030283b84fd3fec506287ff3083be3a83167c66a1c0d6bcdff8dda55f873 test/r52-release-contract.test.mjs
2052
2054
  b0a9cca4f2c5dcf1a24d6e7675b42c72e88339b29ddc9220aa679316ae1467f5 test/r53-release-contract.test.mjs
2053
2055
  04fe09cdd94ae23cff6a9acebb64d5a09391fd5e7f5fc778dd8dd8e10a3dd3e2 test/r54-offline-predecessor-self-exclusion.test.mjs
2054
- e27beaa129a85c22170b0028c07177613577580e474d5dd2823c47f4caaa1151 test/r54-release-contract.test.mjs
2056
+ 4148924e4edc935398e20a763cb27d903095b978898e8140b695b5642b63fe8c test/r54-release-contract.test.mjs
2057
+ 4847402324bff518df66c9b7dbd1091bf8c0f5c5547e70c1a042c963b770bd28 test/r55-offline-predecessor-guardian-family.test.mjs
2058
+ 3e84d0ba66c5ce76b1890e800f0f45deeb43cdd85e7d6015be2e09aafac42dcf test/r55-release-contract.test.mjs
2055
2059
  e45a6cd299d8d65bdeb9bc0117ce1eb2b47fdebad89a02413ee979c9d0ae3a5c test/release-activation-gate.test.mjs
2056
2060
  85f6dc2059fd19d03452309ffe67bed5b87da8e6f0ce3a85cab58cba8b197ceb test/release-generation.test.mjs
2057
2061
  bb58887a2c393cd5aac3fa3bb3a04de2704bd2a30dd2083ea638543485fa7e60 test/release-manifest-windows.test.mjs
package/PROVENANCE.json CHANGED
@@ -1,31 +1,33 @@
1
1
  {
2
2
  "schema": "deadbyte.provenance.v1",
3
- "version": "0.15.31",
4
- "builder": "deadbyte-r54-activation-recovery-hotfix",
5
- "source_model": "exact published 0.15.30 artifact -> reproduced offline-recovery self-process exclusion defect -> surgical activation-ancestry exclusion -> stale-runtime negative control -> focused regression -> current full regression -> manifest/package verification -> npm registry round-trip -> activation/rollback/restore",
3
+ "version": "0.15.32",
4
+ "builder": "deadbyte-r55-activation-guardian-family-hotfix",
5
+ "source_model": "exact published 0.15.31 artifact -> production activation failure remained at authority_revoked with one transient DEADBYTE Node blocker -> live foreground topology confirmed remote-session guardian is a sibling owned by the deadbyte-cli ancestor -> parent regression reproduced guardian misclassification -> surgical owner/parent/nonce-bound guardian exclusion -> stale-runtime negative controls -> focused/full regression -> package verification -> registry round-trip -> activation/rollback/restore",
6
6
  "signing": "ed25519",
7
- "parent_release_id": "v0.15.30-ddf7c7338d9a371f",
8
- "parent_manifest_sha256": "ddf7c7338d9a371f5667d7b138695e7f9cfced553d14073ac5a44fd2fe0a0399",
9
- "parent_tarball_sha256": "72881981bf76eb45527946b310caed8387943e2ca8e37ea6e606c32189dd5a70",
7
+ "parent_release_id": "v0.15.31-16854fe5b3eb0fa1",
8
+ "parent_manifest_sha256": "16854fe5b3eb0fa1c6dd2b96e3c5d6f792c5adbc91dd2a71e7fc2771472bbdd4",
9
+ "parent_tarball_sha256": "ff6eba3036cb00ac639ac8907ad6063e6ea8169cf32aca8721f75b1e403e501a",
10
10
  "parent_activation_status": "PUBLISHED_NOT_ACTIVATED",
11
11
  "runtime_predecessor": {
12
12
  "release_id": "v0.15.29-f74eaa1b3d00e6fb",
13
13
  "manifest_sha256": "f74eaa1b3d00e6fb5a36b2358efb815e3686c9fe9dbd3b84d25a713ef957748c",
14
14
  "generation_manifest_sha256": "289b4fc065de0681da6864cc1bbe09aab198ca804945ffc27c786438dad13f5a"
15
15
  },
16
- "source_predecessor_version": "0.15.30",
17
- "source_predecessor_tarball_sha256": "72881981bf76eb45527946b310caed8387943e2ca8e37ea6e606c32189dd5a70",
18
- "source_predecessor_manifest_file_sha256": "ddf7c7338d9a371f5667d7b138695e7f9cfced553d14073ac5a44fd2fe0a0399",
19
- "r54_hotfix": {
20
- "defect": "offline predecessor recovery self-process exclusion defect",
16
+ "source_predecessor_version": "0.15.31",
17
+ "source_predecessor_tarball_sha256": "ff6eba3036cb00ac639ac8907ad6063e6ea8169cf32aca8721f75b1e403e501a",
18
+ "source_predecessor_manifest_file_sha256": "16854fe5b3eb0fa1c6dd2b96e3c5d6f792c5adbc91dd2a71e7fc2771472bbdd4",
19
+ "r55_hotfix": {
20
+ "defect": "offline predecessor recovery foreground guardian sibling exclusion defect",
21
21
  "activation_ancestry_excluded": true,
22
+ "foreground_guardian_owner_parent_binding": true,
23
+ "foreground_guardian_session_nonce_contract": true,
22
24
  "unrelated_stale_runtime_fail_closed": true,
23
- "red_parent_0_15_30": "FAIL_5_OF_5",
24
- "green_r54_candidate": "PASS_5_OF_5",
25
- "full_regression": "PENDING",
25
+ "red_parent_0_15_31": "FAIL_1_OF_4",
26
+ "green_r55_candidate": "PASS_4_OF_4",
27
+ "full_regression": "PASS",
26
28
  "stable_final_claim": false
27
29
  },
28
- "reproducibility": "0.15.30 remains immutable; R54 changes only successor source/metadata/tests and preserves fail-closed stale-runtime detection outside the verified current activation ancestry",
30
+ "reproducibility": "0.15.31 remains immutable; R55 excludes only the foreground guardian whose declared owner PID is in the updater ancestry, whose actual parent PID equals that owner, and whose session nonce matches the 256-bit session contract; unrelated DEADBYTE runtimes remain fail-closed",
29
31
  "operator_override": {
30
32
  "four_hour_soak": "NOT_COMPLETED",
31
33
  "reason": "owner explicitly directed deploy before the 4-hour hard soak completed",
package/README.txt CHANGED
@@ -1,4 +1,4 @@
1
- DEADBYTE MCP V0.15.31 / R54 ACTIVATION RECOVERY HOTFIX
1
+ DEADBYTE MCP V0.15.32 / R55 ACTIVATION GUARDIAN FAMILY HOTFIX
2
2
  =========================
3
3
 
4
4
  AUTHENTICATED MACHINE TRUTH + DURABLE AGENT + CODING + AUTONOMOUS PRODUCTION ENGINE
@@ -7,12 +7,12 @@ 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.15.31 mcp
11
- npx -y deadbyte-mcp@0.15.31 remote
12
- npx -y deadbyte-mcp@0.15.31 remote status
13
- npx -y deadbyte-mcp@0.15.31 remote restart
14
- npx -y deadbyte-mcp@0.15.31 audit status
15
- npx -y deadbyte-mcp@0.15.31 audit verify
10
+ npx -y deadbyte-mcp@0.15.32 mcp
11
+ npx -y deadbyte-mcp@0.15.32 remote
12
+ npx -y deadbyte-mcp@0.15.32 remote status
13
+ npx -y deadbyte-mcp@0.15.32 remote restart
14
+ npx -y deadbyte-mcp@0.15.32 audit status
15
+ npx -y deadbyte-mcp@0.15.32 audit verify
16
16
 
17
17
  The `mcp` command is the quiet stdio server entry for local MCP clients; stdout is reserved for MCP.
18
18
  The remote CLI invokes the stable active-release PowerShell launcher directly with shell=false.
@@ -29,6 +29,10 @@ and a random 256-bit session nonce, prevents concurrent foreground sessions, and
29
29
  recover only a dead, unguarded stale owner. Explicit subcommands such as `remote status` remain
30
30
  one-shot controller operations.
31
31
 
32
+ R55 ACTIVATION GUARDIAN FAMILY HOTFIX
33
+ --------------------------------------
34
+ 0.15.32 fixes the remaining 0.15.31 offline-recovery self-classification defect observed during production activation. R54 excluded the detached updater supervisor's ancestor chain but the foreground remote-session guardian is a sibling owned by the deadbyte-cli ancestor. R55 excludes that guardian only when its declared --owner-pid is in the updater ancestry, its actual ParentProcessId equals that owner, and its 256-bit session nonce matches the foreground-session contract. Unrelated guardians and stale DEADBYTE runtimes still block recovery. 0.15.31 remains immutable and published; production runtime predecessor remains exact 0.15.29 until R55 activation completes.
35
+
32
36
  R54 ACTIVATION RECOVERY HOTFIX
33
37
  ---------------------------------
34
38
  0.15.31 fixes the published 0.15.30 offline-predecessor activation defect. The detached update supervisor now excludes only its verified current process ancestry when scanning for DEADBYTE runtime blockers. Unrelated stale DEADBYTE runtime processes, including sibling Node runtimes, guardians, tunnel hosts, and cloud processes, still fail closed. The 0.15.30 package remains immutable and is retained as the exact published source predecessor; production runtime predecessor remains exact 0.15.29 until R54 activation completes.
@@ -276,7 +280,7 @@ CONTROLLER
276
280
  ----------
277
281
  Primary operator entry point:
278
282
 
279
- npx -y deadbyte-mcp@0.15.31 remote
283
+ npx -y deadbyte-mcp@0.15.32 remote
280
284
 
281
285
  The legacy CMD entry remains compatibility-only for R33 rollback safety.
282
286
 
@@ -337,7 +341,7 @@ MCP CLIENT CONFIGURATION
337
341
  ------------------------
338
342
  The local stdio entry point is quiet and suitable for MCP hosts:
339
343
 
340
- npx -y deadbyte-mcp@0.15.31 mcp
344
+ npx -y deadbyte-mcp@0.15.32 mcp
341
345
 
342
346
  CLAUDE DESKTOP
343
347
  Use the standard local-server entry in claude_desktop_config.json:
@@ -346,7 +350,7 @@ Use the standard local-server entry in claude_desktop_config.json:
346
350
  "mcpServers": {
347
351
  "deadbyte": {
348
352
  "command": "npx",
349
- "args": ["-y", "deadbyte-mcp@0.15.31", "mcp"]
353
+ "args": ["-y", "deadbyte-mcp@0.15.32", "mcp"]
350
354
  }
351
355
  }
352
356
  }
@@ -359,7 +363,7 @@ Create .cursor/mcp.json:
359
363
  "deadbyte": {
360
364
  "type": "stdio",
361
365
  "command": "npx",
362
- "args": ["-y", "deadbyte-mcp@0.15.31", "mcp"]
366
+ "args": ["-y", "deadbyte-mcp@0.15.32", "mcp"]
363
367
  }
364
368
  }
365
369
  }
@@ -372,7 +376,7 @@ Create .vscode/mcp.json:
372
376
  "deadbyte": {
373
377
  "type": "stdio",
374
378
  "command": "npx",
375
- "args": ["-y", "deadbyte-mcp@0.15.31", "mcp"]
379
+ "args": ["-y", "deadbyte-mcp@0.15.32", "mcp"]
376
380
  }
377
381
  }
378
382
  }
@@ -382,9 +386,9 @@ Add this to ~/.codex/config.toml:
382
386
 
383
387
  [mcp_servers.deadbyte]
384
388
  command = "npx"
385
- args = ["-y", "deadbyte-mcp@0.15.31", "mcp"]
389
+ args = ["-y", "deadbyte-mcp@0.15.32", "mcp"]
386
390
 
387
- The remote device path remains `npx -y deadbyte-mcp@0.15.31 remote`. Remote public MCP uses the
391
+ The remote device path remains `npx -y deadbyte-mcp@0.15.32 remote`. Remote public MCP uses the
388
392
  verified HTTPS named-tunnel URL selected by the active generation; do not commit a private device
389
393
  URL or tunnel token into a repository.
390
394
 
package/RELEASE.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "schema": "deadbyte.release.v1",
3
3
  "name": "deadbyte-mcp",
4
- "version": "0.15.31",
5
- "train": "R54",
6
- "label": "ACTIVATION RECOVERY HOTFIX",
4
+ "version": "0.15.32",
5
+ "train": "R55",
6
+ "label": "ACTIVATION GUARDIAN FAMILY HOTFIX",
7
7
  "protocol_revision": "2026-07-28",
8
8
  "parent": {
9
- "version": "0.15.30",
10
- "release_id": "v0.15.30-ddf7c7338d9a371f",
11
- "manifest_sha256": "ddf7c7338d9a371f5667d7b138695e7f9cfced553d14073ac5a44fd2fe0a0399",
12
- "tarball_sha256": "72881981bf76eb45527946b310caed8387943e2ca8e37ea6e606c32189dd5a70",
9
+ "version": "0.15.31",
10
+ "release_id": "v0.15.31-16854fe5b3eb0fa1",
11
+ "manifest_sha256": "16854fe5b3eb0fa1c6dd2b96e3c5d6f792c5adbc91dd2a71e7fc2771472bbdd4",
12
+ "tarball_sha256": "ff6eba3036cb00ac639ac8907ad6063e6ea8169cf32aca8721f75b1e403e501a",
13
13
  "activation_status": "PUBLISHED_NOT_ACTIVATED"
14
14
  },
15
15
  "runtime_predecessor": {
@@ -18,16 +18,18 @@
18
18
  "generation_manifest_sha256": "289b4fc065de0681da6864cc1bbe09aab198ca804945ffc27c786438dad13f5a"
19
19
  },
20
20
  "source_predecessor": {
21
- "version": "0.15.30",
22
- "tarball_sha256": "72881981bf76eb45527946b310caed8387943e2ca8e37ea6e606c32189dd5a70",
23
- "manifest_file_sha256": "ddf7c7338d9a371f5667d7b138695e7f9cfced553d14073ac5a44fd2fe0a0399"
21
+ "version": "0.15.31",
22
+ "tarball_sha256": "ff6eba3036cb00ac639ac8907ad6063e6ea8169cf32aca8721f75b1e403e501a",
23
+ "manifest_file_sha256": "16854fe5b3eb0fa1c6dd2b96e3c5d6f792c5adbc91dd2a71e7fc2771472bbdd4"
24
24
  },
25
25
  "hotfix": {
26
- "defect": "offline predecessor recovery self-process exclusion defect",
26
+ "defect": "offline predecessor recovery foreground guardian sibling exclusion defect",
27
27
  "activation_ancestry_excluded": true,
28
+ "foreground_guardian_owner_parent_binding": true,
29
+ "foreground_guardian_session_nonce_contract": true,
28
30
  "unrelated_stale_runtime_fail_closed": true,
29
- "red_parent_0_15_30": "FAIL_5_OF_5",
30
- "green_r54_candidate": "PASS_5_OF_5",
31
+ "red_parent_0_15_31": "FAIL_1_OF_4",
32
+ "green_r55_candidate": "PASS_4_OF_4",
31
33
  "full_regression": "PASS",
32
34
  "stable_final_claim": false
33
35
  },
@@ -135,6 +137,7 @@
135
137
  "human_livelog_bounded_discovery": true,
136
138
  "human_livelog_single_parse": true,
137
139
  "offline_predecessor_host_revoke_before_capture": true,
138
- "offline_recovery_self_process_exclusion": true
140
+ "offline_recovery_self_process_exclusion": true,
141
+ "offline_recovery_foreground_guardian_family_exclusion": true
139
142
  }
140
143
  }
package/SBOM.cdx.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "bomFormat": "CycloneDX",
3
3
  "specVersion": "1.6",
4
- "serialNumber": "urn:cdx:deadbyte-mcp:r54:0.15.31",
4
+ "serialNumber": "urn:cdx:deadbyte-mcp:r55:0.15.32",
5
5
  "version": 1,
6
6
  "metadata": {
7
7
  "component": {
8
8
  "type": "application",
9
9
  "name": "deadbyte-mcp",
10
- "version": "0.15.31"
10
+ "version": "0.15.32"
11
11
  }
12
12
  },
13
13
  "components": [
@@ -34,7 +34,7 @@
34
34
  {
35
35
  "type": "file",
36
36
  "name": "deadbyte-hardware-observer-r45.exe",
37
- "version": "0.15.31",
37
+ "version": "0.15.32",
38
38
  "hashes": [
39
39
  {
40
40
  "alg": "SHA-256",
package/TEST-MATRIX.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema": "deadbyte.test-matrix.v1",
3
- "version": "0.15.31",
4
- "train": "R54",
3
+ "version": "0.15.32",
4
+ "train": "R55",
5
5
  "primary_platform": "win32-x64",
6
6
  "reference": {
7
7
  "package": "@wonderwhy-er/desktop-commander",
@@ -11,14 +11,14 @@
11
11
  },
12
12
  "required": [
13
13
  {
14
- "id": "r54-focused",
15
- "command": "npm run r54:focused:test",
16
- "expected": "PASS R54 release identity, activation ancestry exclusion, stale-runtime negative controls, runtime update/coherence"
14
+ "id": "r55-focused",
15
+ "command": "npm run r55:focused:test",
16
+ "expected": "PASS R55 release identity, foreground guardian family exclusion, stale-runtime negative controls, runtime update/coherence"
17
17
  },
18
18
  {
19
19
  "id": "full-regression",
20
20
  "command": "npm run r48:full:test",
21
- "expected": "PASS current R54 successor"
21
+ "expected": "PASS current R55 successor"
22
22
  },
23
23
  {
24
24
  "id": "package-boundary",
@@ -28,7 +28,7 @@
28
28
  {
29
29
  "id": "windows-gate",
30
30
  "command": "npm run gate:windows",
31
- "expected": "PASS R54 focused + full regression + manifest/doctor evidence"
31
+ "expected": "PASS R55 focused + full regression + manifest/doctor evidence"
32
32
  },
33
33
  {
34
34
  "id": "package-verify",
@@ -37,47 +37,51 @@
37
37
  },
38
38
  {
39
39
  "id": "activation",
40
- "command": "npx --yes deadbyte-mcp@0.15.31 remote",
41
- "expected": "clean OFFLINE recovery must not self-block and must activate exact R54 manifest"
40
+ "command": "npx --yes deadbyte-mcp@0.15.32 remote",
41
+ "expected": "clean OFFLINE recovery excludes only the bound foreground guardian and activates exact R55 manifest"
42
42
  },
43
43
  {
44
44
  "id": "machine-truth",
45
45
  "command": "signed machine_ping",
46
- "expected": "active release/generation bind exact R54"
46
+ "expected": "active release/generation bind exact R55"
47
47
  },
48
48
  {
49
49
  "id": "rollback-restore",
50
50
  "command": "immutable slot rollback/restore",
51
- "expected": "0.15.31 -> exact 0.15.29 -> same exact 0.15.31"
51
+ "expected": "0.15.32 -> exact 0.15.29 -> same exact 0.15.32"
52
52
  }
53
53
  ],
54
54
  "observed_pre_release_evidence": {
55
- "red_parent_0_15_30": {
55
+ "red_parent_0_15_31": {
56
56
  "status": "FAIL_EXPECTED",
57
- "tests": 5,
58
- "failed": 5,
59
- "receipt_sha256": "116070d3bf860c0a13624e3d017f079655d3b4a4ccac2c7907369066c9833432"
57
+ "tests": 4,
58
+ "failed": 1,
59
+ "receipt_id": "6ad588e8f12dab44c1888d9d",
60
+ "receipt_sha256": "07ba973aa9224fbb1dde572af35640a1e07ca47273f1e50958d787bfe2aaf429"
60
61
  },
61
- "green_r54_candidate": {
62
+ "green_r55_candidate": {
62
63
  "status": "PASS",
63
- "tests": 5,
64
+ "tests": 4,
64
65
  "failed": 0,
65
- "receipt_sha256": "93889c4829e9b1690f4e8473a632b27b9be8d6a74c62ec54de05bec55524d934"
66
+ "receipt_id": "adf874166aedc68ae87737cd",
67
+ "receipt_sha256": "a217f72cce51a9daf56136f9075ba487adb2a899c291a63af835ea15f8c632f0"
66
68
  },
67
69
  "full_regression": {
68
70
  "status": "PASS",
69
- "files": 229,
71
+ "files": 231,
70
72
  "batches": 8,
71
- "elapsed_ms": 238406.738,
72
- "receipt_id": "fafd5d1b2a543bb347ca6617",
73
- "receipt_sha256": "ab8d0c1242570fc89cf8b87850ab168ad04147b3ca6535ea58178e6461059225",
74
- "request_sha256": "24e963d6016e20d0527dd8825e0ba40b49009347d01faf6e45285f9c9412451a"
73
+ "elapsed_ms": 242242.329,
74
+ "receipt_id": "8b6f85608e18f37e2722ecc7",
75
+ "receipt_sha256": "fcfc44696819cd9ea07a24601c6b9fff9c2d306ef9add8c3060d390fe0b77e99",
76
+ "request_sha256": "8f27d650298e9578b4ac19529167380c797dd8d07a3ef3f5a22a7b980b45b81f"
75
77
  }
76
78
  },
77
79
  "inherited_parent_evidence": {
78
- "version": "0.15.30",
79
- "r53_full_regression": "PASS",
80
- "local_isolated_state_acceptance": "PASS",
80
+ "version": "0.15.31",
81
+ "parent_full_regression": "PASS",
82
+ "parent_manifest_sha256": "16854fe5b3eb0fa1c6dd2b96e3c5d6f792c5adbc91dd2a71e7fc2771472bbdd4",
83
+ "parent_tarball_sha256": "ff6eba3036cb00ac639ac8907ad6063e6ea8169cf32aca8721f75b1e403e501a",
84
+ "parent_activation": "FAILED_AT_AUTHORITY_REVOKED_TRANSIENT_NODE_BLOCKER",
81
85
  "four_hour_soak": "NOT_COMPLETED_OPERATOR_BYPASS"
82
86
  },
83
87
  "operator_override": {
@@ -104,6 +108,12 @@
104
108
  "r54": {
105
109
  "offline_recovery_activation_ancestry_exclusion": true,
106
110
  "unrelated_stale_runtime_fail_closed": true
111
+ },
112
+ "r55": {
113
+ "offline_recovery_foreground_guardian_family_exclusion": true,
114
+ "guardian_owner_parent_binding_required": true,
115
+ "guardian_session_nonce_contract_required": true,
116
+ "unrelated_stale_runtime_fail_closed": true
107
117
  }
108
118
  },
109
119
  "non_win32": {
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "schema": "deadbyte.process-policy.v1",
3
3
  "enabled": true,
4
- "grant_file": "D:\\Projects\\deadbyte-mcp\\development\\deadbyte-mcp-0.15.31-r54\\controller\\runtime\\process-grant.json",
5
- "state_dir": "D:\\Projects\\deadbyte-mcp\\development\\deadbyte-mcp-0.15.31-r54\\controller\\runtime\\process-state",
4
+ "grant_file": "D:\\Projects\\deadbyte-mcp\\development\\deadbyte-mcp-0.15.32-r55\\controller\\runtime\\process-grant.json",
5
+ "state_dir": "D:\\Projects\\deadbyte-mcp\\development\\deadbyte-mcp-0.15.32-r55\\controller\\runtime\\process-state",
6
6
  "native_host": {
7
- "path": "D:\\Projects\\deadbyte-mcp\\development\\deadbyte-mcp-0.15.31-r54\\bin\\deadbyte-process-host.exe",
7
+ "path": "D:\\Projects\\deadbyte-mcp\\development\\deadbyte-mcp-0.15.32-r55\\bin\\deadbyte-process-host.exe",
8
8
  "sha256": "daf9cfb371bee88cafbf5597eaa507fec504dbe0b0ddd40d0c3c2e02817f49e4"
9
9
  },
10
10
  "roots": {
11
11
  "core": {
12
- "path": "D:\\Projects\\deadbyte-mcp\\development\\deadbyte-mcp-0.15.31-r54",
12
+ "path": "D:\\Projects\\deadbyte-mcp\\development\\deadbyte-mcp-0.15.32-r55",
13
13
  "deny_paths": [
14
14
  "node_modules",
15
15
  "controller/runtime",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deadbyte-mcp",
3
- "version": "0.15.31",
3
+ "version": "0.15.32",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Authenticated MCP agentic runtime with signed skills, persistent model backends, identity-bound remote devices, durable job supervision, immutable release slots, and separately revocable machine authority.",
@@ -42,7 +42,7 @@
42
42
  "contained:run": "node src/contained-cli.mjs workspaces/demo input.txt",
43
43
  "contained:smoke": "node src/contained-smoke.mjs",
44
44
  "mcp:contained:smoke": "node src/mcp-contained-smoke-client.mjs",
45
- "gate:windows": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/gate-windows-r54.ps1",
45
+ "gate:windows": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/gate-windows-r55.ps1",
46
46
  "authority:smoke": "node src/authority-smoke.mjs",
47
47
  "mcp:remote:smoke": "node src/remote-mcp-smoke-client.mjs",
48
48
  "mcp:host:smoke": "node src/mcp-host-smoke-client.mjs",
@@ -76,7 +76,8 @@
76
76
  "r51:focused:test": "node --test --test-concurrency=1 test/r51-release-contract.test.mjs test/r51-runtime-coherence.test.mjs test/r51-live-log-polling.test.mjs test/coding-runtime.test.mjs test/remote-live-log-r37.test.mjs",
77
77
  "r52:focused:test": "node --test --test-concurrency=1 test/r52-release-contract.test.mjs test/r52-offline-predecessor-recovery.test.mjs test/r52-host-revocation.test.mjs test/r51-runtime-coherence.test.mjs test/r51-live-log-polling.test.mjs test/coding-runtime.test.mjs test/remote-live-log-r37.test.mjs test/runtime-self-update.test.mjs",
78
78
  "r53:focused:test": "node --test --test-concurrency=1 test/r53-release-contract.test.mjs test/stabilization-update-child-root.test.mjs test/stabilization-state-root.test.mjs test/stabilization-guardian.test.mjs test/stabilization-semver.test.mjs test/stabilization-powershell.test.mjs test/release-slot.test.mjs test/runtime-self-update.test.mjs test/r51-runtime-coherence.test.mjs test/remote-session-cli.test.mjs test/r52-offline-predecessor-recovery.test.mjs test/r52-host-revocation.test.mjs",
79
- "r54:focused:test": "node --test --test-concurrency=1 test/r54-release-contract.test.mjs test/r54-offline-predecessor-self-exclusion.test.mjs test/r52-offline-predecessor-recovery.test.mjs test/runtime-self-update.test.mjs test/r51-runtime-coherence.test.mjs test/remote-session-cli.test.mjs"
79
+ "r54:focused:test": "node --test --test-concurrency=1 test/r54-release-contract.test.mjs test/r54-offline-predecessor-self-exclusion.test.mjs test/r52-offline-predecessor-recovery.test.mjs test/runtime-self-update.test.mjs test/r51-runtime-coherence.test.mjs test/remote-session-cli.test.mjs",
80
+ "r55:focused:test": "node --test --test-concurrency=1 test/r55-release-contract.test.mjs test/r55-offline-predecessor-guardian-family.test.mjs test/r54-offline-predecessor-self-exclusion.test.mjs test/r52-offline-predecessor-recovery.test.mjs test/runtime-self-update.test.mjs test/r51-runtime-coherence.test.mjs test/remote-session-cli.test.mjs"
80
81
  },
81
82
  "bundleDependencies": [
82
83
  "@modelcontextprotocol/server",
@@ -0,0 +1,27 @@
1
+ $ErrorActionPreference = 'Stop'
2
+ Set-StrictMode -Version 3.0
3
+
4
+ function Invoke-GateStep {
5
+ param([Parameter(Mandatory)][string]$Name,[Parameter(Mandatory)][string[]]$NpmArgs)
6
+ Write-Host "==== $Name ===="
7
+ & npm.cmd @NpmArgs
8
+ if ($LASTEXITCODE -ne 0) { throw "DEADBYTE 0.15.32 / R55 gate failed at $Name with exit code $LASTEXITCODE" }
9
+ }
10
+ function Invoke-NodeTest {
11
+ param([Parameter(Mandatory)][string]$Name,[Parameter(Mandatory)][string[]]$TestFiles)
12
+ Write-Host "==== $Name ===="
13
+ & node.exe --test --test-concurrency=1 @TestFiles
14
+ if ($LASTEXITCODE -ne 0) { throw "DEADBYTE 0.15.32 / R55 gate failed at $Name with exit code $LASTEXITCODE" }
15
+ }
16
+
17
+ Invoke-NodeTest 'r55-package-boundary' @('test/package-boundary.test.mjs')
18
+ Invoke-GateStep 'r55-focused-contracts' @('run','r55:focused:test')
19
+ Write-Host '==== full-regression-evidence ===='
20
+ $matrix=Get-Content -LiteralPath (Join-Path (Split-Path $PSScriptRoot -Parent) 'TEST-MATRIX.json') -Raw | ConvertFrom-Json
21
+ if($matrix.observed_pre_release_evidence.full_regression.status -ne 'PASS'){ throw 'R55 full regression evidence is not PASS' }
22
+ Invoke-GateStep 'manifest-write' @('run','manifest:write')
23
+ Invoke-GateStep 'manifest-verify' @('run','manifest:verify')
24
+ Invoke-GateStep 'doctor' @('run','doctor')
25
+ & node.exe (Join-Path $PSScriptRoot 'windows-gate-evidence-r55.mjs')
26
+ if ($LASTEXITCODE -ne 0) { throw "R55 evidence writer failed with exit code $LASTEXITCODE" }
27
+ Write-Host '==== DEADBYTE 0.15.32 / R55 WINDOWS GATE: PASS ===='
@@ -0,0 +1,79 @@
1
+ import { createHash } from 'node:crypto';
2
+ import { mkdir, open, readFile } from 'node:fs/promises';
3
+ import os from 'node:os';
4
+ import path from 'node:path';
5
+ import { fileURLToPath } from 'node:url';
6
+ import { doctor } from '../src/doctor-r45.mjs';
7
+
8
+ const root=path.resolve(path.dirname(fileURLToPath(import.meta.url)),'..');
9
+ const stateRoot=path.resolve(process.env.DEADBYTE_STATE_ROOT||path.join(os.homedir(),'.deadbyte-mcp'));
10
+ const sha256=bytes=>createHash('sha256').update(bytes).digest('hex');
11
+ const insist=(ok,message)=>{if(!ok)throw new Error(message);};
12
+ const pkg=JSON.parse(await readFile(path.join(root,'package.json'),'utf8'));
13
+ const release=JSON.parse(await readFile(path.join(root,'RELEASE.json'),'utf8'));
14
+ const provenance=JSON.parse(await readFile(path.join(root,'PROVENANCE.json'),'utf8'));
15
+ const matrix=JSON.parse(await readFile(path.join(root,'TEST-MATRIX.json'),'utf8'));
16
+ const active=JSON.parse(await readFile(path.join(stateRoot,'active-release.json'),'utf8'));
17
+ const manifestSha256=sha256(await readFile(path.join(root,'MANIFEST.SHA256')));
18
+
19
+ insist(pkg.version==='0.15.32'&&release.version===pkg.version&&release.train==='R55','R55 candidate identity mismatch');
20
+ insist(release.parent.version==='0.15.31','R55 source parent mismatch');
21
+ insist(release.parent.manifest_sha256==='16854fe5b3eb0fa1c6dd2b96e3c5d6f792c5adbc91dd2a71e7fc2771472bbdd4','R55 source parent manifest mismatch');
22
+ insist(release.parent.tarball_sha256==='ff6eba3036cb00ac639ac8907ad6063e6ea8169cf32aca8721f75b1e403e501a','R55 source parent tarball mismatch');
23
+ insist(
24
+ active.release_id===release.runtime_predecessor.release_id&&
25
+ active.manifest_sha256===release.runtime_predecessor.manifest_sha256&&
26
+ active.generation_manifest_sha256===release.runtime_predecessor.generation_manifest_sha256,
27
+ 'active runtime is not exact sealed 0.15.29 predecessor'
28
+ );
29
+ insist(release.hotfix?.foreground_guardian_owner_parent_binding===true,'R55 guardian owner/parent binding missing');
30
+ insist(release.hotfix?.foreground_guardian_session_nonce_contract===true,'R55 guardian nonce contract missing');
31
+ insist(release.hotfix?.unrelated_stale_runtime_fail_closed===true,'R55 stale-runtime negative control missing');
32
+ insist(release.hotfix?.full_regression==='PASS','R55 full regression metadata is not PASS');
33
+ insist(matrix.observed_pre_release_evidence?.full_regression?.status==='PASS','R55 full regression evidence is not PASS');
34
+ insist(provenance.operator_override?.stable_final_claim===false,'R55 must not claim stable/final');
35
+ insist(matrix.operator_override?.four_hour_soak==='NOT_COMPLETED','R55 matrix must preserve soak bypass');
36
+
37
+ const health=await doctor();
38
+ insist(health.status==='ok'&&health.package_version===pkg.version&&health.manifest?.verified===true,'R55 doctor evidence invalid');
39
+
40
+ const evidence={
41
+ schema:'deadbyte.r55-windows-gate.v1',
42
+ status:'passed',
43
+ exit_code:0,
44
+ version:pkg.version,
45
+ train:'R55',
46
+ completed_at_utc:new Date().toISOString(),
47
+ manifest_sha256:manifestSha256,
48
+ parent:release.parent,
49
+ runtime_predecessor:release.runtime_predecessor,
50
+ hotfix:release.hotfix,
51
+ operator_override:provenance.operator_override,
52
+ active_predecessor:{
53
+ release_id:active.release_id,
54
+ version:active.version,
55
+ manifest_sha256:active.manifest_sha256,
56
+ generation_manifest_sha256:active.generation_manifest_sha256
57
+ },
58
+ doctor:{verified_entries:health.manifest.verified_entries},
59
+ gates:{
60
+ r55_focused:true,
61
+ package_boundary:true,
62
+ full_regression:true,
63
+ manifest_final_verify:true,
64
+ four_hour_soak_completed:false
65
+ }
66
+ };
67
+ const bytes=Buffer.from(JSON.stringify(evidence,null,2)+'\n');
68
+ const dir=path.join(stateRoot,'evidence','release');
69
+ await mkdir(dir,{recursive:true});
70
+ const target=path.join(dir,`r55-windows-gate-${manifestSha256.slice(0,16)}.json`);
71
+ try{
72
+ const handle=await open(target,'wx',0o600);
73
+ try{await handle.writeFile(bytes);await handle.sync();}finally{await handle.close();}
74
+ }catch(error){
75
+ if(error?.code!=='EEXIST')throw error;
76
+ const prior=JSON.parse(await readFile(target,'utf8'));
77
+ insist(prior.schema===evidence.schema&&prior.status==='passed'&&prior.version===evidence.version&&prior.manifest_sha256===manifestSha256,'conflicting R55 gate evidence identity');
78
+ }
79
+ console.log(JSON.stringify({status:'passed',path:target,sha256:sha256(bytes),manifest_sha256:manifestSha256}));
@@ -647,6 +647,18 @@ async function readLedger(ctx,name){
647
647
  function sameGeneration(a,b){
648
648
  return a.pid===b.pid&&a.instance_nonce===b.instance_nonce&&a.creation_time_utc===b.creation_time_utc&&a.image_sha256===b.image_sha256;
649
649
  }
650
+ function activationGuardianOwnedByLineage(item,selfLineage){
651
+ const name=String(item?.Name??'').toLowerCase();
652
+ if(name!=='node.exe') return false;
653
+ const commandLine=String(item?.CommandLine??'');
654
+ if(!commandLine.toLowerCase().includes('remote-session-guardian.mjs')) return false;
655
+ const ownerMatch=/(?:^|\s)--owner-pid(?:=|\s+)(\d+)(?=\s|$)/i.exec(commandLine);
656
+ const nonceMatch=/(?:^|\s)--session-nonce(?:=|\s+)([0-9a-f]{64})(?=\s|$)/i.exec(commandLine);
657
+ if(!ownerMatch||!nonceMatch) return false;
658
+ const ownerPid=Number(ownerMatch[1]);
659
+ const parentPid=Number(item?.ParentProcessId);
660
+ return Number.isInteger(ownerPid)&&ownerPid>0&&parentPid===ownerPid&&selfLineage.has(ownerPid);
661
+ }
650
662
  export function selectOfflineRecoveryBlockers(processes,currentPid=process.pid){
651
663
  const list=(Array.isArray(processes)?processes:[processes]).filter(Boolean);
652
664
  const byPid=new Map();
@@ -668,6 +680,7 @@ export function selectOfflineRecoveryBlockers(processes,currentPid=process.pid){
668
680
  return list.filter(item=>{
669
681
  const pid=Number(item?.ProcessId);
670
682
  if(selfLineage.has(pid)) return false;
683
+ if(activationGuardianOwnedByLineage(item,selfLineage)) return false;
671
684
  const name=String(item?.Name??'').toLowerCase();
672
685
  if(!runtimeNames.has(name)) return false;
673
686
  const commandLine=String(item?.CommandLine??'').toLowerCase();
package/src/version.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export const DEADBYTE_VERSION = '0.15.31';
1
+ export const DEADBYTE_VERSION = '0.15.32';
2
2
  export const MCP_PROTOCOL_VERSION = '2026-07-28';
3
3
  export const RECEIPT_SCHEMA_V1 = 'deadbyte.receipt.v1';
4
4
  export const RECEIPT_SCHEMA_V2 = 'deadbyte.receipt.v2';
@@ -4,9 +4,11 @@ import test from 'node:test';
4
4
 
5
5
  const read=path=>readFile(new URL(`../${path}`,import.meta.url),'utf8');
6
6
 
7
- test('R54 canonical Windows gate is successor-bound and preserves R53/R52/R51/R50/R49 historical gates',async()=>{
8
- const [pkgText,gate,evidence,historicalR53,historicalEvidenceR53,historicalR52,historicalEvidenceR52,historicalR51,historicalEvidenceR51,historicalR50,historicalR49,deferred]=await Promise.all([
7
+ test('R55 canonical Windows gate is successor-bound and preserves R54/R53/R52/R51/R50/R49 historical gates',async()=>{
8
+ const [pkgText,gate,evidence,historicalR54,historicalEvidenceR54,historicalR53,historicalEvidenceR53,historicalR52,historicalEvidenceR52,historicalR51,historicalEvidenceR51,historicalR50,historicalR49,deferred]=await Promise.all([
9
9
  read('package.json'),
10
+ read('scripts/gate-windows-r55.ps1'),
11
+ read('scripts/windows-gate-evidence-r55.mjs'),
10
12
  read('scripts/gate-windows-r54.ps1'),
11
13
  read('scripts/windows-gate-evidence-r54.mjs'),
12
14
  read('scripts/gate-windows-r53.ps1'),
@@ -20,18 +22,20 @@ test('R54 canonical Windows gate is successor-bound and preserves R53/R52/R51/R5
20
22
  read('scripts/deferred-slot-operation-r46.mjs')
21
23
  ]);
22
24
  const pkg=JSON.parse(pkgText);
23
- assert.match(pkg.scripts['gate:windows'],/gate-windows-r54\.ps1$/);
24
- assert.match(gate,/DEADBYTE 0\.15\.31 \/ R54 WINDOWS GATE: PASS/);
25
- assert.match(gate,/r54-package-boundary/);
26
- assert.match(gate,/r54-focused-contracts/);
25
+ assert.match(pkg.scripts['gate:windows'],/gate-windows-r55\.ps1$/);
26
+ assert.match(gate,/DEADBYTE 0\.15\.32 \/ R55 WINDOWS GATE: PASS/);
27
+ assert.match(gate,/r55-package-boundary/);
28
+ assert.match(gate,/r55-focused-contracts/);
27
29
  assert.match(gate,/full-regression/);
28
30
  assert.match(gate,/manifest-verify/);
29
31
  assert.match(gate,/doctor/);
30
- assert.match(evidence,/deadbyte\.r54-windows-gate\.v1/);
31
- assert.match(evidence,/pkg\.version==='0\.15\.31'/);
32
- assert.match(evidence,/release\.train==='R54'/);
33
- assert.match(evidence,/release\.parent\.version==='0\.15\.30'/);
32
+ assert.match(evidence,/deadbyte\.r55-windows-gate\.v1/);
33
+ assert.match(evidence,/pkg\.version==='0\.15\.32'/);
34
+ assert.match(evidence,/release\.train==='R55'/);
35
+ assert.match(evidence,/release\.parent\.version==='0\.15\.31'/);
34
36
  assert.match(evidence,/four_hour_soak_completed:false/);
37
+ assert.match(historicalR54,/DEADBYTE 0\.15\.31 \/ R54 WINDOWS GATE: PASS/);
38
+ assert.match(historicalEvidenceR54,/deadbyte\.r54-windows-gate\.v1/);
35
39
  assert.match(historicalR53,/DEADBYTE 0\.15\.30 \/ R53 WINDOWS GATE: PASS/);
36
40
  assert.match(historicalEvidenceR53,/deadbyte\.r53-windows-gate\.v1/);
37
41
  assert.match(historicalR52,/DEADBYTE 0\.15\.29 \/ R52 WINDOWS GATE: PASS/);
@@ -5,8 +5,10 @@ import { readFile } from 'node:fs/promises';
5
5
  const root=new URL('../',import.meta.url);
6
6
  const read=rel=>readFile(new URL(rel,root),'utf8');
7
7
  const json=rel=>read(rel).then(JSON.parse);
8
+ const currentPackage=await json('package.json');
9
+ const r54test=currentPackage.version==='0.15.31'?test:test.skip;
8
10
 
9
- test('R54 release identity is coherent across package lock source metadata SBOM and gate',async()=>{
11
+ r54test('R54 release identity is coherent across package lock source metadata SBOM and gate',async()=>{
10
12
  const [pkg,lock,release,provenance,matrix,sbom,versionSource]=await Promise.all([
11
13
  json('package.json'),json('package-lock.json'),json('RELEASE.json'),json('PROVENANCE.json'),json('TEST-MATRIX.json'),json('SBOM.cdx.json'),read('src/version.mjs')
12
14
  ]);
@@ -25,7 +27,7 @@ test('R54 release identity is coherent across package lock source metadata SBOM
25
27
  assert.match(pkg.scripts['r54:focused:test'],/r54-offline-predecessor-self-exclusion\.test\.mjs/);
26
28
  });
27
29
 
28
- test('R54 source predecessor is exact immutable published 0.15.30 while runtime predecessor remains exact 0.15.29',async()=>{
30
+ r54test('R54 source predecessor is exact immutable published 0.15.30 while runtime predecessor remains exact 0.15.29',async()=>{
29
31
  const [release,provenance]=await Promise.all([json('RELEASE.json'),json('PROVENANCE.json')]);
30
32
  assert.equal(release.parent.version,'0.15.30');
31
33
  assert.equal(release.parent.release_id,'v0.15.30-ddf7c7338d9a371f');
@@ -44,7 +46,7 @@ test('R54 source predecessor is exact immutable published 0.15.30 while runtime
44
46
  assert.deepEqual(provenance.runtime_predecessor,release.runtime_predecessor);
45
47
  });
46
48
 
47
- test('R54 records surgical activation recovery fix and preserves explicit non-final claim',async()=>{
49
+ r54test('R54 records surgical activation recovery fix and preserves explicit non-final claim',async()=>{
48
50
  const [release,provenance,matrix]=await Promise.all([json('RELEASE.json'),json('PROVENANCE.json'),json('TEST-MATRIX.json')]);
49
51
  assert.equal(release.hotfix.activation_ancestry_excluded,true);
50
52
  assert.equal(release.hotfix.unrelated_stale_runtime_fail_closed,true);
@@ -0,0 +1,51 @@
1
+ import test from 'node:test';
2
+ import assert from 'node:assert/strict';
3
+ import { pathToFileURL } from 'node:url';
4
+ import path from 'node:path';
5
+
6
+ const target=process.env.R55_RUNTIME_UPDATE_PATH
7
+ ? path.resolve(process.env.R55_RUNTIME_UPDATE_PATH)
8
+ : path.resolve(new URL('../src/runtime-update.mjs',import.meta.url).pathname.replace(/^\/(?:[A-Za-z]:)/,m=>m.slice(1)));
9
+ const runtimeUpdate=await import(pathToFileURL(target).href+'?r55='+Date.now());
10
+ const nonce='a'.repeat(64);
11
+
12
+ test('R55 excludes the verified foreground remote guardian sibling owned by an activation ancestor',()=>{
13
+ const processes=[
14
+ {ProcessId:100,ParentProcessId:50,Name:'node.exe',CommandLine:'node npx-cli.js --yes deadbyte-mcp@0.15.32 remote'},
15
+ {ProcessId:200,ParentProcessId:100,Name:'cmd.exe',CommandLine:'cmd /d /s /c deadbyte-mcp remote'},
16
+ {ProcessId:300,ParentProcessId:200,Name:'node.exe',CommandLine:'node C:\\cache\\deadbyte-mcp\\src\\deadbyte-cli.mjs remote'},
17
+ {ProcessId:350,ParentProcessId:300,Name:'node.exe',CommandLine:'node C:\\cache\\deadbyte-mcp\\scripts\\deploy-r48.mjs'},
18
+ {ProcessId:400,ParentProcessId:350,Name:'node.exe',CommandLine:'node C:\\slot\\deadbyte-mcp\\scripts\\runtime-self-update.mjs --resume-handoff x'},
19
+ {ProcessId:500,ParentProcessId:300,Name:'node.exe',CommandLine:`node C:\\cache\\deadbyte-mcp\\src\\remote-session-guardian.mjs --state-root C:\\Users\\DEADBYTE\\.deadbyte-mcp --owner-pid 300 --session-nonce ${nonce}`},
20
+ {ProcessId:900,ParentProcessId:1,Name:'node.exe',CommandLine:'node C:\\stale\\deadbyte-mcp\\src\\mcp-server.mjs'}
21
+ ];
22
+ const blockers=runtimeUpdate.selectOfflineRecoveryBlockers(processes,400);
23
+ assert.deepEqual(blockers.map(item=>item.ProcessId),[900]);
24
+ });
25
+
26
+ test('R55 does not exempt a guardian whose parent does not equal its declared ancestor owner',()=>{
27
+ const processes=[
28
+ {ProcessId:300,ParentProcessId:200,Name:'node.exe',CommandLine:'node C:\\cache\\deadbyte-mcp\\src\\deadbyte-cli.mjs remote'},
29
+ {ProcessId:400,ParentProcessId:300,Name:'node.exe',CommandLine:'node C:\\slot\\deadbyte-mcp\\scripts\\runtime-self-update.mjs --resume-handoff x'},
30
+ {ProcessId:510,ParentProcessId:999,Name:'node.exe',CommandLine:`node C:\\cache\\deadbyte-mcp\\src\\remote-session-guardian.mjs --owner-pid 300 --session-nonce ${nonce}`}
31
+ ];
32
+ assert.deepEqual(runtimeUpdate.selectOfflineRecoveryBlockers(processes,400).map(item=>item.ProcessId),[510]);
33
+ });
34
+
35
+ test('R55 does not exempt a guardian whose owner is outside the activation lineage',()=>{
36
+ const processes=[
37
+ {ProcessId:300,ParentProcessId:200,Name:'node.exe',CommandLine:'node C:\\cache\\deadbyte-mcp\\src\\deadbyte-cli.mjs remote'},
38
+ {ProcessId:400,ParentProcessId:300,Name:'node.exe',CommandLine:'node C:\\slot\\deadbyte-mcp\\scripts\\runtime-self-update.mjs --resume-handoff x'},
39
+ {ProcessId:520,ParentProcessId:777,Name:'node.exe',CommandLine:`node C:\\cache\\deadbyte-mcp\\src\\remote-session-guardian.mjs --owner-pid 777 --session-nonce ${nonce}`}
40
+ ];
41
+ assert.deepEqual(runtimeUpdate.selectOfflineRecoveryBlockers(processes,400).map(item=>item.ProcessId),[520]);
42
+ });
43
+
44
+ test('R55 does not exempt a guardian without the signed-session-shaped nonce contract',()=>{
45
+ const processes=[
46
+ {ProcessId:300,ParentProcessId:200,Name:'node.exe',CommandLine:'node C:\\cache\\deadbyte-mcp\\src\\deadbyte-cli.mjs remote'},
47
+ {ProcessId:400,ParentProcessId:300,Name:'node.exe',CommandLine:'node C:\\slot\\deadbyte-mcp\\scripts\\runtime-self-update.mjs --resume-handoff x'},
48
+ {ProcessId:530,ParentProcessId:300,Name:'node.exe',CommandLine:'node C:\\cache\\deadbyte-mcp\\src\\remote-session-guardian.mjs --owner-pid 300 --session-nonce short'}
49
+ ];
50
+ assert.deepEqual(runtimeUpdate.selectOfflineRecoveryBlockers(processes,400).map(item=>item.ProcessId),[530]);
51
+ });
@@ -0,0 +1,61 @@
1
+ import test from 'node:test';
2
+ import assert from 'node:assert/strict';
3
+ import { readFile } from 'node:fs/promises';
4
+
5
+ const root=new URL('../',import.meta.url);
6
+ const read=rel=>readFile(new URL(rel,root),'utf8');
7
+ const json=rel=>read(rel).then(JSON.parse);
8
+
9
+ test('R55 release identity is coherent across package lock source metadata SBOM and gate',async()=>{
10
+ const [pkg,lock,release,provenance,matrix,sbom,versionSource]=await Promise.all([
11
+ json('package.json'),json('package-lock.json'),json('RELEASE.json'),json('PROVENANCE.json'),json('TEST-MATRIX.json'),json('SBOM.cdx.json'),read('src/version.mjs')
12
+ ]);
13
+ assert.equal(pkg.version,'0.15.32');
14
+ assert.equal(lock.version,pkg.version);
15
+ assert.equal(lock.packages[''].version,pkg.version);
16
+ assert.match(versionSource,/DEADBYTE_VERSION = '0\.15\.32'/);
17
+ assert.equal(release.version,pkg.version);
18
+ assert.equal(release.train,'R55');
19
+ assert.equal(provenance.version,pkg.version);
20
+ assert.equal(matrix.version,pkg.version);
21
+ assert.equal(matrix.train,'R55');
22
+ assert.equal(sbom.metadata.component.version,pkg.version);
23
+ assert.equal(sbom.serialNumber,'urn:cdx:deadbyte-mcp:r55:0.15.32');
24
+ assert.match(pkg.scripts['gate:windows'],/gate-windows-r55\.ps1/);
25
+ assert.match(pkg.scripts['r55:focused:test'],/r55-offline-predecessor-guardian-family\.test\.mjs/);
26
+ });
27
+
28
+ test('R55 source predecessor is exact immutable published 0.15.31 while runtime predecessor remains exact 0.15.29',async()=>{
29
+ const [release,provenance]=await Promise.all([json('RELEASE.json'),json('PROVENANCE.json')]);
30
+ assert.equal(release.parent.version,'0.15.31');
31
+ assert.equal(release.parent.release_id,'v0.15.31-16854fe5b3eb0fa1');
32
+ assert.equal(release.parent.manifest_sha256,'16854fe5b3eb0fa1c6dd2b96e3c5d6f792c5adbc91dd2a71e7fc2771472bbdd4');
33
+ assert.equal(release.parent.tarball_sha256,'ff6eba3036cb00ac639ac8907ad6063e6ea8169cf32aca8721f75b1e403e501a');
34
+ assert.equal(release.parent.activation_status,'PUBLISHED_NOT_ACTIVATED');
35
+ assert.equal(release.source_predecessor.version,'0.15.31');
36
+ assert.equal(release.source_predecessor.tarball_sha256,release.parent.tarball_sha256);
37
+ assert.equal(release.source_predecessor.manifest_file_sha256,release.parent.manifest_sha256);
38
+ assert.deepEqual(release.runtime_predecessor,{
39
+ release_id:'v0.15.29-f74eaa1b3d00e6fb',
40
+ manifest_sha256:'f74eaa1b3d00e6fb5a36b2358efb815e3686c9fe9dbd3b84d25a713ef957748c',
41
+ generation_manifest_sha256:'289b4fc065de0681da6864cc1bbe09aab198ca804945ffc27c786438dad13f5a'
42
+ });
43
+ assert.equal(provenance.parent_manifest_sha256,release.parent.manifest_sha256);
44
+ assert.deepEqual(provenance.runtime_predecessor,release.runtime_predecessor);
45
+ });
46
+
47
+ test('R55 records the guardian sibling RED to GREEN and preserves fail-closed negative controls',async()=>{
48
+ const [release,provenance,matrix]=await Promise.all([json('RELEASE.json'),json('PROVENANCE.json'),json('TEST-MATRIX.json')]);
49
+ assert.equal(release.hotfix.activation_ancestry_excluded,true);
50
+ assert.equal(release.hotfix.foreground_guardian_owner_parent_binding,true);
51
+ assert.equal(release.hotfix.foreground_guardian_session_nonce_contract,true);
52
+ assert.equal(release.hotfix.unrelated_stale_runtime_fail_closed,true);
53
+ assert.equal(release.hotfix.red_parent_0_15_31,'FAIL_1_OF_4');
54
+ assert.equal(release.hotfix.green_r55_candidate,'PASS_4_OF_4');
55
+ assert.equal(release.hotfix.stable_final_claim,false);
56
+ assert.equal(matrix.observed_pre_release_evidence.red_parent_0_15_31.receipt_sha256,'07ba973aa9224fbb1dde572af35640a1e07ca47273f1e50958d787bfe2aaf429');
57
+ assert.equal(matrix.observed_pre_release_evidence.green_r55_candidate.receipt_sha256,'a217f72cce51a9daf56136f9075ba487adb2a899c291a63af835ea15f8c632f0');
58
+ assert.equal(provenance.operator_override.four_hour_soak,'NOT_COMPLETED');
59
+ assert.equal(provenance.operator_override.stable_final_claim,false);
60
+ assert.equal(matrix.operator_override.stable_final_claim,false);
61
+ });