From 86c58c368e4d40981d7eb4fbe45053d112aa37ae Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 2 Aug 2026 12:39:57 +0300 Subject: [PATCH] Complete repository contribution templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 40 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 2 ++ .github/ISSUE_TEMPLATE/feature_request.yml | 30 ++++++++++++++++ .github/pull_request_template.md | 13 +++++++ 4 files changed, 85 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..b68254f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,40 @@ +--- +name: Bug report +description: >- + Report a reproducible HasbaraTops defect without exposing private case data +title: "[Bug]: " +labels: + - bug +body: + - type: textarea + id: summary + attributes: + label: Summary + description: What happened, and what should have happened instead? + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Reproduction + description: >- + Provide exact commands and synthetic or already-public inputs + validations: + required: true + - type: textarea + id: environment + attributes: + label: Environment + description: >- + Include the OS, Python version, and relevant commit or package version + validations: + required: true + - type: checkboxes + id: privacy + attributes: + label: Privacy + options: + - label: >- + I removed private case data, credentials, database contents, and + local paths. + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..bd9dfe4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,2 @@ +--- +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..849ee9e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,30 @@ +--- +name: Feature request +description: Suggest a focused improvement to HasbaraTops +title: "[Feature]: " +labels: + - enhancement +body: + - type: textarea + id: problem + attributes: + label: Problem + description: What problem should the repository solve? + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposal + description: What behavior or workflow should change? + validations: + required: true + - type: textarea + id: scope + attributes: + label: Canonical source impact + description: >- + Identify affected governance, design, strategy, evidence, CLI, or + database contracts + validations: + required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..df8518c --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,13 @@ +## Summary + +- + +## Validation + +- [ ] `uv sync --extra dev --frozen` +- [ ] `uv run --no-sync python scripts/validate_repository.py --temp-root "$env:TEMP" --evidence-file "$env:TEMP\HasbaraTops-validation.json"` + +## Repository contracts + +- [ ] Affected canonical design documents are updated with behavior changes. +- [ ] No SQLite state, data export, backup, credential, secret, or private case data is committed.