Repository navigation
SXP v0.7.0
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).