Module enums

Module enums 

Source
Expand description

Enum types for CELLSTATE entities

§Database string convention (from_db_str / as_db_str)

Reading from the database accepts both legacy (PascalCase or mixed-case) and new (snake_case) values for backward compatibility; writing uses snake_case only via as_db_str(). Do not remove or simplify from_db_str() normalization without a migration that updates existing enum columns to snake_case.

Structs§

EnumParseError
Error returned when parsing a DB enum string fails.

Enums§

AbstractionLevel
Semantic abstraction level for notes (L0 → L1 → L2 hierarchy).
AgentStatus
Status of an agent in the system.
AgentType
Agent type discriminator for registration and message routing. Extensible via Custom for user-defined agent kinds.
ArtifactType
Type of artifact produced during a trajectory.
EdgeType
Type of edge relationship between entities.
EntityType
Entity type discriminator for polymorphic references.
EvolutionPhase
Phase of pack config evolution cycle.
ExtractionMethod
Method used to extract an artifact or evidence.
FieldType
Field types for schema definitions. Used by pack compiler and runtime validation.
MemoryCategory
Memory category for hierarchical memory organization.
MemoryType
Memory type for permission scoping (artifact, note, turn, working set).
NoteType
Type of note (cross-trajectory knowledge).
OutcomeStatus
Outcome status for completed trajectories.
PrincipalType
Principal type for identity and ownership scoping.
ProviderType
LLM provider type for configuration.
ResourceType
Resource type for lock scoping.
SummarizationRequestStatus
Status of a summarization request.
SummarizationTrigger
Trigger condition for auto-summarization policy.
TTL
Time-to-live and retention configuration for memory entries. Supports both time-based expiration and count-based limits.
ToolExecutionStatus
Status of a tool execution.
TrajectoryStatus
Status of a trajectory (task container).
TurnRole
Role of a turn in conversation.

Functions§

normalize_token 🔒