deadbyte-mcp 0.14.0 → 0.15.1

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.
Files changed (157) hide show
  1. package/AGENTS.md +11 -18
  2. package/CONTEXT.md +3 -3
  3. package/MANIFEST.SHA256 +156 -70
  4. package/PROVENANCE.json +10 -0
  5. package/R43-PARENT.json +20 -0
  6. package/R44-DONORS.json +99 -0
  7. package/R44-PARENT.json +18 -0
  8. package/R45-PARENT.json +18 -0
  9. package/README.txt +19 -14
  10. package/RELEASE.json +37 -0
  11. package/SBOM.cdx.json +46 -0
  12. package/TEST-MATRIX.json +31 -0
  13. package/bin/deadbyte-hardware-observer-r45.exe +0 -0
  14. package/bin/deadbyte-hardware-observer-r45.obj +0 -0
  15. package/controller/README.TXT +5 -6
  16. package/controller/deadbyte-controller.ps1 +2 -2
  17. package/docs/ARCHITECTURE.md +8 -1
  18. package/docs/R44-ARCHITECTURE.md +37 -0
  19. package/native/deadbyte-hardware-observer.cpp +308 -0
  20. package/package.json +18 -8
  21. package/scripts/autonomous-tests.ps1 +2 -2
  22. package/scripts/build-hardware-r45.ps1 +71 -0
  23. package/scripts/deferred-slot-operation-r43.mjs +126 -0
  24. package/scripts/deferred-slot-operation-r44.mjs +126 -0
  25. package/scripts/deferred-slot-operation-r45.mjs +126 -0
  26. package/scripts/derive-r45-parent.mjs +24 -0
  27. package/scripts/derive-r45-release.mjs +72 -0
  28. package/scripts/derive-r45-tests.mjs +20 -0
  29. package/scripts/final-closure-r43.mjs +115 -0
  30. package/scripts/final-closure-r44.mjs +121 -0
  31. package/scripts/final-closure-r45.mjs +121 -0
  32. package/scripts/final-closure-verify-r43.mjs +213 -0
  33. package/scripts/final-closure-verify-r44.mjs +220 -0
  34. package/scripts/final-closure-verify-r45.mjs +220 -0
  35. package/scripts/finalize-r43.mjs +217 -0
  36. package/scripts/finalize-r44.mjs +217 -0
  37. package/scripts/finalize-r45.mjs +219 -0
  38. package/scripts/full-regression-r43.mjs +20 -0
  39. package/scripts/full-regression-r44.mjs +20 -0
  40. package/scripts/full-regression-r45.mjs +20 -0
  41. package/scripts/full-regression-summary-r45.mjs +14 -0
  42. package/scripts/gate-windows-r43.ps1 +36 -0
  43. package/scripts/gate-windows-r44.ps1 +36 -0
  44. package/scripts/gate-windows-r45.ps1 +44 -0
  45. package/scripts/init-host-policy.ps1 +39 -1
  46. package/scripts/inspect-active-release-r45.mjs +20 -0
  47. package/scripts/release-manifest.mjs +3 -1
  48. package/scripts/release-parity-r43.mjs +218 -0
  49. package/scripts/release-parity-r44.mjs +242 -0
  50. package/scripts/release-parity-r45.mjs +253 -0
  51. package/scripts/release-parity-tests-r43.ps1 +8 -0
  52. package/scripts/release-parity-tests-r44.ps1 +8 -0
  53. package/scripts/release-parity-tests-r45.ps1 +8 -0
  54. package/scripts/verify-r43-parent.mjs +126 -0
  55. package/scripts/verify-r44-parent.mjs +142 -0
  56. package/scripts/verify-r45-parent.mjs +142 -0
  57. package/scripts/windows-gate-evidence-r43.mjs +55 -0
  58. package/scripts/windows-gate-evidence-r44.mjs +55 -0
  59. package/scripts/windows-gate-evidence-r45.mjs +60 -0
  60. package/src/agent-backend-r44.mjs +254 -0
  61. package/src/autonomous-output-contracts.mjs +1 -1
  62. package/src/autonomous-policy.mjs +41 -4
  63. package/src/autonomous-runtime.mjs +37 -19
  64. package/src/autonomous-supervisor-host.mjs +12 -2
  65. package/src/capability-ledger.mjs +3 -1
  66. package/src/codex-app-server-r44.mjs +154 -0
  67. package/src/coding-plane.mjs +66 -19
  68. package/src/compact-gateway-mcp-tools.mjs +4 -2
  69. package/src/deadbyte-cli.mjs +17 -9
  70. package/src/doctor-r45.mjs +65 -0
  71. package/src/durable-job-r44.mjs +145 -0
  72. package/src/external-job-provider-r44.mjs +126 -0
  73. package/src/host-plane.mjs +156 -87
  74. package/src/job-supervisor-host-r44.mjs +112 -0
  75. package/src/machine-fs-smoke-client.mjs +1 -1
  76. package/src/machine-fs.mjs +21 -10
  77. package/src/mcp-host-smoke-client.mjs +1 -1
  78. package/src/mcp-server.mjs +84 -26
  79. package/src/mcp-smoke-client.mjs +1 -1
  80. package/src/native-diff-v2.mjs +12 -7
  81. package/src/native-diff.mjs +32 -9
  82. package/src/observation-mcp-tools.mjs +5 -1
  83. package/src/observation-output-contracts.mjs +8 -0
  84. package/src/observation-runtime.mjs +33 -2
  85. package/src/observation-smoke-client.mjs +7 -3
  86. package/src/operator-surface.mjs +2 -2
  87. package/src/output-contracts.mjs +27 -11
  88. package/src/process-policy.mjs +19 -0
  89. package/src/process-runtime.mjs +5 -2
  90. package/src/process-smoke-client.mjs +2 -2
  91. package/src/provider-circuit.mjs +8 -2
  92. package/src/r44-compact-disarmed-probe.mjs +74 -0
  93. package/src/r44-full-surface-probe.mjs +34 -0
  94. package/src/r45-compact-disarmed-probe.mjs +74 -0
  95. package/src/r45-full-surface-probe.mjs +34 -0
  96. package/src/release-generation.mjs +1 -0
  97. package/src/remote-device-r44.mjs +205 -0
  98. package/src/remote-mcp-autonomous-smoke-client.mjs +4 -4
  99. package/src/remote-mcp-r44-parity-client.mjs +203 -0
  100. package/src/remote-mcp-r45-parity-client.mjs +206 -0
  101. package/src/remote-mcp-smoke-client.mjs +7 -4
  102. package/src/runtime-update.mjs +100 -39
  103. package/src/skill-mcp-tools-r44.mjs +37 -0
  104. package/src/skill-plane-r44.mjs +203 -0
  105. package/src/tunnel-stdio-compat-smoke.mjs +1 -1
  106. package/src/version.mjs +1 -1
  107. package/test/agent-backend-r44.test.mjs +115 -0
  108. package/test/agent-runtime.test.mjs +4 -3
  109. package/test/autonomous-loop.test.mjs +121 -11
  110. package/test/autonomous-runtime.test.mjs +3 -2
  111. package/test/capability-ledger-r36.test.mjs +3 -3
  112. package/test/cli-entrypoint.test.mjs +4 -4
  113. package/test/codex-app-server-r44.test.mjs +115 -0
  114. package/test/codex-autonomous-r44.test.mjs +87 -0
  115. package/test/coding-plane.test.mjs +3 -2
  116. package/test/coding-runtime.test.mjs +36 -1
  117. package/test/compact-catalog-r36.test.mjs +3 -3
  118. package/test/compact-max-catalog-r40.test.mjs +4 -2
  119. package/test/compact-max-catalog-r44.test.mjs +97 -0
  120. package/test/compact-max-catalog-r45.test.mjs +99 -0
  121. package/test/contained.test.mjs +23 -11
  122. package/test/controller.test.mjs +5 -1
  123. package/test/core.test.mjs +1 -1
  124. package/test/durable-job-r44.test.mjs +75 -0
  125. package/test/external-job-provider-r44.test.mjs +46 -0
  126. package/test/full-max-catalog-r40.test.mjs +5 -3
  127. package/test/full-max-catalog-r44.test.mjs +91 -0
  128. package/test/full-max-catalog-r45.test.mjs +91 -0
  129. package/test/hardware-observation-r45.test.mjs +44 -0
  130. package/test/host-inline-r45.test.mjs +67 -0
  131. package/test/host-plane.test.mjs +15 -1
  132. package/test/machine-mcp-integration.test.mjs +1 -0
  133. package/test/native-diff.test.mjs +28 -0
  134. package/test/observation-mcp-tools.test.mjs +4 -3
  135. package/test/output-schema.test.mjs +3 -2
  136. package/test/package-boundary.test.mjs +1 -1
  137. package/test/process-policy.test.mjs +22 -1
  138. package/test/production-docs.test.mjs +3 -3
  139. package/test/prompts-resources.test.mjs +1 -1
  140. package/test/r33-closeout-regression.test.mjs +20 -36
  141. package/test/r33-finalization.test.mjs +7 -7
  142. package/test/r43-finalization.test.mjs +31 -0
  143. package/test/r43-finalizer.test.mjs +34 -0
  144. package/test/r43-parent.test.mjs +29 -0
  145. package/test/r44-finalization.test.mjs +58 -0
  146. package/test/r44-finalizer.test.mjs +48 -0
  147. package/test/r44-parent.test.mjs +25 -0
  148. package/test/r45-autonomous-quick-test.test.mjs +10 -0
  149. package/test/r45-finalization.test.mjs +84 -0
  150. package/test/release-generation.test.mjs +1 -0
  151. package/test/release-version.test.mjs +65 -20
  152. package/test/remote-device-r44.test.mjs +104 -0
  153. package/test/runtime-host-bootstrap-r45.test.mjs +46 -0
  154. package/test/runtime-self-update.test.mjs +42 -0
  155. package/test/skill-mcp-r44.test.mjs +38 -0
  156. package/test/skill-plane-r44.test.mjs +93 -0
  157. package/test/standing-grants.test.mjs +5 -1
