corgi agent lesson
corgi agent lesson
What this workspace learned the hard way — read by every new session
Synopsis
A lesson is one line: the review that said line 40 was wrong, the check
that stayed red, the rule nobody wrote down. They live in
<agentDir>/lessons/<workspace>.md, outside the repository, and the SessionStart
context hook tells a new session how many there are and where.
corgi agent lesson add "never mock the database in api tests" corgi agent lesson list corgi agent watch enable --lessons # the daemon writes reviews, red gates, failed bots
Options
-h, --help help for lesson
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
- corgi agent lesson add - Write one lesson for this workspace
- corgi agent lesson list - Every lesson for this workspace, oldest first
- corgi agent lesson promote - Write lesson n into the workspace's CLAUDE.md, where every session reads it