perspt-sdk 0.6.2

Domain-neutral SRBN agent SDK for Perspt: residual energy, measured acceptance gate, spectral diagnostics, and stabilization-kernel adapter (PSP-8)
Documentation

Perspt SRBN Agent SDK

perspt-sdk is the domain-neutral control plane for Perspt's SRBN agent platform (PSP-8). It owns the SRBN stability contract — residual evidence, the canonical quadratic energy, the measured acceptance gate, the spectral energy-slope diagnostic, verifier independence, analytic stability claims, residual certificates, and the [srbn] kernel adapter — while domain packages such as perspt-coding provide task-specific residual construction, weights, and correction directions.

SRBN contract at a glance

  • Residuals carry a raw non-negative magnitude r_e >= 0 ([residual::ResidualEvent]).
  • The single gating energy is V(x) = sum_e w_e ||r_e||^2 ([energy::score_candidate]); the component rollups V_syn..V_sheaf are derived projections, not independently weighted sums.
  • Acceptance is the measured discrete gate accept(y) <=> hard(y) OR V(y) <= V(x_best) - rho_gate ([gate::evaluate_gate]), with the finite-decision bound floor(V_0 / rho_gate) + B + 1 ([gate::finite_decision_bound]).
  • The spectral constant mu = 2 lambda_min+(A) is computed off the critical path from the verification graph ([spectral::VerificationGraph::mu]).
  • Continuous constants alpha, beta, delta, L, eta are optional and remain NotClaimed for the coding domain ([stability::StabilityClaim]).
  • Exhaustion yields a [certificate::ResidualCertificate], an honest stop.

This is the Phase-0/1 foundation (plus the spectral and verifier-independence pieces of Phase 5). Later phases — the mutable scheduler, capability kernel, replay ledger, exploration/model routing, calibrated risk budgets, and dashboards — build on these contracts.