Command Palette

Search for a command to run...

Назад к скиллам
скилл № 27173

zf-harness-backlog-synthesis

Use after design.critique.done verdict=approve to accept/merge arch candidate artifacts and synthesize the final task contract or plan/backlog artifacts (with…

БесплатноБез исполняемых скриптов
uisee-aiот uisee-ai★ 36 звёзд на GitHub

Установить zf-harness-backlog-synthesis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

ZaoFu Backlog Synthesis

When to use

You are the orchestrator. You just observed a design.critique.done event with verdict=approve on a task currently assigned to the design stage. The DAG specifies (workflow.dag.stage_order):

intake → design → design_critique → backlog → implement → ...
                                    ^^^^^^^
                                    YOU ARE HERE

workflow.dag.design_to_backlog_owner: orchestrator says you own this stage. Arch may already have written draft/proposed full-stage plan, backlog, and task-map artifacts; treat them as reviewed inputs, not final runtime truth. Do not let any downstream worker start until you finish synthesis or explicitly finish the plan-only artifact handoff.

What NOT to do

  • Never write task contract at intake (when handling user.message). The contract reflects arch + critic outcomes; at intake those events don't exist yet.
  • Never assume kernel will auto-fill contract from arch.proposal.done. As of P0/K1 (docs/impl/22), the kernel intentionally does NOT auto-apply arch's proposal into kanban. Synthesis is your job.
  • Never reject arch solely for producing a complete candidate plan/backlog artifact. That is allowed. What arch must not do is write the final implementation task contract or claim accepted runtime truth.
  • Never dispatch an implementation writer role without the 6 required_backlog_refs filled in. Kernel preflight (P2/K4) will reject the dispatch with task.contract.invalid.
  • Never invent a dev stage for plan-only zf.yaml. If no implementation writer role exists, validate and publish the plan/backlog artifact instead.

Task-map hard contract (multi-task splits — R25 lessons)

机器契约的权威形状(task_map.json 字段、schema_version、 vertical-slice 分解、assembly 任务规则、fail-closed / fingerprint dedupe) 在 zf-plan-task-map-contract——一处权威,此处不重述。下面四条是 orchestrator 合成时的 R25 admission killers,是那份契约之上的增量教训。

When your output is a multi-task task_map.json (refactor/greenfield splits), four rules are admission/review killers. All four were hit in real runs (hermes R24/R25 — zaofu docs/records/runs/2026-06-12-r25-issues.md ISSUE-001/002 and the round-1/2 review rejections):

  1. Exactly one assembly/integration task. Its verification MUST be root-level build green PLUS one end-to-end boot. Per-package green is NOT root green — a workspace whose packages each pass their own tests can still fail tsc -b or fail to boot at the root.
  2. Root files are owned exclusively by the assembly task. Root package.json, workspace manifest (pnpm-workspace.yaml), root tsconfig*, lockfiles: no other task may list ANY root-level path in allowed_paths. allowed_paths is write-scope — reading needs no declaration. (R25 ISSUE-002: 'package.json' double-held → writer fanout cancelled by the W1 exclusivity gate.)
  3. The assembly task MUST register EVERY new package in the workspace manifest so per-package filter commands actually select them. Self-check: run one filter command and confirm the package is matched — "No projects matched" means broken. (R25 round-1 review: 4 of 5 slices had no-op verification because the workspace listed only packages/assembly.)
  4. Backlog-style field completeness per task — task_id, affinity_tag, wave, allowed_paths, verification (executable), source_refs (anchor back to the plan/scan section this task came from), root_owner_class (slice|assembly|scaffold|none). The backlog-style structure constrains the JSON fields; the deliverable is ALWAYS task_map.json — markdown is at most your drafting form, never the artifact the kernel consumes.

Pre-flight self-check before emitting task_map.ready:

[ ] exactly one task with root_owner_class=assembly
[ ] no non-assembly task lists a root-level path in allowed_paths
[ ] workspace manifest registers every packages/* this map creates
[ ] every task: verification is an executable command, not prose
[ ] every task: source_refs anchors back to plan/scan (no orphan tasks,
    no invented tasks beyond the plan)

Plan 审批门(emit task_map.ready 之后,不是自检项而是运行后果): 若 workflow.plan_approval_enabled=True,不要假设 kernel 立即派发。B14 (doc 93,orchestrator_fanout.py _plan_approval_satisfied)会先挂 plan.approval.requested 并 hold,等 operator 的 plan.approved 才孵化 (plan.rejected 后同 plan_id 不再重发 requested)。plan_id = 触发 事件 id。不要为同一 stage+pdd+task 集重发 task_map.ready:已有未决 plan 时 kernel 发 plan.minting.suppressed(reason: pending_plan_same_fingerprint, duplicate_of 指向未决 plan)并 hold,不铸新审批——replan 必须实质改动 task 集 或等待未决 plan 被批/驳,重发同一份 map 不算重试。

Inputs you have

Source Where to read
User intent The original user.message event in events.jsonl
Plan candidates artifact.manifest.published / task.artifact_refs.updated refs from arch, especially spec, sdd, plan, `implementation_pl
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл zf-harness-backlog-synthesis?

Use after design.critique.done verdict=approve to accept/merge arch candidate artifacts and synthesize the final task contract or plan/backlog artifacts (with 6 required_backlog_refs). Finalization is the orchestrator's exclusive job at stage ④ backlog.

Как установить скилл zf-harness-backlog-synthesis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл zf-harness-backlog-synthesis запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить zf-harness-backlog-synthesis с