WitNote / .github /GOVERNANCE.md
AUXteam's picture
Upload folder using huggingface_hub
6a7089a verified
# GitHub Governance Documents
This directory contains pinchtab's governance and workflow documents referenced by developers and automated agents.
## Documents
### [DEFINITION_OF_DONE.md](./DEFINITION_OF_DONE.md)
**Purpose:** PR checklist for code quality, testing, and documentation before merging.
**For:** All contributors submitting PRs
**How to use:** Check this list before submitting a PR, or ask agents to verify PRs against it.
**Key sections:**
- Automated checks (CI enforces)
- Manual code quality requirements
- Testing requirements
- Documentation requirements
- Quick checklist for copy/paste
---
### [LABELING_GUIDE.md](./LABELING_GUIDE.md)
**Purpose:** Reference guide for issue and PR labeling to maintain consistent triage.
**For:** Maintainers triaging issues, agents reviewing tickets
**How to use:** Point agents to this guide when asking them to review and label open issues.
**Key sections:**
- 3-tier labeling system (Type β†’ Status β†’ Priority)
- Decision tree for triage
- Guidelines for agents
- Examples of well-labeled issues
- Common mistakes to avoid
---
### [DOCUMENTATION_REVIEW.md](./DOCUMENTATION_REVIEW.md)
**Purpose:** Guide for auditing documentation to ensure it stays in sync with code (code is source of truth).
**For:** Agents maintaining documentation, quality assurance
**How to use:** Point agents to this guide when asking them to audit docs for accuracy and consistency.
**Key sections:**
- Code-to-docs validation (examples, endpoints, commands, config)
- Structure review (organization, index.json, grouping)
- Output requirements (PR with fixes or GitHub issue with improvements)
- Common documentation mistakes to fix
- Quality gates for completion
---
## Quick Reference
| Document | Audit For | Used By |
|----------|-----------|---------|
| DEFINITION_OF_DONE.md | PR quality before merge | Developers, agents, reviewers |
| LABELING_GUIDE.md | Consistent issue triage | Maintainers, agents |
| DOCUMENTATION_REVIEW.md | Documentation accuracy vs code | Agents, QA |
---
## How Agents Use These
When asking an agent to help with PRs, issues, or documentation:
**For PR review:**
> "Review this PR against `.github/DEFINITION_OF_DONE.md` and ensure it meets all requirements."
**For issue triage:**
> "Review open issues and apply labels according to `.github/LABELING_GUIDE.md`. Ensure Type + Status + Priority are consistent."
**For documentation audit:**
> "Review documentation against current code using `.github/DOCUMENTATION_REVIEW.md`. Verify all examples match code, update or remove outdated content, report changes in a PR or improvements in a GitHub issue."
---
## Maintenance
- **DEFINITION_OF_DONE.md** β€” Update when code quality standards change
- **LABELING_GUIDE.md** β€” Update when new labels are added or workflow changes
- This **README.md** β€” Update when new governance documents are added
---
Last updated: 2026-03-04