Add agentic-first workflow infrastructure for Claude Code#287
Conversation
OpenEnv is designed for Claude Code contributions. This PR adds the infrastructure to support an agentic-first development workflow. ## New Files ### Alignment Documents (.claude/docs/) - PRINCIPLES.md - Design principles and trade-offs - INVARIANTS.md - System invariants that must never be violated - PATTERNS.md - Code patterns and conventions - CONTRIBUTING.md - Agentic contribution workflow - REPO_WALKTHROUGH.md - Annotated directory structure ### Skills (.claude/skills/) - alignment-review - Two-tier code review (bugs + alignment flags) - pre-submit-pr - Comprehensive PR readiness validation - rfc-check - Determine if RFC is required ### Agents (.claude/agents/) - alignment-reviewer - Review PRs for bugs + alignment - env-validator - Validate environments end-to-end - openenv-architect - Design new features/environments - build-validator - Validate builds before merge ### Automation Hooks (.claude/hooks/) - lint.sh - Run ruff format check - test.sh - Run pytest - check-debug.sh - Find debug code ### GitHub Templates - PULL_REQUEST_TEMPLATE.md - PR checklist with alignment verification - ISSUE_TEMPLATE/rfc-proposal.md - RFC proposal template ## Modified Files - CLAUDE.md - Complete rewrite with agentic workflow focus - CONTRIBUTING.md - Links to .claude/docs/CONTRIBUTING.md - README.md - Updated HTTPEnvClient→EnvClient, HTTP→WebSocket - rfcs/README.md - Removed non-existent RFCs, fixed references - envs/README.md - Fixed paths and client references - .gitignore - Allow .claude/ subdirectories ## Key Concepts 1. Two-phase model: Design/Alignment (human) → Implementation (Claude) 2. Two-tier review: Tier 1 (bugs, fix immediately) + Tier 2 (alignment flags) 3. Skills run inline, Agents run in isolation 4. Auto-discovery: Skills and agents found automatically when cloning repo
Excellent! Now let me compile my comprehensive review: Alignment Review ReportAutomated ChecksLint Check:
Open RFCs ContextAll current RFCs are in "In Review" status:
This PR implements workflow infrastructure that supports these RFCs rather than conflicting with them. Tier 1: Fixes Required✅ None identified - All automated checks that could run passed. The lint check requires Tier 2: Alignment DiscussionPrinciple Conflicts✅ None identified - This PR strongly aligns with OpenEnv principles:
RFC Conflicts✅ None identified - No conflicts with open RFCs. The PR:
Positive Alignment ObservationsThis PR demonstrates exemplary alignment with OpenEnv's principles:
Documentation Quality ReviewCLAUDE.md
.claude/docs/
Skills & Agents
Infrastructure Quality ReviewHooks (.claude/hooks/)
GitHub Templates
Changes to Existing FilesREADME.md
CONTRIBUTING.md
.gitignore
Security & Safety Review✅ No security concerns identified:
Summary
Verdict: ✅ READY FOR MERGERationaleThis PR is a textbook example of agentic-first infrastructure:
Recommendations
No blocking issues identified. This PR significantly improves the contributor experience for Claude Code users while maintaining all OpenEnv invariants and principles. Automated review by Claude Code | Learn more about OpenEnv's agentic workflow |
Summary
OpenEnv is designed for Claude Code contributions. This PR adds the infrastructure to support an agentic-first development workflow where:
What's Included
Alignment Documents (
.claude/docs/)Skills (
.claude/skills/)alignment-reviewpre-submit-prrfc-checkAgents (
.claude/agents/)alignment-reviewerenv-validatoropenenv-architectbuild-validatorAutomation & Templates
.claude/hooks/- lint.sh, test.sh, check-debug.sh.github/PULL_REQUEST_TEMPLATE.md- PR checklist.github/ISSUE_TEMPLATE/rfc-proposal.md- RFC templateUpdated Docs
CLAUDE.md- Complete rewrite with agentic workflow focusREADME.md- Updated HTTPEnvClient→EnvClient, HTTP→WebSocketCONTRIBUTING.md- Links to detailed workflow docsKey Concepts
Test Plan
bash .claude/hooks/lint.sh)