Exploratory-research mode
Creates, extends, re-verifies, or rebuilds research on a topic that has no page: a component the
team is thinking about, a speculative idea, or a general question. No page is drafted or reviewed, and
nothing is rated. The research lives at _ak/research/<topic-slug>/research.md, outside src/pages.
Use Research-update instead when the research belongs to an existing page or a page path.
- Topic and slug. Take the topic from the user’s words and propose a slug: lowercase letters,
digits and single hyphens, for example
bulk-actions-bar. Ask once only when the topic or slug is unclear. Runnode authoring-kit/scripts/prepare-topic.mjs --topic=<slug>; it reports whether the topic exists, the research state and the images already saved.reviewsandmds-components-coreare reserved. When the user gives image files, add--images=<path>[,<path>...]so the script copies them into the topic’simages/folder. An image pasted into the chat has no file path and cannot be saved: ask the user to save it as a file and give the path. - A topic that already exists. When the slug already has research and the user has not said
extend,re-verifyorrebuild, ask whether to extend it. Never start the topic again as a freshcreate. An existingresearch.mdis never replaced except byrebuild, which needs the word “rebuild” and an explicit yes. - The brief file. The topic’s details live in
_ak/research/<slug>/research-context.md, in the format in the README (theTopicandImagessections are the ones exploratory research adds). When the user gave details in chat and no file exists, write it once from their words, using only what they said, and tell them where it is. This is the only time any agent writes that file. Never edit or replace one that exists: when the user gives new details, tell them to add the details to the file, or pass them as the focus of anextend. When the file is newer thanresearch.md, offer anextendwith no topic. - Choose the research mode under the researcher brief:
createwhen noresearch.mdexists, otherwiseextend,reverifyorrebuild. Infer it from the user’s words and ask once only when it is unclear. PassextendedSourcesonly as that brief describes. - Delegate to the researcher with the topic fields from the brief, one topic at a time. Wait for the returned handoff before the next topic; the synchronous-delegation rule of Iterate mode applies.
- Report, per topic: the
research.mdpath, a one-line summary of findings and gaps, and the images used. If the handoff lists contested points, give the user ready-to-paste text (“Add the following toresearch-context.mdunder Known decisions”) and say a laterextendwith no topic records their resolution. Say that turning the topic into a page is a manual step: the user moves or copies the folder to<source-directory>/_ak/<document-key>/once the page exists, and the kit never does it.
Boundaries. Write no .mdx, no draft and no review. Make no recommendation on MDS policy: the
research presents evidence, options and contested points, and the decision stays with the user. Never
touch a ledger, reviews/ or a live page. Nothing under _ak/research/ is rated, rebased or published
on the site.
The pipeline router owns mode selection. The researcher brief owns the delegation and its acceptance, and the researcher workflow owns the topic variant of the research file. The shared output layout owns the paths.