-
Notifications
You must be signed in to change notification settings - Fork 0
workflow
This page documents how the team works in this repository.
main is the only long-term branch. Feature branches are short-lived — open a PR, get it merged, delete the branch.
git checkout main
git pull --ff-only
git checkout -b feature/your-changeAccepted prefixes (enforced by CI):
feature/*fix/*chore/*docs/*refactor/*test/*hotfix/*dependabot/*
- Keep commits focused and signed (GPG signing is required)
- Run
ruff check src testsandpytest tests -qbefore pushing - Update docs when behavior or architecture changes
git push origin feature/your-changeOpen a PR, wait for CI, get a review approval from @kleinpanic (required by CODEOWNERS for all files; .github/workflows/, README.md, and docs/** are additionally gated).
PRs are squash-merged to keep a linear history. Merge commits and rebase merges are not used. Resolve all conversations before merging.
Every PR and push to main runs the following jobs:
| Workflow | Jobs |
|---|---|
ci.yml |
Test, Coverage, Python Compat (3.11 / 3.12 / 3.13), Dead Code Analysis |
quick-checks.yml |
Ruff Lint, Ruff Format, Mypy Type Check |
branch-policy.yml |
Branch Name Policy |
security.yml |
CodeQL Analyze, Dependency Review |
Dead Code Analysis and Mypy are non-blocking (warnings only). Coverage threshold is 80%; add no-coverage-check to the PR body to bypass when justified.
No AI auto-fix or auto-doc workflows run in the merge path.
- Fix CI failures intentionally.
- Review all generated output before merging it.
- Documentation updates go through normal PR review.
The public docs site is built with MkDocs Material from docs-site/ and deployed to GitHub Pages on every push to main via pages.yml. The deploy pre-fetches live Canvas data into static JSON and installs the agent demo page and extension source.
When updating docs:
- Edit
docs-site/for site-facing pages - Edit
README.mdfor repo-facing overview changes - Keep roadmap, workflow, and architecture pages in sync with actual behavior
| Action | Path |
|---|---|
| Feature work | short-lived branch → PR → squash merge |
| Docs update |
docs-site/ + README.md when needed |
| Governance change | update GitHub settings and document it here |
| Architecture change | update code + docs-site/architecture.md
|