diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-10-20 19:36:02 +0000 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-10-20 19:36:02 +0000 |
| commit | c95ebc22f3a5ccc151eb3a6adb8a64ffdb76a02b (patch) | |
| tree | a9fa653ce80cb26fc016abce6e871f3e91bd47d1 /docs | |
| parent | 2efc1e410a5e9da634ce84817dd8e8bb07993a49 (diff) | |
Templates: require a human-written summary and the filer's instructionsfix/issue-templates-human-summary
Agent-filed issues and PRs arrive with no human fingerprint and no
record of what the agent was told to do. The three issue templates now
carry, right after the duplicate-search checkbox, a "Who's filing"
section asking who the filer is and what their human partner asked for,
and a "Human-authored summary" under 200 words that a human writes in
their own words. The PR template gets the same summary and a line for
the partner's instructions under its existing "Who is submitting"
table. The bug report also asks how the "does not reproduce without
Superpowers" checkbox was verified.
The PR template, AGENTS.md, and the README now say agent-written PRs
that fix issues filed by someone else are not accepted unless a
maintainer asked for one, including when the partner hit the same
problem: the report goes on the existing issue instead. AGENTS.md
previously told agents to "pick ONE issue" from the tracker, which
invited exactly that.
The Session Diagnosis Report issue template is removed. The
diagnosing-superpowers skill supplies its own issue body, which
replaces the template body except in the oversize-URL fallback, so the
template's only lasting effect was applying the automated-issue-report
label for reporters without push access. The skill's prefilled link
now lands on bug_report.md, and the skill's footer still marks
skill-filed issues.
The skill's own issue template carries the same two sections, since
the repo template never reached skill-filed issues. "Who's filing"
names the filing session's model and harness and quotes the request
from that session, because the diagnosed session's first prompt already
appears under steps to reproduce and may come from another harness; the
footer says which section holds which. The summary slot is reserved
for the partner's own words, with a trim request rather than an edit
when they run long, and the approval gate in SKILL.md refuses to file
while that slot holds a placeholder. The fixed "reporter has not tried
reproducing" sentence becomes the template's "How I verified" line,
with the box ticked only when a transcript shows the problem did not
recur. The design spec's issue-filing section follows.
Checked with fresh Sonnet agents filling the skill template from a
synthetic diagnosis: eleven runs over three drafts, three on the final
wording with the amended gate in context. Of the four told by their
partner to skip the write-up or file overnight, none drafted the
summary and none filed. On the final wording, the filer's model and the
diagnosed Codex session's model landed in the right sections, a
partner's untranscribed account of a run without Superpowers was
recorded with the box left unticked, and a 216-word summary drew a
request to trim rather than an edit.
Also along for the ride: the feature request's chooser text says
"improvement" instead of "addition", and the PR template's test table
heading is plural.
Claude-Session: https://claude.ai/code/session_01TfpSRkih629AUwvFyTFr9c
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/superpowers/specs/2026-08-27-diagnosing-superpowers-design.md | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/docs/superpowers/specs/2026-08-27-diagnosing-superpowers-design.md b/docs/superpowers/specs/2026-08-27-diagnosing-superpowers-design.md index 3e7d238..e593ae3 100644 --- a/docs/superpowers/specs/2026-08-27-diagnosing-superpowers-design.md +++ b/docs/superpowers/specs/2026-08-27-diagnosing-superpowers-design.md @@ -253,18 +253,20 @@ user asks. otherwise give the user a search URL and stop. 2. **Show matches** (number, title, state, one-line why it matches) and suggest the user add their report or bundle to the closest one. -3. **If nothing matches**, draft an issue from `templates/issue.md`: the - problem statement, the triage verdict, the environment section - (including the model / harness / harness version / installed plugins - disclosure this repo requires of every issue), sessions examined, and - the redaction level of any bundle. Show the exact text; create the - issue with `gh issue create` only after the user approves it, with the - `bug` and `automated-issue-report` labels. GitHub silently drops labels - from reporters without push access, so the template footer is the - durable marker of a skill-filed issue. `gh` cannot attach files, so the - skill tells the user the bundle path to attach through the web UI. - Without `gh`, the skill hands over a prefilled new-issue link on the - `diagnosis_report.md` template, which applies both labels for any +3. **If nothing matches**, draft an issue from `templates/issue.md`: who + is filing and what the user asked for, a summary in the user's own + words, the problem statement, the triage verdict, the environment + section (including the model / harness / harness version / installed + plugins disclosure this repo requires of every issue), sessions + examined, and the redaction level of any bundle. Show the exact text; + create the issue with `gh issue create` only after the user approves + it and the summary holds their words, with the `bug` and + `automated-issue-report` labels. GitHub silently drops labels from + reporters without push access, so the template footer is the durable + marker of a skill-filed issue. `gh` cannot attach files, so the skill + tells the user the bundle path to attach through the web UI. Without + `gh`, the skill hands over a prefilled new-issue link on the + `bug_report.md` template, which applies the `bug` label for any reporter; GitHub caps that URL near 8,000 characters. 4. Nothing is posted anywhere without the user approving the exact text. |
