Versions in this module Expand all Collapse all v0 v0.6.0 Aug 7, 2026 v0.5.0 Aug 7, 2026 Changes in this version + func Reopen(root, change string, revision uint64, reason, actor string) (core.ReopenResult, error) v0.4.0 Aug 6, 2026 v0.3.0 Aug 1, 2026 v0.2.0 Aug 1, 2026 v0.1.1 Aug 1, 2026 v0.1.0 Aug 1, 2026retracted Changes in this version + const ReviewerVariable + const VerdictApprove + const VerdictReject + func Approve(root, change string, options ApproveOptions) (core.ApprovalRecord, error) + func Archive(root, change string, options ArchiveOptions) (core.ArchiveResult, error) + func Check(root, change string) (core.CheckResult, error) + func Complete(root, change, taskID string, expectedRevision uint64, options CompleteOptions) (core.Completion, error) + func Context(root, change, taskID string, budgetBytes int) (contextmodel.Manifest, error) + func Envelope(outcome Outcome) (agentjson.Envelope, error) + func ExitCode(err error) int + func RenderCheck(result core.CheckResult) string + func RenderContextJSON(manifest contextmodel.Manifest) ([]byte, error) + func RenderJSON(outcome Outcome) ([]byte, int, error) + func RenderReportJSON(result ReportResult) ([]byte, error) + func RenderReportText(result ReportResult) string + func RenderStatusJSON(result StatusResult) ([]byte, error) + func RenderStatusText(result StatusResult) string + func RenderText(envelope agentjson.Envelope) string + func Sync(root, change string, options SyncOptions) (core.SyncResult, error) + type ActivityCounts struct + Blocked int + Completed int + Failed int + InProgress int + Pending int + type ApproveOptions struct + Approver string + Input io.Reader + Output io.Writer + Reason string + type ArchiveOptions struct + Actor string + Now time.Time + type CompleteOptions struct + Actor string + type FrictionResult struct + Actor string + Blocker string + Change string + Consequence string + Domain string + Eligibility []core.FrictionEligibility + EvidenceSet string + Operation string + Revision uint64 + StateHash string + TaskID string + func Friction(root, change string, request core.FrictionRequest) (FrictionResult, error) + type InitResult struct + Guidance string + Root Root + func Init(root string) (InitResult, error) + type NewResult struct + Root Root + func New(root, change, actor, capability string) (NewResult, error) + type NextRefusal struct + Owner string + TaskID string + func (refusal *NextRefusal) Unwrap() error + type NextResult struct + Action string + Blocker *core.ReadinessBlocker + Change string + Classification string + Frontier []string + Revision uint64 + Root Root + Selected *core.TaskReadiness + func Next(root, change, taskID string) (NextResult, error) + type Outcome struct + Change string + Err error + Exit int + Operation string + Root string + Task string + Value any + type ReportFact struct + Field string + Value string + type ReportResult struct + Change string + Facts []ReportFact + Kind string + Root Root + func Report(root, change, kind, profile string) (ReportResult, error) + type Request struct + Actor string + Args []string + Root string + Route Route + type Result struct + Exit int + Operation string + Value any + func Dispatch(ctx context.Context, request Request) (Result, error) + type ReviewOptions struct + Actor string + Findings string + Now time.Time + Reviewer string + Verdict string + type ReviewResult struct + Approvable bool + AttemptID string + Blockers []core.ReadinessBlocker + Change string + EvidenceSet string + Findings string + FindingsTruncated bool + PacketHash string + PolicyDigest string + RecordID string + TaskID string + Verdict evidence.ReviewVerdict + func Review(root, change, task, attempt string, options ReviewOptions) (ReviewResult, error) + type Root struct + Path string + type Route string + const RouteAgent + const RouteHumanTerminal + type StartOptions struct + Actor string + type StartResult struct + Assurance string + AttemptID string + BaselineHEAD string + Change string + DeclaredFiles []string + RevisionAfter uint64 + RevisionBefore uint64 + TaskID string + func Start(root, change, taskID string, expectedRevision uint64, options StartOptions) (StartResult, error) + type StatusNextAction struct + Action string + Kind string + Operation string + Owner string + type StatusProduction struct + Assurance string + FrictionEligibility []core.FrictionEligibility + PolicyDigest string + Profile string + ReviewApprovable bool + ReviewBlockers []core.ReadinessBlocker + type StatusResult struct + AllTasksComplete bool + Approval *core.ApprovalHandoff + ApprovalStatus core.ApprovalStatus + Counts ActivityCounts + Frontier []string + Next StatusNextAction + Production StatusProduction + Root Root + Tasks []core.TaskReadiness + func Status(root, change string) (StatusResult, error) + type SyncOptions struct + Approver string + Input io.Reader + Now time.Time + Output io.Writer + Reason string + type UsageRefusal struct + func (refusal *UsageRefusal) Unwrap() error + type VerifyOptions struct + Actor string + CheckID string + Class string + Command string + OutputLimit int + Profile string + ReviewPassed bool + Reviewer string + Timeout time.Duration + type VerifyResult struct + Complete bool + Evidence evidence.TestRun + Production *evidence.Production + RecordID string + func Verify(ctx context.Context, root, change, taskID, attemptID string, ...) (VerifyResult, error)