Documentation
¶
Overview ¶
Package feed provides the feed daemon that curates raw events into a user-facing feed.
The curator: 1. Tails ~/gt/.events.jsonl (raw events) 2. Filters by visibility tag (drops audit-only events) 3. Deduplicates repeated updates (5 molecule updates → "agent active") 4. Aggregates related events (3 issues closed → "batch complete") 5. Writes curated events to ~/gt/.feed.jsonl
Index ¶
Constants ¶
View Source
const FeedFile = ".feed.jsonl"
FeedFile is the name of the curated feed file.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Curator ¶
type Curator struct {
// contains filtered or unexported fields
}
Curator manages the feed curation process.
type FeedEvent ¶
type FeedEvent struct {
Timestamp string `json:"ts"`
Source string `json:"source"`
Type string `json:"type"`
Actor string `json:"actor"`
Summary string `json:"summary"`
Payload map[string]interface{} `json:"payload,omitempty"`
Count int `json:"count,omitempty"` // For aggregated events
}
FeedEvent is the structure of events written to the feed.
Click to show internal directories.
Click to hide internal directories.