perspt-sdk 0.6.6

Domain-neutral SRBN agent SDK for Perspt: residual energy, measured acceptance gate, spectral diagnostics, and stabilization-kernel adapter (PSP-8)
Documentation
//! The model-conditioned prompt plane (PSP-10 systems 23–25).
//!
//! Prompt text is authored as small markdown section files with typed front
//! matter, compiled at build time (`perspt-prompt-macros`) into typed
//! structs. There is no template engine and no prompt database: dynamism is
//! typed inclusion predicates, typed variables, and injected turn blocks;
//! git reviews the text and the ledger records the exact program of every
//! model call.

pub mod accountant;
pub mod budget;
pub mod compose;
pub mod context;
pub mod dialect;
pub mod digest;
pub mod manifest;
pub mod plan;
pub mod route;
pub mod section;
pub mod stage;
pub mod vars;

pub use accountant::{AccountingMode, TokenAccountantRef};
pub use budget::{fit_budget, BudgetFit};
pub use compose::StageComposition;
pub use context::{
    assemble_resident, mandatory_closure, resident_page_digest, select_working_set, ContextBudget,
    ContextPage, DependencyEnv, ResidentContext, ResidentOutcome, StateDependency,
};
pub use dialect::{
    DialectRef, ModelDialect, ReasoningTracePolicy, SystemSlotPolicy, ToolCallConvention,
};
pub use digest::{
    tool_surface_hash, CompiledPromptInvocation, CompiledPromptMessage, CompiledPromptProgram,
};
pub use manifest::{
    ActivationBounds, ActivationState, ManifestEntry, PromptChangeRecord, PromptManifest,
    ACTIVATION_BOOTSTRAP_RESAMPLES,
};
pub use plan::{ContextRequest, CounterexampleRef, IssuePromptPlan};
pub use route::{PromptRoute, SectionOverride, SectionVariants};
pub use section::{
    OverrideOrigin, PromptMessageRole, PromptSection, PromptSectionId, PromptSectionVersion,
    RenderedSection, SectionProvenance, SectionSchema, SectionTemplate, VarSpec, PROMPT_DIGEST_TAG,
};
pub use stage::PromptStage;
pub use vars::{BoundedList, BoundedText, ListStyle, ObservationText, VarValue};