Skip to content

docs: add issue forms, PR template, and community health files - #614

Merged
Soju06 merged 2 commits into
mainfrom
docs/community-health-files
May 15, 2026
Merged

Soju06 merged 2 commits into
mainfrom
docs/community-health-files

Conversation

@Soju06

@Soju06 Soju06 commented May 14, 2026

Copy link
Copy Markdown
Owner

Summary

Adopt GitHub's recommended community profile for codex-lb: structured Issue Forms (YAML, no Markdown templates), Discussions / Security routing via config.yml, a Conventional-Commits-aware PR template, and CONTRIBUTING.md / SECURITY.md under .github/.

CODE_OF_CONDUCT.md is intentionally not in this PR — it will be added separately at the repo root.

Type of change

  • docs: — documentation only

OpenSpec

  • Not applicable — docs / CI / chore only

Changes

Issue Forms (.github/ISSUE_TEMPLATE/)

  • config.yml — blank_issues_enabled: false, contact links route to Discussions, private Security Advisories, and the README.
  • bug_report.yml — codex-lb-specific fields: version, deployment (uvx / pip / Docker / Compose / Helm / source), client (Codex CLI / Codex app / ОpenCode / direct HTTP / other, multi-select), ChatGPT account plan (Free / Plus / Pro / Team / Business / Enterprise / Edu / API-key only / mixed, multi-select), model, what-happened / expected / repro / logs (render: shell) / config (render: yaml), required pre-flight checklist.
  • feature_request.yml — Problem / Proposal / Alternatives / Area (multi-select dropdown).
  • account_quota.yml — dedicated form for the most common symptom class (account stuck rate-limited, quota values wrong, load-balancing imbalance, OAuth failure, dashboard display bug). Includes the upstream-quota reset time field so triage doesn't have to ask for it.

Discussion template (.github/DISCUSSION_TEMPLATE/)

  • q-and-a.yml — keeps usage / how-to questions in Discussions instead of leaking into Issues.

PR template (.github/PULL_REQUEST_TEMPLATE.md)

  • Conventional Commits checklist (fix: / feat: / refactor: / docs: / chore: / ci: / build: / test: / breaking).
  • OpenSpec checklist with a codex-faithful path checkbox — required for PRs touching upstream-mimicking code (image pipeline, request/response shape, SSE framing, OAuth flow).
  • Test plan + screenshots sections.
  • Reminder that CHANGELOG.md is release-please's, not yours.

Community docs (.github/)

  • CONTRIBUTING.md — uv setup, ruff / ty / pytest / pre-commit gate, OpenSpec-first workflow, Conventional Commits with real scopes from this repo's history (proxy, accounts, auth, oauth, quota, chat, dashboard-auth, ...), release-please process.
  • SECURITY.md — GitHub-native Private Vulnerability Reporting flow, 3-business-day ack / 7-day triage / 30-day fix SLA, scope & supported-versions table (1.17.x active, 1.16.x critical fixes).

Both files live under .github/ per GitHub's recommendation ("storing them in .github so they're out of the way of users browsing the project") — they're still auto-discovered for the community profile.

Why YAML Issue Forms

  • Required fields are enforced by the GitHub UI — reporters can't skip the version / deployment / client / plan fields that triage always needs.
  • Dropdowns (multi-select for client and account plan) give us clean labels and prevent typos.
  • render: shell / render: yaml produce proper code-fenced log/config blocks without reporters having to remember Markdown.
  • No Markdown templates → no "delete this line before submitting" boilerplate.

Test plan

$ python3 -c "
import yaml
from pathlib import Path
for p in sorted(list(Path('.github/ISSUE_TEMPLATE').glob('*.yml')) +
                list(Path('.github/DISCUSSION_TEMPLATE').glob('*.yml'))):
    yaml.safe_load(p.read_text())
    print('OK', p)
"
OK .github/DISCUSSION_TEMPLATE/q-and-a.yml
OK .github/ISSUE_TEMPLATE/account_quota.yml
OK .github/ISSUE_TEMPLATE/bug_report.yml
OK .github/ISSUE_TEMPLATE/config.yml
OK .github/ISSUE_TEMPLATE/feature_request.yml

Once merged, GitHub will pick the forms up automatically at https://github.com/Soju06/codex-lb/issues/new/choose.

