docs: document enterprise.pin workflow in root AGENTS.md (#36200)

* docs: document enterprise.pin workflow in root AGENTS.md

* docs: add bash language tag to fenced code block in AGENTS.md
This commit is contained in:
Jesse Hallam
2026-04-22 12:25:12 -03:00
committed by GitHub
parent 65500cc820
commit b63e32057d
+15
View File
@@ -0,0 +1,15 @@
# AGENTS.md
## enterprise.pin
`enterprise.pin` records the enterprise commit SHA that this server branch is tested against. It keeps server and enterprise branches in sync across CI and local development.
**During development of an enterprise feature:** manually set `enterprise.pin` to the HEAD commit of your corresponding enterprise feature branch. This ensures CI tests this server branch against the correct enterprise code.
**After the enterprise pull request is merged:** update the pin to the enterprise repository HEAD by running:
```bash
cd server && make bump-enterprise
```
This requires the enterprise directory to be present (configured via `BUILD_ENTERPRISE_DIR`). Commit the updated `enterprise.pin` as part of your server pull request.