Documentation
¶
Overview ¶
Package reflection is descriptive statistics over long-term memory.
Where the mirror interprets ("here's a blind spot I notice"), reflection just counts: how much the assistant knows and of what kind, how sure it is, how the store has grown, what it leans on most, and which commitments have lingered longest. It is the plain, numeric floor beneath the interpretive layer — no model runs, every figure traces to a row, so it is instant, offline, and impossible to argue with. Compute the numbers here; narrate them elsewhere.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reflection ¶
type Reflection struct {
Total int `json:"total"`
ByKind []Count `json:"by_kind"`
ByProject []Count `json:"by_project"`
AvgConfidence float64 `json:"avg_confidence"`
HighConfidence int `json:"high_confidence"` // >= 0.8, things it's sure of
Hypotheses int `json:"hypotheses"` // < 0.6, hunches to corroborate
Growth []WeekCount `json:"growth"` // oldest week first
MostExercised []memory.Memory `json:"most_exercised"` // recalled most
LingeringLoops []secretary.Commitment `json:"lingering_loops"` // oldest open first
}
Reflection is the computed snapshot.
Click to show internal directories.
Click to hide internal directories.