Skip to content

docs(policy): Add REVIEW.md, PR template, and test-bite review gates - #197

Merged
tony merged 3 commits into
masterfrom
review-rules-gemini
Dec 5, 2026
Merged

tony merged 3 commits into
masterfrom
review-rules-gemini

Conversation

@tony

@tony tony commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Closes # N/A

Summary

  • Add root REVIEW.md defining ownership across libtmux, libtmux-async, libtmux-workspace, and libtmux-mcp.
  • Route AGENTS.md, .github/CONTRIBUTING.md, and scripts/docs/docs link validation to REVIEW.md.
  • Add production-only revert test-bite check to .github/CONTRIBUTING.md for behavioral fixes.
  • Add .github/PULL_REQUEST_TEMPLATE.md linking AI_POLICY.md and WRITING.md.

1. Owner and boundary

  • Rule changed and gem or module that owns it: Repository review and contributor governance in REVIEW.md, AGENTS.md, .github/CONTRIBUTING.md, .github/PULL_REQUEST_TEMPLATE.md, and scripts/docs/docs.
  • Sibling entry points checked (sync/async, CLI/API, single/run_group, or N/A): Checked CLAUDE.md symlink, .github/WRITING.md, scripts/docs/docs rendered link validation, and test/unit/readme_blocks_test.rb.
  • Why this belongs here (owner fix, boundary adapter, or single-PR ownership transfer): Owner fix recording four-gem boundaries, RBS/YARD contracts, sandboxed tmux lifecycle checks, and regression baseline rules.

2. Failure before the fix (N/A for docs, lockfile bumps, or pure refactors)

  • Baseline (<base> commit, or <pre_fix_head> SHA if fixing a defect introduced in this PR): N/A
  • Failing input or command and observed failure before the fix: N/A

3. Verification and tool disclosure

  • Checks run (plus production-only revert check for behavioral fixes, and tmux -V tested, or N/A): mise exec -- bundle exec scripts/check mid, mise exec -- bundle exec ruby scripts/docs/docs, and git diff --check (N/A for live tmux behavioral revert check).
  • Capability or workaround files updated (capabilities.json, examples/manifest.json, or None): None
  • Tool use: Drafted REVIEW.md, AGENTS.md, .github/CONTRIBUTING.md, .github/PULL_REQUEST_TEMPLATE.md, and scripts/docs/docs updates with Antigravity; verified Standard lint, RBS/signature audit, unit tests, and rendered YARD/Markdown links locally.

Test plan

  • Run syntax, Standard lint, generated-file checks, RBS signature audit, and unit suite via mise exec -- bundle exec scripts/check mid
  • Render Markdown and YARD documentation and validate local links and fragments via mise exec -- bundle exec ruby scripts/docs/docs
  • Check whitespace and formatting with git diff --check
  • Run isolated tmux integration and installed-gem packaging matrix in CI

tony added 2 commits December 5, 2026 12:34
why: Reviewers and agents need explicit gem ownership, RBS/YARD rules,
and falsifiable review gates grounded in this four-gem repository.

what:
- Add root REVIEW.md with experimental posture, ownership across
  libtmux, libtmux-async, libtmux-workspace, and libtmux-mcp, ownership
  transfers, sandboxed control-mode checks, and baseline selection.
- Route AGENTS.md and scripts/docs/docs link rendering to REVIEW.md.
why: Behavioral fixes need a reproducible production-only revert check
and pull requests need structured owner, baseline, and tool prompts.

what:
- Link REVIEW.md from .github/CONTRIBUTING.md and document the
  production-only revert test-bite command for behavioral changes.
- Add .github/PULL_REQUEST_TEMPLATE.md linking AI_POLICY.md and
  WRITING.md with owner, failure-baseline, check, and tool-use fields.
@tony tony changed the title Add REVIEW.md, PR template, and test-bite review gates docs(policy): Add REVIEW.md, PR template, and test-bite review gates Dec 5, 2026
why: Outside contributors cannot read the private decisions repository
the review rules cited. The decision section did not say what to do with behavior the base
already has or with a gate nobody ran, or which findings block.

what:
- Add verdict rules: base run, existing and separate, unverified gates,
  behavior defects, and checks and claims
- Link the organization's posture definitions
- Cite libtmux.org where the text named a private repository
@tony
tony merged commit 2ea6d95 into master Dec 5, 2026
2 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