Skip to content

SXP v0.6.0

Choose a tag to compare

@matthewmajo matthewmajo released this 27 Nov 18:46
· 10 commits to main since this release

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.