Repository navigation
feat(honcho): add honcho memory integration - #3954
taciturnaxolotl wants to merge 9 commits into
Conversation
8421e21 to
c2ec59f
Compare
160e9e1 to
11e0b7a
Compare
9ba7d18 to
043a791
Compare
|
@taciturnaxolotl I've been running this patch on a locally built crush with my self-hosted Honcho v3. One bug I encountered was I've been running a local patch on top of yours that sets |
2fd6cfb to
757e47c
Compare
|
I'm so glad its been working well for you! I added your patch to the pr so let me know if that works for you |
ccccdab to
e7739e1
Compare
3af5aeb to
9b11117
Compare
9f73d12 to
c595ed3
Compare
|
While wiring a local
Fix for both is in vshulcz@ac0fc11, and the read-only local |
18aa232 to
26e04e6
Compare
Adds the configuration surface for Honcho memory in both the shell config format and JSON: credentials, workspace, session strategy, and the knobs that control how much is recalled.
Adds the API client, browser sign-in, credential storage, and the rules that decide which workspace and conversation a project's memory belongs to. Credentials are shared with other tools that talk to the same service, so signing in once is enough.
Turns a tool call into a one-line note of what was done, skipping reads and trivial commands that say nothing durable. Any argument that looks like a credential causes the whole argument list to be dropped, so tokens and passwords never leave the machine.
Adds the service that writes each turn to memory in the background and reads context back. Writes never block a reply and are dropped rather than queued without bound. Reads are split in two: a snapshot fixed for the session, and fresh recall for the question at hand, kept apart so that remembering does not spoil prompt caching.
Adds tools for looking up past messages, asking questions about the user, saving a conclusion worth keeping, and checking whether memory is working. A guide telling the assistant when to reach for them is hidden unless memory is configured, so nobody pays for instructions about a feature they have not turned on.
Wires memory into the conversation loop: past turns are recorded, a stable summary rides in the system prompt, and anything relevant to the current question is added at the end of the conversation where it will not spoil caching. Sub-agents read memory but never write to it, since their prompts are scaffolding rather than things anyone said. Memory is reached through a lookup rather than a value fixed at startup, so connecting or disconnecting takes effect immediately instead of at the next launch. scratch: inspect conflicts wip: resolve gating conflicts resolve r2
Adds `crush login honcho` and `crush logout honcho`. Signing out leaves stored memory alone, so signing back in finds it all still there. scratch: resolve cli tmp-resolve-yk
Adds sign-in and sign-out entries to the palette. Both take effect on the spot: the assistant picks up memory, or stops using it, without anyone having to restart. scratch: resolve ui tmp
Covers what is sent, what is kept on the machine, how to self-host, and what to check when memory seems not to be working.
26e04e6 to
e31acaf
Compare
Adds the honcho memory integration with full oauth support