Versions in this module Expand all Collapse all v0 v0.6.0 Aug 20, 2026 Changes in this version + const Kind + const Schema + func CanonicalBytes(value any) ([]byte, error) + func Seal(receipt *RunReceipt) error + func VerifyCanonical(receipt *RunReceipt, raw []byte) error + type DivergenceOutcome struct + Expected string + Got string + Sequence int + type ExperimentContext struct + BaselineVariantID string + CohortID string + ExperimentID string + ParentSkillVersion string + Role string + VariantID string + func DecodeExperiment(raw []byte) (*ExperimentContext, error) + func (context ExperimentContext) Validate() error + type JournalBinding struct + HeadDigest string + HeadSequence int + RunID string + type LocalReport struct + DivergenceCount int + ExperimentGroups []NamedCount + Lifecycle []NamedCount + OpenOlderThanThreshold int + Operations []ReportOperationSummary + ReceiptCount int + Requirements []NamedCount + ResponseRejections []NamedCount + RuntimeGroups []NamedCount + SourceGroups []NamedCount + Terminal []NamedCount + func BuildReport(receipts []*RunReceipt, options ReportOptions) (LocalReport, error) + type NamedCount struct + Count int + Name string + type OperationObservation struct + ClockAnomaly bool + CompletedAt string + ElapsedMS *int64 + Kind protocol.OpKind + OperationKeyDigest string + RequestedAt string + ResultDigest string + Sequence int + type OperationSummary struct + Completed int + Kind protocol.OpKind + Requested int + TotalElapsedMS int64 + type OutcomeSummary struct + FailureCode string + Phase string + ResultDigest string + TerminalCause string + TerminalDisposition string + type ProfileDigest struct + Profile string + Value string + type ReportOperationSummary struct + Completed int + Kind protocol.OpKind + Requested int + TotalElapsedMS int64 + type ReportOptions struct + ExperimentID string + From time.Time + OpenAgeThreshold time.Duration + ReferenceTime time.Time + To time.Time + type RequirementOutcome struct + ClaimDigest string + EvidenceDigest string + Outcome string + type ResponseRejectionSummary struct + Count int + Reason string + type RunIdentity struct + ID string + InputDigest string + type RunReceipt struct + Divergences []DivergenceOutcome + Experiment *ExperimentContext + Journal JournalBinding + Kind string + OperationSummaries []OperationSummary + Operations []OperationObservation + Outcome OutcomeSummary + ReceiptDigest string + Requirements []RequirementOutcome + ResponseRejections []ResponseRejectionSummary + Run RunIdentity + Runtime *RuntimeIdentity + Schema string + Skill SkillIdentity + Timing TimingSummary + func Project(snapshot Snapshot) (*RunReceipt, error) + func (receipt *RunReceipt) Validate() error + type RuntimeIdentity struct + Compatible *bool + RequiredVersion string + SupervisorVersion string + type SkillIdentity struct + BindingDigest string + Name string + SourceDigest *ProfileDigest + Version string + type Snapshot struct + Bytes []byte + Events []runlog.Event + type Store struct + Root string + func NewStore(yieldDir string) *Store + func StoreForRunsDir(runsDir string) *Store + func (s *Store) ListRuns() ([]string, error) + func (s *Store) LoadDigest(receiptDigest string) (*RunReceipt, []byte, error) + func (s *Store) LoadRun(runID string) (*RunReceipt, []byte, error) + func (s *Store) Materialize(snapshot Snapshot) (*RunReceipt, []byte, error) + func (s *Store) Put(r *RunReceipt, raw []byte) error + type TimingSummary struct + ClockAnomaly bool + ElapsedMS *int64 + EndedAt string + LastObservedAt string + StartedAt string