Bug
- A person opens a Linear issue with the steps, the expected result, the actual result, and whether it was staging or production.
- If the fix needs a product or design choice, follow feature.md.
- Otherwise the agent prints the route banner, waits for a yes, branches from
mainasfix/<ticket>-<short-slug>, writes.sdlc/intent.yaml, writes a failing test, then the fix. A new chat reads that file and continues. - The pull request into
mainhas the Linear link, the reproduction, and the test name. - The agent prints the ship card and stops. The card is
git push origin <branch>:staging, do not mergemainintostaging, and a pull request frommainintoproduction. It also prints the rollback line: a revert onmain, not an older image. The agent does not pushstagingunless the developer asks. - The developer squash-merges as
fix: <ticket> <short summary>. To check staging they push the fix branch directly tostaging. They do not mergemainintostaging. Production is a pull request frommainintoproduction. - The issue is Done when production has applied.
A production bug uses this path. If the fix needs a cloud resource, the agent opens the infra pull request in the same chat and writes the test only after the developer says that pull request has merged. A rollback is a revert merged to main, then a pull request from main into production. Staging is updated by pushing the revert branch directly to staging.