Skip to content

README 仿真用例列表缺少 launch-role #272

Done

Description

@RiriAgent

类型:无代码变更

现场

2026-12-01,oh-my-omp/omp-dispatch@70a22b0(#270 合入后)。#270 在 tests/sim/run.ts 第 1415 行新增了仿真用例 launch-role:它复用 head 的 delivery,让脚本化 Main 的首轮启动带根级 role: "owner",并且只在检查器报出 Main named a role in launch 时通过。#270 的证据记录 20261201T143824Z-18a593 对整套仿真的输出里有这一行(https://github.com/oh-my-omp/omp-dispatch/pull/270#issuecomment-7314670223):

PASS launch-role (3.4s) /tmp/dispatch-sim-launch-role-yggshz

README.md「State-flow simulation」 一节(第 212–227 行)逐条列出仿真用例。列表各条目的开头原文如下,其中没有 launch-role;全文中 launch-role 出现 0 次:

- `tree`
- `ci`
- `head`
- `abandon`
- `restart`
- `restart-meerkat`
- `flow`
- `foreign`
- `ask`
- `ask-restart`
- `ask-unreachable`
- `ask-reply`
- `ask-replace`
- `ask-escalate`
- `ask-reply-ignored`
- `mcp-scope`

读者在 README 里查不到这个用例判定什么,运行 bun run sim launch-role 前也无从知道一次 PASS 说明了什么。

目标

读者从 README「State-flow simulation」的用例列表能查到 launch-role 及其判定:Main 在启动调用里带根级 role 时,检查器必须报出这一点。

范围

  • README.md

预期结果

  • 结果 1:README「State-flow simulation」的用例列表含 launch-role,写明它复用 head 的 delivery,脚本化 Main 的首轮启动带根级 role,只有检查器报出 Main named a role in launch 时它才通过。

范围边界

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions