Skip to content

0.4.1: a sitting is sent with the key it was typed under, and the folder's path stays on the machine - #7

Merged
Blapi merged 2 commits into
mainfrom
release-0.4.1
Nov 13, 2026
Merged

Blapi merged 2 commits into
mainfrom
release-0.4.1

Conversation

@Blapi

@Blapi Blapi commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

What changes

  • A sitting is sent with the key it was typed under, and with no other. The plugin records, per session, the connection its prompts were typed under (a fingerprint of the key and the address). A prompt typed under another connection starts a new sitting, and a sitting whose connection is not the one in force stays on the machine, whichever way a send starts; $past:cut does not print it. So nothing typed before connecting is sent, and nothing typed under one project's key reaches another project. A session goes on from the prompt after $past:connect.
  • The folder's path is no longer sent. 0.4.0 sent it in metadata.cwd, while the README listed the project and branch names and nothing else. The project is the folder's name.
  • A session from before the plugin was installed, or before 0.4.1, has no record of connections: it is cut and sent as before, and $past:backfill still sends history.
  • hooks/hooks.json is untouched, so nobody's trust is reset.
  • The README's "What leaves your machine" says what is sent, the recall queries included.
  • Each sitting names the model it ran on and its reasoning effort (metadata.model, metadata.effort), read from the turn_context line Codex writes before each turn. They are metadata, outside the rendered content, so no hash changes and nothing already in past.dev is sent again.

Checked

Old script against new on a local stand-in for the Memory API, each in a throwaway home:

  • The same transcript, old and new: cut prints the same bytes, each request carries the same items (the path aside), and state.json keeps the same record. Nothing already in past.dev is sent again.
  • Typed under one key, then another key, then a prompt: only the second key's sitting goes, with the second key. Back on the first key, its own sitting goes and nothing else.
  • Typed before connecting, then connect, then a prompt: one sitting goes, the one after connecting. With 0.4.0 the earlier one went too.
  • A session that names its model and effort: each sitting carries them, and what is rendered is the same bytes as before.
  • The script parses on Node 14 and runs on Node 16 to 22.

Not run: inside a real agent session. The hooks were fed their input by hand.

🤖 Generated with Claude Code

Blapi and others added 2 commits November 13, 2026 10:38
…der's path stays on the machine

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@Blapi
Blapi marked this pull request as ready for review November 13, 2026 11:07
@Blapi
Blapi merged commit acbf7d8 into main Nov 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant