LoggerConfig
PlatformPaths
OS-appropriate paths for CLEO’s global directories.SystemInfo
Immutable system information snapshot, captured once per process.RequiredColumn
Required column definition for ensureColumns().VacuumOptions
AgentInstanceRow
NewAgentInstanceRow
AgentErrorLogRow
NewAgentErrorLogRow
AgentInstanceStatus
AgentType
AgentErrorType
WarpChainRow
NewWarpChainRow
WarpChainInstanceRow
NewWarpChainInstanceRow
StatusRegistryRow
TaskRow
NewTaskRow
SessionRow
NewSessionRow
TaskDependencyRow
TaskRelationRow
WorkHistoryRow
LifecyclePipelineRow
NewLifecyclePipelineRow
LifecycleStageRow
NewLifecycleStageRow
LifecycleGateResultRow
NewLifecycleGateResultRow
LifecycleEvidenceRow
NewLifecycleEvidenceRow
LifecycleTransitionRow
NewLifecycleTransitionRow
AuditLogRow
NewAuditLogRow
TokenUsageRow
NewTokenUsageRow
ArchitectureDecisionRow
NewArchitectureDecisionRow
AdrTaskLinkRow
NewAdrTaskLinkRow
AdrRelationRow
NewAdrRelationRow
ManifestEntryRow
NewManifestEntryRow
PipelineManifestRow
NewPipelineManifestRow
ReleaseManifestRow
NewReleaseManifestRow
ExternalTaskLinkRow
NewExternalTaskLinkRow
BrainDecisionRow
NewBrainDecisionRow
BrainPatternRow
NewBrainPatternRow
BrainLearningRow
NewBrainLearningRow
BrainObservationRow
NewBrainObservationRow
BrainMemoryLinkRow
NewBrainMemoryLinkRow
BrainPageNodeRow
NewBrainPageNodeRow
BrainPageEdgeRow
NewBrainPageEdgeRow
BrainStickyNoteRow
NewBrainStickyNoteRow
ProjectRegistryRow
NewProjectRegistryRow
NexusAuditLogRow
NewNexusAuditLogRow
NexusSchemaMetaRow
NewNexusSchemaMetaRow
ErrorDefinition
A single entry in the unified error catalog.ProblemDetails
RFC 9457 Problem Details object. Structured error representation for API responses. T5240ArchiveFields
Archive-specific fields for task upsert.RegisterAgentOptions
Options for registering a new agent instance.UpdateStatusOptions
Options for updating agent status.ListAgentFilters
Filters for listing agent instances.AgentHealthReport
Agent health report summary.AtomicMigrationResult
Atomic database migration result.ReleaseFn
A release function returned by acquireLock.ProviderHookEvent
CAAMP canonical hook event type. This is the normalized 16-event taxonomy from CAAMP 1.9.1.InternalHookEvent
HookEvent
Full CLEO hook event union. CAAMP defines provider-facing canonical events; CLEO extends the registry with local coordination events for autonomous execution.HookPayload
Base interface for all hook payloads Provides common fields available across all hook eventsSessionStartPayload
Payload for SessionStart hook (canonical: was onSessionStart) Fired when a CLEO session beginsOnSessionStartPayload
Deprecated: Use SessionStartPayload instead. Kept for backward compatibility.
SessionEndPayload
Payload for SessionEnd hook (canonical: was onSessionEnd) Fired when a CLEO session endsOnSessionEndPayload
Deprecated: Use SessionEndPayload instead. Kept for backward compatibility.
PreToolUsePayload
Payload for PreToolUse hook (canonical: was onToolStart) Fired when a task/tool operation beginsOnToolStartPayload
Deprecated: Use PreToolUsePayload instead. Kept for backward compatibility.
PostToolUsePayload
Payload for PostToolUse hook (canonical: was onToolComplete) Fired when a task/tool operation completesOnToolCompletePayload
Deprecated: Use PostToolUsePayload instead. Kept for backward compatibility.
HookHandler
Handler function type for hook events Handlers receive project root and typed payloadHookRegistration
Hook registration metadata Tracks registered handlers with priority and event bindingHookConfig
Configuration for the hook system Controls which events are enabled/disabledNotificationPayload
Payload for Notification hook (canonical: was onFileChange) Fired when a tracked file is written, created, or deleted, or for general-purpose notifications.OnFileChangePayload
Deprecated: Use NotificationPayload instead. Kept for backward compatibility.
PostToolUseFailurePayload
Payload for PostToolUseFailure hook (canonical: was onError) Fired when an operation fails with a structured errorOnErrorPayload
Deprecated: Use PostToolUseFailurePayload instead. Kept for backward compatibility.
PromptSubmitPayload
Payload for PromptSubmit hook (canonical: was onPromptSubmit) Fired when an agent submits a prompt through a gatewayOnPromptSubmitPayload
Deprecated: Use PromptSubmitPayload instead. Kept for backward compatibility.
ResponseCompletePayload
Payload for ResponseComplete hook (canonical: was onResponseComplete) Fired when a gateway operation finishes (success or failure)OnResponseCompletePayload
Deprecated: Use ResponseCompletePayload instead. Kept for backward compatibility.
SubagentStartPayload
Payload for SubagentStart hook Fired when a subagent process is launchedSubagentStopPayload
Payload for SubagentStop hook Fired when a subagent process completesPreCompactPayload
Payload for PreCompact hook Fired before context compaction beginsPostCompactPayload
Payload for PostCompact hook Fired after context compaction completesConfigChangePayload
Payload for ConfigChange hook Fired when configuration is updatedOnWorkAvailablePayload
Payload for onWorkAvailable hook Fired when the system detects ready work on a Loom/TapestryOnAgentSpawnPayload
Payload for onAgentSpawn hook Fired when a worker session/process is launchedOnAgentCompletePayload
Payload for onAgentComplete hook Fired when a worker finishes its assigned runOnCascadeStartPayload
Payload for onCascadeStart hook Fired when autonomous execution begins flowing through a chain or waveOnPatrolPayload
Payload for onPatrol hook Fired when a watcher performs a periodic health/sweep cycleCLEOLifecycleEvent
Type for CLEO lifecycle event names These are the internal events CLEO fires that get mapped to CAAMP eventsCLEOAutonomousLifecycleEvent
Type for autonomous CLEO lifecycle events.SaveJsonOptions
Options for saveJson.CheckpointConfig
Checkpoint configuration.CheckpointStatus
Checkpoint status information.ChangedFile
Changed file with its status.SafetyOptions
Safety configuration - can be overridden per-operationRepairResult
Repair result with proper typing.SafetyConfig
Safety configuration options.NextDirectives
Map of follow-up operation names to CLI command strings.TaskDetail
Enriched task with hierarchy info.PaginateInput
Input parameters for paginating a result set. T4668 T4663CompactTask
Compact task representation — minimal fields for list responses.ListTasksOptions
Filter options for listing tasks.ListTasksResult
Result of listing tasks.FindResult
Minimal task info for search results.FindTasksOptions
Options for finding tasks.FindTasksResult
Result of finding tasks.AdrFrontmatter
Parsed ADR frontmatter from .md fileAdrRecord
AdrSyncResult
AdrListResult
AdrFindResult
PipelineAdrLinkResult
EvidenceType
EvidenceRecord
RelatedLink
Related link in frontmatter.FrontmatterMetadata
Frontmatter metadata for an RCASD artifact.ParsedFrontmatter
Result of parsing frontmatter from a markdown file.Stage
Stage type derived from canonical stage list. T4800StageCategory
Stage category for grouping related stages. T4800StageDefinition
Stage metadata with descriptive information. T4800TransitionRule
Transition rule - defines if a transition is allowed. T4800StageArtifactResult
SkillFrontmatter
Skill frontmatter parsed from SKILL.md YAML header. This is CLEO’s extended skill metadata — a functional superset of CAAMP’sSkillMetadata. All fields from CaampSkillMetadata (name, description, version, allowedTools) are present here. CLEO adds: tags, triggers, dispatchPriority, model, invocable, command, protocol. Use this type when working with CLEO’s skill loading, dispatch, and orchestration systems. Use CaampSkillMetadata when interfacing directly with CAAMP’s discovery/install APIs.
Skill
Skill definition loaded from disk. CLEO-specific type that wraps aSkillFrontmatter with filesystem context. For CAAMP’s equivalent, see CtSkillEntry which wraps CaampSkillMetadata with install/discovery metadata instead.
SkillSummary
Lightweight skill summary for manifest/listing. Projected fromSkill for efficient caching in SkillManifest. Contains only the fields needed for CLI display and dispatch selection.
SkillManifest
Skill manifest (cached aggregate of all discovered skills).SkillProtocolType
RCASD-IVTR+C protocol types.AgentConfig
Agent configuration from AGENT.md or agent definition.AgentRegistryEntry
Agent registry entry.AgentRegistry
Agent registry (persisted).SkillSearchScope
CAAMP search order for skill discovery.SkillSearchPath
Ordered search path entry.DispatchStrategy
Dispatch strategy for skill selection.DispatchResult
Dispatch result from skill_auto_dispatch.TokenDefinition
Token definition from placeholders.json.TokenValidationResult
Token validation result.TokenContext
Token injection context.OrchestratorThresholds
Orchestrator context thresholds.PreSpawnCheckResult
Pre-spawn check result.SpawnPromptResult
Spawn prompt result.DependencyWave
Dependency wave for parallel execution.DependencyAnalysis
Dependency analysis result.HitlSummary
HITL summary for session handoff.ManifestEntry
Research manifest entry (pipeline_manifest table, ADR-027).ManifestValidationResult
Manifest validation result.ComplianceResult
Compliance verification result.InstalledSkill
Installed skill tracking.InstalledSkillsFile
Installed skills file.TokenValues
Token values map: TOKEN_NAME - value.MultiSkillComposition
Result of multi-skill composition.StageGuidance
Structured guidance for a single pipeline stage. Pi extensions consume the.prompt field directly (render via { systemPrompt } in before_agent_start). The structured fields are exposed for TUI widgets, badges, and logging.
EnforcementMode
Lifecycle enforcement modes.GateData
Gate data within a stage.ManifestStageData
Stage data in an on-disk manifest.RcasdManifest
Canonical RCASD manifest-shaped interface for compatibility payloads. Lifecycle persistence is SQLite-native; this shape is used for API responses that present stage+gate state in a manifest-like structure. Stage keys use full canonical names matching the DB CHECK constraint: research, consensus, architecture_decision, specification, decomposition, implementation, validation, testing, release. T4798GateCheckResult
Gate check result.StageTransitionResult
Stage transition result.LifecycleHistoryEntry
History entry for stage transitions.AlertLevel
Alert level names.AlertCheckResult
Alert result from check_context_alert.FormatOptions
Options for envelope formatting. T4668 T4670 T4663CleoRegistryEntry
Entry in the CLEO-to-LAFS error registry. T4671 T4663TestDbEnv
Result of creating a test database environment.HierarchyValidation
Validate that adding a child to a parent would not violate constraints.TaskTreeNode
Build a tree structure from flat task list.HierarchyPolicy
HierarchyValidationResult
StrictnessPreset
Valid preset names.PresetDefinition
A preset definition: the config keys it sets and a human description.ApplyPresetResult
Result of applying a preset.SessionRecord
Session object (engine-compatible).TaskWorkStateExt
Task work state from the task store. Extends the strict contractsTaskWorkState with required-null fields for session engine compatibility. The engine layer always expects these fields to be present (even if null), whereas the contracts type marks them as optional.
DecisionRecord
Decision record stored in decisions.jsonl.AssumptionRecord
Assumption record stored in assumptions.jsonl.RecordDecisionParams
DecisionLogParams
HandoffData
Handoff data schema - structured state for session transition.ComputeHandoffOptions
Options for computing handoff data.GitState
Git state snapshot captured at session end.DebriefDecision
Decision summary for debrief output.DebriefData
Rich debrief data — superset of HandoffData. Captures comprehensive session state for cross-conversation continuity. T4959ComputeDebriefOptions
Options for computing debrief data.BrainFtsRow
Row returned by FTS content_hash duplicate check (brain-retrieval.ts observeBrain).BrainNarrativeRow
Row returned by narrative backfill query (brain-retrieval.ts populateEmbeddings).BrainSearchHit
Flattened FTS hit used in hybrid search scoring (brain-search.ts hybridSearch).BrainKnnRow
Row returned by KNN vector similarity query (brain-similarity.ts searchSimilar).BrainDecisionNode
Decision node attached to a blocker in causal traces (brain-reasoning.ts reasonWhy).BrainAnchor
Anchor entry in a timeline result (brain-retrieval.ts timelineBrain).BrainTimelineNeighborRow
Row returned by timeline UNION ALL neighbor queries (brain-retrieval.ts timelineBrain). Represents an entry from any of the four brain tables projected to a common id, type, date shape for chronological ordering.BrainConsolidationObservationRow
Row returned by the consolidation observation query (brain-lifecycle.ts consolidateMemories). Fetches old observations for keyword-based clustering and archival. Uses snake_case column names matching the raw SQLite row shape.BrainIdCheckRow
Row returned by ID existence check queries (claude-mem-migration.ts). Used bySELECT id FROM brain_observations WHERE id = ? and similar single-column lookups for idempotent migration dedup.
EmbeddingProvider
Contract for embedding providers (local models, API services, etc.).SimilarityResult
BrainSearchResult
Search result with BM25 rank.BrainSearchOptions
Search options.HybridResult
Result from hybridSearch combining multiple search signals.HybridSearchOptions
Options for hybridSearch weighting and limits.MemoryBridgeConfig
Configuration for memory bridge content generation.BrainCompactHit
Compact search hit — minimal fields for index-level results.SearchBrainCompactParams
Parameters for searchBrainCompact.SearchBrainCompactResult
Result from searchBrainCompact.TimelineBrainParams
Parameters for timelineBrain.TimelineNeighbor
Timeline entry — compact id/type/date tuple.TimelineBrainResult
Result from timelineBrain.FetchBrainEntriesParams
Parameters for fetchBrainEntries.FetchedBrainEntry
Fetched entry with full data.FetchBrainEntriesResult
Result from fetchBrainEntries.BrainObservationType
Observation type from schema.BrainObservationSourceType
Observation source type from schema.ObserveBrainParams
Parameters for observeBrain.ObserveBrainResult
Result from observeBrain.PopulateEmbeddingsResult
Result from populateEmbeddings backfill.PopulateEmbeddingsOptions
Options for the embedding backfill pipeline.AuditEntry
Audit entry interface. Used by session-grade and system-engine for behavioral analysis.StoreLearningParams
Parameters for storing a new learning.SearchLearningParams
Parameters for searching learnings.DimensionScore
GradeResult
AdapterInfo
Summary info for an adapter without exposing the full instance.SessionBridgeData
Session data needed to create a memory bridge observation.StoreDecisionParams
Parameters for storing a new decision.SearchDecisionParams
Parameters for searching decisions.ListDecisionParams
Parameters for listing decisions.PatternType
Pattern types from ADR-009.PatternImpact
Impact level.StorePatternParams
Parameters for storing a new pattern.SearchPatternParams
Parameters for searching patterns.RecordAssumptionParams
BulkLinkEntry
A link to be created in bulk.SessionMemoryResult
Result of persisting session memory to brain.db.MemoryItem
A memory item to be persisted to brain.db.SessionMemoryContext
Memory context returned for session start/resume enrichment.Pipeline
Pipeline entity representing a task’s lifecycle state. T4800 T4799 - Unified pipeline structure replaces scattered manifestsPipelineStageRecord
Pipeline stage record linking pipeline to individual stages. T4800 T4801 - Requires pipeline_stages tablePipelineTransition
Pipeline transition record for audit trail. T4800 T4801 - Requires pipeline_transitions tableInitializePipelineOptions
Options for initializing a pipeline. T4800AdvanceStageOptions
Options for advancing pipeline stage. T4800PipelineQueryOptions
Pipeline query options. T4800BriefingTask
Task summary for briefing output.BriefingBug
Bug summary for briefing output.BriefingBlockedTask
Blocked task summary for briefing output.BriefingEpic
Active epic summary for briefing output.PipelineStageInfo
Pipeline stage data for briefing output.LastSessionInfo
Last session info with handoff data.CurrentTaskInfo
Currently active task info.SessionBriefing
Session briefing result.BriefingOptions
Options for computing session briefing.MinimalSessionRecord
Minimal session record returned by findSessions().FindSessionsParams
Parameters for findSessions().ContextDriftResult
SessionHistoryEntry
SessionHistoryParams
SessionStatsResult
RuntimeProviderContext
RuntimeProviderSnapshot
StartSessionOptions
Options for starting a session.EndSessionOptions
Options for ending a session.ListSessionsOptions
Options for listing sessions.EnforcementMode
Enforcement modes.ActiveSessionInfo
Session info for enforcement checks.EnforcementResult
Enforcement result.ValidationResult
AddTaskEnforcementOptions
UpdateTaskEnforcementOptions
AcceptanceEnforcement
ResolvedParent
Minimal parent task shape needed for pipeline stage resolution. T060TaskPipelineStage
Union type of all valid pipeline stage names.LifecycleMode
The resolved enforcement mode (from lifecycle.mode config key).EpicEnforcementResult
Result of an enforcement check.warning is populated in advisory mode.
AddTaskOptions
Options for creating a task.description is required per CLEO’s anti-hallucination rules — every task must have both a title and a description, and they must differ.
AddTaskResult
Result of adding a task.ListPhasesResult
Options for listing phases.SetPhaseOptions
Options for setting current phase.SetPhaseResult
Result of a phase set operation.ShowPhaseResult
Phase show result.AdvancePhaseResult
Phase advance result.RenamePhaseResult
Phase rename result.DeletePhaseResult
Phase delete result.PruneResult
SchemaInstallResult
StalenessReport
InstalledSchema
CheckResult
JsonFileIntegrityResult
Result for a single file check.SchemaIntegrityReport
Full integrity report for all JSON files.ProjectType
Detected project type.TestFramework
Test framework.FileNamingConvention
ImportStyle
ProjectContext
Schema-compliant project context for LLM agent consumption.ScaffoldResult
InjectionCheckResult
ScaffoldResult
Result of an ensure* scaffolding operation.CheckStatus
Status of a check* diagnostic.CheckResult
Result of a check* diagnostic (compatible with doctor/checks.ts CheckResult).ProjectClassification
Classification result for a project directory.ClassificationSignal
A single classification signal detected on the filesystem.ScaffoldResult
HookCheckResult
EnsureGitHooksOptions
ManagedHook
LegacyDetectionResult
Result of detecting legacy agent-output directories.AgentOutputsMigrationResult
Result of running the agent-outputs migration.NexusPermissionLevel
NexusHealthStatus
NexusProject
Domain representation of a registered Nexus project.NexusRegistryFile
Legacy registry file shape (pre-SQLite). Retained for migration compatibility.StackAnalysis
ArchAnalysis
StructureAnalysis
ConventionAnalysis
TestingAnalysis
IntegrationAnalysis
ConcernAnalysis
CodebaseMapResult
MapCodebaseOptions
InitOptions
Options for the init operation.InitResult
Result of the init operation.BootstrapContext
Result tracking arrays passed through each bootstrap step.BootstrapOptions
Options for bootstrapGlobalCleo.ExportFormat
ExportParams
ExportResult
ImportParams
ImportResult
AgentExecutionOutcome
The outcome of an agent’s execution attempt on a task.AgentExecutionEvent
Context recorded when an agent completes or fails a task.AgentPerformanceSummary
Summary of an agent type’s execution performance on a task type.HealingSuggestion
A self-healing suggestion derived from failure pattern history.AgentCapacity
Task-count-based capacity for a single agent instance.AgentPerformanceMetrics
Metrics provided when recording agent performance.CapacitySummary
Capacity summary for reporting.AgentHealthStatus
Health status of a specific agent instance.RetryPolicy
Configuration for retry behavior.RetryResult
Result of a retried operation.AgentRecoveryResult
Result of a recovery attempt for a single agent.RiskFactor
A single factor contributing to a task’s overall risk score. Each factor has a weight (how much it matters) and a value (current level, 0-1). The weighted sum of all factors produces the aggregate risk score.RiskAssessment
Complete risk assessment for a single task. Returned bycalculateTaskRisk. The riskScore is the weighted aggregate of all RiskFactor entries in factors.
ValidationPrediction
Predicted outcome for a lifecycle validation gate. Returned bypredictValidationOutcome. Combines historical pattern data with the task’s current state to estimate pass likelihood.
DetectedPattern
A pattern automatically detected from historical brain/task data. Detected patterns may be stored in the existing brain_patterns table if they meet frequency and confidence thresholds.PatternMatch
Result of matching a task against known patterns from brain_patterns. Includes the original pattern row and a relevance score indicating how strongly the pattern applies to the target task.PatternExtractionOptions
Options for pattern extraction from historical data.PatternStatsUpdate
Result of updating pattern statistics after an outcome.LearningContext
Summary of applicable learnings for a task, used in prediction.ImpactAssessment
Full impact assessment for a task within its dependency graph. Captures direct dependents, transitive dependents, lifecycle pipeline effects, blocked work counts, and critical path membership.ChangeType
The type of change being analyzed.ChangeImpact
Predicted downstream effects of a specific change to a task. Models what happens when a task is cancelled, blocked, completed, or reprioritized — including cascading status changes and recommendations.AffectedTask
A single task affected by a change, with its predicted new state.ImpactedTask
A single task predicted to be affected by a free-text change description. Produced bypredictImpact after matching candidate tasks against the change description and running downstream dependency analysis.
ImpactReport
Full impact prediction report for a free-text change description. Returned bypredictImpact. Combines fuzzy task search with reverse dependency analysis to enumerate which tasks are at risk.
BlastRadiusSeverity
Severity classification for blast radius.BlastRadius
Quantified scope of a task’s impact across the project.GateFocusRecommendation
A gate-level focus recommendation produced by adaptive validation.AdaptiveValidationSuggestion
Full adaptive validation suggestion set for a task.VerificationConfidenceScore
Result of scoring and persisting a completed verification round.StorePredictionOptions
Parameters for storing a quality prediction as a brain observation.DependencyCheckResult
Result of a dependency validation check.DependencyError
A dependency error.DependencyWarning
A dependency warning.DependencyWave
A wave of parallelizable tasks.NexusParsedQuery
NexusResolvedTask
Task with project context annotation.DiscoverResult
NexusDiscoverResult
SearchResult
NexusSearchResult
PermissionCheckResult
SharingStatus
Result of a sharing status check.TaskCurrentResult
Result of getting current task.TaskStartResult
Result of starting work on a task.TaskWorkHistoryEntry
Task work history entry.CompleteTaskOptions
Options for completing a task.CompleteTaskResult
Result of completing a task.RuleViolation
Validation error from anti-hallucination checksUpdateTaskOptions
Options for updating a task.UpdateTaskResult
Result of updating a task.ParsedDirective
Parsed directive from a Conduit message.RouteResult
Result of routing a directive to a project.WorkspaceStatus
Aggregated task status across all projects.WorkspaceProjectSummary
Task summary for a single project.WorkspaceAgent
Agent info aggregated across projects.ProjectACL
Project-level ACL entry.DepNode
A node in the dependency graph.DepsOverviewResult
Dependency overview result.TaskDepsResult
Single task dependency result.ExecutionWave
Execution wave (group of parallelizable tasks).CriticalPathResult
Critical path result.CycleResult
Cycle detection result.TreeNode
Tree node representation.CircularDependency
A circular dependency cycle found via DFS traversal.MissingDependency
A missing dependency reference within an epic.DependencyAnalysis
Full dependency analysis result for an epic.ContextEstimation
Context estimation result.Wave
EnrichedWave
StatusCounts
Status counts by task state.EpicStatus
Epic-specific status result.OverallStatus
Overall orchestration status (no specific epic).ProgressMetrics
Progress metrics for orchestration check.StartupSummary
Startup summary for an epic.OrchestratorSession
Orchestrator session state.SpawnContext
Spawn context for a subagent.TaskReadiness
Task readiness assessment.AnalysisResult
Orchestrator analysis result.ArtifactType
Supported artifact types.ArtifactConfig
Artifact configuration from release config.ArtifactResult
Result of an artifact operation.ArtifactHandler
Artifact handler interface.ReleaseConfig
Release configuration shape.ReleaseGate
Release gate definition.GitFlowConfig
GitFlow branch configuration.ChannelConfig
Channel-to-branch mapping for npm dist-tag resolution.PushMode
Push mode: direct push vs PR creation vs auto-detect.ReleaseChannel
npm dist-tag channel for a release.ChannelValidationResult
Result of validating a version string against a channel’s expectations.CIPlatform
Supported CI/CD platforms.BranchProtectionResult
PRCreateOptions
PRResult
RepoIdentity
EpicCompletenessResult
Epic completeness result.DoubleListingResult
Double-listing check result.BumpType
Bump type for version calculation.VersionBumpTarget
Version bump target config from .cleo/config.json.BumpResult
Bump result for a single file.ReleaseManifest
Release manifest structure.ReleaseListOptions
ReleaseTaskRecord
Task record shape needed for release operations.ReleaseGateMetadata
Metadata captured during gate evaluation, returned alongside gate results. Downstream (engine layer) uses this to determine PR vs direct push.PushPolicy
Push policy configuration from config.release.push.SnapshotDecision
A decision recorded during the session.SnapshotObservation
Brain observation linked to this session.SnapshotTaskContext
Active task context at snapshot time.SessionSnapshot
Complete session snapshot — everything needed to resume. This is the serialization format. It is JSON-safe and can be stored in a file, database column, or transmitted over the network.SerializeOptions
Options for serializing a session.RestoreOptions
Options for restoring a session.StickyNoteStatus
Sticky note status values.StickyNoteColor
Sticky note color options.StickyNotePriority
Sticky note priority levels.ConvertedTargetType
Converted target type.ConvertedTarget
Converted target reference.StickyNote
Core sticky note interface.CreateStickyParams
Parameters for creating a sticky note.ListStickiesParams
Parameters for listing sticky notes.ConvertStickyParams
Parameters for converting a sticky note.ArchiveTasksOptions
Options for archiving tasks.ArchiveTasksResult
Result of archiving tasks.DeleteTaskOptions
Options for deleting a task.DeleteTaskResult
Result of deleting a task.EngineResult
Canonical EngineResult type used by all engines and core engine-compat modules.ExportMeta
Export package metadata.ExportSelection
Export selection criteria.IdMapEntry
ID map entry.RelationshipGraph
Relationship graph.ExportPackage
Complete export package.ExportTasksParams
ExportTasksResult
HelpOperationDef
Minimal operation definition consumed by help logic.CostHint
Cost hint classification for an operation.GroupedOperations
Domain-grouped operation format (compact).VerboseOperation
Verbose operation entry with cost hints.HelpResult
Result of the help computation.TransferMode
Transfer mode: copy keeps source tasks, move archives them.TransferScope
Transfer scope: single task or full subtree.TransferOnConflict
Conflict resolution when target has tasks with duplicate titles.TransferOnMissingDep
How to handle missing dependencies in the target project.TransferParams
Parameters for a cross-project transfer operation.TransferManifestEntry
A single task entry in the transfer manifest.TransferManifest
Manifest describing what was (or would be) transferred.TransferResult
Result of a transfer operation.ImportFromPackageOptions
Options passed to importFromPackage (extracted from importTasksPackage).ImportFromPackageResult
Result from importFromPackage.RemapTable
Forward and reverse remap tables.ImportTasksParams
ImportTasksResult
ValidationError
ValidationResult
AdrValidationError
ValidationError — canonical name per ADR-017 specAdrValidationResult
ValidationResult — canonical name per ADR-017 specTreeSitterLanguage
Supported tree-sitter language identifiers.OutlineNode
A symbol node in the outline tree, with optional children.SmartOutlineResult
Result of generating a smart outline for a file.SmartSearchResult
A search result with relevance score.SmartSearchOptions
Options for smart_search.SmartUnfoldResult
Result of unfolding a single symbol.ComplianceJsonlEntry
PayloadValidationResult
Result of payload validation.BuildConfig
RepositoryConfig
IssueTemplate
Parsed issue template.AddIssueParams
AddIssueResult
RetryablePredicate
A predicate or pattern used to decide whether an error is retryable. -RegExp — matched against error.message (or String(error)) - (error: unknown) => boolean — arbitrary predicate function
RetryOptions
Options that control retry behavior forwithRetry.
RetryContext
Metadata attached to errors thrown after all retry attempts are exhausted. The last error from the final attempt is augmented with these fields so callers can distinguish a retry-exhausted failure from a first-attempt one.DecayResult
Result from applying temporal decay.ConsolidationResult
Result from consolidating memories.BrainMigrationResult
Result from a migration run.ResearchEntry
Research entry attached to a task.ManifestEntry
Manifest entry (JSONL line).AddResearchOptions
Options for adding research.ListResearchOptions
Options for listing research.ManifestQueryOptions
Manifest query options.ExtendedManifestEntry
Extended manifest entry with optional fields used by the engine.ResearchFilter
Research filter criteria used by the engine.ContradictionDetail
Contradiction detail between two manifest entries.SupersededDetail
Superseded entry detail.ComplianceSummary
Compliance summary shape.OtelCaptureMode
OTel capture mode.OtelTokenDataPoint
Token data point parsed from OTel metrics.AggregatedTokens
Aggregated token counts.ABVariant
A/B test variant.ABEventType
A/B test event types.ABTestSummary
A/B test summary result.Severity
Violation severity levels.ManifestIntegrity
Manifest integrity states.InstructionStability
Instruction stability levels.SessionDegradation
Session degradation levels.AgentReliability
Agent reliability levels.MetricCategory
Metric categories.MetricSource
Metric sources.AggregationPeriod
Aggregation periods.TokenEventType
Token event types.TokenEvent
A token usage event entry.TokenSessionSummary
Token session summary shape.VerificationResult
Result of a backup verification operation.LogLevel
Log entry severity levelMigrationLogEntry
Single migration log entryMigrationLoggerConfig
Migration logger configurationPreflightResult
Pre-flight check result.MigrationPhase
Migration phase - tracks current step in the migration processSourceFileInfo
Source file info with checksum for integrity verificationMigrationProgress
Migration progress trackingMigrationState
Complete migration state structureJsonFileValidation
Result of validating a single JSON file.JsonValidationResult
Complete validation result for all source files.SchemaVersion
Schema version info.MigrationFn
Migration function signature.MigrationDef
Migration definition.MigrationResult
Migration run result.MigrationStatus
Status of all data files.NexusGraphNode
NexusGraphEdge
NexusGlobalGraph
DepsResult
Result of a dependency query.DepsEntry
Single dependency entry with resolution status.CriticalPathResult
Critical path result.BlockingAnalysisResult
Blocking analysis result.OrphanEntry
Orphan detection result.PinoLevel
Pino log levels as written by CLEO’s logger (uppercase).PinoLogEntry
A parsed pino log entry from a CLEO log file. Core fields are always present; additional fields are captured inextra.
LogFileInfo
Metadata about a discovered log file.LogFilter
Filter criteria for log queries. All fields are optional; when multiple are provided, they are ANDed.LogQueryResult
Result of a log query operation.LogDiscoveryOptions
Options for discovering log files.LogSummary
Summary of log activity across files.RemoteConfig
Remote configuration.PushResult
Result of a push operation.PullResult
Result of a pull operation.RemoteInfo
Result of a remote list operation.ExecutionMode
Execution mode for an operationGatewayType
Gateway typePreferredChannel
Preferred communication channel for token efficiency. CLI is the only dispatch channel. T5240OperationCapability
CapabilityReport
Capability report returned by system.doctorRateLimitConfig
Rate limiter configurationRateLimitResult
Rate limit check resultContributionDecision
A contribution decision from an agent.ContributionConflict
Conflict between two agent decisions.ConsensusResult
Consensus result from weighted voting.SkillsMpConfig
SkillsMP configuration.MarketplaceSkill
Marketplace skill result (CLEO-specific shape).BatchSpawnEntry
Result of a single spawn within a batch.BatchSpawnResult
Result of a batch spawn operation.SessionInitResult
Session init result.PauseStatus
Pause status result.SkillSourceType
Source type classification for a skill directory.SkillSourceMode
Skill source mode.SkillSearchPath
Search path entry with its origin.IssueSeverity
Validation issue severity.ValidationIssue
Single validation issue.SkillValidationResult
Validation result for a skill.SnapshotMeta
Snapshot metadata.SnapshotTask
Portable task representation (subset of Task, omitting local-only fields).Snapshot
Complete snapshot package.ImportResult
Import result summary.SpawnCapability
Spawn capability type - subset of provider capabilities related to spawningWorkflowRuleMetric
Per-rule compliance breakdown.WorkflowComplianceReport
Full workflow compliance report.ArchiveMetadata
Archive metadata that may be attached to archived task records.AnalyticsTask
Archived task shape used internally for analytics.ArchiveReportType
SummaryReportData
Summary report result.PhaseGroupEntry
Phase group entry.LabelFrequencyEntry
Label frequency entry.PriorityGroupEntry
Priority group entry.CycleTimeDistribution
Cycle time distribution buckets.CycleTimePercentiles
Cycle time percentiles.CycleTimesReportData
Cycle times report result.DailyArchiveEntry
Daily archive entry.MonthlyArchiveEntry
Monthly archive entry.TrendsReportData
Trends report result.EmptyArchiveData
Empty archive sentinel (when totalArchived is 0).ArchiveReportDataMap
Union type mapping report types to their data shapes.ArchiveAnalyticsResult
The envelope returned by analyzeArchive.AnalyzeArchiveOptions
Options for analyzeArchive.ArchiveStatsResult
AuditIssue
AuditResult
BackupResult
RestoreResult
BackupEntry
A single backup entry returned by listSystemBackups.CleanupResult
Platform
Detected platform.SystemInfo
Structured snapshot of the host system for diagnostics, error reports, and logging.CheckStatus
CheckResult
HealthCheck
HealthResult
DiagnosticsCheck
DiagnosticsResult
DoctorCheck
DoctorReport
FixResult
StartupState
Outcome of a startup health check. Tells the caller exactly what state the system is in so it can route to init, upgrade, or proceed normally.StartupHealthCheck
StartupHealthResult
InjectGenerateResult
LabelsResult
SystemMetricsResult
MigrateResult
RuntimeDiagnostics
SafestopResult
UncancelResult
TemplateSection
A single section/field within an issue template.IssueTemplate
A parsed issue template.TemplateConfig
The full template config output.TemplateResult
Result type for template parser operations.ShellType
Supported shell types.ChangelogSection
Grouped changelog sections.CommandMeta
Parsed command metadata.ParsedFlags
Parsed flag state.InsertTask
SelectTask
InsertTaskDependency
SelectTaskDependency
InsertTaskRelation
SelectTaskRelation
InsertSession
SelectSession
InsertWorkHistory
SelectWorkHistory
InsertLifecyclePipeline
SelectLifecyclePipeline
InsertLifecycleStage
SelectLifecycleStage
InsertLifecycleGateResult
SelectLifecycleGateResult
InsertLifecycleEvidence
SelectLifecycleEvidence
InsertLifecycleTransition
SelectLifecycleTransition
InsertSchemaMeta
SelectSchemaMeta
InsertAuditLog
SelectAuditLog
AuditLogInsert
Canonical type alias for audit log insert (T4848).AuditLogSelect
Canonical type alias for audit log select (T4848).InsertTokenUsage
SelectTokenUsage
InsertArchitectureDecision
SelectArchitectureDecision
InsertManifestEntry
SelectManifestEntry
InsertPipelineManifest
SelectPipelineManifest
InsertReleaseManifest
SelectReleaseManifest
InsertExternalTaskLink
SelectExternalTaskLink
InsertAgentInstance
SelectAgentInstance
InsertAgentErrorLog
SelectAgentErrorLog
ManifestIntegrity
Severity
ComplianceMetrics
ManifestEntry
TokenMetrics
TokenEfficiency
OrchestrationOverhead
DriftIssue
DriftReport
CommandIndexEntry
CommandIndex
SchemaVersions
FileHashes
ProjectCacheEntry
DoctorProjectCache
ProjectDetail
CategorizedProjects
UserJourneyStage
HealthSummary
ValidationError
ValidationResult
Task
TaskData
Task data shape for validation functions.ArchiveData
Archive data shape for validation functions.ComprehensiveValidationResult
ManifestDoc
GapEntry
CoverageEntry
GapReport
ManifestEntry
ManifestViolation
ManifestValidationResult
ComplianceEntry
ProtocolViolation
ProtocolValidationResult
GateName
AgentName
FailureLogEntry
VerificationGates
Verification
VerificationStatus
CircularValidationResult
TaskForVerification
ProjectInfo
Fields consumed by logging, audit, and correlation subsystems.BackfillOptions
Options for backfillTasks().BackfillTaskChange
Summary of what was (or would be) changed for a single task.BackfillResult
Overall result returned by backfillTasks().RequirementLevel
RFC 2119 requirement levelsViolationSeverity
Violation severityProtocolRule
Protocol rule definitionProtocolViolation
Protocol violation resultProtocolValidationResult
Protocol validation resultErrorSeverity
Error severity levels for protocol/gate validation.ErrorCategory
Error category for grouping protocol/gate violations.ProtocolExitCode
Protocol-specific exit codes used by the RCASD-IVTR+C enforcement system. These map to the protocol violation range (60-70) and lifecycle enforcement range (80-84) defined in the protocol specification. The values here align with the protocol enforcement layer’s own exit code semantics, which differ from the canonical CLI exit codes in src/types/exit-codes.ts. The canonical CLI ExitCode enum at src/types/exit-codes.ts maps range 60-67 to orchestrator errors, while this enum maps them to protocol violations. Both are valid in their respective contexts — CLI vs protocol enforcement.ProtocolRequest
Request shape used by the protocol enforcement system. Minimal interface matching the fields needed by ProtocolEnforcer.ProtocolResponse
Response shape used by the protocol enforcement system.ProtocolType
Protocol types aligned with RCASD-IVTR+C lifecycleViolationLogEntry
Violation log entryChainFindCriteria
ProtocolViolation
Protocol violation entry.ProtocolValidationResult
Protocol validation result.ManifestEntryInput
Manifest entry structure for validation.ProtocolType
VotingMatrix
AdrStatus
ADR lifecycle status values. T260ArchitectureDecisionOptions
Architecture decision options for validator.ValidationStageOptions
Validation-stage options for validator.TestFramework
Project-agnostic test framework identifiers. The testing protocol is deliberately framework-neutral. Whichever framework the project uses, the protocol only cares that tests run autonomously via a framework adapter and loop until the spec is met. T260TestingOptions
Testing-stage options for validator.BrainMaintenanceDecayResult
Temporal decay step result subset used in maintenance output.BrainMaintenanceConsolidationResult
Memory consolidation step result subset used in maintenance output.BrainMaintenanceReconciliationResult
Orphaned reference reconciliation step result.BrainMaintenanceEmbeddingsResult
Embedding backfill step result.BrainMaintenanceResult
Aggregated result from a full brain maintenance run. All counts are zero when a step is skipped via the correspondingskip* option.
BrainMaintenanceOptions
Options forrunBrainMaintenance. All skip* flags default to false — the full maintenance pass runs unless specific steps are disabled.
ClaudeMemMigrationResult
Result from a claude-mem migration run.ClaudeMemMigrationOptions
Options for the claude-mem migration.BlockerNode
CausalTrace
SimilarEntry
ManifestEntry
ModelProviderLookup
TokenMethod
TokenConfidence
TokenTransport
TokenExchangeInput
TokenMeasurement
TokenUsageFilters
TokenUsageSummary
SkillEntry
SkillContent
HighImpactTask
SingleBlockerTask
CommonBlocker
UnblockResult
ValidationIssue
SpawnValidationResult
ContextInjectionData
Data returned by context injection.CancelResult
Result of a cancel operation.FlatTreeNode
Tree node representation for task hierarchy.ComplexityFactor
Complexity factor contributing to a task’s size estimate.AnalysisResult
StoreEngine
Store engine type. SQLite is the only supported engine (ADR-006). T4647TaskFilters
Common task filter options.SessionFilters
Common session filter options.StoreProvider
Store provider interface. Backed by SQLite (ADR-006 canonical storage).MigrationResult
Migration result.MigrationOptions
Options for migration.RepairAction
A single repair action with status.UpgradeAction
A single upgrade action with status.UpgradeResult
Full upgrade result.UpgradeSummary
Counts of what upgrade checked/applied/skipped.DiagnoseFinding
A single diagnostic finding from —diagnose.DiagnoseResult
Result from diagnoseUpgrade().GateLayer
Gate layer enumerationGateStatus
Gate status for each layerGateViolation
Violation detail for a specific gate layerLayerResult
Result from a single gate layer validationVerificationResult
Complete verification result across all 4 layersOperationContext
Operation context for gate validationWorkflowGateName
Workflow gate names per protocol specification Section 7.1 T3141WorkflowGateStatus
Workflow gate status values per Section 7.3WorkflowGateAgent
Agent responsible for each gate per Section 7.2WorkflowGateDefinition
Individual workflow gate definition per Section 7.2WorkflowGateState
State of a single workflow gateJsonSchemaType
JsonSchemaProperty
JSONSchemaObject
CommanderArgSplit
ValidationResult
Validation resultValidationError
Individual validation errorSchemaType
Schema types that can be validated via AJV/JSON Schema. SQLite-backed types (todo, archive, log, sessions) use drizzle-zod validation instead.ComplianceEntry
Compliance entry stored in COMPLIANCE.jsonlCoherenceIssue
Coherence issue found during graph validation.ValidateCheckDetail
ValidateReportResult
ValidateAndFixResult
Result from validate + fix operation.CriticalPathNode
CriticalPathResult
SkillsPrecedenceConfig
Configuration for skill precedence resolution across providers.ResolvedSkillPath
A resolved skill path with full provenance metadata.SkillInstallationContext
Context for a skill installation operation.InProgressEpic
In-progress epic entry.ReadyTask
Ready task entry with leverage analysis.BlockedTask
Blocked task entry.OpenBug
Open bug entry.PlanMetrics
Planning metrics.PlanResult
Composite planning view result.RcasdIndex
RCASD-INDEX.json top-level structure.IndexMeta
Index metadata.IndexTotals
Aggregate counts.TaskAnchor
Task-anchored RCASD artifact reference.SpecEntry
Specification entry.ReportEntry
Report entry.PipelineState
Pipeline state.PipelineOperation
Active pipeline operation.ChangeEntry
Change entry.ExecutionResult
The aggregate result of executing a CANT workflow.StepResult
The result of a single workflow statement execution.DiscretionContext
Context provided to a discretion evaluator for AI-judged conditions.ApprovalTokenStatus
Valid states for an approval token.ApprovalToken
An approval token for human-in-the-loop workflow gates. Tokens are bound to a specific session and workflow. TheworkflowHash provides TOCTOU protection: if the workflow is modified between token creation and approval, the token is invalidated. Security invariants: - Token values MUST NOT appear in audit logs, summaries, or error messages. - approvalTokensJson is NEVER included in handoff/debrief serialization. - Status transitions use atomic CAS (pending - approved|rejected|expired only).