Command Palette

Search for a command to run...

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

zf-gap-task-synth

Use to synthesize bounded gap tasks from a failed verify/rescan result without duplicating the original task-map schema or reopening unrelated completed work.

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

Установить zf-gap-task-synth в Claude Code и Claude Desktop

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

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

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

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

ZaoFu Gap Task Synthesis

输入源(触发)

gap task synth 的合法触发源不止失败的 verify / rescan 结果:Tier-2 的 diagnosis.completed(next_action: route_to_lane)也是合法触发源——其结论经 candidate_rework 的 feedback 管线回流 replan(known_types.py KNOWN_EVENT_TYPES 注册、runtime/diagnosis.py)。以诊断报告触发时,lane 归属优先采纳报告的 target_lane。

Task Shape

Each generated gap task must be a normal task-map task with:

  • stable task_id;
  • owner_role and affinity_tag;
  • parent_task_id when it patches a previous task;
  • claim_paths / allowed_paths;
  • verification_read_paths when focused verification reads stable tests, scripts, fixtures, or manifests outside the task's writable claim;
  • explicit acceptance criteria;
  • focused verification commands;
  • source_refs 优先锚定 verify report 的 gap_findings 条目(finding_id / severity)与 requirement_coverage_matrix 的 uncovered / partial 行 (requirement_id);失败报告路径、source goal、runtime evidence 作补充锚点。 verify report 由 event schema 强制 requirement_coverage_matrix(non_empty 档位)与 gap_findings / replan_recommendation(core/verification/event_schema.py、 runtime/orchestrator_fanout.py),canonical 锚点是这两处结构化条目,不要只泛写 "the failing report";
  • goal_kind, gap_category, and gap_kind(与下方 amend 封套 goal-gap-plan.v1 的必填字段一致,内核校验,勿自由发挥)。

Do not synthesize vague tasks such as "finish web UI" without precise source anchors and verification.

Treat allowed_paths as write authority. Do not widen it merely to admit a verification command. Before emit, extract every repository path referenced by the final commands and prove that each is covered by the task write scope, a live sibling task's scope, or explicit verification_read_paths. The read-only field does not grant the worker permission to modify those paths.

Classify command paths before emitting the plan:

  • an absolute command executable and the value of --state-dir are host/runtime context, not repository read claims;
  • every repository test, script, fixture, manifest, or imported helper named by a command still belongs in write scope, a live sibling scope, or verification_read_paths;
  • mechanically compute repo_paths(verify_commands) - writable_scope - live_sibling_scope and copy the complete remainder into verification_read_paths before emitting flow.gap_plan.ready;
  • after an admission rejection, preserve the original semantic gap and correct only the rejected task-map shape. Do not rerun broad discovery merely to add a missing read claim.

恢复提案就绪检查

对新增的每个任务(包括不声明 supersedes_task_ids 的前置任务),在提交前 同时对账执行输入、写入权限和验证责任:

  • 当前输入包使用按任务选择时,显式声明 evidence_contract.plan_input_selection 的 Impl/Verify 消费范围;按 zf-verify-rescan-replan 核对前驱需求及新增义务是否完整覆盖。新任务 ID 不等于新需求正文,使用受控前驱关系继承分区,不能省略选择或复制全量输入。
  • 逐项核对 evidence_contract.base_path + required 解析出的产物路径 与 allowed_paths。 本任务需生成的证据必须有精确写入范围;只读来源不扩为可写。若验收要求 发布控制面 Plan/input,由 Planner 经受控产物链路完成后再派发消费者, 不把控制面状态目录加入业务 worker 的写入范围。
  • 从已绑定 Task Map 继承完整 validation.commands[] 对象。 新增命令显式声明 command ID、AC 对应、owner、tier 及确定性/可复用/超时属性;当当前合同要求 rolling smoke 时,选择实际能在 worker 和集成 Candidate 重跑的本地命令。 不能给需要外部环境的验收虚标 rolling_smoke,也不能删除原最终集成门。
  • 全图中共享 command ID 只表示同一验证义务;不同任务的 AC/owner 不同时, 选择唯一 ID,并同步验收映射及矩阵。不得用改名伪造已存在的执行收据。

准入拒绝后,沿用原缺口证据,针对返回的具体字段修订当前草稿并复查以上 关联面。若缺少上游输入或权限,报告具体责任者与所需产物;重复提交相同 不完整提案不能构成恢复进展。

Split-quality Preflight

增量任务仍须满足当前 zf-plan-task-map-contract,不能只校验 gap 封套:

  • v4 要求 rolling smoke 时,每个新增/替代任务必须拥有具名可执行命令,显式设置 rolling_smoke: true、deterministic: true、reusable: true,层级为 static/runtime。
  • 保留结构化 acceptance_criteria 的 id、mandatory、验证 owner/tier 和 command ids; 不把对象转成字符串,也不以自然语言摘要替代机器验收绑定。
  • 绑定当前已接纳需求的 ref/digest,完整保留 mandatory goal claims。旧需求端口可继承, 但新任务不能只继承没有自己分片的 execution_spec;为每个新增 task id 提供实施分片, 更新来源索引和验收/测试矩阵中的生产者映射,保留原 source anchors。
  • 提交前同时核对完整包目标连续性及每个必需 task-scoped port 的新任务分片。 Task Map JSON 合法不等于该任务能取得所有派发输入;缺分片必须先修订产物。
  • 必读输入过大时由 Planner 划定完整正文读取范围,不能让 worker 自行省略规则。 原生 Task Map/矩阵可附 task_input_policy(task-input-policy.v1): shared_paths 为共享正文 JSON paths,tasks 为 {task_id, paths} 列表。 所有原文必须被共享范围或至少一个任务分片覆盖;任务读共享与自己的完整正文, 候选验收读全量。复核跨任务依赖、验收责任和未决决定,再比较各任务实际输入体积。 不修改已派发的不可变包;新声明进入新 Plan 包、预检与批准。

Before emitting a gap plan, read the effective workflow work-unit contract from the current briefing/effective config. When workflow.work_units.split_quality.max_acceptance_criteria is non-zero, every generated task must stay at or below that limit.

Treat this as a shape constraint, not permission to drop requirements:

  • merge criteria that prove the same acceptance domain into one explicit clause while retaining all commands/evidence anchors;
  • if independent acceptance domains still exceed the limit, split them into non-overlapping tasks with explicit ownership and dependency closure;
  • never truncate criteria, hide requirements in prose, or weaken coverage just to pass admission;
  • count the final acceptance_criteria array mechanically before emit and revise th
Полный SKILL.md на GitHub

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

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

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

FAQ

Что делает скилл zf-gap-task-synth?

Use to synthesize bounded gap tasks from a failed verify/rescan result without duplicating the original task-map schema or reopening unrelated completed work.

Как установить скилл zf-gap-task-synth?

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

Скилл zf-gap-task-synth запускает скрипты?

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

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

Сравнить zf-gap-task-synth с