Skip to content

docs(claude): require feature branches for Linear-tracked work#101

Merged
Gastonfoncea merged 1 commit into
mainfrom
gastonfoncea09/chore-claude-md-linear-branch-rule
May 19, 2026
Merged

docs(claude): require feature branches for Linear-tracked work#101
Gastonfoncea merged 1 commit into
mainfrom
gastonfoncea09/chore-claude-md-linear-branch-rule

Conversation

@Gastonfoncea
Copy link
Copy Markdown
Collaborator

Summary

Adds a rule to CLAUDE.md: every Linear issue (spec, plan, code, migrations, runbooks) must live on the issue's feature branch and reach main only via a merged PR.

Why

While working on GHB-187 (Sprint B), the spec commit landed on main directly before the feature branch was created. Gaston flagged this as bad practice. Codifying it here so neither humans nor AI agents drift back.

Scope

Single file changed: CLAUDE.md — adds a "Linear-tracked work always goes on its own branch" subsection under "Linear issues" with explicit workflow steps.

The only commits that may land on main directly are repo-wide chores not tied to a Linear issue.

Test plan

  • No code changes — docs only
  • Pre-commit hook passes (typecheck + tests workspace-wide)

🤖 Generated with Claude Code

Linear issues (spec, plan, code, migrations, everything tied to the
issue) must live on the issue's feature branch and reach main only via
a merged PR. Never commit issue work directly to main.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gh-bounty-frontend Ready Ready Preview, Comment May 19, 2026 8:03pm
ghbounty-mcp Ready Ready Preview, Comment May 19, 2026 8:03pm

@Gastonfoncea Gastonfoncea merged commit 92cec4b into main May 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant