Versions in this module Expand all Collapse all v0 v0.0.3 Nov 5, 2026 Changes in this version + const UsageInconsistentCode + func CacheWrites(d *openresponses.InputTokensDetails, total int64, byTTL map[string]int64) + func CheckUsage(r *Report, file string, s *agentsession.Session) v0.0.2 Nov 4, 2026 v0.0.1 Nov 3, 2026 Changes in this version + const DerivedMember + const ExitCodeMember + const IdentityCode + const Module + const PublishedCode + const PublishedNS + const RevisionCode + const SkillReadNS + const SourceMember + var DeriveRules = []string + var Dispositions = []Disposition + var Kinds = []Kind + func CleanJSON(raw json.RawMessage) (out json.RawMessage, changed bool, err error) + func CommitRevision(command, output string) string + func Converter() string + func DocumentedGap(code string) bool + func ErrorText(err error) string + func Finish(s *agentsession.Session) (*agentsession.Session, error) + func InvalidText(raw json.RawMessage) bool + func MarkDerived(h *agentsession.Header) error + func PublishedEntry(callID, command, output string) (*agentsession.CustomEntry, error) + func RepeatedMembers(raw json.RawMessage) bool + func RevisionEnv(base *agentsession.EnvEntry, cwd, rev string) *agentsession.EnvEntry + func SetExitCode(e agentsession.Entry, code int64) + func SetSource(h *agentsession.Header, s Source) error + func ShellCommand(arguments string) string + func Verify(s *agentsession.Session) error + type Builder struct + Calls CallIDs + Derive bool + File string + NS string + Report *Report + S *agentsession.Session + ShellTools map[string]bool + func NewBuilder(h agentsession.Header, ns string, r *Report) *Builder + func (b *Builder) Append(parent string, e agentsession.Entry) (string, error) + func (b *Builder) Bind(native, id string) + func (b *Builder) DeriveAfter(id string, e agentsession.Entry) (string, error) + func (b *Builder) EnvAt(id string) *agentsession.EnvEntry + func (b *Builder) ID(native string) (string, bool) + func (b *Builder) Last() string + func (b *Builder) Leaf(id string) error + func (b *Builder) Member(e agentsession.Entry, name string, v any) error + func (b *Builder) Resume() string + type CallIDs struct + func (c *CallIDs) Assign(native string) (id string, renamed bool) + func (c *CallIDs) Taken(id string) bool + type Derivation struct + CallID string + Rule string + type Derived struct + Code string + Entry agentsession.Entry + func DerivedEntries(callID, command, output string, base *agentsession.EnvEntry, cwd string) ([]Derived, error) + type Disposition string + const LineDropped + const LineKept + const LineMalformed + const LineMapped + type Finding struct + Code string + Detail string + File string + Kind Kind + Line int + Path string + type Group struct + At []string + Code string + Count int + Example string + Kind Kind + Paths []PathCount + type Kind string + const Dropped + const Gap + const Kept + const Lossy + const Repaired + type PathCount struct + Count int + Path string + type PublishedRef struct + Kind string + Ref string + Remote string + URL string + func PublishedRefs(command, output string) []PublishedRef + type Report struct + Findings []Finding + Source string + Tally map[Disposition]int + Unit string + func NewReport(source string) *Report + func (r *Report) Add(f Finding) + func (r *Report) Addf(kind Kind, code, file string, line int, format string, args ...any) + func (r *Report) Codes() []string + func (r *Report) Groups() []Group + func (r *Report) Has(kinds ...Kind) bool + func (r *Report) HeaderIdentity(file string, h agentsession.Header, idPath, cwdPath string) + func (r *Report) Identity(file string, line int, path, lands string) + func (r *Report) Line(d Disposition) + func (r *Report) Lines() int + func (r *Report) MarshalJSON() ([]byte, error) + func (r *Report) Merge(o *Report) + func (r *Report) WriteText(w io.Writer) error + type Result struct + Report *Report + Sessions []*agentsession.Session + func (res *Result) ScrubIdentity() + type SkillRead struct + Bytes *int + Location string + Name string + Path string + SHA256 string + func (r *SkillRead) Served(text string) + func (r SkillRead) Entry(callID string) (*agentsession.CustomEntry, error) + type Source struct + Converter string + Derived []string + Format string + NativeID string