Skip to main content

corgi agent scope

corgi agent scope

The contract a ticket's change stays inside: paths, a diff budget, done-when

Synopsis

A scope is written once the spec is agreed and enforced while the session runs: a write outside its paths is refused with the way to widen; a diff over its budget is reported once at the end of the turn, not found at review. Both hooks are installed by corgi agent track enable and silent on a branch with no scope.

corgi agent scope set ABC-123 --path "api/limits/" --path "web/src/limits/" \ --lines 400 --tests 2 --done "429 carries Retry-After" --done "banner on the web" corgi agent scope add ABC-123 --path "shared/types.ts" # widen, on the record corgi agent scope show [ABC-123] corgi agent scope clear ABC-123

Options

-h, --help help for scope

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

Auto generated by spf13/cobra on 20-Sep-2026