Repository navigation
Conversation
A vault keeps secrets beside its entries: a name (an environment
variable's), a value and a note. An agent sees a secret's name and note,
never its value, which only the person reads, on the vault's page.
Use secrets gives the named secrets to a sandbox command as environment
variables (sandbox_exec {secrets}), and what the command writes back has
each value shown as [secret NAME]; Save secrets adds, replaces and
deletes them without reading any back. Both are off by default.
…immed What a sandbox command writes back now has the values of every secret the agent may use shown by their names, not only those the call asked for: a value one command wrote to a file, another may print. Masking keeps a value out of the agent's answers by accident; an agent set on reading what its command is given can always, which the comments, the agent's instructions and the secret's dialog now say. A secret's value is kept without the spaces and line breaks around it, which a paste brings along and a command's output may leave off.
hkonsti
force-pushed
the
memory-notes
branch
from
November 21, 2026 04:25
e945785 to
162bdea
Compare
Masking replaces every value in one pass, so a short secret's value is never found again inside the [secret NAME] shown for a longer one. A secret that can't be read is left out of what a command is given and masked with, and logged, rather than failing every sandbox command of every agent that may use the vault's secrets. One name asked for from two vaults is refused: a command has one variable of each name, and the second would quietly replace the first. A secret's name is checked against the vault's others as it is written, with the vault's other writes of secrets held off by a lock, so two at once can't both take a name and leave neither usable. Secret values are taken out of every tool's answer in one place, not in each kind of tool, so a command on such a record can't answer with one.
Each member has a Memory, the notes all their agents share, kept as a drive's files are, so every version stays and who wrote each is known. Every thread is given "About you" whole and an index of the other notes by their first lines; agents read the rest when needed (notes_get, notes_list) and keep what they learn with memory_write and memory_forget. With a memory, the vault holds the person's details rather than being the agents' memory. A member's Memory is made with their membership, as their vault, their Chat and their drive are: it is one of MEMBER_CONNECTIONS, and v077_make_memory_with_memberships makes it for the members there before. The person reads the notes on its page, with each note's history, what each version changed, and restore.
hkonsti
force-pushed
the
memory-notes
branch
from
November 21, 2026 20:03
162bdea to
d177d4c
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #361 (secrets in the vault). Adds Memory: notes agents keep for themselves, so the vault can go back to holding the person's details.
Memory
memory, one per member, shared by all their agents. Notes are stored like Files (FileNode,FileVersion,FileChange), so every version is kept and each change records which persona or agent wrote it, for which task. Like the member's vault, Chat and drive, it's made with their membership (MEMBER_CONNECTIONS), andv077_make_memory_with_membershipsmakes one for every existing member.notes_list {search}: full-text search over titles and note textnotes_getmemory_write {title, content, version?}: refused when the note changed since it was readmemory_forget: moves the note to the trashNot in this PR
Known issues from review
memoryInstructions→readNotes).nameOf,requireContent).readNotesreads every note's blob to serve one note or the index.Tests
Open workspace in Conductor