package/AGENTS.md CHANGED
@@ -1,25 +1,18 @@
1
- # DEADBYTE MCP R42 Agent Harness
1
+ # DEADBYTE MCP R44 Remote Agent + Skill Baseline
2
2
 
3
- This repository is the mutable Git-backed R42 successor. Its immutable parent is R41 release `v0.13.0-3255be10de4daf08`; never edit the R41 source or release slot in place.
3
+ This repository is the mutable R44 / V0.15.0 successor. Its immutable parent is sealed R43 release `v0.14.1-0a5a833892593283`; never edit the R43 release slot or signed final evidence in place.
4
4
 
5
5
  ## Operating contract
6
6
 
7
- - Start from observed state and exact identities. Prose, memory, signatures, and manifests support a claim but do not replace runtime behavior.
8
- - Keep every effect inside existing typed DEADBYTE runtimes. Never add generic shell, arbitrary executable/PID/stdin/environment control, implicit authority renewal, or a public authority-widening tool.
9
- - Treat Process, Coding, Autonomous, Desktop, and Host as separately revocable authority planes. Recheck the applicable authority immediately before every mutation.
10
- - Prefer Native Diff with exact SHA-256 preconditions for source changes. Use only policy-pinned profiles for builds, tests, debugging, deployment, and rollback.
11
- - Use bounded search/read/output and stable identifiers. On stale identity, interrupted execution, unknown side effect, policy drift, or receipt mismatch, fail closed and gather fresh evidence.
12
- - Ask one typed clarification only when a missing operator choice materially changes the result. Resume with the signed answer; never infer broader permission.
13
-
14
- ## Change loop
15
-
16
- 1. Record the task contract: scope, non-goals, constraints, risk, acceptance, and required evidence.
17
- 2. Reproduce with a focused RED test.
18
- 3. Make the smallest reversible change.
19
- 4. Run focused GREEN and relevant adversarial tests.
20
- 5. Commit a checkpoint before widening scope.
21
- 6. Run the complete release gate after the final source mutation.
7
+ - Machine truth outranks prose. Bind claims to exact bytes, policy, runtime identity, signed evidence, or observed behavior.
8
+ - Keep effects inside typed DEADBYTE runtimes. Never add generic shell, caller-selected executable/PID/stdin/environment authority, implicit grant renewal, or donor-owned authority.
9
+ - Process, Coding, Autonomous, Desktop, and Host remain independently revocable. Recheck authority immediately before each effect.
10
+ - Skills are signed read-only instructions/resources. A skill cannot arm, renew, or widen authority.
11
+ - Remote identity is Ed25519 SPKI + epoch; reported online is not reachable until an identity-bound readiness proof succeeds.
12
+ - Persistent jobs require an external supervisor and exact handle + PID + creation identity; PID alone is never authority.
13
+ - Model backends are transport/planning providers. Provider approvals never override DEADBYTE policy.
14
+ - Prefer Native Diff with exact SHA-256 preconditions, bounded reads/search, deterministic tests, and fail-closed recovery.
22
15
 
