Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Users = database.Manage(DB, new(User)) Repositories = database.Manage(DB, new(Repository)) Domains = database.Manage(DB, new(Domain)) Conversations = database.Manage(DB, new(Conversation)) Tasks = database.Manage(DB, new(Task)) LogEntries = database.Manage(DB, new(LogEntry)) Plans = database.Manage(DB, new(Plan)) )
View Source
var DB = engines.NewAuto()
Functions ¶
This section is empty.
Types ¶
type Conversation ¶
Conversation stores an AI agent chat session.
type Domain ¶
type Domain struct {
database.Model
Host string // Full domain (e.g., "app1.congo.gg")
Target string // Container name (e.g., "myapp-api")
Port int // Container port
ContainerName string // Links to service container (e.g., "myapp-api")
Active bool
System bool // System routes (dashboard) are not deletable
}
Domain represents a domain route mapping for reverse proxy.
type LogEntry ¶
type LogEntry struct {
database.Model
Type string // work, morning, alert, system, deploy
Summary string
Detail string
Author string // twin, connor, system
}
LogEntry is a structured activity log from the twin or the system.
type Plan ¶
type Plan struct {
database.Model
Name string
Description string
Status string // draft, proposed, approved, done, rejected
Criteria string // acceptance criteria
Blocked string // blocked items
}
Plan is a design document that can be approved or rejected.
type Repository ¶
type Repository struct {
database.Model
Name string
URL string
Path string // On-disk path
Branch string
Status string // cloned/discovered/missing/error
StatusDetail string // clean/modified/ahead
}
Repository represents a git repository on disk.
func (*Repository) ShortURL ¶
func (r *Repository) ShortURL() string
ShortURL returns a shortened display version of the git URL.
type Task ¶
type Task struct {
database.Model
Title string
Description string
Priority string // high, medium, low
Status string // todo, in_progress, done, blocked
Blocked string // reason if blocked
Assignee string // twin, connor, or empty
Category string // domains, ping, congo, infra, etc
}
Task is a structured work item with priority and assignment. Replaces the overloaded Activity model for task tracking.
Click to show internal directories.
Click to hide internal directories.