The Researcher, build 3: the role skill, from Matt Pocock's skills word for word #72

Merged
city-root merged 1 commit from worker/gascitypacks-2naa into main 2026-11-12 16:56:27 +00:00
Contributor

Build bead 3 of docs/researcher.md (gascity-root, section 7): the Researcher's role skill.

  • roles/skills/researcher/SKILL.md: statements 1 to 26 of section 2. The upstream ones (5, 6, 8, 11, 24) are word for word from mattpocock-skills 1.3.2, copied from the plugin directory and checked by grep -F; the adapted and the city's own are as the design says.
  • UPSTREAM says which statement is which and what was changed; LICENSE is the MIT licence of mattpocock/skills, as gascity-root commit 9861e04 does for the skills it copied.
  • .changelog/researcher-skill.md: the fragment.
  • No shell. No agent yet: bead 2 adds agent.toml, the prompt and the allow list.

Where it lives. roles/skills/researcher, not roles/agents/researcher/skills/researcher like the Worker's. gc takes every directory under agents/ for an agent (DiscoverPackAgents, internal/config/agent_discovery.go), so a directory holding only a skill would start a default researcher agent in the live city. Bead 2 can move the skill beside the agent.

Not decided here. The skill names the comment's heading, the close reason and gc.work_outcome=no-op, but no command lines: mol-researcher-work (bead 4) carries those.

Checked: gc lint ., tests/formula.sh, tests/reviewer.sh, and the changelog checker, run from this worktree. Nothing of the skill's behaviour in a session can be checked before bead 2 and 4.

Bead: gascitypacks-2naa

Build bead 3 of `docs/researcher.md` (gascity-root, section 7): the Researcher's role skill. - `roles/skills/researcher/SKILL.md`: statements 1 to 26 of section 2. The upstream ones (5, 6, 8, 11, 24) are word for word from mattpocock-skills 1.3.2, copied from the plugin directory and checked by `grep -F`; the adapted and the city's own are as the design says. - `UPSTREAM` says which statement is which and what was changed; `LICENSE` is the MIT licence of mattpocock/skills, as gascity-root commit 9861e04 does for the skills it copied. - `.changelog/researcher-skill.md`: the fragment. - No shell. No agent yet: bead 2 adds `agent.toml`, the prompt and the allow list. **Where it lives.** `roles/skills/researcher`, not `roles/agents/researcher/skills/researcher` like the Worker's. gc takes every directory under `agents/` for an agent (`DiscoverPackAgents`, `internal/config/agent_discovery.go`), so a directory holding only a skill would start a default `researcher` agent in the live city. Bead 2 can move the skill beside the agent. **Not decided here.** The skill names the comment's heading, the close reason and `gc.work_outcome=no-op`, but no command lines: `mol-researcher-work` (bead 4) carries those. Checked: `gc lint .`, `tests/formula.sh`, `tests/reviewer.sh`, and the changelog checker, run from this worktree. Nothing of the skill's behaviour in a session can be checked before bead 2 and 4. Bead: gascitypacks-2naa
feat: the researcher skill, from Matt Pocock's research skill (gascitypacks-2naa)
All checks were successful
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Successful in 18s
test / scripts (pull_request) Successful in 35s
22ef157316
Build bead 3 of docs/researcher.md (gascity-root, section 7): statements 1 to 26 of section 2 as the Researcher's role skill. The upstream ones (5, 6, 8, 11, 24) are copied word for word from mattpocock-skills 1.3.2; the adapted ones change the subject, object or ending the design names; the city's own fill the gaps upstream leaves (stopping, sources, where findings go, no sub-agent, what is not research).

UPSTREAM says which statement is which, and LICENSE is the MIT licence of mattpocock/skills, as gascity-root commit 9861e04 does for the skills it copied. The skill is at roles/skills/researcher and not under roles/agents/researcher/skills: gc takes every directory of agents/ for an agent (DiscoverPackAgents), so a directory with a skill and no agent.toml would start a default 'researcher' agent. Bead 2 adds the agent and can move the skill beside it.

No shell. Validation: gc lint passes, and the changelog checker is clean with the fragment.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
city-root-review left a comment

Review of 22ef157316 for gascitypacks-2naa. Checks of the head: success.

Verdict

pass

Findings

  • [minor] roles/skills/researcher/SKILL.md:3: the skill is pack-level, so until bead 2 moves it every agent of the city sees it, not only the Researcher. That includes the Operator, Workers, bd.dog and the Reviewers of the forgejo pack. Evidence: this forgejo Reviewer session lists roles.city and roles.contact among its skills. Those two descriptions gate themselves with "loaded at session start when your startup prompt names it". This one opens with "Your own role as the Researcher of this Gas City", which is false for every other agent that reads it. It still says "as your startup prompt says", so no other agent's prompt loads it, and the PR explains the placement (DiscoverPackAgents). The fix belongs to bead 2: move the skill beside the agent, or until then word the description as the shared skills are worded.
  • [minor] README.md:7: the roles pack's row lists "the shared skills city and contact", and roles/skills/ now holds researcher as well. Bead 2, which adds the agent, is the natural place to update the row.
  • [minor] roles/skills/researcher/SKILL.md:80: statement 24 is word for word, as the design asks. After "The result is the comment on the bead.", though, its "It" reads as the comment, and its "you" is now the Researcher, not upstream's caller. The sentence after it ("Your reply in the session is nothing") carries the meaning, so the order of 24 in the design ("... the comment is the result") would read more clearly. Wording only, nothing to change for this PR.

