AGENTS.md: main is protected; the core team merges with --admin, contributors wait for review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm
This commit is contained in:
jyvikoandClaude Opus 5.5 authored and Irakli Kourtis committed 2026-10-14 07:47:56 -04:00
1 parent 152092cfb4
commit f1253b4010
1 file changed
+6 -3
+6 -3
View File
@@ -111,9 +111,12 @@ People trust FieldCraft with their models; a crash loses their work. **This outr
`git rebase -i --autosquash origin/main` (`GIT_SEQUENCE_EDITOR=true` keeps it `git rebase -i --autosquash origin/main` (`GIT_SEQUENCE_EDITOR=true` keeps it
non-interactive). A regenerated page goes into the commit that changed what it lists. non-interactive). A regenerated page goes into the commit that changed what it lists.
4. Rebase onto the latest `origin/main` (never merge `main` into a branch), rerun the tests of 4. Rebase onto the latest `origin/main` (never merge `main` into a branch), rerun the tests of
the touched crates, push, open the PR and merge it yourself with a rebase merge, which keeps the touched crates, push, open the PR and merge it with a rebase merge, which keeps `main`
`main` linear and every commit bisectable: `gh pr merge <N> --rebase --delete-branch`, run as linear and every commit bisectable. `main` is protected (CODEOWNERS review, linear history,
its own command. Never squash. Then remove your worktree and delete your local branch. rebase merges only); the core team merges as the maintainer with
`gh pr merge <N> --rebase --admin --delete-branch`, run as its own command. Outside
contributors' pull requests wait for the maintainer's review (CONTRIBUTING.md). Never squash.
Then remove your worktree and delete your local branch.
5. Never run the full gate locally: no `cargo xtask ci`, no `cargo clippy --workspace`, no 5. Never run the full gate locally: no `cargo xtask ci`, no `cargo clippy --workspace`, no
`cargo xtask wasm` or `oracle` unless step 2 calls for it. Never watch CI. GitHub CI runs `cargo xtask wasm` or `oracle` unless step 2 calls for it. Never watch CI. GitHub CI runs
`cargo xtask ci` (fmt, assets, licences, layers, clippy -D warnings, tests, wasm), the `cargo xtask ci` (fmt, assets, licences, layers, clippy -D warnings, tests, wasm), the