Team conventions
How a team works on a Spine project, as distinct from how Spine works. The framework is deliberately silent about most of this — these are the project's own answers, and this page says where each one lives.
The division of ownership
| What | Who owns it | Where it lives |
|---|---|---|
| Framework rules (boundary, admin-data only, design_schema contract) | the framework | AGENTS.md above spine-framework:end — overwritten by upgrade |
| Your team's rules | the project | AGENTS.md below the end marker — mergeAgentsFile preserves it verbatim across upgrades |
| Environment ladder (what "ship it" means) | the project | ## Environments in that same region — see tasks/declare-your-environments.md |
| Why-decisions that outlive the code comment | whoever made the call | custom/decisions/ — never touched by upgrades |
| App-owned decisions for a packaged app | the app's maintainers | custom/apps/<slug>/decisions/ — overwritten when the app package upgrades, so don't hand-write there |
Two consequences worth internalizing:
- The
AGENTS.mdcustomer region is the project's constitution. Team rules, the environment ladder, conventions like "we always seed before staging" — they all live belowspine-framework:end, where upgrades can't reach them and every agent reads them first. custom/decisions/is yours;custom/apps/<slug>/decisions/is the package's. A decision record you write under an app package is lost on its next update — same rule as.framework/files.
Branch → ladder flow
The convention the shipped machinery assumes:
- Work happens on branches/the checkout; the local rung's gate (
typecheck,test,verify— or stricter, as your## Environmentssays) defines "green." - Merge/push to
mainpromotes to the next rung — typically a staging deploy via git push. - Each rung's
Gate/Post-landingdefines done-ness; the**Hand-off: stop**rung is where automation halts and a human decides on release.
If your team's flow differs (release trains, review gates, no staging), the ladder is where you say so — not tribal knowledge.
Review expectations the tooling encodes
- Docs are part of the change. Editing a file in a page's
source_fileswithout re-verifying that page makes the commit incomplete —docs:release-check --affectedcatches it at release. - Decision records are
proposeduntil a human accepts them. An agent captures; the owner decides.verify:decisionsenforces the shape, not the judgment. migrateon a shared database is a team event. Apply locally freely; on a shared dev project, coordinate first (seeguide/06-join-an-existing-project.md).
What the framework won't decide for you
Review etiquette, branch naming, who may release, support rota — all yours. Write them once, below the end marker, and every agent on the project inherits them.