mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-30 09:21:52 +00:00
1.4 KiB
1.4 KiB
CONTRIBUTING.md
Guidelines for humans and agents proposing changes.
Change principles
- Keep changes focused and minimal.
- Explain why the change is needed, not only what changed.
- Preserve generic behavior unless explicit repository-specific behavior is required.
Before opening a PR
- Confirm
AGENTS.mdandCLAUDE.mdwere followed. - Run relevant checks/tests for the changed scope.
- Update documentation impacted by behavior or workflow changes.
- If reusable knowledge was discovered, update/add a note in
docs/agent-handoffs/. - If an issue remains active, update
KNOWN_ISSUES.md.
Commit guidance
- Use clear, descriptive commit messages.
- Keep unrelated edits in separate commits.
- Do not commit temporary debug code, generated noise, or local-only artifacts.
PR guidance
Include:
- What changed
- Why it changed
- Validation performed
- Follow-up items or risks
If no tests/checks were run, explicitly state why.
Agent handoff expectations
When your work creates reusable context:
- Prefer updating an existing handoff note over creating duplicates.
- If creating a new note, use
YYYY-MM-DD-short-topic.md. - Keep notes generic and actionable.
- Use the required sections from
docs/agent-handoffs/README.md.
Documentation maintenance
When workflows change:
- Update
KNOWN_ISSUES.mdfor newly discovered active limitations/workarounds. - Add/update a learning or incident note for durable guidance.