Skip to content

Fan out research-record investigations as parallel Explore agents #1164

Description

@vivek7405

Problem

webjs-research-record governs investigations whose deliverable is a comparison, options analysis, or decision record, and it says nothing about HOW to investigate, so the research happens as one serial hunt in the main session. A comparison is inherently multi-angle work (each option's codebase evidence, prior art, the project's own constraints from AGENTS.md, what the ecosystem does), and each angle is an independent read: the exact shape for a parallel fan-out of read-only Explore agents, one per angle or per option, synthesized by the caller into the record.

Design / approach

Add an "Investigate in parallel" section to .claude/skills/webjs-research-record/SKILL.md, before the recording steps: for a multi-option or multi-angle investigation, spawn one read-only Explore agent per option or angle in ONE message, each returning evidence with concrete file paths and citations; the caller synthesizes and writes the record itself. Reads fan out, the writeup stays in the main session, since the record's voice and judgment are the caller's. A single-question spike needs no fan-out.

Implementation notes (for the implementing agent)

Acceptance criteria

  • A multi-option investigation fans out one read-only Explore agent per option or angle, in one message
  • The writeup and its judgment stay with the caller; agents return evidence with paths and citations
  • The recording rules (closed research issue, never docs, never PR comments) are untouched
  • Both copies identical (diff -q)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions