Conversation
CRITICAL POLICY CHANGE: All agents must create feature branches before committing code ## Changes 1. **CLAUDE.md** - Added comprehensive Git Workflow section -⚠️ MANDATORY: Branch-First Development policy - Never commit directly to main - Always use Pull Request workflow - Branch naming conventions with timestamps - Pre-commit checklist (tests, formatting, etc.) 2. **.claude/agents/chief-architect.md** - Added Git Workflow section - Workflow specific to Level 0 architectural decisions - Includes architecture decision documentation in PRs - Phase-based branch naming - Added Bash tool for git commands 3. **.claude/agents/implementation-engineer.md** - Added Git Workflow section - Standard implementation workflow - Test-passing requirements before commit - Code formatting verification - Added Bash tool for git commands ## Rationale This prevents agents from committing directly to main, which: - Enables proper code review process - Allows CI/CD to run before merge - Maintains main branch stability - Provides audit trail via Pull Requests - Prevents accidental breaking changes ## Impact All code-writing agents will now: 1. Create timestamped feature branches first 2. Commit to feature branch 3. Create PR for review 4. Wait for approval before merge ## Testing No code changes - documentation only. Verified markdown formatting. 🤖 Implemented per user requirement to enforce PR-based workflow
mvillmow
added a commit
that referenced
this pull request
Nov 27, 2025
Extended mandatory branch-first workflow to ALL remaining agents: **Specialists (2):** - implementation-specialist.md (feat/ branches) - performance-specialist.md (perf/ branches) **Design Agents (3):** - architecture-design.md (arch/ branches) - security-design.md (security/ branches) - integration-design.md (integration/ branches) **Orchestrators (7):** - foundation-orchestrator.md - shared-library-orchestrator.md - agentic-workflows-orchestrator.md - papers-orchestrator.md - tooling-orchestrator.md - cicd-orchestrator.md - code-review-orchestrator.md **Review Specialists (14):** - architecture-review-specialist.md - implementation-review-specialist.md - security-review-specialist.md - performance-review-specialist.md - safety-review-specialist.md - algorithm-review-specialist.md - mojo-language-review-specialist.md - test-review-specialist.md - documentation-review-specialist.md - dependency-review-specialist.md - data-engineering-review-specialist.md - research-review-specialist.md - paper-review-specialist.md - blog-writer-specialist.md Each agent now has: ✅ Bash tool added to frontmatter ✅ Comprehensive Git Workflow section with: - Feature branch creation requirement - Role-specific branch naming - Commit and push procedures - PR creation guidelines - What NOT to do warnings **Design agents**: arch/, security/, integration/ branches **Orchestrators**: feat/ branches with coordination emphasis **Reviewers**: fix/review- branches, coordinate via Task tool This completes the Git workflow rollout to ALL 39 agent configuration files in ProjectKeystone. Combined with PR #60 (3 agents) and PR #61 (10 agents): - TOTAL: 39/39 agents now enforce branch-first workflow - 100% coverage across all code-writing agents - Consistent workflow across entire agent hierarchy 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
mvillmow
added a commit
that referenced
this pull request
Nov 27, 2025
Extended mandatory branch-first workflow to ALL remaining agents: **Specialists (2):** - implementation-specialist.md (feat/ branches) - performance-specialist.md (perf/ branches) **Design Agents (3):** - architecture-design.md (arch/ branches) - security-design.md (security/ branches) - integration-design.md (integration/ branches) **Orchestrators (7):** - foundation-orchestrator.md - shared-library-orchestrator.md - agentic-workflows-orchestrator.md - papers-orchestrator.md - tooling-orchestrator.md - cicd-orchestrator.md - code-review-orchestrator.md **Review Specialists (14):** - architecture-review-specialist.md - implementation-review-specialist.md - security-review-specialist.md - performance-review-specialist.md - safety-review-specialist.md - algorithm-review-specialist.md - mojo-language-review-specialist.md - test-review-specialist.md - documentation-review-specialist.md - dependency-review-specialist.md - data-engineering-review-specialist.md - research-review-specialist.md - paper-review-specialist.md - blog-writer-specialist.md Each agent now has: ✅ Bash tool added to frontmatter ✅ Comprehensive Git Workflow section with: - Feature branch creation requirement - Role-specific branch naming - Commit and push procedures - PR creation guidelines - What NOT to do warnings **Design agents**: arch/, security/, integration/ branches **Orchestrators**: feat/ branches with coordination emphasis **Reviewers**: fix/review- branches, coordinate via Task tool This completes the Git workflow rollout to ALL 39 agent configuration files in ProjectKeystone. Combined with PR #60 (3 agents) and PR #61 (10 agents): - TOTAL: 39/39 agents now enforce branch-first workflow - 100% coverage across all code-writing agents - Consistent workflow across entire agent hierarchy 🤖 Generated with Claude Code Co-Authored-By: Claude <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.
Summary
This PR establishes a MANDATORY branch-first development workflow for all code-writing agents in ProjectKeystone.
Critical Policy Change
This prevents direct commits to and ensures all changes go through Pull Request review.
Changes
1. CLAUDE.md - Project-Level Git Workflow Policy
Added comprehensive "Git Workflow" section with:
feat/description-YYYYMMDD-HHMMSS)feat:,fix:,refactor:, etc.)git push origin main, etc.)2. .claude/agents/chief-architect.md
Added Git Workflow section for Level 0 strategic agent:
Bashtool for git commands3. .claude/agents/implementation-engineer.md
Added Git Workflow section for code implementation:
Bashtool for git commandsRationale
This change addresses several critical issues:
Benefits
For Development Process
For Agents
Implementation Notes
Branch Naming Format
Timestamp ensures unique branch names across concurrent work.
What Agents Will Do Differently
Before this PR:
After this PR:
Testing
Documentation Changes Only
Verified Workflow
This PR itself demonstrates the new workflow:
docs/git-workflow-mandatory-20251126-183834Future Work
Additional agents to update with this workflow:
senior-implementation-engineer.mdjunior-implementation-engineer.mdtest-engineer.mdjunior-test-engineer.mddocumentation-engineer.mdsecurity-specialist.mdperformance-engineer.mdThese will be updated in follow-up PRs to maintain focused changes.
Merge Instructions
After review and approval:
🤖 Generated with Claude Code implementing user-requested branch-first workflow policy