Versions in this module Expand all Collapse all v1 v1.5.1 Nov 6, 2026 Changes in this version + const DispositionContested + const DispositionDeclined + const DispositionEscalated + const DispositionFixed + const ReviewStopConverged + const RubricGrounding + const RubricPRD + const RubricSteering + const RubricZeroDecision type AdminResult + Rendered []RenderedInfo type Package + PlanReview *Review + type RenderedInfo struct + Archived bool + Reason string + Rendered string + SpecDir string + SpecID string + SpecName string + Status string type Review + ContestedCount int + DeclinedCount int + EscalatedCount int + FixedCount int type ReviewFinding + CounterEvidence string + Decision string + Options []string + Question string + Rubric string type ReviewRound + Clean bool type WarnCode + const WarnPlanReviewIncomplete + const WarnPlanReviewSkipped + const WarnSteeringMalformed v1.5.0 Nov 6, 2026 Changes in this version + const CategoryAPI + const CategoryAborted + const CategoryAuth + const CategoryBudget + const CategoryDisk + const CategoryInput + const CategoryInternal + const CategoryInvalidSpec + const CategoryLifecycle + const CategoryMaxTurns + const CategoryModel + const CategoryNoResult + const CategoryRefusal + const CategoryUsage + const DispositionAccepted + const DispositionRejected + const DispositionUnanswered + const ExitFailed + const ExitOK + const ExitUsage + const ReducedArchitecture + const ReducedTestDetail + const ReviewStopIncomplete + const ReviewStopNoFindings + const ReviewStopNoSeriousFindings + const ReviewStopRoundsExhausted + const SameInputPlaceholder + const ScopeDone + const ScopeFailed + const ScopeInvalid + const ScopePending + const ScopeSpec + const ScopeTask + const SectionArchitecture + const SectionPRD + const SectionRequirements + const SectionTasks + const SectionTestSpec + const SeverityCritical + const SeverityHigh + const SeverityLow + const SeverityMajor + const SeverityMinor + const StagePreflight + func RetryableFor(category string) bool + func Sections() []string + func StatusFor(code int) string + type AdminEnvelope = Envelope[*AdminResult] + func DecodeSpeca(data []byte) (AdminEnvelope, error) + type AdminResult struct + AllowedStatus []string + Changes []Change + CreatedAt string + Dependents []string + DependsOn []string + DryRun bool + FailingRules []string + IntentDrift bool + IntentHash string + NextTask *TaskInfo + Packages []PackageInfo + SpecDir string + SpecID string + SpecName string + Status string + Supersedes []string + Tags []string + TaskCounts *TaskCounts + Tasks []TaskInfo + Title string + Traceability *TraceReport + UpdatedAt string + Valid *bool + Validation *ValidationReport + type Artifact struct + DryRun bool + ID string + Kind ArtifactKind + Path string + Role string + URL string + Valid bool + func (a *Artifact) UnmarshalJSON(data []byte) error + func (a Artifact) MarshalJSON() ([]byte, error) + type ArtifactKind string + const ArtifactComment + const ArtifactMarkdownFile + const ArtifactSpecPackage + type Change struct + Added string + Forced bool + From string + ID int + Kind string + Spec string + To string + type Envelope struct + Artifacts []Artifact + DurationMS int64 + Error *ErrorInfo + ExitCode int + Input *InputInfo + Model *ModelInfo + Next []Next + OK bool + Result R + SideEffects []SideEffect + StartedAt string + Status string + Summary string + Tool string + Usage *UsageInfo + Version string + Warnings []Warning + func Decode[R any](data []byte) (Envelope[R], error) + type ErrorInfo struct + Category string + FixHint *FixHint + Message string + Resumable bool + Retryable bool + Stage string + func (e *ErrorInfo) Error() string + func (e *ErrorInfo) TotalBudgetUSD() float64 + func (e *ErrorInfo) Unwrap() error + func (e *ErrorInfo) WithCause(err error) *ErrorInfo + type Estimate struct + MaxBudgetPerPhaseUSD float64 + MaxTotalUSD float64 + MaxTurnsPerPhase int + Phases int + type FixHint struct + Current float64 + Env []string + Flag string + Suggest float64 + Valid []string + type InputInfo struct + Bytes int + CommentsTruncated bool + ContextBytes int + Kind string + Origin string + Truncated bool + type ModelInfo struct + Effort string + ID string + Phases map[string]PhaseModelInfo + Spec string + type Next struct + Flags []string + Input string + Tool string + Why string + type OpenQuestion struct + Decision string + Question string + Why string + type Package struct + Artifacts []string + CommentURL string + Criteria int + Detail string + ExecutionPaths int + OpenQuestions []OpenQuestion + RelevantFiles []RelevantFile + Requirements int + Review *Review + Source string + SpecDir string + SpecID string + SpecName string + Status string + Tasks int + Tests int + Title string + Traceability TraceReport + Validation ValidationReport + func (p *Package) SetDetail(d string) + type PackageInfo struct + Archived bool + LoadError string + NextTask *TaskInfo + SpecDir string + SpecID string + SpecName string + Status string + TaskCounts *TaskCounts + Title string + Valid *bool + type PhaseInfo struct + CacheCreationTokens int64 + CacheReadTokens int64 + CostUSD float64 + DurationMS int64 + Effort string + InputTokens int64 + Model string + Name string + OutputTokens int64 + Scope string + StopReason string + ToolCalls map[string]int + ToolErrors map[string]int + Turns int + type PhaseModelInfo struct + Effort string + ID string + type PreflightCheck struct + Check string + Detail string + OK bool + type RelevantFile struct + Path string + Why string + type RenderEnvelope = Envelope[*RenderResult] + func DecodeSpecr(data []byte) (RenderEnvelope, error) + type RenderResult struct + Markdown string + MarkdownFile string + MaxTokens int + Reduced []string + Scope string + Sections []string + SpecDir string + SpecID string + SpecName string + Status string + Task *TaskInfo + Tasks []TaskInfo + Title string + Tokens int + Valid bool + type Review struct + AcceptedCount int + FindingsCount int + RejectedCount int + Rounds []ReviewRound + RoundsAllowed int + RoundsRun int + StopReason string + UnansweredCount int + type ReviewFinding struct + Disposition string + Evidence string + Flaw string + ID string + Reason string + Remedy string + Reopens string + Section string + Severity string + type ReviewRound struct + Findings []ReviewFinding + Round int + type ScopeReport struct + ErrorCount int + Name string + OpenQuestionsCount int + Scope string + SpecDir string + SpecID string + Status string + TraceGaps int + Valid *bool + type SideEffect struct + Action string + Kind string + OK bool + Target string + URL string + Warning WarnCode + type SpecEnvelope = Envelope[*SpecResult] + func DecodeSpec(data []byte) (SpecEnvelope, error) + type SpecResult struct + DryRun bool + Estimate *Estimate + FollowOnSpecs []Package + Preflight []PreflightCheck + Split []ScopeReport + SplitPlan string + Stage string + type TaskCounts struct + Done int + Dropped int + InProgress int + Pending int + Total int + type TaskInfo struct + DependsOn []int + ID int + Kind string + Optional bool + Ready bool + State string + Title string + type TraceReport struct + CriteriaCovered int + CriteriaUncovered []string + PathsCovered int + PathsUncovered []string + TestsUnowned []string + type UsageInfo struct + CacheCreationTokens int64 + CacheReadTokens int64 + CostUSD float64 + InputTokens int64 + OutputTokens int64 + Phases []PhaseInfo + Turns int + type ValidationItem struct + Artifact string + Check string + Entity string + Message string + type ValidationReport struct + ErrorCount int + Errors []ValidationItem + Valid bool + WarningCount int + Warnings []ValidationItem + type WarnCode string + const WarnActivationFailed + const WarnArchitectureNotWritten + const WarnCodeSearchUnavailable + const WarnCommentNotPosted + const WarnCommentsTruncated + const WarnCommentsUnreadable + const WarnEffortClamped + const WarnInputLooksLikePath + const WarnInputTruncated + const WarnNameFlagIgnored + const WarnOutputNotWritten + const WarnOverBudget + const WarnPRDReviewIncomplete + const WarnProjectLanguageUnknown + const WarnRelevantFilesUnavailable + const WarnRepoMapBuildFailed + const WarnScopeCountMismatch + const WarnScopeRenamed + const WarnSectionAbsent + const WarnSpecInvalid + const WarnSpecsDirUnreadable + const WarnSplitPlanForeign + const WarnSplitPlanNotRemoved + const WarnSplitPlanStale + const WarnSplitPlanUnreadable + const WarnSplitPlanUpdateFailed + const WarnSupersedesNotRecorded + const WarnTaskNotReady + const WarnTaskStateForced + const WarnTasksOpen + const WarnToolErrors + type Warning struct + Code WarnCode + Message string + Severity string + Stage string