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.
CommandContract
Contract for command-type tasks (shell commands) Defines expected outcomes for V_boot calculation
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
EnergyComponents
Energy components for Lyapunov calculation
EscalationReport
PSP-5 Phase 5: Full escalation report assembled by the orchestrator.
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
PlannedContract
Contract specified in the plan
PlannedTask
A planned task from the Architect
PlannedTest
A test case in the plan
ProvisionalBranch
PSP-5 Phase 6: Provisional branch tracking speculative child work.
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
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
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)
ProvisionalBranchState
PSP-5 Phase 6: State of a provisional branch.
RewriteAction
PSP-5 Phase 5: Repair action chosen by the orchestrator after classifying non-convergence.
SensorStatus
Sensor availability status for a single verification stage.
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