Skip to content

Add Bug and Feature issue forms that set the issue type - #59

Merged
duizendstra merged 2 commits into
mainfrom
workshop/issue-forms
Nov 8, 2026
Merged

duizendstra merged 2 commits into
mainfrom
workshop/issue-forms

Conversation

@duizendstra

@duizendstra duizendstra commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Adds two issue forms to .github/ISSUE_TEMPLATE/, each of which sets the issue type rather than a label:

  • Bug (type: Bug): something Diffract states or does that is wrong. Asks for the version, where it is, what's wrong, how to reproduce it, and the evidence.
  • Feature (type: Feature): a gap, a lens change, a check, calibration work, or docs. The fields follow CONTRIBUTING's "Report a Gap" and "Propose a Lens Change".

CONTRIBUTING's "Report a Gap" now points to the Feature form.

Notes

  • A repo's own ISSUE_TEMPLATE/ replaces the org .github defaults, so the org's bug_report.md (which applies bug, needs-triage) stops applying here.
  • I added no config.yml, so blank issues stay enabled. That leaves room for Task.
  • Once this merges, the bug and enhancement labels retire. The open issues are retyped separately through gh.

Checked: scripts/check.py and scripts/test_scripts.py pass. Both forms parse as YAML (Ruby YAML.load_file: type is set, with 6 and 5 body items). Whether a new issue opened from each form shows its type can only be tested after merge, which is the story's done-when.

🤖 Generated with Claude Code

duizendstra and others added 2 commits November 8, 2026 10:20
Each form sets type: (Bug, Feature) instead of a label, so the bug and
enhancement labels can retire. A repo's own ISSUE_TEMPLATE replaces the
org .github defaults; blank issues stay open for Task.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The where placeholder named check_findings_index, which does not exist;
check_index_completeness does. The version placeholder restated 0.4.0,
which no gate holds and which would go stale at the next release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@duizendstra

Copy link
Copy Markdown
Member Author

Review verdict (contextvibes-reviewer, claude-opus-5-5)

PUSH WITH NOTE on head 257f3b6, base b2f2360.

The first pass, on f130fd0, was SEND BACK: the Bug form's where placeholder named check_findings_index, a function that doesn't exist. 257f3b6 fixes that; it now names check_index_completeness, at scripts/check_review.py:504. The version placeholder now reads "0.x.y, or a commit sha", so it can't go stale.

  • Both forms parse. Their top-level keys are name, description, type and body, and type: Bug and type: Feature match the org's issue types.
  • scripts/check.py passes, and scripts/test_scripts.py runs 41 tests, all OK.
  • The scope is three files.

Notes

  • The vocabulary-drift gate doesn't scan .github/, because Python's glob skips dot-directories. Nothing holds these forms to PROMPT.md's vocabulary. Filed as The vocabulary-drift gate skips .github/ #60.
  • After merge, check https://github.com/contextvibes/diffract/issues/new/choose. It should show Bug, Feature and the blank-issue link, and not the org's "Bug Report". That settles the two claims the reviewer could only mark PLAUSIBLE: that the repo's templates replace the org's, and that blank issues stay enabled.
  • The Feature form asks for two of CONTRIBUTING's five lens-proposal items, and its header links the full list.

@duizendstra
duizendstra merged commit 4d1fc1c into main Nov 8, 2026
1 check passed
@duizendstra
duizendstra deleted the workshop/issue-forms branch November 8, 2026 14:05
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