workflow-status
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWorkflow Status (the orchestrator's sensor)
工作流状态(编排器的传感器)
One read-only pass over the project that answers, in a single fixed JSON
envelope: what exists, what is blocked on what, what is startable right now,
and what the recommended next command is. Built for external orchestrators
(see ) but equally useful to a human asking
"where do we stand?".
docs/workflow/ORCHESTRATION.md对项目执行一次只读扫描,通过一个固定的JSON信封回答以下问题:当前存在哪些内容、哪些任务被什么阻塞、哪些任务现在可以启动,以及推荐的下一步命令是什么。 专为外部编排器设计(参见),但对于询问“我们当前进展如何?”的人类用户同样有用。
docs/workflow/ORCHESTRATION.mdTurn contract — verify before ending the turn
回合契约 — 结束回合前验证
✓ Every claim comes from a RUN command or a READ file (git/forge output, roadmap,
fix index, feature folders) — nothing inferred from memory
✓ Nothing was edited, committed, pushed, or created — read-only, always
✓ `next.recommended` is non-bare (carries the unit's slug/NN, never a bare
`/plan-feature`) AND staged by the target unit's resolved status:
`idea`/undesigned → `/design-feature <slug>`; `defined` → `/plan-feature
<slug>`; `planned` → `/execute-phase <NN>`
✓ A missing or non-frozen repository-state ledger emits a machine-readable
substrate blocker and routes to discovery or resolution before any unit is
listed as startable
✓ Every `detail.design_candidates[].next` begins with `/design-feature ` — design
candidates always route to design, regardless of anything else
✓ When `--last-envelope` is supplied: the no-progress guard ran (crash-recovery
checklist) — a hint that recommended `/plan-feature`/`/design-feature` for a
unit still at its pre-advance status produces a `workflow_observations` note,
never a silently repeated bland recommendation
✓ `recommendations.product_audit` was computed by the step-16 mechanical
two-condition check (never guessed), and `next.tier` was derived from the
resolved `next.recommended` command via the command→tier map in
`## Machine envelope` (never guessed)
✓ Per-unit `review`/`closure`/`issues_born` (steps 10–12) were computed per
their fixed rules — `adversarial.ran`/`n` stayed `null` unless real
evidence exists, never guessed — and any fired `next.suggested[]` entries
(step 13) quote their owning skill's condition verbatim, never a second
copy of the trigger logic
✓ The envelope is emitted on **every** invocation of this skill, including a
same-session natural-language follow-up about state — never replaced by prose
✓ The emitted envelope was checked against the shape reminders in
`## Machine envelope` (mirroring
`packages/agentic-workflow-schema/envelope.schema.json`) before printing
✓ The human-readable summary is printed, then the machine envelope (fenced
```json — see ## Machine envelope) is the ABSOLUTE last outputWith , skip the human-readable summary: print the envelope alone.
--json-only✓ Every claim comes from a RUN command or a READ file (git/forge output, roadmap,
fix index, feature folders) — nothing inferred from memory
✓ Nothing was edited, committed, pushed, or created — read-only, always
✓ `next.recommended` is non-bare (carries the unit's slug/NN, never a bare
`/plan-feature`) AND staged by the target unit's resolved status:
`idea`/undesigned → `/design-feature <slug>`; `defined` → `/plan-feature
<slug>`; `planned` → `/execute-phase <NN>`
✓ A missing or non-frozen repository-state ledger emits a machine-readable
substrate blocker and routes to discovery or resolution before any unit is
listed as startable
✓ Every `detail.design_candidates[].next` begins with `/design-feature ` — design
candidates always route to design, regardless of anything else
✓ When `--last-envelope` is supplied: the no-progress guard ran (crash-recovery
checklist) — a hint that recommended `/plan-feature`/`/design-feature` for a
unit still at its pre-advance status produces a `workflow_observations` note,
never a silently repeated bland recommendation
✓ `recommendations.product_audit` was computed by the step-16 mechanical
two-condition check (never guessed), and `next.tier` was derived from the
resolved `next.recommended` command via the command→tier map in
`## Machine envelope` (never guessed)
✓ Per-unit `review`/`closure`/`issues_born` (steps 10–12) were computed per
their fixed rules — `adversarial.ran`/`n` stayed `null` unless real
evidence exists, never guessed — and any fired `next.suggested[]` entries
(step 13) quote their owning skill's condition verbatim, never a second
copy of the trigger logic
✓ The envelope is emitted on **every** invocation of this skill, including a
same-session natural-language follow-up about state — never replaced by prose
✓ The emitted envelope was checked against the shape reminders in
`## Machine envelope` (mirroring
`packages/agentic-workflow-schema/envelope.schema.json`) before printing
✓ The human-readable summary is printed, then the machine envelope (fenced
```json — see ## Machine envelope) is the ABSOLUTE last output使用参数时,跳过人类可读摘要:仅打印信封内容。
--json-onlyWhen to use
何时使用
- Between orchestration steps: an external driver runs it to decide the next command and model tier without parsing prose.
- Before picking work manually: "what can I start right now?"
- Not for judging quality (that's /
review-change) or product health (that'saudit-pr) — this skill reports state, it never judges.product-audit
- 编排步骤之间:外部驱动程序运行它,无需解析文本即可决定下一步命令和模型层级。
- 手动选择工作前:“我现在可以启动什么任务?”
- 不适合用于质量评判(那是/
review-change的用途)或产品健康度评估(那是audit-pr的用途)——本技能仅报告状态,从不做评判。product-audit
Step 0 — Discover the project (always first)
步骤0 — 发现项目(始终第一步)
Per the agent guide's Workflow conventions + documentation map, then
read what THIS skill needs: , the fix index
(), every in-flight feature folder's +
+ , and if a
ship-roadmap run exists.
docs/features/ROADMAP.mddocs/fix/README.mdTASKS.mdprogress.mdknown-issues.mddocs/features/SHIP_DECISIONS.md遵循Agent指南中的工作流约定 + 文档地图,然后读取本技能所需的内容:、修复索引()、每个进行中功能文件夹的 + + ,以及如果存在发布路线图运行记录,则读取。
docs/features/ROADMAP.mddocs/fix/README.mdTASKS.mdprogress.mdknown-issues.mddocs/features/SHIP_DECISIONS.mdProgressive loading — fixed sensor route
渐进式加载 — 固定传感器路径
The reference allowlist is exactly the seven linked paths below. Never invent or
read another path. This skill is a read-only sensor. Every
invocation loads this baseline in order:
references/- sensor core
- crash recovery
- envelope core
- envelope fields
- guardrails
Add sensor signals only when a unit, issue,
finding, or recommendation exists; an empty project skips that file but still
emits the empty shapes defined by envelope fields. Add
portability only when the platform actually lacks a
named primitive. does not skip any baseline file.
--json-onlyAll resources are one hop from this file. Missing required detail means
; do not fabricate a partial envelope.
BLOCKED参考允许列表恰好是以下七个链接路径。切勿创建或读取其他路径。本技能是一个只读传感器。每次调用都会按顺序加载以下基线内容:
references/- 传感器核心
- 崩溃恢复
- 信封核心
- 信封字段
- 防护规则
仅当存在单元、问题、发现或建议时,才添加传感器信号;空项目会跳过该文件,但仍会输出信封字段定义的空结构。仅当平台确实缺少指定的原语时,才添加可移植性。不会跳过任何基线文件。
--json-only所有资源都与本文件直接关联。缺少必要细节意味着状态为;切勿编造部分信封。
BLOCKEDPortability
可移植性
The sensor uses repository and forge commands only. When a named agent feature
is unavailable, follow portability without changing
the JSON contract.
传感器仅使用仓库和 forge 命令。当某个指定的Agent功能不可用时,请遵循可移植性要求,且不得修改JSON契约。
Relationship to other skills
与其他技能的关系
- The sensor counterpart to 's conductor: an external orchestrator calls
ship-roadmap→ routes on the envelope → invokesworkflow-status/plan-feature/execute-phase/review-change/audit-prdirectly, choosing the model per step — the same loop without the in-agent autopilot.triage-issue - Read-only sibling of (which judges coherence and can fix) and
audit-docs(which judges health): this one only reports state.product-audit - Schema owner: (internal).
orchestration-envelope
- 是编排器的传感器对应组件:外部编排器调用
ship-roadmap→ 根据信封内容路由 → 直接调用workflow-status/plan-feature/execute-phase/review-change/audit-pr,为每个步骤选择模型——这是没有Agent内部自动驾驶的相同循环。triage-issue - 是(评判一致性并可修复)和
audit-docs(评判健康度)的只读同类技能:本技能仅报告状态。product-audit - 架构所有者:(内部)。
orchestration-envelope
Done when
完成标志
- Every roadmap/fix row, open PR, and in-flight folder was actually read, the dependency closures are computed transitively, and inconsistencies are reported (never repaired).
- The sub-block was printed with a verdict from the decision table, and the envelope
CRASH RECOVERYmatches it (CLEAN→OK, RESUMABLE→CONTINUE, AMBIGUOUS→NEEDS_INPUT).state - With supplied: the no-progress guard ran — a stalled
--last-envelope//plan-featurehint surfaces as a/design-featurenote, never a silent bland repeat, with no new write path introduced.workflow_observations - The human summary (unless ) and the envelope — with
--json-onlycarrying design_candidates, features, fixes, startable_now, blocked_units, open_prs, pending_triage,detail(count + oldest_open) anduntriaged_issues(labels-only issue list + interruptibility facts) — are printed, envelope last.urgent - Each /
detail.features[]entry additionally carriesdetail.fixes[],review, andclosure(steps 10–12) —issues_born-scoped, no schema change — and any fired triggers appear in a top-leveldetail(step 13), single-sourced from the owning skill's own condition text.next.suggested[] - Nothing was modified anywhere.
→ Next: the envelope's command — it is computed from the
actual state, so it IS the recommendation
· a human overview → read the printed table
· orchestrating programmatically → parse the last fenced json block
next.recommended- 已实际读取每个路线图/修复条目、开放PR和进行中文件夹,已递归计算依赖关系闭包,并已报告不一致性(从不修复)。
- 已打印子块,并带有决策表得出的结论,且信封中的
CRASH RECOVERY与之匹配(CLEAN→OK,RESUMABLE→CONTINUE,AMBIGUOUS→NEEDS_INPUT)。state - 当提供时:已运行无进展防护——停滞的
--last-envelope//plan-feature提示会作为/design-feature注释显示,绝不会静默重复平淡的建议,且不会引入新的写入路径。workflow_observations - 已打印人类可读摘要(除非使用)和信封——其中
--json-only包含design_candidates、features、fixes、startable_now、blocked_units、open_prs、pending_triage、detail(数量+最早开放时间)和untriaged_issues(仅标签问题列表+可中断性事实),信封最后输出。urgent - 每个/
detail.features[]条目还包含detail.fixes[]、review和closure(步骤10–12)——属于issues_born范围,无架构变更——且任何触发的触发器都会出现在顶级detail(步骤13)中,内容直接引用所属技能的条件文本。next.suggested[] - 未对任何内容进行修改。
→ 下一步:信封中的命令——它由实际状态计算得出,因此本身就是建议
· 如需人类概览 → 阅读打印的表格
· 如需程序化编排 → 解析最后一个带围栏的json块
next.recommended