Files
OBLITERATUS/docs/MCP_CAPABILITY_DECISIONS.md
Joseph Magly 002e6e56e1 feat: complete local readiness across UI, MCP and memory admission
Integrate bounded admission, UI ownership and controls, opt-in durable MCP execution, rank-local TP2 groundwork, regression hardening and operator guides. Physical larger-memory and two-host qualification remain separate.
2026-10-20 17:58:20 -04:00

80 lines
4.2 KiB
Markdown

# MCP chat, gateway and remote-hosting scope
These decisions separate three capabilities from the local stdio planning,
inspection and explicitly enabled run-control interface. They define scope;
they do not certify a live server, gateway or remote deployment. Owner for
each decision: OBLITERATUS maintainers. Intended approval authority: the
repository's maintainers, with the deployment operator approving any external
listener and access policy.
## Local model load and chat
**Decision:** retain the existing web UI chat workflow. Defer a separate MCP
chat/load capability until caller-scoped model ownership and resource policy
are designed and tested. Do not reuse one process-global chat slot as a
multi-client server API.
Intended users are local researchers comparing pristine and edited models.
Required design inputs are explicit caller/session handles, per-caller memory
admission, fair concurrency, idle eviction, cancellation, disconnect behavior,
and deterministic cleanup of offload storage and generation threads. The API
must distinguish a selected checkpoint from an already resident model and
must bound prompt, completion, queue and retained-history sizes.
Acceptance testing must include two concurrent callers, forged/stale handles,
load failure while another model is resident, cancellation during generation,
idle eviction, client reconnect and no cross-caller transcript leakage.
Synthetic CPU models cover lifecycle semantics; real GPU admission and
cleanup require conditional hardware evidence. No MCP chat tool or external
implementation issue is introduced by this decision.
## OpenAI-compatible chat gateway
**Decision:** defer gateway hosting as a separately approved integration. A
gateway conversation does not imply access to editable weights and cannot
serve as proof that OBLITERATUS weight surgery ran.
Intended users would be operators who already own an inference endpoint and
want a bounded chat client. Prerequisites are origin-bound authentication,
an explicit anonymous-mode policy, HTTPS or approved loopback-only transport,
redirect rejection, bounded request/response sizes and deadlines, model-qualified
responses, and untrusted treatment of gateway metadata and generated output.
Authentication must remain outside tool arguments, shared project files and
logs. A discovery request must not silently probe an endpoint.
Test with a local fake gateway: origin/redirect mismatch, timeout, streaming
disconnect, output overflow, forged model metadata and redacted failures.
Any later live check requires an operator-approved endpoint and credentials
provided through the deployment's runtime secret mechanism. No gateway
listener or implementation issue is introduced by this decision.
## Remote Streamable HTTP MCP
**Decision:** keep the supported local service on stdio. Remote hosting needs
a separate deployment and security design; do not turn the stdio server into
a network service by merely changing its transport argument.
Intended users would be authenticated remote research clients under one
operator's administration. Prerequisites include authentication, per-request
authorization, Host/Origin and DNS-rebinding protection, TLS, quotas,
bounded queues and I/O, an audit trail, egress policy, and caller-bound state
and plan handles. The deployment must define how filesystem roots map to
authorized callers rather than exposing the server account's filesystem.
Test denied and expired identities, cross-caller run/plan access, request
origin rebinding, replay, quota exhaustion, disconnect/reconnect, audit
redaction, and malicious metadata. Production qualification also needs the
actual TLS proxy and identity provider. No remote listener or implementation
issue is introduced by this decision.
## Selecting an interface today
- Use the web UI for interactive local chat and supported editing controls.
- Use the CLI for explicit batch/research workflows and hardware qualification.
- Use local stdio MCP for the tools actually listed by the server under its
immutable startup policy. Inspect `server_status` rather than inferring a
capability from a host configuration example or an optional dependency.
Revisit each deferred capability separately with its owner and test plan.
Approval of one capability does not authorize or qualify the other two.