PromptReports
← All postsMemory

Agents that learn from each other: session history, file claims and handoffs in RepoOps

How RepoOps will let a team search every agent session, choose who sees each one, keep two agents off the same file, and hand work between agents.

A team of coding agents forgets a lot. One agent spends an hour on a bug, rules out two fixes, and finds the third. The next morning a teammate’s agent meets the same bug and tries the same two fixes. Nothing it can read says they failed.

RepoOps now has the parts to change that. Each one is built and off until a team switches it on, and none of it runs for customers yet. This post says what each part will do when it does.

Every agent’s sessions, masked before upload

RepoOps keeps the full transcript of a Claude Code session today: prompts, tool calls and tool results. For Codex CLI, Gemini CLI, Cursor and Copilot CLI it keeps the files touched and the timing, with no prompt text. Four new readers will keep the full transcript for those agents too.

Every turn passes through the same redaction as a Claude Code turn before it leaves the machine, so secrets are masked before upload. History import will backfill 13 months of past sessions, after a consent prompt.

Search what the team already tried

Those masked transcripts become the team’s session history. A search box, and two MCP tools for agents, search_sessions and get_session_turns, will search it by keyword and by meaning.

Each hit will carry the commit, pull request and deploy that came out of the session, and any production error traced back to it. So the agent that meets yesterday’s bug will find the session that fixed it, see the two fixes that failed, and see whether the fix that shipped broke anything. Results will leave out any session the caller may not open.

That is the point of the whole set: every agent starts from what the team already learned. The use case Find what another agent already tried walks through it.

Who can open a session

Each session will have a visibility: private (its author), project (people with access to the repo in RepoOps) or team. Solo accounts and new teams start private. An admin sets the team default, and a change to it applies to sessions captured after the change. Earlier sessions keep their level.

The author has the last word on their own work. They can set any of their sessions to private, and an admin cannot raise it again. Every time someone opens another person’s transcript, RepoOps logs who and when, and the author can read that log.

See what leaves your machine

A security reviewer will ask what the capture client sends. RepoOps will answer in two ways. The command repoops capture preview will print the masked payload of the next upload and send nothing. A page on repoops.ai, “What leaves your machine”, will list what each tier sends, what redaction masks and who can open an upload at each visibility. A script writes the page from the redaction rules, and a test fails if the rules change and the page does not.

Keep two agents off the same file

RepoOps already lets sessions on one machine claim files. With hosted coordination on, claim_files, release_claim and check_session_overlap will work across machines through the team relay, scoped to a repo and branch.

The relay will see each file path as a hash salted per team, which is enough to spot two sessions on one file without learning its name. A team that wants people to see file names can turn on sharing file paths. A claim lapses when its time runs out or its session stops, so a crashed session holds nothing.

The repoops guard pre-commit hook will warn when a staged file carries another session’s claim. A team can set it to block instead, for exclusive claims. See Stop two agents editing the same file.

Hand the work to a teammate’s agent

The person who picks up a task often runs a different agent from the person who started it. repoops handoff <session> --to <format> will write a resume file that Claude Code, Codex or Gemini CLI opens in its own format. It carries the recap, the files changed, the open questions, the approaches tried and ruled out, and links to the source session and its commits.

A teammate can take a handoff for a session they can see, and RepoOps logs the handoff on the source session. See Hand a session to a teammate’s agent.

What it costs

Searching session history and claiming files count no workflow request, because neither is a workflow run.

What is built and what is not

All of the above is built and merged in RepoOps. Each part is off until a team switches it on, and none has passed its production check yet.

AS
Post record
AI Source of Truth verdict for record ed3e6755d392