Documentation
¶
Index ¶
Constants ¶
const ( OutcomeGiven = "given" OutcomeBlocked = "blocked" OutcomeCut = "cut" OutcomeRepeated = "repeated" )
Outcomes of a hint, as monitoring counts them
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Given ¶
type Given struct {
// Hints given, those held back as they looked like instructions slipped in by someone else, and those cut to what a hint keeps
Hints, Blocked, Cut int
// Instruction files the newest hints were of, newest last
Recent []string
}
What came of the hints since icebath started
type Hints ¶
type Hints struct {
// contains filtered or unexported fields
}
The hints of the folders the agent's work first enters in each session: the instruction files of a folder a tool call reaches for the first time, and of the folders between it and the session's own, added after the call's result, never to the system prompt, which so stays as the provider's prompt cache holds it
func (*Hints) Add ¶
Hints of the folders the call reaches for the first time in its session, and of those between each and the session's folder, the deepest first: what a tool says of the paths it works on, the path arguments any tool takes, and for a shell the folders a command moves to and the paths it names. Nothing where the settings turn hints or project rules off, or for a call of no session
func (*Hints) Compacted ¶
Forgets what the session was hinted once its context is compacted, so a hint the summary folded away is given again on the next visit