# Contributing ## Branches This repo uses the **slim** branch model from [decode-ai-standards](https://github.com/implicitdiagnosticsandsolutions/decode-ai-standards) (ref `81c3f17`): only `main` is protected, and `main` is also the default branch and PR target. There is no `dev` or `staging`. See `docs/github-security-posture.md` for the full posture and the adoption signal that would trigger a migration to the full model. A push to `main` triggers the GitHub workflow that syncs this app to Hugging Face Spaces. Use short-lived branches: - `feature/` for planned implementation, docs, tests, maintenance, and workflow changes. - `debug/` for investigation-driven fixes. - `version/` for release preparation when requested. - `hotfix/` only for urgent production fixes with explicit human deploy-impact acknowledgement. Branch scopes use lowercase kebab-case. ## Review Changes should go through a pull request unless a human explicitly approves a direct protected-branch update. Review should lead with concrete findings: bugs, regressions, missing proof, stale docs, security risk, or architecture drift. ## Local Proof Run: ```powershell python scripts/check.py ``` For UI or Jira behavior changes, also run the app locally and verify the affected workflow manually with appropriate credentials. ## Definition Of Done - Relevant local checks pass, or the unrun checks and reason are recorded. - Docs are updated when setup, runtime behavior, branch/deploy policy, env vars, or module boundaries change. - Sensitive actions such as Jira writes, Hugging Face uploads, workflow edits, and pushes are called out for review.