Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Part of #338.
Problem
A browser session deletes its Chrome profile at teardown. An agent that needs a logged-in dashboard makes the user log in again in every session.
Acceptance criteria
pickforge-lab session create --type browser --profile <name>and the MCPsession_createtool accept a profile name. The session uses~/.pickforge/lab/profiles/<name>as its Chrome user data directory.- Profile names are short and safe for paths, for example
[a-z0-9][a-z0-9-]{0,31}. Other names fail with a clear error. - Pickforge creates the directory with mode 0700. It refuses a profile directory that is a symlink, belongs to another user, or is readable by others.
- Teardown, crash recovery and the reaper never delete a named profile. Sessions without
--profilekeep today's ephemeral profile. - Only one live session can use a profile. A second session with the same profile fails and names the session that holds it. The hold ends at teardown and is recoverable after a crash.
- Chrome singleton files left by a crashed session do not block the next session.
pickforge-lab profile listshows each profile's name, size, last use, and the session that holds it, if any.pickforge-lab profile delete <name>refuses while a session holds the profile. MCP gets a read-only profile list and no delete.- Docs explain what a profile stores, how Chrome protects cookies without a keyring on Linux, and why users should keep banking, payment and main email accounts out of agent profiles.
Checklist
- Profile resolution, validation and permissions
- Session lock and crash recovery
- Teardown and reaper keep named profiles
- CLI
--profile,profile list,profile delete; MCPsession_createprofile and profile list - Tests, including symlink, permission and concurrent-use refusals
- README, SECURITY.md and
docs/releases/UNRELEASED.md
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity