Repository navigation
SXP v0.5.1
SXP (Scoped Execution Protocol) v0.5.1
Initial public release of the zero-dependency Python (sxp) and TypeScript (@sxp/core) reference implementations, specification, and cross-language conformance suite.
Highlights
- Thin-Waist Core (0 external runtime dependencies): HandleStore (SHA-256 content-addressed handles with deterministic L0 summaries, lazy L1 views, chunked L2 reads, synced LRU eviction, ephemeral RAM isolation, and purge()), Guarded Call Boundary (call / �call + NDJSON / zlib batching), and 3-mode prefix-cache-safe Cognitive Projection.
- Bidirectional Bridges (sxp.bridges / @sxp/core/bridges):
- MCP: 1-line .mcp.json / .cursor/mcp.json / claude_desktop_config.json import (connect_mcp_config), progressive 2-tool facade (sxp_inspect / sxp_call), and CLI host config (python3 -m sxp host-config).
- A2A: Clearance-filtered Agent Card, isolated untrusted branch per task, input-required ↔ elicitation/approval, asks/cancel → LIFO rollback, and SSE streaming.
- AG-UI & A2UI / OpenAPI / Providers: Typed frontend SSE events + declarative ConfirmCard / ElicitForm, wrap_openapi_spec, wrap_http_endpoint, and export_tools_{openai,anthropic,gemini}.
- Orthogonal Security & Data Privacy: Monotonic capability attenuation, branch tainting, edge-only CredentialVault, Bell-LaPadula DataPolicy / Clearance watermarks, substrate_clearance gating, anti-evasion HardRail enforcement, CAS PreviewLease, and deterministic Reducer (extract, extract_spans,
edact, �ttest). - Small & System 1 Model Support: standard, compact, and lat modes (top-K direct routing, 512B safe auto-inlining, atomic bounded SOFT_HOLD auto-commit, and zero-copy spawn_system2_escalation()).
Verification
- 24/24 Python unit, conformance, interop, and security audit tests passing.
- Cross-language conformance/vectors.json and TypeScript strict build + runtime security tests ( ypescript/test/kernel.mjs) passing on Node.js.