Skip to content

Add investigation types to /investigate: bug, how-it-works, available-options - #235

Merged
mxriverlynn merged 10 commits into
v6.0.0-betafrom
investigate-types
Nov 12, 2026
Merged

mxriverlynn merged 10 commits into
v6.0.0-betafrom
investigate-types

Conversation

@mxriverlynn

Copy link
Copy Markdown
Collaborator

Summary

/investigate now runs as one of three investigation types: bug, how-it-works, or available-options. Name the type first, or leave it out and the skill picks one from the question. A named type that clearly does not fit the question gets one question asking which to use. A bug run writes the same report sections it wrote before.

  • Each type is a data file under han-coding/skills/investigate/references/types/ (detection signals, dispatch roster, analysis steps, validator brief, audience, stop) with its own report template under references/templates/. The evidence and validation sections every report shares live once, in references/evidence-and-validation.md.
  • SKILL.md keeps the shared flow and owns the only list of type tokens. Every run opens with a block naming the type, why it was chosen, the question as read, and the report path.
  • investigation-types.bats holds the table, type files, templates, argument-hint, and description in agreement.
  • The boundaries are redrawn: research covers the open web and prior art, investigate covers questions the codebase alone can answer, and code-overview and code-walkthrough send a single how-it-works question to investigate. investigate-to-confluence accepts every type.
  • The plan, findings, and decision log are in docs/plans/investigate-types/.

Not verified yet: the new evals in evals/investigate/ have not been run, because there is no tests.json runner in the repo. No type has had an end-to-end trial run.

Before requesting review

Do not bump the plugin version and do not edit CHANGELOG.md in this PR. Both are handled by the /han-release skill when a release is cut.

Move the bug-specific approach, dispatch, analysis, validation brief,
audience, and stop into references/types/bug.md, and the report layout
into references/templates/bug.md with the shared evidence and validation
sections in references/evidence-and-validation.md. SKILL.md keeps the
shared flow, gains the Investigation Types table and type-file contract,
parses a leading type token and trailing report path, announces the
resolved type before dispatch, and pins where the report is written.
A Bats test holds the table, type files, templates, and argument-hint
in agreement.
Add the how-it-works type file and template, the detection and fit-check
examples, and the how-it-works token in the argument-hint and
description. Redraw the boundaries in the same commit so no two skills
claim one question: research covers the open web and prior art,
investigate covers questions this codebase alone can answer, and
code-overview and code-walkthrough send a single how-it-works question
to investigate. Add a ruby-shop eval scaffold, a how-it-works eval, and
a prior-art eval that must not trigger investigate.
Mark the Bats file executable and tell shellcheck the backticks in its
patterns are literal Markdown.
Add the available-options type file and template, its table row between
bug and how-it-works so it wins the tie-break over how-it-works, its
token in the argument-hint and description, detection examples, and an
available-options eval on the ruby-shop scaffold.
Rewrite the investigate long-form doc around the bug, how-it-works, and
available-options types. Update investigate-to-confluence to accept any
type, pass a named type first and its /tmp report path last, and stop
before implementing anything. Refresh the han-coding and han-atlassian
README scent lines, the skills index, the han-coding plugin description,
the workflows map, and the research-a-decision how-to.
@mxriverlynn
mxriverlynn marked this pull request as ready for review November 12, 2026 16:00
@mxriverlynn
mxriverlynn merged commit 2a1373a into v6.0.0-beta Nov 12, 2026
2 checks passed
@mxriverlynn
mxriverlynn deleted the investigate-types branch November 12, 2026 16:00
@mxriverlynn mxriverlynn mentioned this pull request Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant