How-to
Contribute to the repo
Every change reaches main through a pull request, an automated guardrail check, and an officer's approval.
Docs menu
How-to
Reference
Resources
Reports
The flow
- Read the code of conduct and guardrails.
- Create a branch.
mainis protected. - New project: copy the project template into
projects/<slug>/README.mdand fill in the header. See Your first project. - New skill: include a
## Guardrailssection in itsSKILL.md. - Run
python scripts/check_repo.pyand fix any errors. - Open a pull request and complete the checklist.
- Automated checks must pass. An officer approves before merge.
What the guardrail check catches
The same script runs on your machine and on every pull request. Any ERROR blocks the merge. WARN lines do not, but reviewers read them.
| Level | Message says | Fix |
|---|---|---|
| ERROR | missing README.md, or missing YAML header | Copy the project template into the folder. |
| ERROR | missing a field, or a value not in the allowed list | Check Project header fields. |
| ERROR | slug must match folder | Rename one so they match. |
| ERROR | sandbox not met and no officer_review | Make all five sandbox values true, or ask an officer to review. |
| ERROR | unattended_runs needs officer_review | Set it to false, or get a review. |
| ERROR | restricted data needs written permission | An officer must approve this pull request by hand. |
| ERROR | looks like a key, or env file committed | Remove it and revoke the key today. |
| WARN | spend is over cap | Raise the cap with a reason, or stop spending. |
| WARN | teardown not done | Tear down before marking failed or archived. |
| WARN | no Guardrails section in a skill | Add data tier, approval actions, and how to stop it. |
Pull request checklist
This fills in automatically when you open a pull request.
## What this PR does
## Checklist
- [ ] Ran `python scripts/check_repo.py` with no errors
- [ ] If an AI assistant helped, it was pointed at AGENTS.md
- [ ] No `.env`, keys, or passwords in the diff
- [ ] No real client, employer, or student data
- [ ] Project header updated (status, spend, incidents)
- [ ] Docs describe observed behavior, including failures
- [ ] Tools, models, and datasets credited with licenses
- [ ] New agent actions outside "Allowed" tier listed in `approval_actions`Who approves
- Code. A Senior Dev reviews. Senior Devs mentor, and approve nothing on their own authority.
- Merge. Every change needs an officer listed in
CODEOWNERS. - Sensitive files. Changes to
AGENTS.md, the guardrails, and.github/always go to an officer. - Changelog. Add a line to
CHANGELOG.mdfor anything a member would notice.
Change these docs
Doc source is Markdown in the repo's docs/ folder. Edit it on a branch and open a pull request. After merge, an officer updates this site.
- Describe what the tool actually does today. Not what it might do.
- Every result names the task it was run on.
- Credit tools, models, and datasets, with licenses.
- No real client, employer, or student data. Use synthetic examples.