feat(bin)!: rename research to research-docs and pin upstream research

Upstream wayfinder resolves research tickets by calling the Skill tool with
`research`, expecting one cited findings note per question. That name landed
on bin's reference-tree skill, which researches a tool's docs into topic files
plus sources.md and stops to ask for an output path, stalling an AFK subagent.

Implementation Notes:
- bin's skill becomes `research-docs` (skill 2.0.0, bin 3.0.0) with a boundary
  clause routing single-question research to `research`.
- mattpocock pins upstream research#v1.3.2 (0.4.0).
- write-docs, GLOSSARY's Provenance chain and skill-author's template now
  name `research-docs`.

BREAKING CHANGE: `research` now resolves to upstream's single-note skill;
invoke `research-docs` for a per-topic reference tree.

Fixes: #161
ADR: 0030
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-11-12 11:53:01 +00:00
1 parent 516c85cb48
commit 0223b6e1bf
11 files changed
+63 -14

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@
{
"name": "bin",
"description": "Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin.",
"version": "2.0.0",
"version": "3.0.0",
"category": "Utilities",
"source": "./plugins/bin"
},
@@ -46,7 +46,7 @@
{
"name": "mattpocock",
"description": "Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release.",
"version": "0.3.0",
"version": "0.4.0",
"category": "Productivity",
"source": "./plugins/mattpocock"
},
+1 -1
View File
@@ -84,7 +84,7 @@ resolve against.
_Avoid_: the marketplace, upstream
**Provenance chain**:
The three-stage traceability record linking a skill back to its research inputs: `/research` produces
The three-stage traceability record linking a skill back to its research inputs: `/research-docs` produces
topic docs and a `sources.md`; the author skill records which sources informed which files in
`references/sources.md` and `source_keys` frontmatter; `factory-audit` validates the chain is complete
and internally consistent.
@@ -0,0 +1,45 @@
# `research` is upstream's single-question skill; bin's reference-tree skill becomes `research-docs`
**Status: accepted (2026-11-12).** Resolves #161. Builds on ADR-0029.
Upstream `wayfinder` (mattpocock `v1.3.2`) resolves a `wayfinder:research` ticket by having a
fresh-context subagent call the Skill tool with `research` (`SKILL.md` lines 77 and 115). It expects
upstream's contract: investigate **one question** against primary sources and write **one** cited
findings note, saved where the repo keeps such notes, that a pending decision waits on.
The bare name `research` resolved instead to bin's first-party skill, whose contract differs in
three ways that matter to wayfinder:
- It researches a **tool, library or API**, not an arbitrary question.
- It writes a **reference tree** (`<topic>.md` files plus a `sources.md` registry), the input of the
Provenance chain that `factory-audit` validates.
- It **stops and asks** when no output path is named. A wayfinder research subagent runs AFK, so
it stalls there.
The collision was silent: nothing warned that wayfinder's call landed on another contract.
**Decision.** Rename bin's skill to `research-docs` (bin 2.0.0 → 3.0.0, skill 1.0.2 → 2.0.0) and pin
upstream `mattpocock/skills/skills/engineering/research#v1.3.2` in `plugins/mattpocock` (0.3.0 →
0.4.0). Callers that want the reference tree route to `research-docs`: `write-docs` does, and
`GLOSSARY.md`'s Provenance chain and `skill-author`'s template name it.
**Rejected.**
- **Broaden bin's skill to cover both.** It would carry two output contracts behind one
description, against ADR-0020/0021's one-boundary rule, and the stop-and-ask gotcha that protects
the reference-tree run is exactly what stalls the AFK one.
- **Replace bin's skill with upstream's.** It drops the reference-tree pipeline the Provenance chain
depends on.
- **Rename bin's skill alone.** Upstream's call cannot be renamed without forking `wayfinder`, so it
would resolve to nothing.
- **Accept the partial fit.** Decision research that is not about one tool's docs keeps failing,
silently.
**Accepted cost: overlapping triggers.** Both skills are model-invoked. Upstream's description
("docs or API facts gathered") overlaps `research-docs`', and it cannot be edited without a fork.
`research-docs` carries the boundary clause ("Not a single question a decision waits on, answered in
one findings note -> `research`"); upstream's side has none, so a request to "research library X"
may route to either. Revisit if misrouting shows up in practice.
**Breaking for consumers.** Anyone invoking `research` for a reference tree now gets upstream's
single-note skill. That is why bin takes a major bump.
@@ -1,12 +1,13 @@
---
name: research
name: research-docs
description: >-
Use when the user wants a tool, library, or API researched from canonical
documentation into structured per-topic reference markdown files. Not
documentation written from existing code or specs -> `write-docs`. Not a bug
or incident -> `diagnose`.
or incident -> `diagnose`. Not a single question a decision waits on, answered
in one findings note -> `research`.
metadata:
version: "1.0.2"
version: "2.0.0"
category: research
allowed-tools:
- Grep
+2 -2
View File
@@ -5,11 +5,11 @@ description: >
or spec, every claim traced to a source — "write docs for X", "document this
module", "create docs for this feature", "write a README for this". Not an ADR
or other decision record -> `grill-with-docs`. Not an external tool researched
from its docs -> `research`.
from its docs -> `research-docs`.
updated: 2026-05-17
when: invoked by explicit trigger ("write docs for X", "document this module", "create docs for this feature") or implicit request to produce technical documentation from code or spec
metadata:
version: "1.0.1"
version: "1.0.2"
category: implement
source:
- repo: anthropics/skills
+1 -1
View File
@@ -1,5 +1,5 @@
name: bin
version: 2.0.0
version: 3.0.0
description: Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin.
author:
name: Defame1297
@@ -6,7 +6,7 @@ description: >
Not read-only review -> `factory-audit`. Not agent files -> `agent-author`.
allowed-tools: Bash Read Write Edit
metadata:
version: "1.0.6"
version: "1.0.7"
category: factory
source_keys:
- agentskills-home
@@ -57,7 +57,7 @@ metadata:
# skill starts at "0.1.0" — leave the seeded value as it is; "1.0.0" is the seed
# for a pre-existing skill retrofitted into the rule, not for a new one.
# The rest of the map is optional: author, category, source_keys.
# source_keys: populated when built from /research output. Lists slugs from references/sources.md.
# source_keys: populated when built from /research-docs output. Lists slugs from references/sources.md.
# Also add source_keys to each references/*.md file that was informed by research.
# allowed-tools: Bash Read Write
+6 -3
View File
@@ -1,5 +1,5 @@
name: mattpocock
version: 0.3.0
version: 0.4.0
description: Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release.
author:
name: Defame1297
@@ -53,8 +53,10 @@ includes: auto
# `retro` calls `writing-for-agents`. `writing-for-agents` is model-invoked
# and overlaps the triggers of kyberforge's `skill-author` and core's
# `agentsmd-author`.
# - `research` is not listed: bin's own `research` is first-party and kept, and
# so are bin's `diagnose`, `write-docs`, `caveman` and `zoom-out`.
# - `research` is the skill `wayfinder` calls to resolve a research ticket: one
# question answered in one cited findings note. bin's reference-tree skill
# was renamed `research-docs` to free the name (ADR-0030). bin's `diagnose`,
# `write-docs`, `caveman` and `zoom-out` are first-party and kept.
#
# Pinned on purpose: tracking a third-party `main` would import someone else's
# drift. Bump every tag together, deliberately, so the skills stay at one
@@ -80,6 +82,7 @@ dependencies:
- mattpocock/skills/skills/engineering/implement-spec#v1.3.2
- mattpocock/skills/skills/engineering/retro#v1.3.2
- mattpocock/skills/skills/productivity/writing-for-agents#v1.3.2
- mattpocock/skills/skills/engineering/research#v1.3.2
mcp: []
devDependencies:
apm: []