Documentation
¶
Overview ¶
Reviews of a session for what to keep: each one a run of the runner host in a session that starts from the session reviewed, with only the memory and skill tools, file reading and search and the tools the profile adds, which tells the session what it saved once it ended
Index ¶
- Constants
- func Saved(messages []*sessionsv1.Message, mode string) []string
- func SavedNote(lines []string, verbose bool) string
- type Review
- type Reviews
- func (r *Reviews) Called(session, tool string)
- func (r *Reviews) Of(session string) (Review, bool)
- func (*Reviews) Sources() []runner.Source
- func (r *Reviews) Start(cfg *config.Config, session string, scope Scope, focus string, attended bool) (bool, error)
- func (r *Reviews) Stop(profile string) error
- func (r *Reviews) Tick(cfg *config.Config, session string)
- type Scope
Constants ¶
const Source = "memory_review"
Source of the runs that review a session, whose turns memory never keeps
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Review ¶
type Review struct {
// Session it reviews, which its writes are for
Session string
// The user asked for it, so what it deletes is not held for approval
Attended bool
}
A review going on, as the memory tool sees it
type Reviews ¶
type Reviews struct {
// contains filtered or unexported fields
}
The reviews of every session, each run through the runner host on the model the review task is held to
func (*Reviews) Called ¶
Counts a call of the session: the memory tool and skill_manage reset what the reviews wait for, every other call counts toward a review of the skills
func (*Reviews) Of ¶
The review whose run goes on in the session, false for a session no review runs in
func (*Reviews) Start ¶
func (r *Reviews) Start(cfg *config.Config, session string, scope Scope, focus string, attended bool) (bool, error)
Starts a review of the session in the background, one at a time for a session; one the user did not ask for waits while the session replies, as the profile says. False when one runs already