23
16
  ## Release rule
24
17
 
25
- R42 is not Final until the exact release tree, Windows gate, full regression, model-backed evals, public/local catalogs, activation, exact R41 rollback, same-slot restore, signed receipt verification, runtime outcome, and all-disarmed closure have fresh evidence. Publishing must use the exact sealed tarball; never rebuild between local proof and registry upload.
18
+ R44 is Final only when the exact 0.15.0 tree passes the Windows gate and full regression, full surface is exactly 81 tools, compact surface exactly 43 with verified `skill_catalog`, live parity rolls back to exact sealed R43 and restores exact R44, and the independent R44 closure verifier accepts the signed all-disarmed final state. A real Codex executable is optional; when configured it must be absolute-path and SHA-256 pinned.
package/CONTEXT.md CHANGED
@@ -30,11 +30,11 @@ A failed tool call changes the hypothesis; it is not permission to retry blindly
30
30
 
31
31
  Prefer progressive disclosure: symbol navigation, bounded search, paged observation, multi-file reads, and named resources. Do not dump whole repositories into prompts. Load only the skill, resource, source slice, or evidence needed for the current decision.
32
32
 
33
- ## R42 successor anchor
33
+ ## R44 successor anchor
34
34
 
35
- R42 / V0.14.0 is developed only as a Git-backed successor to sealed R41 release `v0.13.0-3255be10de4daf08`, whose immutable package manifest is `3255be10de4daf0837d67d1ab1913b785b8b8215bc7405823c2ff46968c4b98f` with exactly 1794 listed package files. The R41 source and release slot are immutable parent authority and are never edited in place.
35
+ R44 / V0.15.0 is the remote-agent-and-skill successor to sealed R43 release `v0.14.1-0a5a833892593283`, manifest `0a5a8338925932830986421dda60ec5643f62f600404de4992fda2a5e79d09a9`. The R43 parent is proven by its immutable 1834-file slot, 7-file generation, and signed final closure `2f29e94dd726638c23b2e520a608dcf2a6919e43348855be3940599d557f920b`.
36
36
 
37
- R42 adds reasoning-harness capabilities without widening machine authority: an identity-bound task contract, bounded provider adapters, signed human clarification, model-quality evals, and bounded specialist review. Core and public compatibility remain separate evidence boundaries; exact catalog/schema identities must be derived and verified at release time rather than copied from historical counts.
37
+ R44 adds a signed progressive-disclosure Skill Plane, persistent JSON-RPC/Codex app-server backend contracts, identity-bound Remote Device routing, and explicit-lifetime Durable Job supervision. None of these planes can manufacture Process, Coding, Autonomous, Desktop, or Host authority. Current compact/full public catalogs are 43/81; sealed R43 remains historical 42/80.
38
38
 
39
39
  ## Final-baseline rule
40
40