Documentation
¶
Index ¶
- type AnalyticsEvent
- type ApprovalRule
- type BacklogItem
- type BacklogProgressNote
- type BacklogStatusEvent
- type BacklogStuckState
- type ClassificationAnalytics
- type ClaudeMetadata
- type ClaudeSession
- type DiffStats
- type ErrorEvent
- type EscapeEvent
- type ItemSession
- type ItemSource
- type PipelineMode
- type Project
- type ReviewVerdict
- type Session
- type SessionGoal
- type SessionSummary
- type Shell
- type SourceSyncEvent
- type Tag
- type Workflow
- type Worktree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyticsEvent ¶ added in v1.35.0
AnalyticsEvent holds the schema definition for the AnalyticsEvent entity.
func (AnalyticsEvent) Fields ¶ added in v1.35.0
func (AnalyticsEvent) Fields() []ent.Field
Fields of the AnalyticsEvent.
func (AnalyticsEvent) Indexes ¶ added in v1.35.0
func (AnalyticsEvent) Indexes() []ent.Index
Indexes of the AnalyticsEvent.
type ApprovalRule ¶ added in v1.12.0
ApprovalRule holds the schema definition for the ApprovalRule entity.
func (ApprovalRule) Edges ¶ added in v1.12.0
func (ApprovalRule) Edges() []ent.Edge
Edges of the ApprovalRule.
func (ApprovalRule) Fields ¶ added in v1.12.0
func (ApprovalRule) Fields() []ent.Field
Fields of the ApprovalRule.
func (ApprovalRule) Indexes ¶ added in v1.12.0
func (ApprovalRule) Indexes() []ent.Index
Indexes of the ApprovalRule.
type BacklogItem ¶ added in v1.35.0
BacklogItem holds the schema definition for the BacklogItem entity.
func (BacklogItem) Edges ¶ added in v1.35.0
func (BacklogItem) Edges() []ent.Edge
Edges of the BacklogItem.
func (BacklogItem) Fields ¶ added in v1.35.0
func (BacklogItem) Fields() []ent.Field
Fields of the BacklogItem.
func (BacklogItem) Indexes ¶ added in v1.35.0
func (BacklogItem) Indexes() []ent.Index
Indexes of the BacklogItem.
type BacklogProgressNote ¶ added in v1.38.0
BacklogProgressNote is an append-only log of every report_progress call made against a backlog item's acceptance criteria. Unlike BacklogItem.AcceptanceCriteria (which stores only the *current* note per criterion, overwritten on each call), this table preserves the full history so a reviewer can see the entire timeline of notes reported across a work session, not just the latest one per criterion.
func (BacklogProgressNote) Edges ¶ added in v1.38.0
func (BacklogProgressNote) Edges() []ent.Edge
func (BacklogProgressNote) Fields ¶ added in v1.38.0
func (BacklogProgressNote) Fields() []ent.Field
func (BacklogProgressNote) Indexes ¶ added in v1.38.0
func (BacklogProgressNote) Indexes() []ent.Index
type BacklogStatusEvent ¶ added in v1.35.0
BacklogStatusEvent is an append-only log of backlog item status transitions.
func (BacklogStatusEvent) Edges ¶ added in v1.35.0
func (BacklogStatusEvent) Edges() []ent.Edge
func (BacklogStatusEvent) Fields ¶ added in v1.35.0
func (BacklogStatusEvent) Fields() []ent.Field
func (BacklogStatusEvent) Indexes ¶ added in v1.35.0
func (BacklogStatusEvent) Indexes() []ent.Index
type BacklogStuckState ¶ added in v1.38.0
BacklogStuckState is a durable, resolve-in-place record of a single stuck condition for a backlog item.
Resolve-in-place model: there is exactly one row per (item_id, reason) pair at all times, enforced by the plain 2-column unique index below. A stuck condition that clears sets resolved_at (the row becomes "closed" but is not deleted). If the same (item_id, reason) condition recurs later, the SAME row is reopened in place — resolved_at and notified_at are cleared and first_detected_at is reset to the new onset time — rather than inserting a second row. Episode/occurrence history (multiple rows per pair over time) is intentionally NOT retained; see ADR-001 "Durable Stuck-State Storage Model" for the rationale (a plain unique index cannot be an OnConflictColumns target for an append-only design on SQLite, since NULLs are distinct).
func (BacklogStuckState) Edges ¶ added in v1.38.0
func (BacklogStuckState) Edges() []ent.Edge
Edges of the BacklogStuckState.
func (BacklogStuckState) Fields ¶ added in v1.38.0
func (BacklogStuckState) Fields() []ent.Field
Fields of the BacklogStuckState.
func (BacklogStuckState) Indexes ¶ added in v1.38.0
func (BacklogStuckState) Indexes() []ent.Index
Indexes of the BacklogStuckState.
type ClassificationAnalytics ¶ added in v1.12.0
ClassificationAnalytics holds the schema definition for the ClassificationAnalytics entity.
func (ClassificationAnalytics) Edges ¶ added in v1.12.0
func (ClassificationAnalytics) Edges() []ent.Edge
Edges of the ClassificationAnalytics.
func (ClassificationAnalytics) Fields ¶ added in v1.12.0
func (ClassificationAnalytics) Fields() []ent.Field
Fields of the ClassificationAnalytics.
func (ClassificationAnalytics) Indexes ¶ added in v1.12.0
func (ClassificationAnalytics) Indexes() []ent.Index
Indexes of the ClassificationAnalytics.
type ClaudeMetadata ¶
ClaudeMetadata holds the schema definition for the ClaudeMetadata entity.
func (ClaudeMetadata) Fields ¶
func (ClaudeMetadata) Fields() []ent.Field
Fields of the ClaudeMetadata.
type ClaudeSession ¶
ClaudeSession holds the schema definition for the ClaudeSession entity.
func (ClaudeSession) Fields ¶
func (ClaudeSession) Fields() []ent.Field
Fields of the ClaudeSession.
type ErrorEvent ¶ added in v1.35.0
ErrorEvent holds the schema definition for the ErrorEvent entity.
func (ErrorEvent) Fields ¶ added in v1.35.0
func (ErrorEvent) Fields() []ent.Field
Fields of the ErrorEvent.
func (ErrorEvent) Indexes ¶ added in v1.35.0
func (ErrorEvent) Indexes() []ent.Index
Indexes of the ErrorEvent.
type EscapeEvent ¶ added in v1.35.0
EscapeEvent holds the schema for a terminal escape sequence observation.
func (EscapeEvent) Fields ¶ added in v1.35.0
func (EscapeEvent) Fields() []ent.Field
func (EscapeEvent) Indexes ¶ added in v1.35.0
func (EscapeEvent) Indexes() []ent.Index
type ItemSession ¶ added in v1.35.0
ItemSession holds the schema definition for the ItemSession entity.
func (ItemSession) Edges ¶ added in v1.35.0
func (ItemSession) Edges() []ent.Edge
Edges of the ItemSession.
func (ItemSession) Fields ¶ added in v1.35.0
func (ItemSession) Fields() []ent.Field
Fields of the ItemSession.
func (ItemSession) Indexes ¶ added in v1.35.0
func (ItemSession) Indexes() []ent.Index
Indexes of the ItemSession.
type ItemSource ¶ added in v1.35.0
ItemSource holds the schema definition for the ItemSource entity.
func (ItemSource) Edges ¶ added in v1.35.0
func (ItemSource) Edges() []ent.Edge
Edges of the ItemSource.
func (ItemSource) Fields ¶ added in v1.35.0
func (ItemSource) Fields() []ent.Field
Fields of the ItemSource.
func (ItemSource) Indexes ¶ added in v1.35.0
func (ItemSource) Indexes() []ent.Index
Indexes of the ItemSource.
type PipelineMode ¶ added in v1.38.0
PipelineMode holds the schema definition for the PipelineMode entity.
func (PipelineMode) Edges ¶ added in v1.38.0
func (PipelineMode) Edges() []ent.Edge
Edges of the PipelineMode.
func (PipelineMode) Fields ¶ added in v1.38.0
func (PipelineMode) Fields() []ent.Field
Fields of the PipelineMode.
func (PipelineMode) Indexes ¶ added in v1.38.0
func (PipelineMode) Indexes() []ent.Index
Indexes of the PipelineMode.
type ReviewVerdict ¶ added in v1.35.0
ReviewVerdict holds the schema definition for the ReviewVerdict entity.
func (ReviewVerdict) Edges ¶ added in v1.35.0
func (ReviewVerdict) Edges() []ent.Edge
Edges of the ReviewVerdict.
func (ReviewVerdict) Fields ¶ added in v1.35.0
func (ReviewVerdict) Fields() []ent.Field
Fields of the ReviewVerdict.
func (ReviewVerdict) Indexes ¶ added in v1.35.0
func (ReviewVerdict) Indexes() []ent.Index
Indexes of the ReviewVerdict.
type SessionGoal ¶ added in v1.35.0
SessionGoal holds the schema definition for the SessionGoal entity. Stores the current goal, status, and task tree for a session (1:1 per session).
func (SessionGoal) Edges ¶ added in v1.35.0
func (SessionGoal) Edges() []ent.Edge
Edges of the SessionGoal.
func (SessionGoal) Fields ¶ added in v1.35.0
func (SessionGoal) Fields() []ent.Field
Fields of the SessionGoal.
func (SessionGoal) Indexes ¶ added in v1.35.0
func (SessionGoal) Indexes() []ent.Index
Indexes of the SessionGoal.
type SessionSummary ¶ added in v1.41.0
SessionSummary holds the schema definition for the SessionSummary entity — an automatically-generated, durably-persisted completion summary for a session. Deliberately has no Edges() method: session_id is a plain (non-edge) unique string field, not an edge.From(...).Unique().Required() back to Session, so this row survives Session row deletion by construction (ADR-001/ADR-002 — see implementation/plan.md's Pattern Decisions "ent persistence shape" row).
func (SessionSummary) Fields ¶ added in v1.41.0
func (SessionSummary) Fields() []ent.Field
Fields of the SessionSummary.
func (SessionSummary) Indexes ¶ added in v1.41.0
func (SessionSummary) Indexes() []ent.Index
Indexes of the SessionSummary. session_id does not need its own index.Fields("session_id") entry — its Unique() field definition above already makes ent generate a unique index over that column; an explicit entry here would be a second, redundant, non-unique index over the same column.
type Shell ¶ added in v1.35.0
Shell holds the schema definition for the Shell entity. A Shell is an independent sibling tmux session attached to a parent Session. Each shell is named {parentPrefix}_shell_{shellUUID} in tmux.
type SourceSyncEvent ¶ added in v1.35.0
SourceSyncEvent holds the schema definition for the SourceSyncEvent entity.
func (SourceSyncEvent) Edges ¶ added in v1.35.0
func (SourceSyncEvent) Edges() []ent.Edge
Edges of the SourceSyncEvent.
func (SourceSyncEvent) Fields ¶ added in v1.35.0
func (SourceSyncEvent) Fields() []ent.Field
Fields of the SourceSyncEvent.
func (SourceSyncEvent) Indexes ¶ added in v1.35.0
func (SourceSyncEvent) Indexes() []ent.Index
Indexes of the SourceSyncEvent.
Source Files
¶
- analytics_event.go
- approvalrule.go
- backlog_item.go
- backlog_status_event.go
- backlog_stuck_state.go
- backlogprogressnote.go
- classificationanalytics.go
- claudemetadata.go
- claudesession.go
- diffstats.go
- error_event.go
- escape_event.go
- item_session.go
- item_source.go
- pipeline_mode.go
- project.go
- review_verdict.go
- session.go
- session_goal.go
- session_summary.go
- shell.go
- source_sync_event.go
- tag.go
- workflow.go
- worktree.go