Repository navigation
docs(agents): rebase onto main and run fork-check before pushing - #600
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What: AGENTS.md now tells agents to update branches from main by rebasing and to run
scripts/fork-check.shbefore pushing.Why: The rule lived only in
docs/fork.md, so agents merged main into branches or pushed unregistered upstream edits and CI's Fork Stack Model check failed (PR #584's first head, PR #591).So what: The user approved this exact line on 2026-10-20; the planner merges it once CI is green.
Problem
scripts/fork-check.shrejects merge commits in the fork stack and upstream files changed without registration, but AGENTS.md never pointed agents at it, so the failure only showed up in CI after a push.Change
One line in AGENTS.md "Pull requests", linking
docs/fork.md.Verification
bash scripts/fork-check.sh --upstream upstreamon this branch:fork-check: OK.Independent review exemption: this slice is solely a user-approved prose line (approved in the planner thread on 2026-10-20); self-review and fork-check applied.
Elon record
Requirements and who asked: User approved adding this line; observed CI failures on #584 and #591.
Deleted: Restating fork.md's rules in AGENTS.md.
Bottleneck: Agents discovering the fork-check rule before pushing.
Checked myself: Ran fork-check on this branch; read the two failing CI logs.
Model and harness: Claude Opus 5.5 via Claude Code in T3 Code.
🤖 Generated with Claude Code