Repository navigation
docs: land fleet work by direct commits to main #2304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,6 +67,27 @@ surfaced bugs found while working here go into this repository's GitHub | |
| issues instead. See `CONTRIBUTING.md` under "Known Issues Sweep" for the | ||
| full convention (including the cross-component sweep in the platform repo). | ||
|
|
||
| ## Landing changes: one PR per change, self-merged (MANDATORY) | ||
|
|
||
| Owner policy (2026-11-09), matching `~/.claude/AGENTS.md` §1d except that | ||
| `main` has a ruleset requiring a PR (0 approvals), so the PR is the landing | ||
| mechanism, not a review gate. | ||
|
|
||
| 1. Staged-diff review: 2 adversarial passes by the same cold, non-author | ||
| reviewer, and local tests green at the staged tree. | ||
| 2. Open ONE PR per landed change, with `Closes #<N>` for each issue it | ||
| resolves; every commit at most 400 additions plus deletions. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clarify the commit limit for squash merges. Two PR commits can each change 300 lines, while their squash commit changes 600 lines. The required squash merge would then violate the stated limit for every commit. (docs.github.com) Specify whether the limit applies only to PR branch commits or also to the landed commit.
|
||
| 3. Merge it yourself as soon as the required checks (CI Success, Run | ||
| pre-commit hooks) are green: | ||
| `gh pr merge --squash --match-head-commit <sha>`. Squash only; review | ||
| threads resolved and the branch up to date. Never `--admin`. | ||
| 4. No cold-approval gate, no second-reviewer round, no PR cap. Watch main | ||
| CI after the merge; fix a red main at once. | ||
|
|
||
| Outside-contributor and fork PRs are still reviewed and merged through | ||
| their PR under the "Review gate" below. Secrets and public-content rules | ||
| are unchanged. | ||
|
|
||
| ## Issue assignment: claim before you work (MANDATORY) | ||
|
|
||
| Several people (and their agents) work through this repo's issue queue in | ||
|
|
@@ -267,6 +288,9 @@ prompt verbatim. | |
|
|
||
| ## Review gate | ||
|
|
||
| Applies to outside-contributor and fork PRs. Fleet PRs follow "Landing | ||
| changes" above. | ||
|
|
||
| Merge only at the reviewed SHA, and only when all of these cover it: | ||
|
|
||
| - An independent adversarial review of the full PR diff by an available | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Require review of the final changes.
A follow-up commit or conflict resolution can change the PR after these passes. The policy then permits merging without reviewing those changes.
--match-head-commitchecks the supplied SHA, but does not establish that the reviewer examined it. (cli.github.com)Require review of subsequent changes and tie the reviewed tree to the merged head.