discover
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDiscovery Workflow Skill
Discovery Workflow 技能
A workflow type for tasks whose deliverable is a document, not code. It carries
no verification gates (nothing to test), so the verification ladder does not apply.
一种面向交付物为文档而非代码的任务的工作流类型。它没有验证关卡(无需测试),因此验证阶梯不适用。
When to Use
适用场景
- Competitive analyses and market research
- Architecture comparisons and ADR scaffolding
- Literature reviews and vendor evaluations
- Design research that does NOT feed into implementation planning
- 竞品分析与市场研究
- 架构对比与ADR框架搭建
- 文献综述与供应商评估
- 不用于实施规划的设计研究
When NOT to Use
不适用场景
- If the deliverable includes code changes → use or
/exarchos:oneshot/exarchos:ideate - If you need TDD enforcement → use any other workflow type
- If the research feeds directly into implementation → use (which authors the Design & Rationale section of the unified
/exarchos:ideateartifact)docs/specs/
- 若交付物包含代码变更 → 使用或
/exarchos:oneshot/exarchos:ideate - 若需要强制执行TDD → 使用其他任意工作流类型
- 若研究成果直接用于实施 → 使用(该工作流负责撰写统一
/exarchos:ideate工件中的“设计与原理”章节)docs/specs/
Discover bridge (the deep-rung escalation)
发现桥(深度层级升级)
At the planning rung, can escalate to this workflow as a first-class, event-linked research pre-pass instead of a manual "go start a new workflow" handoff. The bridge is opt-in (author-confirmed, never auto-run): the affordance is surfaced on , and the orchestrate action — invoked with — stitches this discovery run to the originating spec by a deterministic (recorded as a link event on the feature stream). When you run a discovery escalated this way, cite the report path in the spec's → Exploration section, and this workflow with the bridge's so provenance spans both documents.
deep/exarchos:ideatenext_actionsdiscover_bridgeconfirm: truecorrelationIdstate.patched## Design & RationaleinitcorrelationId在规划层级,可以升级为该工作流,作为一等的、事件关联的研究前置环节,而非手动“启动新工作流”的交接方式。该桥接为可选启用(需作者确认,绝不会自动运行):相关功能会在中显示,调用编排操作时传入,会通过确定性的将本次发现运行与源规范关联(记录为功能流上的链接事件)。当你通过这种方式升级运行发现工作流时,需在规范的→探索章节中引用报告路径,并使用桥接的来该工作流,从而确保两个文档的溯源关系。
deep/exarchos:ideatenext_actionsdiscover_bridgeconfirm: truecorrelationIdstate.patched## 设计与原理correlationIdinitPhases
阶段
Phase 1: Gathering (initial)
阶段1:收集(初始阶段)
Collect sources, references, and raw material for the deliverable.
- Define the research question or deliverable scope
- Identify and collect sources (URLs, documents, code references)
- Record sources in workflow state:
typescript
exarchos:exarchos_workflow({
action: "update", featureId: "<id>",
updates: { "artifacts.sources": ["<source1>", "<source2>", "..."] }
})- Create an outline of the deliverable
Transition: When is a non-empty array →
artifacts.sourcessynthesizing为交付物收集来源、参考资料和原始素材。
- 定义研究问题或交付物范围
- 识别并收集来源(URL、文档、代码参考)
- 在工作流状态中记录来源:
typescript
exarchos:exarchos_workflow({
action: "update", featureId: "<id>",
updates: { "artifacts.sources": ["<source1>", "<source2>", "..."] }
})- 创建交付物的大纲
阶段转换: 当为非空数组时 → 进入(合成)阶段
artifacts.sourcessynthesizingPhase 2: Synthesizing
阶段2:合成
Draft the deliverable document from gathered sources.
- Write the document based on gathered sources and outline
- Commit the document to the repo (typically under or
docs/research/)docs/designs/ - Record the report path:
typescript
exarchos:exarchos_workflow({
action: "update", featureId: "<id>",
updates: { "artifacts.report": "<path-to-document>" }
})Transition: When is set →
artifacts.reportcompleted根据收集到的来源起草交付物文档。
- 根据收集到的来源和大纲撰写文档
- 将文档提交到代码仓库(通常放在或
docs/research/目录下)docs/designs/ - 记录报告路径:
typescript
exarchos:exarchos_workflow({
action: "update", featureId: "<id>",
updates: { "artifacts.report": "<path-to-document>" }
})阶段转换: 当已设置时 → 进入(完成)阶段
artifacts.reportcompletedOptional: Escalation to Implementation
可选:升级至实施阶段
If discovery surfaces an implementation need:
- Note the finding in the report
- After completing the discovery workflow, start a new workflow:
Reference the discovery report as design input.bash
ideate <implementation-topic>
若发现工作流揭示了实施需求:
- 在报告中记录该发现
- 完成发现工作流后,启动新工作流:
将发现报告作为设计输入进行引用。bash
ideate <implementation-topic>
Event Emissions
事件发射
Optionally emit events at key moments for observability:
typescript
exarchos:exarchos_event({
action: "append", stream: "<featureId>",
event: { type: "discovery.sources_collected", data: { sourceCount: N } }
})typescript
exarchos:exarchos_event({
action: "append", stream: "<featureId>",
event: { type: "discovery.report_committed", data: { path: "<report-path>" } }
})可在关键节点发射事件以实现可观测性:
typescript
exarchos:exarchos_event({
action: "append", stream: "<featureId>",
event: { type: "discovery.sources_collected", data: { sourceCount: N } }
})typescript
exarchos:exarchos_event({
action: "append", stream: "<featureId>",
event: { type: "discovery.report_committed", data: { path: "<report-path>" } }
})