Follow-up (out of scope for this PR)

  • Add CODE_OF_CONDUCT.md at repo root (Soju is handling this).
  • After CoC lands, the GitHub community profile should hit 100%.

Checklist

  • Title is in Conventional Commits format (docs: ...).
  • Docs-only — no tests / code changes required.
  • Ran ruff check . && ruff format --check . (no Python files touched, both clean).
  • CHANGELOG is not edited by hand (release-please handles it; docs: is not a release-triggering type).

Adds structured Issue Forms (YAML) and routes blank issues to Discussions
and Security Advisories per GitHub's recommended community profile:

- .github/ISSUE_TEMPLATE/config.yml — disable blank issues, route Q&A
  to Discussions and security reports to private advisories
- .github/ISSUE_TEMPLATE/bug_report.yml — codex-lb-specific bug form
  (version, deployment, client, ChatGPT account plan, model, logs,
  config, repro)
- .github/ISSUE_TEMPLATE/feature_request.yml — Problem / Proposal /
  Alternatives / Area
- .github/ISSUE_TEMPLATE/account_quota.yml — dedicated form for the
  common account / quota / dashboard symptom class
- .github/DISCUSSION_TEMPLATE/q-and-a.yml — keep Q&A in Discussions
- .github/PULL_REQUEST_TEMPLATE.md — Conventional Commits guide,
  OpenSpec checklist, codex-faithful checkbox, screenshots, test plan
- .github/CONTRIBUTING.md — uv + ruff + ty + pytest + pre-commit
  setup, OpenSpec workflow, commit/PR conventions, release process
- .github/SECURITY.md — Private Vulnerability Reporting flow,
  supported versions, disclosure SLA

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 225a8ee35f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/DISCUSSION_TEMPLATE/q-and-a.yml Outdated
Comment on lines +1 to +2
name: 💬 Q&A
description: Ask a usage / how-to / deployment question.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove unsupported top-level keys from discussion form

Discussion category forms only support title, labels, and body at the top level, but this file adds issue-form keys (name and description). GitHub validates form schemas strictly, so these extra keys can cause the template to be rejected and the Q&A form to not load, which breaks the intended routing of support questions to Discussions.

Useful? React with 👍 / 👎.

Discussion category forms only support `title`, `labels`, and `body` at
the top level. `name` and `description` are issue-form-only keys; GitHub
validates form schemas strictly, so leaving them in would cause the Q&A
form to be rejected and not load — breaking the intended routing of
support questions to Discussions.

Reported by Codex Review on #614.
@Soju06
Soju06 merged commit d1d6360 into main May 15, 2026
18 checks passed
@Soju06
Soju06 deleted the docs/community-health-files branch May 15, 2026 02:47
vitalNohj pushed a commit to vitalNohj/codex-lb that referenced this pull request Jul 17, 2026
…6#614)

* docs: add issue forms, PR template, and community health files

Adds structured Issue Forms (YAML) and routes blank issues to Discussions
and Security Advisories per GitHub's recommended community profile:

- .github/ISSUE_TEMPLATE/config.yml — disable blank issues, route Q&A
  to Discussions and security reports to private advisories
- .github/ISSUE_TEMPLATE/bug_report.yml — codex-lb-specific bug form
  (version, deployment, client, ChatGPT account plan, model, logs,
  config, repro)
- .github/ISSUE_TEMPLATE/feature_request.yml — Problem / Proposal /
  Alternatives / Area
- .github/ISSUE_TEMPLATE/account_quota.yml — dedicated form for the
  common account / quota / dashboard symptom class
- .github/DISCUSSION_TEMPLATE/q-and-a.yml — keep Q&A in Discussions
- .github/PULL_REQUEST_TEMPLATE.md — Conventional Commits guide,
  OpenSpec checklist, codex-faithful checkbox, screenshots, test plan
- .github/CONTRIBUTING.md — uv + ruff + ty + pytest + pre-commit
  setup, OpenSpec workflow, commit/PR conventions, release process
- .github/SECURITY.md — Private Vulnerability Reporting flow,
  supported versions, disclosure SLA

* fix: remove unsupported top-level keys from discussion form

Discussion category forms only support `title`, `labels`, and `body` at
the top level. `name` and `description` are issue-form-only keys; GitHub
validates form schemas strictly, so leaving them in would cause the Q&A
form to be rejected and not load — breaking the intended routing of
support questions to Discussions.

Reported by Codex Review on Soju06#614.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant