corgi agent claim
corgi agent claim
Say which files this session is on, so another session in the repository is told
Synopsis
A claim is advisory: "these files are mine for now". A session that starts in the same repository reads the claims in its context and stays off those files or asks first; the daemon rings once when a session edits a file another one claimed. Nothing is locked. A claim ends with --release, when its session leaves the board, or after a day.
Inside a session (a hook, a tool call) the session is known; elsewhere say --session, or run it in the session's checkout.
corgi agent claim auth/refresh.go auth/session.go corgi agent claim --release auth/session.go corgi agent claim --release # all of this session's corgi agent claims # who holds what
corgi agent claim <file>... [--session <id>] [--release] [flags]
Options
-h, --help help for claim
--release Give the files back — the ones named, or all of this session's
--session string The session the claim is for (default: the one this runs inside, or whose checkout this is)
Options inherited from parent commands
--describe Describe contents of corgi-compose file
--dockerContext string Specify docker context to use, can be default,orbctl,colima (default "default")
-l, --exampleList List examples to choose from. Click on any example to download it
-f, --filename string Custom filepath for for corgi-compose
--fromScratch Clean the .corgi/corgi_services folder before running
-t, --fromTemplate string Create corgi service from template url
--fromTemplateName string Create corgi service from template name and url
-g, --global Use global path to one of the services
--interactive Force interactive prompts even when no TTY/agent detected
--isolate string Run this workspace under a named lease: own port block, own database names, own containers
--json Emit machine-readable JSON output
--privateToken string Private token for private repositories to download files
-o, --runOnce Run corgi once and exit
--silent Hide all welcome messages
SEE ALSO
- corgi agent - Keep Claude Code Remote Control running for your corgi workspaces