You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Round 22 intel: Claude Code background sessions now commit and push before finishing, open a draft PR only when the task calls for one, and follow the git instructions in the repo's CLAUDE.md (commit message format, branch naming, PR conventions). Three details for the state machine: (1) the PR step is conditional on task type, not unconditional: a docs fix or experiment may end at push; (2) the repo's own git conventions are an input to the chain, so CLAUDE.md/AGENTS.md git instructions should be parsed and honored per project; (3) 'background' sessions doing this autonomously means the state machine needs the same gates: draft by default, human promotes.
Verified done. Pure decision function in src/nextGitAction.ts (suggestNextGitAction) implements the full priority chain: dirty→Commit, unpushed→Push, no PR→Create PR, pending checks→Watch checks, failing→Checks failed, green→Merge, merged/nothing→hidden. 23/23 tests pass in test/nextGitAction.test.ts.
Activity
currentbits commentedon Aug 18, 2026
Round 22 intel: Claude Code background sessions now commit and push before finishing, open a draft PR only when the task calls for one, and follow the git instructions in the repo's CLAUDE.md (commit message format, branch naming, PR conventions). Three details for the state machine: (1) the PR step is conditional on task type, not unconditional: a docs fix or experiment may end at push; (2) the repo's own git conventions are an input to the chain, so CLAUDE.md/AGENTS.md git instructions should be parsed and honored per project; (3) 'background' sessions doing this autonomously means the state machine needs the same gates: draft by default, human promotes.
currentbits commentedon Aug 18, 2026
Verified done. Pure decision function in
src/nextGitAction.ts(suggestNextGitAction) implements the full priority chain: dirty→Commit, unpushed→Push, no PR→Create PR, pending checks→Watch checks, failing→Checks failed, green→Merge, merged/nothing→hidden. 23/23 tests pass intest/nextGitAction.test.ts.