deadbyte-mcp 0.15.60 → 0.15.62
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 +90 -42
- package/PROVENANCE.json +33 -14
- package/README.txt +18 -18
- package/RELEASE.json +45 -16
- package/SBOM.cdx.json +2 -2
- package/TEST-MATRIX.json +24 -2
- package/bridge/package.json +1 -1
- package/controller/deadbyte-controller.ps1 +78 -1
- package/controller/deadbyte-process-policy.json +4 -4
- package/docs/R156-LOOP-AND-EPOCH-ROUTING.md +86 -0
- package/docs/R157-ARCHITECTURE-DEPENDENCIES.md +58 -0
- package/docs/R157-ARCHITECTURE-GRAPH.json +2874 -0
- package/docs/R157-ENGINEERING-HANDOFF.md +71 -0
- package/docs/R157-FILE-DELTA.json +80 -0
- package/docs/R157-FOCUSED-VERIFICATION.log +0 -0
- package/docs/R157-REFERENCE-CAPABILITY-MATRIX.md +207 -0
- package/docs/R157-REFERENCE-DECISIONS.md +46 -0
- package/docs/R157-REFERENCE-INVENTORY.json +2849 -0
- package/docs/R158-COMBINED-REGRESSION.log +0 -0
- package/docs/R158-DELTA.json +80 -0
- package/docs/R158-EPOCH-BOOTSTRAP-GREEN.log +0 -0
- package/docs/R158-EPOCH-BOOTSTRAP-RED.log +0 -0
- package/docs/R158-EPOCH-IDENTITY-RED.log +0 -0
- package/docs/R158-FOCUSED-GREEN.log +0 -0
- package/docs/R158-PROTECTED-EPOCH-VERIFIED.md +43 -0
- package/docs/R158-PROTECTED-EXACT-SOURCE-LIVE.log +0 -0
- package/docs/R158-UPDATER-REGRESSION.log +0 -0
- package/docs/R159-COMPLETED-HISTORY-BACKUP/deadbyte-cli.mjs.before +965 -0
- package/docs/R159-COMPLETED-HISTORY-BACKUP/legacy-marker-evidence-r159.mjs.before +102 -0
- package/docs/R159-COMPLETED-HISTORY-BACKUP/r159-legacy-marker-evidence.test.mjs.before +79 -0
- package/docs/R159-COMPLETED-HISTORY-PATCH.json +26 -0
- package/docs/R159-MARKER-LOCATOR-CHECKPOINT.md +46 -0
- package/docs/R160-ENGINEERING-HANDOFF.md +32 -0
- package/docs/R160-REFERENCE-CAPABILITY-MATRIX.json +165 -0
- package/package.json +2 -2
- package/scripts/bootstrap-uac-migration-r153.ps1 +17 -5
- package/scripts/deploy-r48.mjs +7 -6
- package/scripts/gate-windows-r160.ps1 +57 -0
- package/scripts/issue-uac-migration-r153.mjs +12 -5
- package/scripts/npm-release-r48.mjs +5 -0
- package/scripts/npm-release-readiness-r163.mjs +67 -0
- package/scripts/r153-prepublish-identity.mjs +3 -3
- package/scripts/request-uac-migration-r153.ps1 +17 -4
- package/scripts/verify-protected-stage-r153.mjs +1 -0
- package/src/autonomous-supervisor.mjs +21 -4
- package/src/clean-activation-recovery-r153.mjs +1 -1
- package/src/deadbyte-cli.mjs +83 -60
- package/src/host-command-pins-r154.mjs +34 -0
- package/src/legacy-marker-evidence-r159.mjs +128 -0
- package/src/package-identity-r160.mjs +61 -0
- package/src/release-generation.mjs +13 -0
- package/src/release-slot.mjs +2 -1
- package/src/remote-live-log.mjs +30 -2
- package/src/runtime-update.mjs +18 -6
- package/src/trusted-epoch-bootstrap-r158.mjs +42 -0
- package/src/uac-approval-contract-r153.mjs +6 -3
- package/src/version.mjs +1 -1
- package/src/windows-powershell-environment.mjs +5 -2
- package/test/r106-trusted-powershell-spawn.test.mjs +1 -0
- package/test/r130-release-security-contract.test.mjs +9 -9
- package/test/r132-release-identity.test.mjs +8 -10
- package/test/r153-clean-activation-recovery.test.mjs +2 -2
- package/test/r153-prepublish-identity.test.mjs +26 -5
- package/test/r153-r65-signed-precondition-recovery.test.mjs +2 -2
- package/test/r153-staging-leaf-acl.test.mjs +24 -10
- package/test/r153-uac-approval-contract.test.mjs +5 -3
- package/test/r153-uac-launch-parameter-contract.test.mjs +1 -1
- package/test/r154-multipin-recovery.test.mjs +45 -0
- package/test/r155-commander-live-log.test.mjs +44 -0
- package/test/r155-default-live-log.test.mjs +89 -0
- package/test/r156-epoch-route-smoke.ps1 +48 -0
- package/test/r156-supervisor-pacing.test.mjs +59 -0
- package/test/r157-architecture-map.mjs +61 -0
- package/test/r157-reference-survey.mjs +91 -0
- package/test/r157-supervisor-singleflight.test.mjs +32 -0
- package/test/r158-epoch-bootstrap.test.mjs +34 -0
- package/test/r159-legacy-marker-evidence.test.mjs +100 -0
- package/test/r159-legacy-marker-evidence.test.mjs.before-assertion-fix-20261025-120246.bak +100 -0
- package/test/r160-marker-proof.test.mjs +87 -0
- package/test/r160-package-decision-manifest.test.mjs +67 -0
- package/test/r160-release-contract.test.mjs +30 -0
- package/test/r160-stable-launcher.test.mjs +10 -0
- package/test/r163-isolated-slot-rollback-restore.test.mjs +58 -0
- package/test/r163-publish-fence.test.mjs +13 -0
- package/test/r48-release-contract.test.mjs +7 -1
- package/test/r58-launcher-shell.test.mjs +4 -1
- package/test/r59-tool-surface-compat.test.mjs +1 -1
- package/test/release-generation.test.mjs +16 -0
- package/test/remote-live-log-r37.test.mjs +5 -3
- package/test/remote-session-cli.test.mjs +11 -11
- package/test/stabilization-state-root.test.mjs +2 -1
|
Binary file
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"candidate_r158": "D:\\Projects\\deadbyte-mcp\\development\\deadbyte-mcp-0.15.62-r158-epoch-rebinding",
|
|
3
|
+
"generated_at_utc": "2026-10-24T18:16:39.7026066Z",
|
|
4
|
+
"schema": "deadbyte.r158-delta.v1",
|
|
5
|
+
"modified_or_new": [
|
|
6
|
+
{
|
|
7
|
+
"after_sha256": "91778ea575226c67620aa7accc2dd32b9921e14b936b43096fc63e38df6b51aa",
|
|
8
|
+
"path": "docs\\R158-COMBINED-REGRESSION.log",
|
|
9
|
+
"before_sha256": null,
|
|
10
|
+
"kind": "added"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"after_sha256": "7c5dfde54d2f44d0ccae5c15619fa26baa6f0701cfd178f25277b436cecc3fb6",
|
|
14
|
+
"path": "docs\\R158-EPOCH-BOOTSTRAP-GREEN.log",
|
|
15
|
+
"before_sha256": null,
|
|
16
|
+
"kind": "added"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"after_sha256": "1969a951b6e6bc6cae90e6ea680e36064a1912170df9ca5148893293eb005f65",
|
|
20
|
+
"path": "docs\\R158-EPOCH-BOOTSTRAP-RED.log",
|
|
21
|
+
"before_sha256": null,
|
|
22
|
+
"kind": "added"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"after_sha256": "3ca1a76225bc0b25d12666e4bb90bf6da6ee138d297f781ff4a05cfe1af9942b",
|
|
26
|
+
"path": "docs\\R158-EPOCH-IDENTITY-RED.log",
|
|
27
|
+
"before_sha256": null,
|
|
28
|
+
"kind": "added"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"after_sha256": "223c531dc61a84085769de68d53fad8208b51a55df8f8444db117d8542ac69d8",
|
|
32
|
+
"path": "docs\\R158-FOCUSED-GREEN.log",
|
|
33
|
+
"before_sha256": null,
|
|
34
|
+
"kind": "added"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"after_sha256": "6bb8567c4f2eee8173f5e60f401ed2e304f21ba5210a86d0f9caf4f4eb159195",
|
|
38
|
+
"path": "docs\\R158-PROTECTED-EXACT-SOURCE-LIVE.log",
|
|
39
|
+
"before_sha256": null,
|
|
40
|
+
"kind": "added"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"after_sha256": "acd3b31290cbbcbe533ff9c716780851523b5caef3fcf4d5a7254c57111d3e08",
|
|
44
|
+
"path": "docs\\R158-UPDATER-REGRESSION.log",
|
|
45
|
+
"before_sha256": null,
|
|
46
|
+
"kind": "added"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"after_sha256": "243014bee0f5cf5ec4016c391028f07364b3807250414ae944b52cb27cae743f",
|
|
50
|
+
"path": "src\\release-generation.mjs",
|
|
51
|
+
"before_sha256": "6deb7a95b91791f76b30d3bebf2ebc36975d3bf8c0d0ec98262da767e1975c7c",
|
|
52
|
+
"kind": "modified"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"after_sha256": "a28ceee530f909ede378b7514e85031c19bb70e3e5a1ede3203acf22f9f5665b",
|
|
56
|
+
"path": "src\\runtime-update.mjs",
|
|
57
|
+
"before_sha256": "ca75323b8f2457aef065a0731e4cba806164a5353016e3e63714dd95708a7457",
|
|
58
|
+
"kind": "modified"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"after_sha256": "d1a3be6170bd6e8fbdf81b24705fc9095c4df1474462f6d40b3d8478a3eabffe",
|
|
62
|
+
"path": "src\\trusted-epoch-bootstrap-r158.mjs",
|
|
63
|
+
"before_sha256": null,
|
|
64
|
+
"kind": "added"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"after_sha256": "efc195b10b5cb706c23f3a35ba8bf07e7ee23daffcb072704e5c14ffd6db26d5",
|
|
68
|
+
"path": "test\\r158-epoch-bootstrap.test.mjs",
|
|
69
|
+
"before_sha256": null,
|
|
70
|
+
"kind": "added"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"after_sha256": "d8318a3da499eed69df2dea3e91b1ae107e5363c5c844e245c5bfbf395b1450a",
|
|
74
|
+
"path": "test\\release-generation.test.mjs",
|
|
75
|
+
"before_sha256": "87d680c4210b9bde3e5da6eb4d3da6f7be344ccfd0049fd3493e8fe72d93405f",
|
|
76
|
+
"kind": "modified"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"source_r157": "D:\\Projects\\deadbyte-mcp\\development\\deadbyte-mcp-0.15.62-r157-reference-convergence"
|
|
80
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# R158 — protected epoch source rebinding
|
|
2
|
+
|
|
3
|
+
Status: **CANDIDATE / VERIFIED FOCUSED / NOT DEPLOYED**.
|
|
4
|
+
Parent: R157-reference-convergence non-Git snapshot. Parent and production unchanged.
|
|
5
|
+
|
|
6
|
+
## Root cause from actual installed Windows 0.15.61
|
|
7
|
+
- Active release: C:\Users\DEADBYTE\.deadbyte-mcp\releases\v0.15.61-055d1ff0aa99e60b
|
|
8
|
+
- Active generation config has CoreRoot under writable per-user release and **no AuthorityEpochRoot**.
|
|
9
|
+
- Writable per-user release grants DEADBYTE FullControl, so R89 correctly denies grant with UNTRUSTED_WRITE_ACE.
|
|
10
|
+
- OS-owned copy: C:\Program Files\DEADBYTE-R154-Exact-01561-Activation (Administrators owner; BUILTIN Users ReadAndExecute, not write).
|
|
11
|
+
- Protected manifest/source/native addon hashes match exact active 0.15.61 release. Node executable under C:\Program Files\nodejs owned by SYSTEM.
|
|
12
|
+
- The protected source was verified by the real R89 Get-Acl probe through R158 live read-only test, 3/3 PASS. No grant/activation/UAC occurred.
|
|
13
|
+
|
|
14
|
+
## Changes
|
|
15
|
+
1. src/release-generation.mjs: AuthorityEpochRoot is mandatory part of generation identity when explicitly supplied; validate Windows drive-absolute input. Legacy omission retains previous identity. Same release with distinct Epoch root now makes distinct generation rather than collision with historical config.
|
|
16
|
+
2. test/release-generation.test.mjs: reproduced RED manifest collision before fix, GREEN after fix; rejects relative, UNC, drive-relative, and empty root.
|
|
17
|
+
3. src/trusted-epoch-bootstrap-r158.mjs: read-only trust gate calls existing R89 protected path inspector; compares exact release MANIFEST.SHA256, native addon, source, CLI and metadata SHA-256. No new dependencies.
|
|
18
|
+
4. src/runtime-update.mjs: --authority-epoch-root optional explicit CLI parameter. During staged candidate preparation verify OS owner/ACL and exact source hashes before binding into generation config. Old inherited trusted root for a different release must fail closed instead of silently reuse it. Existing gate/receipt and owner UAC semantics remain.
|
|
19
|
+
5. test/r158-epoch-bootstrap.test.mjs: CLI input validation, negative unprotected path, manual live read-only protected source preflight, CLI-to-updater wire contract.
|
|
20
|
+
|
|
21
|
+
## Results
|
|
22
|
+
- Identity regression RED before source fix (generation manifest hash mismatch), GREEN after. 27/27 focused PASS.
|
|
23
|
+
- R158 Windows protected source preflight real Get-Acl and hash check 3/3 PASS.
|
|
24
|
+
- Combined R89/R153/R155/R156/R157/R158 focused suite 94/94 PASS, docs/R158-COMBINED-REGRESSION.log.
|
|
25
|
+
- Updater + deploy preflight + doctor focused suite 69/69 PASS, docs/R158-UPDATER-REGRESSION.log.
|
|
26
|
+
- Full protected regression, exact tarball, restart after activation, user-approved grant/revoke and UAC install are NOT RUN.
|
|
27
|
+
|
|
28
|
+
## Deployment policy
|
|
29
|
+
- Do not modify C:\Program Files, active-release.json, generation config, or authority grants until owner reviews exact candidate, protected install source, permission effect, downgrade plan and approves elevation.
|
|
30
|
+
- Before successor activation, provision an OS-owned exact candidate release under protected Program Files through UAC. Verify file hashes, ACL/path chain and manifest. Use --authority-epoch-root only with that exact release; mismatched versions fail.
|
|
31
|
+
- A new generation must be promoted through existing signed slot-update path and observed rollback. NO in-place edit to generation config because it breaks GENERATION.SHA256 and active signed binding.
|
|
32
|
+
- After promote, owner explicitly arms only required authority planes. Never arm all as a side effect of activation. Autonomous requires Coding lease and independent owner enrollment.
|
|
33
|
+
- Running npx deadbyte-mcp@latest arm commands against **current 0.15.61 production** will still return R89 UNTRUSTED_WRITE_ACE until protected generation is activated. This is expected; do not disable the detector.
|
|
34
|
+
|
|
35
|
+
## Remaining blockers
|
|
36
|
+
- R89 protected generation promotion and grant/revoke live: OWNER APPROVAL / UAC required.
|
|
37
|
+
- R155 r153-pending-migration.json locator collision, full Windows regression and startup reconciliation remain unresolved.
|
|
38
|
+
- R70 autonomous independent enrollment remains unresolved.
|
|
39
|
+
- R156/R157 loop tests were isolated; full live project end-to-end and performance benchmarks pending.
|
|
40
|
+
- npm 0.15.62 **NOT PUBLISHED**; package.json still reports 0.15.61. No CI, Git push or production mutation.
|
|
41
|
+
|
|
42
|
+
## Next action
|
|
43
|
+
Work on isolated R159 startup reconciliation/locator collision with RED then GREEN, preserving this R158 checkpoint. Independently review source changes. Once R89/R155 gates pass, prepare exact 0.15.62 package + owner-facing UAC promotion subject and rollback. Do not conflate unit proof with production activation.
|
|
Binary file
|
|
Binary file
|