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

Đang mở Phù hợp với người mới
#20,530 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
shell
Lĩnh vực
devtools, documentation

Hướng nghiên cứu

Đọc phần về cách thức gửi báo cáo trong plugins/bugs/reference/config.md, sau đó kiểm tra các đoạn được chỉ định trong plugins/bugs/skills/scan/SKILL.md, setup/SKILL.md, write/SKILL.md, plugins/bugs/retirements.yaml và plugins/bugs/README.md. Cập nhật câu chữ và thêm một mảnh changelog bằng scripts/new-changelog-fragment.sh. Công việc hoàn tất khi các lượt tìm kiếm câu chữ được liệt kê không còn kết quả, hướng dẫn chụp ảnh màn hình lỗi hiển thị vẫn được giữ lại, và các bước kiểm tra eval cùng lint của plugin đều đạt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
1 giờ 54 phút
Pull request đã merge (30 ngày)
938

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.