Compare bin's diagnose with upstream diagnosing-bugs and fully migrate; fix forge's grill-with-docs call #156

Open
opened 2026-11-11 12:44:20 +00:00 by Claude · 0 comments
Owner

Context

plugins/bin ships diagnose, a reworked descendant of Matt Pocock's diagnose skill (upstream has since renamed it diagnosing-bugs). The plugins/mattpocock wrapper now pins upstream diagnosing-bugs at mattpocock/skills v1.3.2 as well, and the local diagnose was deliberately kept alongside it for now while the two are compared. The other six copied skills (grill-me, grill-with-docs, tdd, prototype, improve-codebase-architecture, triage) were moved to upstream pins in #157; research, write-docs, caveman and zoom-out stay local.

What is known

Measured against upstream history (body only, frontmatter ignored):

  • diagnose/SKILL.md is about 0.73 similar to the closest upstream version; against v1.3.2 diagnosing-bugs it differs by about 106 lines.
  • assets/hitl-loop.template.sh is byte-identical to upstream's scripts/hitl-loop.template.sh.
  • references/feedback-loops.md (about 0.54) and references/regression-seams.md (about 0.17) look like local splits or additions with no upstream counterpart.

Task

  1. Diff local diagnose against upstream diagnosing-bugs at v1.3.2, section by section, and record which local differences are deliberate and worth keeping and which are only drift from an older upstream.
  2. Decide the outcome: drop the local skill in favour of upstream, or keep a thin local delta. Anything worth keeping that upstream lacks (regression-seams.md, feedback-loops.md) either goes upstream as a contribution or stays as a reference loaded from a local skill.
  3. If diagnose is dropped: remove plugins/bin/.apm/skills/diagnose, repoint the routes that name it (research's boundary clause, diagnose is the target there), and re-run the gates.
  4. Fix forge Step 1 (plugins/kyberforge/.apm/skills/forge/SKILL.md). It says Call grill-with-docs, but upstream's grill-with-docs is disable-model-invocation: true, so the host blocks the Skill tool call and the inline-grill fallback now always runs. Decide between asking the user to run /grill-with-docs themselves, or making the inline grill the designed path, and reword the "ships in a sibling plugin" paragraph accordingly. Check write-docs's redirects to grill-with-docs (lines 7, 43, 97); a redirect a human acts on is fine, but one the skill is meant to invoke is not. Bump kyberforge and the executables.allow key together.
  5. Record the decision in an ADR, bump bin and the catalog per the release policy, and note it in LESSONS.md if a pattern emerges.

Notes

  • Upstream diagnosing-bugs is model-invocable, unlike the hand-invoked upstream skills, so a route to it still works through the Skill tool.
  • Routes to pinned upstream skills resolve through the subpath-dependency rule in ADR-0029, but resolving a name is not the same as being able to call it. The gate does not model callability.
## Context `plugins/bin` ships `diagnose`, a reworked descendant of Matt Pocock's `diagnose` skill (upstream has since renamed it `diagnosing-bugs`). The `plugins/mattpocock` wrapper now pins upstream `diagnosing-bugs` at `mattpocock/skills` `v1.3.2` as well, and the local `diagnose` was deliberately **kept alongside it for now** while the two are compared. The other six copied skills (`grill-me`, `grill-with-docs`, `tdd`, `prototype`, `improve-codebase-architecture`, `triage`) were moved to upstream pins in #157; `research`, `write-docs`, `caveman` and `zoom-out` stay local. ## What is known Measured against upstream history (body only, frontmatter ignored): - `diagnose/SKILL.md` is about 0.73 similar to the closest upstream version; against `v1.3.2` `diagnosing-bugs` it differs by about 106 lines. - `assets/hitl-loop.template.sh` is byte-identical to upstream's `scripts/hitl-loop.template.sh`. - `references/feedback-loops.md` (about 0.54) and `references/regression-seams.md` (about 0.17) look like local splits or additions with no upstream counterpart. ## Task 1. Diff local `diagnose` against upstream `diagnosing-bugs` at `v1.3.2`, section by section, and record which local differences are deliberate and worth keeping and which are only drift from an older upstream. 2. Decide the outcome: drop the local skill in favour of upstream, or keep a thin local delta. Anything worth keeping that upstream lacks (`regression-seams.md`, `feedback-loops.md`) either goes upstream as a contribution or stays as a reference loaded from a local skill. 3. If `diagnose` is dropped: remove `plugins/bin/.apm/skills/diagnose`, repoint the routes that name it (`research`'s boundary clause, `diagnose` is the target there), and re-run the gates. 4. **Fix `forge` Step 1** (`plugins/kyberforge/.apm/skills/forge/SKILL.md`). It says `Call grill-with-docs`, but upstream's `grill-with-docs` is `disable-model-invocation: true`, so the host blocks the Skill tool call and the inline-grill fallback now always runs. Decide between asking the user to run `/grill-with-docs` themselves, or making the inline grill the designed path, and reword the "ships in a sibling plugin" paragraph accordingly. Check `write-docs`'s redirects to `grill-with-docs` (lines 7, 43, 97); a redirect a human acts on is fine, but one the skill is meant to invoke is not. Bump `kyberforge` and the `executables.allow` key together. 5. Record the decision in an ADR, bump `bin` and the catalog per the release policy, and note it in `LESSONS.md` if a pattern emerges. ## Notes - Upstream `diagnosing-bugs` is model-invocable, unlike the hand-invoked upstream skills, so a route to it still works through the Skill tool. - Routes to pinned upstream skills resolve through the subpath-dependency rule in ADR-0029, but resolving a name is not the same as being able to call it. The gate does not model callability.
Claude added this to the Skills & Agents milestone 2026-11-11 12:44:20 +00:00
Claude added the Kind/Enhancement
Priority
Low
4
labels 2026-11-11 12:44:20 +00:00
Claude changed title from Compare bin's diagnose with upstream diagnosing-bugs and fully migrate to Compare bin's diagnose with upstream diagnosing-bugs and fully migrate; fix forge's grill-with-docs call 2026-11-11 16:58:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Holocron#156