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:
1 parent
516c85cb48
commit
0223b6e1bf
11 files changed
+63
-14
No files matched your search
@@ -18,7 +18,7 @@
|
|||||||
{
|
{
|
||||||
"name": "bin",
|
"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.",
|
"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",
|
"category": "Utilities",
|
||||||
"source": "./plugins/bin"
|
"source": "./plugins/bin"
|
||||||
},
|
},
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
{
|
{
|
||||||
"name": "mattpocock",
|
"name": "mattpocock",
|
||||||
"description": "Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release.",
|
"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",
|
"category": "Productivity",
|
||||||
"source": "./plugins/mattpocock"
|
"source": "./plugins/mattpocock"
|
||||||
},
|
},
|
||||||
|
|||||||
+1
-1
@@ -84,7 +84,7 @@ resolve against.
|
|||||||
_Avoid_: the marketplace, upstream
|
_Avoid_: the marketplace, upstream
|
||||||
|
|
||||||
**Provenance chain**:
|
**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
|
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
|
`references/sources.md` and `source_keys` frontmatter; `factory-audit` validates the chain is complete
|
||||||
and internally consistent.
|
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.
|
||||||
+4
-3
@@ -1,12 +1,13 @@
|
|||||||
---
|
---
|
||||||
name: research
|
name: research-docs
|
||||||
description: >-
|
description: >-
|
||||||
Use when the user wants a tool, library, or API researched from canonical
|
Use when the user wants a tool, library, or API researched from canonical
|
||||||
documentation into structured per-topic reference markdown files. Not
|
documentation into structured per-topic reference markdown files. Not
|
||||||
documentation written from existing code or specs -> `write-docs`. Not a bug
|
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:
|
metadata:
|
||||||
version: "1.0.2"
|
version: "2.0.0"
|
||||||
category: research
|
category: research
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Grep
|
- Grep
|
||||||
File renamed without changes.
File renamed without changes.
@@ -5,11 +5,11 @@ description: >
|
|||||||
or spec, every claim traced to a source — "write docs for X", "document this
|
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
|
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
|
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
|
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
|
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:
|
metadata:
|
||||||
version: "1.0.1"
|
version: "1.0.2"
|
||||||
category: implement
|
category: implement
|
||||||
source:
|
source:
|
||||||
- repo: anthropics/skills
|
- repo: anthropics/skills
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
name: bin
|
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.
|
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:
|
author:
|
||||||
name: Defame1297
|
name: Defame1297
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ description: >
|
|||||||
Not read-only review -> `factory-audit`. Not agent files -> `agent-author`.
|
Not read-only review -> `factory-audit`. Not agent files -> `agent-author`.
|
||||||
allowed-tools: Bash Read Write Edit
|
allowed-tools: Bash Read Write Edit
|
||||||
metadata:
|
metadata:
|
||||||
version: "1.0.6"
|
version: "1.0.7"
|
||||||
category: factory
|
category: factory
|
||||||
source_keys:
|
source_keys:
|
||||||
- agentskills-home
|
- 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
|
# 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.
|
# 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.
|
# 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.
|
# Also add source_keys to each references/*.md file that was informed by research.
|
||||||
|
|
||||||
# allowed-tools: Bash Read Write
|
# allowed-tools: Bash Read Write
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: mattpocock
|
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.
|
description: Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release.
|
||||||
author:
|
author:
|
||||||
name: Defame1297
|
name: Defame1297
|
||||||
@@ -53,8 +53,10 @@ includes: auto
|
|||||||
# `retro` calls `writing-for-agents`. `writing-for-agents` is model-invoked
|
# `retro` calls `writing-for-agents`. `writing-for-agents` is model-invoked
|
||||||
# and overlaps the triggers of kyberforge's `skill-author` and core's
|
# and overlaps the triggers of kyberforge's `skill-author` and core's
|
||||||
# `agentsmd-author`.
|
# `agentsmd-author`.
|
||||||
# - `research` is not listed: bin's own `research` is first-party and kept, and
|
# - `research` is the skill `wayfinder` calls to resolve a research ticket: one
|
||||||
# so are bin's `diagnose`, `write-docs`, `caveman` and `zoom-out`.
|
# 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
|
# 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
|
# 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/implement-spec#v1.3.2
|
||||||
- mattpocock/skills/skills/engineering/retro#v1.3.2
|
- mattpocock/skills/skills/engineering/retro#v1.3.2
|
||||||
- mattpocock/skills/skills/productivity/writing-for-agents#v1.3.2
|
- mattpocock/skills/skills/productivity/writing-for-agents#v1.3.2
|
||||||
|
- mattpocock/skills/skills/engineering/research#v1.3.2
|
||||||
mcp: []
|
mcp: []
|
||||||
devDependencies:
|
devDependencies:
|
||||||
apm: []
|
apm: []
|
||||||
|
|||||||
Reference in new issue
Block a user