Skip to content
Discussion options

You must be logged in to vote

this is a known pain point. compaction summarizes the conversation to save tokens, and the summarizer doesn't know which facts are critical vs disposable. your deploy IP is "context" to the model, same as any other sentence that got said 40 messages ago.

the file-write workaround you're doing is actually the most reliable pattern. I do the same thing — write state to a scratchpad file and tell the agent to read it when needed.

slightly less clunky version: at the start of a session, create a session-state.md and tell goose "write any fact I mark as important to session-state.md, and re-read it after compaction." it's still manual but at least the agent handles the file I/O instead of you.

.…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by centranoisacs
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants