Document main branch deployment discipline
This commit is contained in:
parent
91422ddac4
commit
c7ff9d81f3
1 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,11 @@
|
||||||
# AGENTS.md
|
# AGENTS.md
|
||||||
|
|
||||||
|
## Deployment Branch Discipline
|
||||||
|
|
||||||
|
- If this repo has deployment actions wired to `main`, do not create or stay on a feature branch for deployment-facing site work unless the user explicitly asks for branch-only work.
|
||||||
|
- Before telling the user a site change is live or ready to verify on the deployed site, confirm the change is on the branch the deployment action actually watches.
|
||||||
|
- Treat "works locally but the deployed page is empty/stale" as a possible branch/deployment ownership failure before continuing CSS or runtime debugging.
|
||||||
|
|
||||||
## Layout Debugging
|
## Layout Debugging
|
||||||
|
|
||||||
- When a CSS/layout fix is not behaving as expected, inspect the live DOM before guessing again.
|
- When a CSS/layout fix is not behaving as expected, inspect the live DOM before guessing again.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue