Repository navigation
feat(#1528): the issue form from the writing-issues guide becomes one template file that init writes to .github/ISSUE_TEMPLATE when the directory is absent; doctor reports its absence - #1552
Merged
admarble merged 4 commits intoOct 19, 2026
Conversation
…TEMPLATE; doctor reports its absence as info Entire-Checkpoint: 988a0756bf91
Entire-Checkpoint: 1182123efaae
…rnings invariance is a runtime check Entire-Checkpoint: e04e4821dbe8
…); baseline absorbs proseGate.lines +1 (owner ruling) Entire-Checkpoint: 34d6cb764907
admarble
deleted the
feature/1528-feat-init-the-issue-form-from-the-writing-issues-g
branch
October 19, 2026 22:05
This was referenced Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
initnow writes the issue form into an absent.github/ISSUE_TEMPLATE/and leaves an existing one alone.doctorreports a missing form as an info line. I pushed the branchfeature/1528-feat-init-the-issue-form-from-the-writing-issues-gand opened no PR; the orchestrator does that. Build, lint, the targeted tests and the affected-tests run all pass.Pre-PR Confidence Check
doctordefines "absent" assequant-task.ymlmissing, not the directory missing. A repo with other issue templates still sees the info line. The line never counts as a warning, so it is harmless.init.ts,doctor.tsandtemplates.tseach have tests. Theinitcall site ininitCommandisn't tested directly. It is one line, and--yesand interactive take the same path.Pre-PR AC Verification
templates/github/ISSUE_TEMPLATE/sequant-task.ymlexists and containsEvidence: <test, file or command>. I did not run the grep count command.id: acceptancecount in the guide is 0 (grep run).src/commands/init.issue-template.test.ts: 3 passed. Covers the absent case (byte-equal, one line), the existing directory (one-line note, nothing written) and a second call.--yestakes the same path, so there is no separate--yestest.src/commands/doctor.issue-template.test.ts: 3 passed. The info line is printed outsidechecks[], soWarnings:is unchanged.tsxone-liner printedform-ok.git diffgrep count is 0.src/lib/templates.test.ts: 70 passed.templates/github/routes tonull,.github/ISSUE_TEMPLATE/is declared, and the write site is registered.null, sosyncshould not look for.claude/github/.The spec's Open Question 1 suggested an
infostatus onCheck. I printed the line outsidechecks[]instead, which keeps all three counts untouched.Gate-test mutations
Mutation-verified: AC-3 — moved the template file away; src/commands/init.issue-template.test.ts > writeIssueFormIfAbsent (#1528) > writes the form byte-equal to the template when the directory is absent failed; restored.
Mutation-verified: AC-4 — replaced the info line with
return null; src/commands/doctor.issue-template.test.ts > issueFormInfoLine (#1528) > reports an absent form as an info line naming the guide failed; restored.Both mutations were restored afterwards.
Checks run
npm run buildandnpm run lintpass.npx vitest run --changed origin/mainin three--shard=N/3calls. 141 of 402 files, all pass (1284, 1106 and 1071 tests).scripts/qa/tautology-detector-cli.test.tsalso passes (6).proseGate.linesrose by 1, so I regeneratedscripts/qa/health-baseline.json.npm run lint:healthnow reports no metric rose.Files changed
templates/github/ISSUE_TEMPLATE/sequant-task.yml,src/commands/init.issue-template.test.ts,src/commands/doctor.issue-template.test.ts.src/commands/init.ts: newwriteIssueFormIfAbsent, called once frominitCommand.src/commands/doctor.ts: newissueFormInfoLine, called once.src/lib/templates.ts: thetemplates/github/route, the ownership rule and the declared destination.src/lib/templates.test.ts(write-site registration),docs/guides/writing-issues.md,CHANGELOG.md,scripts/qa/health-baseline.json.Progress update draft
Issue form implemented.
initwrites.github/ISSUE_TEMPLATE/sequant-task.ymlonly when the directory is absent and prints one line either wFixes #1528
Runner verification (2026-10-19)
After merging main (#1503 lint and knip, #1511, #1521), the runner re-ran AC-1..AC-6 at 8f99015:
21/0templates.test.ts: 76 passedform-ok0lint:healthno rise.The runner reproduced both gate mutations:
return nullfails "reports an absent form as an info line naming the guide".Added by the runner:
ISSUE_FORM_DIRandISSUE_FORM_FILE, used only insideinit.ts. They are un-exported, sounusedExportsholds at 342.--yestakes the same path as the absent case by construction:initCommandwrites the form without a prompt.Owner ruling (2026-10-19): the
proseGate.lines+1 (one write-site map entry insrc/lib/templates.test.ts) is the accepted class of #1511's finding: files counted only because they mentionSKILL.md. The baseline absorbs it.🤖 Generated with Claude Code