CLAUDE.md: per-issue claude/ branches, multi-PR, and PR label states#37
Merged
Conversation
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.
Updates the routine conventions in
CLAUDE.mdto match how we want the nightly routine to actually behave. Pairs with the updated routine prompt (shared separately) and the matching mortie PR. Docs-only — no code.What changed (all in
CLAUDE.md)§2 — Branching & PR workflow
claude/<issue#>-<kebab-topic>(andclaude/small-fixes-<YYYY-MM-DD>), so a PR can be continued across runs by pushing to its existing branch. Added an explicit instruction to ignore any single per-session branch the harness assigns. (lambdanever-push note retained.)pull_requesttrigger: aclaude/*branch is fully tested the moment its draft PR exists (and on each phase commit viasynchronize). Replaced thefeature/claude-*/fix/claude-*scoping language with theclaude/*namespace.blocked+Blocked by #N.§5 — Working issues by label
implement/small-fix: open or continue the PR on aclaude/<issue#>-<topic>branch and label the PRimplement. Animplementissue that already has a PR is represented by that PR.implement+ neitherwaiting/blocked= actionable;waiting= ball is in @espg's court (question, or all phases done awaiting review/merge), cleared when @espg responds;blocked= depends on an unmerged PR.§6 — Communication style
🤖 *from Claude (review)*under the @espg account is not an @espg directive — leave standing).Enforcement note
feature/claude-*/fix/claude-*to theclaude/*namespace (the platform default for routines); CI coverage attributed to the all-PRs trigger, not the branch prefix.Why
Two routine bugs traced to the old text: (1) the single-session-branch model + "stop after phase 1" blocked opening multiple PRs and continuing prior-run PRs (e.g. this repo's PR #33 went un-advanced); (2) the
feature/claude-*branch/scoping claims didn't match theclaude/*branches actually in use.Companion items (not in this PR)
waiting/blockedlabels (andimplementapplied to PRs) need to exist in the repo.Questions for review
claude/<issue#>-<topic>? (zagg CI already runs on every PR, so no prefix is needed for triggering.)claude/*scoping) — confirm that's intended.Generated by Claude Code