Documentation
¶
Overview ¶
Package reflect runs the post-task learning pass: it asks the model to distill durable lessons from a finished transcript and returns them as pitfalls for the knowledge base. Parse failures yield no lessons (not an error); only a transport failure surfaces as ReflectionError.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lessons ¶ added in v0.4.2
Lessons is what a reflection pass distills: environment-general tool pitfalls (saved to the global knowledge base) and durable facts about THIS project (saved per workspace, folded into the prompt next time).
type ReflectionError ¶
type ReflectionError struct{ Err error }
ReflectionError wraps a host-level failure of the reflection pass (the model call itself failing).
func (*ReflectionError) Error ¶
func (e *ReflectionError) Error() string
func (*ReflectionError) Unwrap ¶
func (e *ReflectionError) Unwrap() error