Tighten bugs scan, setup and write wording on filing authority, migration phrasing and coaching text

Ouverte Adaptée aux débutants
#20,530 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
78/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
shell

Piste de recherche

Lisez la section sur la position de dépôt dans plugins/bugs/reference/config.md, puis vérifiez les passages indiqués dans plugins/bugs/skills/scan/SKILL.md, setup/SKILL.md, write/SKILL.md, plugins/bugs/retirements.yaml et plugins/bugs/README.md. Mettez à jour la formulation et ajoutez une entrée au changelog avec scripts/new-changelog-fragment.sh. Le travail est terminé lorsque les recherches de formulation indiquées ne renvoient aucun résultat, que l’instruction concernant la capture d’écran du défaut visuel est conservée et que les vérifications eval et lint du plugin réussissent.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Problem

Five passages in the bugs plugin either overstate what authorizes tracker filing or carry migration-relative and coaching text that tells the model nothing it can act on. All verified on origin/main at 6f9409abe9:

  1. Filing authority. plugins/bugs/skills/scan/SKILL.md:49-51 says filing "sits behind --track ... a user or a standing lane rule must ask for it". That reads as if a lane rule alone authorizes filing. The real second gate is filing_posture (Step 6, scan/SKILL.md:356-361), whose default manual-only files nothing, and plugins/bugs/reference/config.md:94-96 says "a standing autonomous lane must not file into this tracker". The Step 7 unattended row (scan/SKILL.md:399, "any | file it; nobody is present to fix it") also reads as unconditional without restating that it applies only once filing_posture is allowed.
  2. "as it always has". scan/SKILL.md:98: "With no target form, the run covers this checkout, as it always has."
  3. "no longer reads". plugins/bugs/skills/setup/SKILL.md:96: "report-only: bugs no longer reads that file." The same phrase is in plugins/bugs/retirements.yaml:10 (note: field).
  4. "for one release". scan/SKILL.md:360 ("then for one release the deprecated bugs layers with their notice"), reference/config.md:100 and :113, and plugins/bugs/README.md:125. "One release" names no version, so it cannot expire on its own and goes stale silently.
  5. Coaching text. plugins/bugs/skills/write/SKILL.md:93-94: "The most important part is documenting the issue clearly so that the agent knows what to fix and how. Using screenshots with arrows pointing out the issue is a great way to do this." The next sentence (:94-95) already carries the actionable instruction ("When the defect is visual and none came with the description, ask the reporter for one").

Evidence

  • Verified this pass with git grep and git show origin/main:<path> on every file above; every finding reproduces on current main (the audit read installed bugs 2.0.5; line numbers matched or moved by a few lines).
  • The filing-authority conflict is conditional, as the audit's verifier found: with the bundled manual-only default nothing is filed, so the wording is misleading rather than a live unauthorized write. It becomes live only when some layer sets filing_posture: allowed.
  • Not verified: whether the deprecated filing_posture bugs layers are still due to be removed in a specific release. No version is named anywhere in the plugin.

Proposed work

  • scan/SKILL.md:49-51: say filing needs both --track from the user (or a caller that holds the user's go) and filing_posture: allowed; a lane rule alone never enables it. Point to reference/config.md "Filing posture" instead of restating it.
  • Step 7 unattended row: qualify it as "file it when Step 6's posture gate allows; otherwise report only".
  • scan/SKILL.md:98: "With no target form, the run covers this checkout."
  • setup/SKILL.md:96 and retirements.yaml:10: "bugs does not read that file."
  • The four "for one release" sites: either name the release (or the removal issue) after which the deprecated layers stop being read, or drop the time phrase and say "the deprecated bugs layers that config.md lists, with their notice". Prefer naming a removal condition if one exists; otherwise drop the phrase.
  • write/SKILL.md:93-94: delete the two coaching sentences; keep the sentence that follows.

Alternative considered: leaving the filing wording because the posture gate already prevents filing. Rejected: the model reads :50 first, and a later reader treats "a standing lane rule must ask for it" as authorization.

Acceptance criteria

  • scan/SKILL.md no longer names "a standing lane rule" as sufficient to file; the verb-contract paragraph names filing_posture: allowed as required and links reference/config.md "Filing posture".
  • The Step 7 unattended row is conditioned on the Step 6 posture gate.
  • git grep -n "as it always has" -- plugins/bugs returns nothing.
  • git grep -n "no longer reads" -- plugins/bugs/skills plugins/bugs/retirements.yaml returns nothing.
  • git grep -n -i "for one release" -- plugins/bugs returns nothing, or each remaining hit names a version or removal issue.
  • write/SKILL.md no longer contains "The most important part is" or "a great way to do this"; the visual-defect screenshot instruction remains.
  • A bugs changelog fragment exists (scripts/new-changelog-fragment.sh) and the plugin's eval and lint checks pass.

Constraints and gotchas

  • Out of scope: write/SKILL.md:82-83 ("Use AskUserQuestion when 2-4 named options exist"). That is the cross-plugin question-style setting tracked in #20512, which already lists bugs write.
  • Out of scope: CHANGELOG.md history entries that say "no longer" (released notes are history).
  • "as it always has" appears in about 20 skill bodies across the marketplace (code-tidying, docs-naming, instruction-placement, overengineering, testing and others) and derives from docs/contracts/target-scope/README.md:23-24 ("the way the skill always has"), which is generated into each adopter's reference/target-scope.md by scripts/sync-shared-copies.sh. Fix only the bugs skill-body line here; a fleet sweep and the contract wording are a separate follow-up. Never hand-edit a generated reference/target-scope.md.
  • Release flow is by changelog fragment (ADR 0048); do not bump versions by hand.

Context

Source: local handoff item 20261201-165534-bugs-prompt-audit-findings.md (retired into this issue), from a report-only prompt audit (harness-config audit-instructions, Claude Opus 5.5, 2026-11-30 to 2026-12-01) whose fresh-context verifier upheld all six findings. Related: #20512 (AskUserQuestion finding), and the sibling per-plugin prompt-audit items for docs-naming and others that carry the same "as it always has" phrasing.

The "as it always has" part is also in the cross-plugin sweep #20496; if that lands first, drop it here.

Langage dominant
Shell
Étoiles
22
Forks
2
Merge moyen
1 h 54 min
PR mergées (30 j)
938

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de melodic-software/claude-code-plugins

Toutes les issues de melodic-software/claude-code-plugins

Issues similaires

Plus d'issues Shell/Bash

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.