Files
OBLITERATUS/docs/MCP_VALIDATION.md
T

122 lines
7.3 KiB
Markdown

# Local MCP validation record
This is development evidence, not release certification or a remote-hosting
approval. These development checks used an uncommitted working tree based on upstream
`6e1fb7b7f2015634f3e233df5f6fe317ff0d7ae5`. Repeat these checks after changes;
do not substitute the base commit for the modified implementation identity.
## Protocol interoperability — 2026-10-19
The same integration source on the isolated Linux CPU runner passed:
| Client | Version | Negotiated protocol | Verified behavior |
|---|---|---|---|
| Official Python SDK | 2.2.0, Python 3.11/3.12 | `2025-11-25` | Initialization, seven read tools, structured results and redacted invalid-ID errors |
| Independent stdlib JSON-RPC probe | 1 | `2025-11-25` | Seven read tools, bounded frames and error redaction |
| MCP Inspector CLI | 2.11.0, Node 24.12.0 | `2025-11-25`, `2026-07-28` | Both initialization modes; modern listing and successful calls to all seven read tools |
| MCP Inspector CLI, execution enabled | Same | `2026-07-28` | Ten registered tools and their input/output schemas; not an execution proof |
Python probes enforce a 30-second request timeout and 1 MiB response/frame
bounds. Largest observed SDK tool result: 1,914 bytes; largest independent
JSON-RPC frame: 11,085 bytes. These are synthetic observations, not host-wide
capacity promises. Inspector was invoked with an explicit read-only session
configuration over SSH stdio, without a network listener or host configuration
writes. Inspector's limits are not inferred from the Python probes.
Inspector package integrity:
`sha512-gqMw2x0NCotTdjLNv3PSm/IJSeXL7O8u0SpyZXtXGhSukJ2DMoAy8RR7xKngHTCETJcG5gyPdxhOn8zf/ofSRA==`.
Original interoperability implementation identity: SHA-256
`f69aa3feb60b6ed44076eb42ef799258d8c673b0897cd3898f0ad5d31bd281b6`.
This hashes compact JSON mapping, in the following order, each module name to
the SHA-256 of its Python source bytes: `checkpoint_service`, `mcp_catalog`,
`mcp_execution`, `mcp_policy`, `mcp_probe`, `mcp_server`, `mcp_tools`,
`mcp_transport`, `mcp_worker`, `read_boundary`, `run_archive`.
`python -m obliteratus.mcp_probe --client sdk` emits the individual hashes.
## CPU behavior and limits
The integrated MCP, archive and checkpoint suites passed 445 tests, with two
explicit conditional skips. They include real-process launcher/cancellation
crash windows, unrelated-PID safety, token replay, SDK reconnect, framing,
root containment and bounded metadata contracts. Passing synthetic process
tests is not evidence that a model job ran inside a namespace.
An isolated Python 3.11.17 environment also passed the 341 MCP-only tests,
with the same two conditional skips: the real sandbox check and the optional
wheel-artifact check when no wheel path was supplied. The wheel-artifact check
subsequently passed with the built candidate wheel supplied. Installed-wheel
SDK and independent
stdlib probes passed there under `2025-11-25` as well. The larger Python 3.12
count includes adjacent archive and checkpoint suites; these are different
selections, not a performance comparison.
Bubblewrap is absent on that runner. Real namespace/canary isolation and actual
model execution therefore remain unverified; launch must fail closed rather
than fall back to ordinary subprocess execution. Execution supports the
documented bounded Linux CPU profile, not GPU dispatch. Downloads, live model
quality, GPU placement and remote service deployment are separate checks.
The observed Ubuntu 24.04 package candidate was `0.9.0-1ubuntu0.3`, not a
verified compatible runtime: upstream [0.9.0's command parser](https://github.com/containers/bubblewrap/blob/v0.9.0/bubblewrap.c)
lacks the required descriptor-binding options. Installing an arbitrary distro
package is not enough; verify the flags documented in the setup guide and run
the real isolation test. No OS package or security policy was changed.
A separate unprivileged user-namespace probe also failed while writing its UID
mapping with `Operation not permitted`. A user-local compatible binary alone
does not establish a usable sandbox on this runner. Use an operator-approved
namespace-capable runner; do not weaken host policy or bypass sandbox admission.
## Namespace-capable runner follow-up — 2026-10-20
An operator-approved Linux runner with existing Bubblewrap 0.11.1 passed the
real filesystem/network/quota/canary isolation test. No OS package, namespace
policy or security profile was changed. Its generic `unshare` probe was denied
while Bubblewrap succeeded: test the actual sandbox executable rather than
inferring its permissions from an unrelated program.
This exposed and fixed a command-construction error: `--disable-userns` needs
explicit `--unshare-user` even alongside `--unshare-all`. The restriction remains
enabled; it was not removed to make execution work. Execution/worker/crash-window
tests passed 140 cases on Python 3.14.6, with one SDK-dependent skip. This is
supplementary worker evidence, not a new SDK/server compatibility claim.
The Python 3.12 MCP/archive/checkpoint selection passed 369 cases with the
expected missing-sandbox and absent-wheel-path skips on its original runner;
SDK and independent stdlib probes passed after the fix.
The updated eleven-module implementation identity, using the same ordered hash
procedure above, is
`6d3f9f6c0ca8b51e3919e333f1c1d31e71b68b0001fb6f4511cef918568fa573`.
The delivery recheck repeated Inspector 2.11.0 initialization under both
`2025-11-25` and `2026-07-28`, tool listing and all seven read-tool calls against
the installed wheel with this updated identity. It covers the read-only tools;
it does not claim another execution-enabled schema listing or a model launch
through Inspector.
A real one-use planned job with a locally generated tiny random GPT-2 model
also ran inside the sandbox through extraction, editing and verification. It
ended in a durable `failed` state because all sampled coherence completions
were degenerate, correctly retaining the configured 20% failure threshold.
No quality gate was bypassed. A separate diagnostic run confirmed that reason;
server errors remain redacted. This proves bounded model execution and quality
rejection, not successful model export/reload or useful model quality. The
synthetic canary test separately verified bounded writes to the export mount.
The seven new MCP/boundary modules meet the 80% statement and 75% branch
development floors; transport reaches 100% of both. These focused measurements
do not certify full-repository coverage or substitute for isolation evidence.
Sdist/wheel documentation and module inventories, a non-editable wheel install,
isolated import and CLI help, and installed-wheel SDK/stdlib probes passed.
Final combined regression and release checks remain required before promotion.
Existing read-only behavior
does not require Bubblewrap or a model. See [setup](MCP_LOCAL_SETUP.md), the
[read-only reference](mcp-read-only-tools.md) and the
[separate capability decisions](MCP_CAPABILITY_DECISIONS.md).
The workflow now installs the locked MCP extra in Python 3.12 PR jobs and
quality-depth checks, and in the Python 3.11/3.12 release matrix. The application
now requires Python >=3.11; Python 3.10 is outside the supported runtime matrix.
Workflow-contract/selection tests and pinned actionlint pass locally on the
CPU runner; these are not claims of a completed GitHub-hosted CI run.