alignment-review
meta-pytorch/OpenEnv/.claude/skills/alignment-review/SKILL.md
Review code changes for bugs and alignment with OpenEnv principles and RFCs. Use when reviewing PRs, checking code before commit, or when asked to review changes. Implements two-tier review model.
What's in it
- Alignment Review
- Instructions
- Tier 1: Uncontentious Issues (Fix Immediately)
- Tier 2: Alignment Discussion Points
- Examples of Tier 2 Issues
- Output Format
Tools it asks for
- Read
- Grep
- Glob
- Bash
--- name: alignment-review description: Review code changes for bugs and alignment with OpenEnv principles and RFCs. Use when reviewing PRs, checking code before commit, or when asked to review changes. Implements two-tier review model. allowed-tools: Read, Grep, Glob, Bash --- # Alignment Review Review code changes for alignment with OpenEnv principles using a two-tier model. ## Instructions 1. **Run automated checks first**: - Execute `bash .claude/hooks/lint.sh` - capture lint issues - Execute `bash .claude/hooks/check-debug.sh` - capture debug code 2. **Read alignment documents**: - `.claude/docs/PRINCIPLES.md` - design principles - `.claude/docs/INVARIANTS.md` - system invariants 3. **Read open RFCs**: - Scan `rfcs/` directory for all RFC files - Note the status of each RFC (Draft, In Review, Accepted, Implemented) - Pay special attention to Draft and In Review RFCs - these represent active design discussions 4. **Analyze changes** (use `git diff` or provided diff): - Identify mechanical issues (Tier 1) - Flag alignment concerns (Tier 2) - Flag conflicts with open RFCs (Tier 2) ## Tier 1: Uncontentious Issues (Fix Immediately) These are issues to fix without human input: - Lint failures from hook output - Debug code from hook output (print statements, breakpoints) - Uninitialized variables, type errors - Missing imports, syntax errors - Security issues (credential exposure, injection vulnerabilities) ## Tier 2: Alignment Discussion Points For each potential alignment concern, format as: ``` **ALIGNMENT FLAG**: [Brief description] - **Principle/RFC at stake**: [Which principle from PRINCIPLES.md or RFC number] - **The concern**: [What seems misaligned or in conflict] - **Suggested reviewer**: @darktex [pull actual reviewers based on authors of the specific line of PRINCIPLES.md and INVARIANTS.md using git blame, and/or authors of conflicting RFCs] ``` ### Examples of Tier 2 Issues **Principle conflicts:** - Adding external reward computation (violates "rewards in environment") - Client importing server code (violates client-server separation) - New API that differs from Gymnasium pattern **RFC conflicts (flag even for Draft/In Review RFCs):** - Change conflicts with design proposed in an open RFC - Change pre-empts a decision being discussed in an RFC - Change implements something differently than an RFC proposes - Change affects an area covered by an RFC under review **Why flag RFC conflicts?** Even if an RFC isn't finalized, flagging conflicts helps focus design discussions. The change might be correct and the RFC might need updating, or vice versa - either way, the team should discuss. ## Output Format ``` ## Alignment Review Report ### Automated Checks - Lint: [PASS/FAIL] - [summary] - Debug code: [CLEAN/FOUND] - [details] ### Open RFCs Context [List any RFCs in Draft or In Review status that might be relevant to these changes] ### Tier 1: Fixes Required - [ ] path/file.py:123 - [issue description] - [ ] path/file.py:456 - [issue description] ### Tier 2: Alignment Discussion #### Principle Conflicts [ALIGNMENT FLAGS for principle violations, or "None identified"] #### RFC Conflicts [ALIGNMENT FLAGS for RFC conflicts, or "None identified"] ### Summary - X mechanical issues to fix - Y alignment points for human review - Z RFC conflicts to discuss ```
More agent context in meta-pytorch/OpenEnv
17 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- hf-cli.agents/skills/hf-cli/SKILL.md
- openenv-cli.agents/skills/openenv-cli/SKILL.md
- deploy-hf.claude/skills/deploy-hf/SKILL.md
- generate-openenv-env.claude/skills/generate-openenv-env/SKILL.md
- hf-space-recovery.claude/skills/hf-space-recovery/SKILL.md
- implement.claude/skills/implement/SKILL.md
- pre-submit-pr.claude/skills/pre-submit-pr/SKILL.md
- release.claude/skills/release/SKILL.md
- rfc-check.claude/skills/rfc-check/SKILL.md
- simplify.claude/skills/simplify/SKILL.md
- sprint.claude/skills/sprint/SKILL.md
- update-docs.claude/skills/update-docs/SKILL.md
- watch-pr.claude/skills/watch-pr/SKILL.md
- work-on-issue.claude/skills/work-on-issue/SKILL.md
- write-tests.claude/skills/write-tests/SKILL.md
Also found in one other repository
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Evidence it works
Elsewhere, people who say they tested it. Read them for what they measured.
- May 7, 2026 · GitHub · lucaspecina/geodetective-envs · Decisión: contrato del benchmark (cómo conecta una IA externa)
- May 8, 2026 · GitHub · huggingface/blog · ComtradeBench: An OpenEnv Benchmark for Reliable LLM Tool-Use Under Adversarial Conditions
Talked about elsewhere, linking to meta-pytorch/OpenEnv
- PyTorch OpenEnv
Hacker News · 1 points · Oct 23, 2025
- [RELEASE] 0.2.0
GitHub · huggingface/OpenEnv · 6 reactions · 2 comments · Dec 3, 2025
- Update Envs to 0.2.0
GitHub · huggingface/OpenEnv · 3 reactions · 3 comments · Dec 23, 2025
- Fix BrowserGym Playwright threading issues and increase WebSocket message limit
GitHub · huggingface/OpenEnv · 2 reactions · 1 comments · Feb 3, 2026
- [CI] Comment on new env PRs
GitHub · huggingface/OpenEnv · 2 reactions · Nov 11, 2025
- fix(reasoning_gym_env): support concurrent WebSocket sessions
GitHub · huggingface/OpenEnv · 1 reactions · 1 comments · Apr 28, 2026
- docs(tutorials): add end-to-end walkthrough
GitHub · huggingface/OpenEnv · 1 reactions · 1 comments · Apr 28, 2026
- fix(envs): migrate remaining envs to uv and fix Docker health checks
GitHub · huggingface/OpenEnv · 1 reactions · 1 comments · Mar 26, 2026
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

