diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..6e8bed8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,86 @@ +--- +name: Bug Report +about: Report a defect in the app, API, or smart contracts +title: '[BUG] ' +labels: bug +assignees: '' +--- + +## Summary + + + +## Steps to Reproduce + +1. ... +2. ... +3. ... + +## Expected Behavior + + + +## Actual Behavior + + + +## Environment + + + +## Logs / Artifacts + + + +## Related Issues / PRs + + + +## Severity + + + +## Possible Cause (optional) + + + +## Reproduction Checklist + +- [ ] I searched existing issues and confirmed this is not a duplicate +- [ ] I can reproduce this bug at will +- [ ] I have redacted all secrets / private keys from logs before submitting diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f726f02..e65ce75 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,39 +1,66 @@ -# Pull Request Template +## Summary -## Description + -Please include a summary of the change and which issue is fixed. Also include relevant motivation and context. +## Related Issues ---- + + +## Changes + + + +## Test Plan / Verification + + + +## Screenshots / Recordings + + ## Checklist -- [ ] I have tested my changes locally -- [ ] I have updated documentation as needed -- [ ] I have run `npx prisma generate` after schema changes -- [ ] I have run `npx prisma migrate dev` or `npx prisma migrate deploy` as appropriate - ---- - -## Post-Merge Steps for Maintainers - -**If this PR includes changes to the Prisma schema:** - -1. Run the following command to apply the migration to your database: - - ```sh - npx prisma migrate deploy - ``` - or, for local development: - ```sh - npx prisma migrate dev - ``` -2. Ensure your CI pipeline runs the migration before tests (add this step if missing): - ```yaml - - name: Run Prisma Migrate - run: npx prisma migrate deploy - ``` -3. Make sure the database user in CI has permission to run migrations. - ---- - -If you have any questions, please comment on this PR. + +- [ ] PR title follows Conventional Commits (e.g. `feat(frontend): …`, `fix: …`, `chore: …`, `docs: …`) +- [ ] Changeset added at repo root (`pnpm changeset`) for any user-facing change — packages are bucketed automatically in this monorepo +- [ ] Tests added or updated for behavior changes +- [ ] Docs updated (if behavior is user-facing) +- [ ] No new warnings from `pnpm lint` / `cargo clippy` +- [ ] If backwards-incompatible, the **Breaking Changes** section below is filled in + +## Breaking Changes + + + +## Notes for Reviewers + +