Versions in this module Expand all Collapse all v1 v1.2.25 Oct 14, 2026 v1.2.24 Oct 14, 2026 v1.2.22 Oct 14, 2026 v1.2.19 Oct 13, 2026 v1.2.14 Oct 12, 2026 Changes in this version + const CIAsidePrefix type CheckRun + ID int64 v1.2.13 Oct 11, 2026 v1.2.12 Oct 11, 2026 Changes in this version type CheckRun + Event string + HeadBranch string + TagPush bool + WorkflowPath string v1.2.11 Oct 11, 2026 v1.2.10 Oct 11, 2026 v1.2.9 Oct 11, 2026 v1.2.8 Oct 11, 2026 v1.2.7 Oct 11, 2026 v1.2.6 Oct 10, 2026 v1.2.5 Oct 10, 2026 v1.2.4 Oct 10, 2026 v1.2.3 Oct 10, 2026 Changes in this version + const AdoptNote + const AnnotationSumsPrefix + const CIWaiverChecksPrefix + const CIWaiverPrefix + const CompareFileCap + const CycleNote + const DigestFile + const DogfoodReasonFlag + const DogfoodRemedy + const DogfoodWaiveFlag + const DogfoodWaiverPrefix + const EvidenceKind + const ExitCodes + const IncrementalNote + const JourneyRemedy + const JourneyWaiveFlag + const JourneysIncompletePrefix + const JourneysProvenPrefix + const KeepBesides + const MachinesShape + const OpenRouterActivityDays + const OpenRouterActivityEnv + const OpenRouterActivityURL + const PathsHeaderPrefix + const PlatformUnavailable + const PullNote + const PulledPrefix + const ReceiptsKind + const RecordSuffix + const RemotePathsNote + const SpendGapOver + const SpendRemedy + const SpendWaiveFlag + const SpendWaiverPrefix + const SprintReleaseFlag + const SumsDigestPrefix + const SumsFile + const Verbs + var CutNote = ... + var DefaultReceiptsDir = filepath.Join("nova-working", "dogfood") + var DogfoodNote = ... + var JourneyNote = ... + var PromisedJourneys = []Journey + var SSHOptions = []string + var SensitivePaths = []string + var SensitiveShape = strings.Join(SensitivePaths, ", ") + var SpendNote = ... + var SpendStore func(ctx context.Context, addr string, getenv func(string) string) (RecordedSpend, error) + func Annotation(version, sha, sumsDigest string, ciWaiver ...string) string + func ArtifactDir(root, version, goos, goarch string) string + func ExeSuffix(goos string) string + func ExecVersion(ctx context.Context, path string) (string, error) + func Ldflags(version string) string + func Main(name string, args []string, stamp string, out, errs io.Writer) int + func MarkPulled(text, version, note string) (string, error) + func Platform(flagValue string) (string, string, error) + func PulledNote(when time.Time, reason string) string + func ReadDigestFile(path string) (string, error) + func ReadPathsFile(path, rangeName string) ([]string, error) + func RemoteFrom(value string) (host, dir string, remote bool) + func RemotePath(p string) string + func Run(name string, args []string, out, errs io.Writer, deps Deps) int + func Sensitive(files []string) []string + func SumsInAnnotation(message string) string + func ToolFile(tool, goos string) string + func Tools(source string) ([]string, error) + func ValidRemotePathOn(goos, what, p string) error + func ValidSecurityRead(id string) error + func ValidVersion(v string) error + func VerbUsage(verb string) string + func VerifyArtifacts(dir string, arts []Artifact) (int, error) + func VersionsUnder(root, goos, goarch string) []string + func WritePathsFile(path, rangeName string, files []string) error + type Ansible interface + Play func(ctx context.Context, argv []string) (string, error) + type Artifact struct + Name string + Sum string + func ReadSums(dir string) ([]Artifact, error) + type CheckRun struct + Conclusion string + Name string + Status string + type Commit struct + Message string + SHA string + type Deps struct + Ansible Ansible + Dogfood Dogfood + Forge Forge + Git Git + Journeys []Journey + Now func() time.Time + SSH SSH + Self func() string + Source Source + Spend *SpendSources + Toolchain Toolchain + VersionOf func(ctx context.Context, path string) (string, error) + type Dogfood func(cli, receipts, cmd string) (DogfoodVerdict, error) + type DogfoodVerdict struct + Findings []string + Open int + Outside int + Shipped int + Verbs int + func ReadDogfood(cli, receipts, cmd string) (DogfoodVerdict, error) + type EvidenceHeader struct + Evidence string + Functions string + Installed []InstalledReceipt + Revision string + Schema string + type ExecAnsible struct + Path string + func (a ExecAnsible) Play(ctx context.Context, argv []string) (string, error) + type ExecGit struct + func (ExecGit) DiffNames(ctx context.Context, dir, base, head string) ([]string, error) + type ExecSSH struct + Guard *testguard.Guard + Path string + func (s ExecSSH) Fetch(ctx context.Context, machine, dir, dest string) (string, error) + func (s ExecSSH) Run(ctx context.Context, machine string, argv []string) (string, error) + func (s ExecSSH) Send(ctx context.Context, machine, dir, dest string) (string, error) + type ExecSource struct + func (ExecSource) Changed(ctx context.Context, dir, base, head string) ([]string, error) + func (ExecSource) GoVersion(ctx context.Context) (string, error) + func (ExecSource) Head(ctx context.Context, dir string) (string, bool, error) + func (ExecSource) Packages(ctx context.Context, dir, goos, goarch string, pkgs []string) (map[string][]string, error) + type FileReceipts struct + Path string + func (f FileReceipts) Tokens(_ context.Context, w SpendWindow) (map[string]int64, error) + type Forge interface + CheckRuns func(ctx context.Context, repo, sha string) ([]CheckRun, error) + Compare func(ctx context.Context, repo, base, head string) ([]Commit, error) + Files func(ctx context.Context, repo, base, head string) ([]string, error) + HeadSHA func(ctx context.Context, repo, branch string) (string, error) + Tag func(ctx context.Context, repo, tag, sha, message string) error + TagMessage func(ctx context.Context, repo, tag string) (string, error) + Tags func(ctx context.Context, repo string) ([]string, error) + type GH struct + Timeout time.Duration + func NewGH(timeout time.Duration) *GH + func (g *GH) CheckRuns(ctx context.Context, repo, sha string) ([]CheckRun, error) + func (g *GH) Compare(ctx context.Context, repo, base, head string) ([]Commit, error) + func (g *GH) Files(ctx context.Context, repo, base, head string) ([]string, error) + func (g *GH) HeadSHA(ctx context.Context, repo, branch string) (string, error) + func (g *GH) Tag(ctx context.Context, repo, tag, sha, message string) error + func (g *GH) TagMessage(ctx context.Context, repo, tag string) (string, error) + func (g *GH) TagTime(ctx context.Context, repo, tag string) (time.Time, error) + func (g *GH) Tags(ctx context.Context, repo string) ([]string, error) + type Git interface + DiffNames func(ctx context.Context, dir, base, head string) ([]string, error) + type GoBuild struct + func (GoBuild) Build(ctx context.Context, source, pkg, out, goos, goarch string, args []string) (string, error) + func (GoBuild) Platforms(ctx context.Context) ([]string, error) + type InstalledReceipt struct + Build string + Machine string + Revision string + type Journey struct + Optional []string + Package string + Test string + type JourneyRecord struct + Header EvidenceHeader + Incomplete []JourneyResult + Proven int + Reason string + Revision string + State string + type JourneyResult struct + Detail string + Journey Journey + State string + type Machine struct + Bin string + Dest string + Name string + func Machines(r io.Reader) ([]Machine, error) + type NoReadout struct + Name string + Why string + func (n NoReadout) Provider() string + func (n NoReadout) Spend(context.Context, SpendWindow) (float64, error) + type OneMachine struct + Deps Deps + Dir string + Flags []string + Version string + func (o *OneMachine) Run(machine, episode string) (OneRun, bool) + func (o *OneMachine) Start(machine, version, episode string) bool + type OneRun struct + Episode string + Err string + From string + Running bool + To string + type OpenRouterSpend struct + Getenv func(string) string + RT http.RoundTripper + func (OpenRouterSpend) Provider() string + func (r OpenRouterSpend) Spend(ctx context.Context, w SpendWindow) (float64, error) + type PR struct + Members []int + Number int + Title string + func PullRequests(commits []Commit) []PR + type ProviderSpend interface + Provider func() string + Spend func(ctx context.Context, w SpendWindow) (float64, error) + func SpendReaders(rt http.RoundTripper, getenv func(string) string) []ProviderSpend + type RecordedSpend interface + Providers func(ctx context.Context, w SpendWindow) ([]string, error) + Spend func(ctx context.Context, provider string, w SpendWindow) (float64, error) + Tokens func(ctx context.Context, w SpendWindow) (map[string]int64, error) + type SSH interface + Fetch func(ctx context.Context, machine, dir, dest string) (string, error) + Run func(ctx context.Context, machine string, argv []string) (string, error) + Send func(ctx context.Context, machine, dir, dest string) (string, error) + type Source interface + Changed func(ctx context.Context, dir, base, head string) ([]string, error) + GoVersion func(ctx context.Context) (string, error) + Head func(ctx context.Context, dir string) (commit string, clean bool, err error) + Packages func(ctx context.Context, dir, goos, goarch string, pkgs []string) (map[string][]string, error) + type SpendRow struct + Gap float64 + Kind string + Name string + Own float64 + Share float64 + Store float64 + Unread string + func (r SpendRow) Line() string + func (r SpendRow) Refused() bool + type SpendSources struct + Providers []ProviderSpend + Receipts TokenReceipts + Store RecordedSpend + func ProductionSpend(ctx context.Context, o options, w SpendWindow) (SpendSources, error) + type SpendVerdict struct + Rows []SpendRow + Window SpendWindow + func CheckSpend(ctx context.Context, src SpendSources, w SpendWindow) (SpendVerdict, error) + func (v SpendVerdict) Refused() []SpendRow + type SpendWindow struct + From time.Time + To time.Time + func SpendWindowFrom(since, now time.Time) SpendWindow + func (w SpendWindow) String() string + type TagTimer interface + TagTime func(ctx context.Context, repo, tag string) (time.Time, error) + type TokenReceipts interface + Tokens func(ctx context.Context, w SpendWindow) (map[string]int64, error) + type Toolchain interface + Build func(ctx context.Context, source, pkg, out, goos, goarch string, args []string) (string, error) + Platforms func(ctx context.Context) ([]string, error)