Skip to content

Releases

SXP v1.0.0

Choose a tag to compare

@matthewmajo matthewmajo released this 27 Nov 21:41

SXP 1.0.0 is the first stable release of the guarded-execution SDKs for Python 3.10+ and Node.js 20+.

Compatibility

Version 1 preserves the canonical bytes, REF identities, HMAC inputs and core wire profile shipped in 0.7. The native wire supports authenticated read-only exchange. Trusted MCP and A2A integrations can perform authorized writes through preview and approval.

Service behavior

  • Default inbound tool dispatches receive a fresh budget. Explicit session budgets continue to include idle time.
  • Both HTTP implementations accept bounded deflate requests, send self-contained frames, and check the link between a request and its signed reply. Custom TypeScript Fetch adapters now provide a streaming body.
  • Both SDKs bound preview leases, task history and keyed retries. Keyed calls can replay for five minutes within one process. Purged or expired results stay unavailable during that window.
  • A2A retrieves artifacts through the REF store, so task retrieval respects erasure and expiry.

Install

python -m pip install "https://github.com/matthewmajo/sxp/releases/download/v1.0.0/scoped_execution_protocol-1.0.0-py3-none-any.whl"
npm install "https://github.com/matthewmajo/sxp/releases/download/v1.0.0/sxp-core-1.0.0.tgz"

The attached wheel, source distribution and npm tarball were built by the passing release CI run. CI installed the wheel and npm tarball outside the checkout, exercised signed HTTP in both directions and called the MCP reference server over stdio. Release CI · Specification

SXP v0.7.0

Choose a tag to compare

@matthewmajo matthewmajo released this 27 Nov 21:20

SXP (Scoped Execution Protocol) v0.7.0

Hardened security-by-default release with least-privilege kernel defaults, policy-bound REF addressing, JCS-compatible canonical JSON, and full bridge hardening — preserving 0 external runtime dependencies and 25 root exports.

Highlights

  • Least-Privilege Kernel Defaults: Implicit capabilities default to
    ead with internal clearance; default HardRails enforce preview-before-writes, human approval for irreversible actions, and tainted egress blocking; flat-mode auto-commit requires explicit opt-in.
  • Policy-Bound Content Addressing (SXP-REF/1 & SXP-REF/2): REF hashes bind payload, policy, taint, and expiry (SXP-REF/2 uses an explicit pii_identity_key HMAC tag before recursive PII masking); deep copies prevent caller/store aliasing; legacy blobs lacking stored policy fail closed on clearance-checked reads.
  • Wire & Inbound Capability Intersection: AgentKernel.handle_envelope() / handleEnvelope() intersects inbound capabilities with local authority and caller clearance, binds idempotency keys per authorization context, validates envelope schema/effect match, and defaults inbound wire calls to read-only untrusted execution.
  • JCS Canonical JSON & Hardened Bridges: JCS-aligned number formatting and lone-surrogate rejection across Python and TypeScript; A2A 1.0 (SendMessage + message/send) and AG-UI event correlation + �rgumentPolicy masking; MCP
    eadOnlyTools allowlisting for unannotated legacy tools and --trusted-input / --max-effect CLI flags.
  • Packaging: Python distribution scoped-execution-protocol (import sxp, sxp CLI) with LICENSE, TypeScript @sxp/core with package-lock.json, prepack, and CI distribution builds (python -m build +
    pm pack --dry-run).

SXP v0.6.0

Choose a tag to compare

@matthewmajo matthewmajo released this 27 Nov 18:46

SXP (Scoped Execution Protocol) v0.6.0

Major protocol, security, reliability, and Python/TypeScript parity release — still 0 external runtime dependencies and 25 root exports.

What's New in v0.6.0

  • Authenticated Wire Protocol & Native HTTP Server:
    • HMAC-SHA256 $sig envelope authentication (sign_envelope / �erify_envelope in Python; Web Crypto signEnvelope / �erifyEnvelope in TypeScript) protecting the full Core Envelope including
      ails.
    • Bounded ReplayGuard preventing envelope replay attacks.
    • AgentKernel.handle_envelope() / handleEnvelope(), Python SXPHttpServer, and TypeScript createSxpFetchHandler + SxpHttpClient.
  • Concurrency & Anti-Evasion Hardening:
    • Closed async �syncio.gather() / Promise.all() salami-splitting race via optimistic pre-await HardRail reservation with automatic rollback on errors/elicitation.
    • Closed concurrent PreviewLease double-commit race in TypeScript (inFlightLeases + consumed + �oundSubject/�oundBranch).
    • Closed WHATWG URL tab/newline domain bypasses and NFKC/case-variant numeric field key evasions (hardrail_anti_evasion conformance vectors).
    • Added reflected secret scrubbing (CredentialVault.scrubSecrets) in TypeScript.
  • Production Reliability & Tamper-Evident Audit Chain:
    • First-class idempotency_key / idempotencyKey (IDEMPOTENCY_IN_FLIGHT, IDEMPOTENCY_CONFLICT, idempotent_replay).
    • Sequential SHA-256 hash-chained audit ledger (export_audit_log() / �erify_audit_chain()) with on_event telemetry hooks.
  • MCP 2025-06-18 & Full TypeScript Parity:
    • Bidirectional ToolAnnotations ↔ EffectClass mapping, JSON-RPC notification handling, McpStdioClient
      otifications/initialized + async notification skipping, and McpHttpClient Mcp-Session-Id + ext/event-stream SSE parsing.
    • Full TypeScript parity for �ranch(fork|merge), spawnInternalAgent, wrapMcpServer, A2ABridge, wrapA2APeer, AGUIBridge, wrapHttpEndpoint, and wrapOpenApiSpec.

SXP v0.5.1

Choose a tag to compare

@matthewmajo matthewmajo released this 27 Nov 18:19

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.