Repository navigation
feat(rivet-memory): add share-sessions skill - #1244
Closed
philbert440 wants to merge 3 commits into
Closed
philbert440 wants to merge 3 commits into
philbert440 wants to merge 3 commits into
Conversation
Sharing sessions took four MCP tool calls plus a hand edit of the review report, and nothing made the agent stop before a bundle left the machine. The skill chains session_find, session_export, session_sanitize with the decision pass and a dry-run session_import. It walks every flag with the user by number, writes only the Mark lines, and runs the resolve. It ends by printing the ingest-bundle command for the team server, or the bundle path to send to a person. It never sends anything itself and never reads flagged text into the captured session.
…ssions The capture gateway authenticates with a bearer token, not a client certificate. The config section has url, ca and token.
The share flow changed: no raw bundle is ever written, and a denied session never leaves the store. session_export is gone from MCP, and session_sanitize now reads the chosen sessions from the store with a per-session decision. The skill now asks the user to approve, redact (exact terms and/or drop tool outputs) or deny each listed session, shows the full table and waits for one confirm before it sanitizes. The final summary lists the denied sessions. Flag session numbers follow the bundle's order, so the skill no longer guesses a flag's text from the find excerpts.
Owner
Author
|
Closing: the share-sessions skill now lives in Rivethub/rstack, updated to hand off to the desktop Share screen; #1245 removes the rivetOS copies. |
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.
Why
Sharing captured sessions takes several MCP tool calls and a hand edit of the review report. Nothing made the agent stop before a bundle left the machine. The
share-sessionsskill runs the flow end to end and stops at a printed command that the user runs.What changed
integrations/claude-code/rivet-memory/skills/share-sessions/SKILL.mdadds the skill. It finds sessions withsession_find. The user approves, redacts (exact terms, dropped tool outputs, or both) or denies each one. Then the skill shows the full table and waits for one confirm.session_sanitizewith the per-session decisions and the decision pass. No raw bundle is ever written. Then it walks each flag by number, writes only the Mark lines, runsrh memory sanitize --resolve, and checks for zero open flags with a dry-runsession_import.rh memory ingest-bundlecommand for therivet-teamgateway, or with the bundle path to send to a person. It lists the denied sessions. It never sends anything itself, and it never reads flagged text into the captured session.Scope
session_*tools torh mcp. Until chore(publish): align packages to 0.4.0-beta.2 + fix missing undici deps #123 lands, the skill loads, but those tools are not there.Blast radius
The change adds one skill file and no code. The skill starts only on share requests. The MCP tools have no way to send a bundle.
Verification
claude plugin validatepasses. It shows the same 7 warnings asmain, none of them in the new skill.claude -p --plugin-dir <branch>in a throwaway HOME, againstrhbuilt from chore(publish): align packages to 0.4.0-beta.2 + fix missing undici deps #123 at 5accc672, with seeded Postgres and a stub decision model. These lanes pass:from phil