Versions in this module Expand all Collapse all v0 v0.2.0 Oct 21, 2026 v0.1.0 Oct 19, 2026 Changes in this version + const AcceptedMajor + const AcceptedMinor + const SchemaVersion + const Version + var EnvelopeSchema []byte + func Accepts(v string) bool + func DefaultViewer(ctx context.Context, dir, author string) string + func ParseVersion(v string) (major, minor, patch int, ok bool) + type Brief struct + Gate string + Task string + type Diagnostic struct + Code string + Col int + Commit string + Gate string + Line int + Message string + Path string + Severity string + Task string + Trailer string + type Envelope struct + Command string + Data any + Diagnostics []Diagnostic + Params Resolved + Project *ProjectInfo + Schema string + Source *Source + Viewer *Viewer + func (e *Envelope) ExitCode() int + func (e *Envelope) JSON() []byte + func (e *Envelope) YAML() []byte + type Level string + const LevelDetail + const LevelGlance + const LevelProvenance + type LinkError struct + Commit string + Detail string + Problem string + URL string + func (e *LinkError) Error() string + type NotFoundError struct + Kind string + Name string + func (e *NotFoundError) Error() string + type Options struct + Replace map[string]string + Trunk string + type Params struct + Brief *Brief + Columns []string + From string + Historical bool + Level Level + Minimum string + Now string + Person string + Proposed bool + Role Role + Stale int + Task string + Viewer string + Window *int + func (p Params) Check(v View) error + func (p Params) Narrow(v View) Params + type ProjectInfo struct + Owner string + Root string + Tableaux string + Title string + type ReadError struct + Err error + Op string + func (e *ReadError) Error() string + func (e *ReadError) Unwrap() error + type Repository struct + func Open(ctx context.Context, dir string, opt Options) (*Repository, error) + func (r *Repository) Load(ctx context.Context, ref string) (*Snapshot, error) + func (r *Repository) Resolve(ctx context.Context, ref string) (string, error) + type Resolved struct + View View + func (r Resolved) MarshalJSON() ([]byte, error) + type Role string + const RoleAgent + const RoleAssignee + const RoleAuthority + const RoleContributor + const RoleObserver + const RoleOwner + const RoleReviewer + type Snapshot struct + func (s *Snapshot) AuthorTime() string + func (s *Snapshot) CheckTrailer(t Trailer) error + func (s *Snapshot) Checkouts() []string + func (s *Snapshot) Diagnostics() []Diagnostic + func (s *Snapshot) GateKeys() []string + func (s *Snapshot) HasTask(id string) bool + func (s *Snapshot) Linked(url, commit string) (*Snapshot, error) + func (s *Snapshot) Project() *ProjectInfo + func (s *Snapshot) Resolve(ctx context.Context, ref string) (string, error) + func (s *Snapshot) Source() Source + func (s *Snapshot) Validate() *Envelope + func (s *Snapshot) View(ctx context.Context, v View, p Params) (*Envelope, error) + func (s *Snapshot) Viewer(email string) Viewer + type Source struct + Commit *string + Date *string + Dir string + From *SourceFrom + OnTrunk bool + Ref string + Trunk SourceTrunk + Worktree bool + type SourceFrom struct + Commit string + Ref string + type SourceTrunk struct + Name *string + Resolved string + type Trailer struct + Gate string + Kind string + Model string + Task string + func (t Trailer) Line() (string, error) + type UsageError struct + Msg string + func (e *UsageError) Error() string + type View string + const Assignment + const Audit + const Authority + const Blockage + const Context + const Gates + const History + const Queue + const Tableau + const Task + type Viewer struct + Email *string + Roles []Role