Skip to content

Commit 0a403f1

Browse files
authored
Merge branch 'main' into changeset-release/main
2 parents 20a29fe + f670efe commit 0a403f1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ Gate behind flags in `packages/agent-core/src/flags/registry.ts`. Check: `flags.
8989

9090
## Workflow
9191

92+
- **Never commit to `main` directly.** Every change lands through a pull request: branch, push the
93+
branch, open a PR, get the checks green, then merge. `main` enforces this for everyone including
94+
admins, so a direct push is rejected outright (`GH006`) — do not try to work around it with
95+
`--admin`, `--no-verify`, or a force push.
96+
- A PR is mergeable only when all six required checks pass (`build`, `test`, `lint`, `typecheck`,
97+
`nix build .#pythinker-code`, `Check flake.nix workspace sync`), every review conversation is
98+
resolved, and the branch is up to date with `main`.
9299
- Prefer `rg` / `rg --files` for code reading.
93100
- Follow existing boundaries and local patterns.
94101
- Replace internal identifiers with neutral placeholders in public text/test data. Audit diffs before PRs.

0 commit comments

Comments
 (0)