Skip to main content

Module types

Module types 

Source
Expand description

SRBN Types (Re-exported from perspt-core)

This module re-exports all types from perspt-core::types for backward compatibility. The canonical definitions are now in perspt-core.

Structs§

AgentContext
Agent context containing workspace state
AgentMessage
Agent message in conversation history
ArtifactBundle
PSP-5: Multi-artifact bundle from the Actuator
BehavioralContract
Behavioral contract for a node
BlockedDependency
PSP-5 Phase 6: Dependency tracking for nodes blocked on a parent seal.
BranchFlushRecord
PSP-5 Phase 6: Record of a branch flush decision.
BranchLineage
PSP-5 Phase 6: Parent → child branch lineage record.
BudgetEnvelope
Budget envelope for plan execution.
CommandContract
Contract for command-type tasks (shell commands) Defines expected outcomes for V_boot calculation
CompiledPrompt
A compiled prompt ready for submission to the LLM (PSP-7 §5).
ContextBudget
PSP-5 Phase 3: Context budget controlling node context assembly
ContextPackage
PSP-5 Phase 3: Reproducible context package for node execution
ContextProvenance
PSP-5 Phase 3: Provenance record tracking what context was used
CorrectionAttemptRecord
Telemetry record for a single correction attempt (PSP-7 §6).
DependencyExpectation
Declared dependency expectations for a planned task.
EnergyComponents
Energy components for Lyapunov calculation
EscalationReport
PSP-5 Phase 5: Full escalation report assembled by the orchestrator.
FeatureCharter
A scoping document that constrains what the architect may plan.
InterfaceSealRecord
PSP-5 Phase 6: Record of a sealed interface produced by a node.
OwnershipEntry
PSP-5 Phase 2: A single ownership entry mapping a file to its owning node
OwnershipManifest
PSP-5 Phase 2: Ownership manifest tracking file-to-node bindings
PlanRevision
A single plan revision within a session.
PlannedContract
Contract specified in the plan
PlannedTask
A planned task from the Architect
PlannedTest
A test case in the plan
PromptEvidence
Evidence inputs for the prompt compiler (PSP-7 §5).
PromptProvenance
Provenance metadata for a compiled prompt (PSP-7 §5).
ProvisionalBranch
PSP-5 Phase 6: Provisional branch tracking speculative child work.
RepairFootprint
A bounded repair unit that records what was changed during a correction.
RestrictionMap
PSP-5 Phase 3: Restriction map defining a node’s context boundary
RetryPolicy
Retry policy configuration per PSP-4 specification
RewriteRecord
PSP-5 Phase 5: Record of a local graph rewrite applied by the orchestrator.
SRBNNode
SRBN Node - the fundamental unit of control
SheafValidationResult
PSP-5 Phase 5: Result of a single sheaf validation pass.
StabilityMonitor
Stability monitor for tracking Lyapunov Energy
StageOutcome
Outcome of a single verification stage (syntax, build, test, lint).
StructuralDigest
PSP-5 Phase 3: Hash of a compile-critical structural artifact
SummaryDigest
PSP-5 Phase 3: Condensed summary with hash for provenance tracking
TargetedRequeue
PSP-5 Phase 5: Targeted requeue entry.
TaskPlan
Structured task plan from Architect Output as JSON for reliable parsing
TokenBudget
Token budget tracking for cost control
VerificationResult
PSP-5: Structured verification result from a plugin-driven verifier
WeightedTest
Weighted test definition

Enums§

ArtifactKind
PSP-5 Phase 3: Kind of structural artifact being digested
ArtifactOperation
PSP-5: A single artifact operation within an artifact bundle
CommandPolicyDecision
Policy decision for a dependency command (PSP-7 §4).
Criticality
Test criticality levels for weighted tests
ErrorType
Error type for determining retry limits per PSP-4
EscalationCategory
PSP-5 Phase 5: Category of non-convergence detected by the verifier.
ExecutionMode
PSP-5: Execution mode for the runtime
ManifestMutationPolicy
Policy decision for a manifest mutation (PSP-7 §4).
ModelTier
Model tier for different agent roles
NodeClass
PSP-5: Node class distinguishing interface, implementation, and integration nodes
NodeState
Node execution state (from PSP state machine)
ParseResultState
Result state from the typed parse pipeline (PSP-7 Layers A-E).
PlanRevisionStatus
Status of a plan revision within a session.
PlanningPolicy
Adaptive planning policy that selects the agent phase stack based on task scale and workspace type.
PromptIntent
Intent tag for the prompt compiler (PSP-7 §5).
ProvisionalBranchState
PSP-5 Phase 6: State of a provisional branch.
RetryClassification
Retry classification for correction-loop failures (PSP-7 §3.3).
RewriteAction
PSP-5 Phase 5: Repair action chosen by the orchestrator after classifying non-convergence.
SensorStatus
Sensor availability status for a single verification stage.
SessionOutcome
Outcome of a full orchestration session.
SheafValidatorClass
PSP-5 Phase 5: Sheaf validator class.
SummaryKind
PSP-5 Phase 3: Kind of semantic summary being digested
TaskType
Task type classification for planning
VerifierStrictness
PSP-5: Verifier strictness presets
WorkspaceState
PSP-5: Workspace state classification