Repository navigation
feat(core): deny a Claude crew worker the lead's saved transcript - #530
Open
kinqsradio wants to merge 6 commits into
Open
kinqsradio wants to merge 6 commits into
kinqsradio wants to merge 6 commits into
Conversation
A Claude worker's profile now denies reading and writing Claude's saved conversations except its own session, and the prompt history. A first turn starts under a --session-id the core chose, so the allowance names it before it exists. Refs #441.
A link planted at a missing project folder or at projects is no longer allowed, a linked projects or history.jsonl refuses the worker, and a non-Claude worker gets the folder closed with no allowance. Refs #441.
…create The profile cannot tell a renamed-in directory from a new one, so the core makes projects and the project folder and the worker may create only its own session. A configuration folder through a link, or an uncertain start folder name, refuses the worker. Refs #441.
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.
Summary
~/.claude/projects), norhistory.jsonl. Its own session still works.projectsfolder with one allowance by pattern for the worker's own session id, so a transcript created after the worker started stays denied.--session-id <uuid>chosen by the core, so the allowance names the session before it exists. A folder that does not resolve, overlaps the data folder, or a bad id refuses the worker with a plain line.projectsand the project folder for the start folder (mode 0700) before launch, and the profile allows no create there: a prepared tree with a link inside cannot be renamed in. The worker can create only its own<id>.jsonland<id>/. A start folder whose Claude name is uncertain (non-ASCII, 200+ characters) refuses the worker.projectsorhistory.jsonl, refuses the worker.projectsandhistory.jsonlclosed with no allowance; an ACP adapter wrapping Claude Code may not run as a worker until it can take--session-id.~/.codex/sessions, SQLite state and logs) are not covered, acceptable only because Codex workers stay refused (CODEX_WORKERS_ALLOWEDfalse) until a separate probe.<id>.jsonland<id>/in any existing project folder, so one it wrote can appear in another project's resume list.~/.claude.json, auto memory is closed. The answer key as a whole is not claimed protected.Refs #441
Parity rows
none
Frames built
Frames built: none
Testing
projects; none of those tests passes if the create allowance is restored; folder and parents cannot be renamed or linked around; linked config folder refuses the worker; a non-Claude worker reads none of it.--session-idwrites its own session,--resumeof it works,--resumeof another session in the same folder fails "No conversation found"./clear) under the profile; Codex and ACP engines.Co-authors
none
AI usage
Checklist
web/src/generatedwith any contract change;docs/architecture.mdwith any rule change