Verified

  • Requirement: work bead gascitypacks-2naa; docs/researcher.md of gascity-root at lines 24-120, 161-178, 179-187 (3.4, for the close) and 305; the PR's description, which is present.
  • Statements 1 to 26: each is in SKILL.md, in the design's order, grouped under "What you are asked", "How you work", "What you hand back" and "Halting". The adapted and city statements say what the design's third column says. The close (reason Findings posted: [research-<bead id>], gc.work_outcome=no-op, gc.work_verification) and the halt match 3.4. The May and May not lists of 3.3 are covered.
  • Upstream text: grep -F of statements 5, 6, 8 (first sentence), 11 and 24 against mattpocock-skills 1.3.2 in the plugin directory (skills/engineering/research/SKILL.md:10, docs/engineering/research.md:5, :11, :57, skills/engineering/wayfinder/SKILL.md:77). Each matches once in SKILL.md and once upstream.
  • LICENSE: byte for byte the plugin's LICENSE and the one gascity-root 9861e04 copied for writing-for-agents. UPSTREAM has the URL-first shape of 9861e04 and the commit 4ae2317 that the Operator's research overlay names. It says which statements are upstream, adapted and the city's own, matching the design's line 120.
  • The rm, mktemp and drain rules match the Worker's skill (roles/agents/worker/skills/worker/SKILL.md:13, :29-31). The change adds no shell.
  • Merge of the head into origin/main (4a39722): clean, 4 files, 80 insertions.
  • On the merge result, with the city's variables removed and a throwaway HOME for gc: gc lint ., plus tests/formula.sh, reviewer.sh, operator-overlay.sh, worktree-setup.sh, worktree.sh, gnu-tools.sh, merge.sh, handover.sh, apply.sh, upgrade.sh, view-beads.sh, view-mail.sh, permission-deny.sh and permission-request.sh. All passed (exit 0).
  • go vet ./..., go test ./... and go test -race ./...: ok.
  • Changelog: checker built from mikluko/changelog v2 (087d7e8) cmd/changelog, run with -changelog=CHANGELOG.md -fragments=.changelog -base=main: valid=true, exit 0. The fragment .changelog/researcher-skill.md is one ### Added entry.
Review of 22ef1573161b3b423bb920c173b394b73ba2051c for gascitypacks-2naa. Checks of the head: success. ### Verdict pass ### Findings - [minor] roles/skills/researcher/SKILL.md:3: the skill is pack-level, so until bead 2 moves it every agent of the city sees it, not only the Researcher. That includes the Operator, Workers, `bd.dog` and the Reviewers of the forgejo pack. Evidence: this forgejo Reviewer session lists `roles.city` and `roles.contact` among its skills. Those two descriptions gate themselves with "loaded at session start when your startup prompt names it". This one opens with "Your own role as the Researcher of this Gas City", which is false for every other agent that reads it. It still says "as your startup prompt says", so no other agent's prompt loads it, and the PR explains the placement (`DiscoverPackAgents`). The fix belongs to bead 2: move the skill beside the agent, or until then word the description as the shared skills are worded. - [minor] README.md:7: the roles pack's row lists "the shared skills `city` and `contact`", and `roles/skills/` now holds `researcher` as well. Bead 2, which adds the agent, is the natural place to update the row. - [minor] roles/skills/researcher/SKILL.md:80: statement 24 is word for word, as the design asks. After "The result is the comment on the bead.", though, its "It" reads as the comment, and its "you" is now the Researcher, not upstream's caller. The sentence after it ("Your reply in the session is nothing") carries the meaning, so the order of 24 in the design ("... the comment is the result") would read more clearly. Wording only, nothing to change for this PR. ### Verified - Requirement: work bead gascitypacks-2naa; docs/researcher.md of gascity-root at lines 24-120, 161-178, 179-187 (3.4, for the close) and 305; the PR's description, which is present. - Statements 1 to 26: each is in SKILL.md, in the design's order, grouped under "What you are asked", "How you work", "What you hand back" and "Halting". The adapted and city statements say what the design's third column says. The close (reason `Findings posted: [research-<bead id>]`, `gc.work_outcome=no-op`, `gc.work_verification`) and the halt match 3.4. The May and May not lists of 3.3 are covered. - Upstream text: `grep -F` of statements 5, 6, 8 (first sentence), 11 and 24 against mattpocock-skills 1.3.2 in the plugin directory (skills/engineering/research/SKILL.md:10, docs/engineering/research.md:5, :11, :57, skills/engineering/wayfinder/SKILL.md:77). Each matches once in SKILL.md and once upstream. - LICENSE: byte for byte the plugin's LICENSE and the one gascity-root 9861e04 copied for writing-for-agents. UPSTREAM has the URL-first shape of 9861e04 and the commit 4ae2317 that the Operator's research overlay names. It says which statements are upstream, adapted and the city's own, matching the design's line 120. - The rm, mktemp and drain rules match the Worker's skill (roles/agents/worker/skills/worker/SKILL.md:13, :29-31). The change adds no shell. - Merge of the head into origin/main (4a39722): clean, 4 files, 80 insertions. - On the merge result, with the city's variables removed and a throwaway HOME for gc: `gc lint .`, plus tests/formula.sh, reviewer.sh, operator-overlay.sh, worktree-setup.sh, worktree.sh, gnu-tools.sh, merge.sh, handover.sh, apply.sh, upgrade.sh, view-beads.sh, view-mail.sh, permission-deny.sh and permission-request.sh. All passed (exit 0). - `go vet ./...`, `go test ./...` and `go test -race ./...`: ok. - Changelog: checker built from mikluko/changelog v2 (087d7e8) `cmd/changelog`, run with `-changelog=CHANGELOG.md -fragments=.changelog -base=main`: valid=true, exit 0. The fragment .changelog/researcher-skill.md is one `### Added` entry.
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikluko/gascitypacks!72
No description provided.