@captain_z/zsk-skills 1.8.2 → 1.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -27
- package/acceptance/SKILL.md +2 -0
- package/acceptance/harness/THIS_SKILL.md +64 -0
- package/acceptance/harness/constraints/filesystem-boundaries.md +6 -1
- package/acceptance/harness/constraints/issue-taxonomy.md +16 -0
- package/acceptance/harness/constraints/skill-role-contract.md +58 -10
- package/acceptance/harness/constraints/stage-gates.md +41 -0
- package/acceptance/harness/profiles/enterprise.yaml +5 -0
- package/acceptance/harness/profiles/frontend.yaml +5 -0
- package/acceptance/harness/profiles/sdlc.yaml +5 -0
- package/acceptance/harness/workflow/completion-contract.yaml +29 -6
- package/acceptance/harness/workflow/skill-quality-standards.yaml +115 -13
- package/acceptance/harness/workflow/stage-contracts.yaml +15 -6
- package/acceptance/harness/workflow/state-machine.yaml +14 -5
- package/archive/SKILL.md +2 -0
- package/archive/harness/THIS_SKILL.md +64 -0
- package/archive/harness/constraints/filesystem-boundaries.md +6 -1
- package/archive/harness/constraints/issue-taxonomy.md +16 -0
- package/archive/harness/constraints/skill-role-contract.md +58 -10
- package/archive/harness/constraints/stage-gates.md +41 -0
- package/archive/harness/profiles/enterprise.yaml +5 -0
- package/archive/harness/profiles/frontend.yaml +5 -0
- package/archive/harness/profiles/sdlc.yaml +5 -0
- package/archive/harness/workflow/completion-contract.yaml +29 -6
- package/archive/harness/workflow/skill-quality-standards.yaml +115 -13
- package/archive/harness/workflow/stage-contracts.yaml +15 -6
- package/archive/harness/workflow/state-machine.yaml +14 -5
- package/bundles.yaml +14 -1
- package/coding/SKILL.md +9 -1
- package/coding/harness/THIS_SKILL.md +71 -2
- package/coding/harness/constraints/filesystem-boundaries.md +6 -1
- package/coding/harness/constraints/issue-taxonomy.md +16 -0
- package/coding/harness/constraints/skill-role-contract.md +58 -10
- package/coding/harness/constraints/stage-gates.md +41 -0
- package/coding/harness/profiles/enterprise.yaml +5 -0
- package/coding/harness/profiles/frontend.yaml +5 -0
- package/coding/harness/profiles/sdlc.yaml +5 -0
- package/coding/harness/workflow/completion-contract.yaml +29 -6
- package/coding/harness/workflow/skill-io-contract.yaml +5 -0
- package/coding/harness/workflow/skill-quality-standards.yaml +124 -13
- package/coding/harness/workflow/stage-contracts.yaml +15 -6
- package/coding/harness/workflow/state-machine.yaml +14 -5
- package/commit/SKILL.md +2 -0
- package/commit/harness/THIS_SKILL.md +64 -0
- package/commit/harness/constraints/filesystem-boundaries.md +6 -1
- package/commit/harness/constraints/issue-taxonomy.md +16 -0
- package/commit/harness/constraints/skill-role-contract.md +58 -10
- package/commit/harness/constraints/stage-gates.md +41 -0
- package/commit/harness/profiles/enterprise.yaml +5 -0
- package/commit/harness/profiles/frontend.yaml +5 -0
- package/commit/harness/profiles/sdlc.yaml +5 -0
- package/commit/harness/workflow/completion-contract.yaml +29 -6
- package/commit/harness/workflow/skill-quality-standards.yaml +114 -13
- package/commit/harness/workflow/stage-contracts.yaml +15 -6
- package/commit/harness/workflow/state-machine.yaml +14 -5
- package/defect/SKILL.md +2 -0
- package/defect/harness/THIS_SKILL.md +64 -0
- package/defect/harness/constraints/filesystem-boundaries.md +6 -1
- package/defect/harness/constraints/issue-taxonomy.md +16 -0
- package/defect/harness/constraints/skill-role-contract.md +58 -10
- package/defect/harness/constraints/stage-gates.md +41 -0
- package/defect/harness/profiles/enterprise.yaml +5 -0
- package/defect/harness/profiles/frontend.yaml +5 -0
- package/defect/harness/profiles/sdlc.yaml +5 -0
- package/defect/harness/workflow/completion-contract.yaml +29 -6
- package/defect/harness/workflow/skill-quality-standards.yaml +114 -13
- package/defect/harness/workflow/stage-contracts.yaml +15 -6
- package/defect/harness/workflow/state-machine.yaml +14 -5
- package/demo/SKILL.md +2 -0
- package/demo/harness/THIS_SKILL.md +64 -0
- package/demo/harness/constraints/filesystem-boundaries.md +6 -1
- package/demo/harness/constraints/issue-taxonomy.md +16 -0
- package/demo/harness/constraints/skill-role-contract.md +58 -10
- package/demo/harness/constraints/stage-gates.md +41 -0
- package/demo/harness/profiles/enterprise.yaml +5 -0
- package/demo/harness/profiles/frontend.yaml +5 -0
- package/demo/harness/profiles/sdlc.yaml +5 -0
- package/demo/harness/workflow/completion-contract.yaml +29 -6
- package/demo/harness/workflow/skill-quality-standards.yaml +114 -13
- package/demo/harness/workflow/stage-contracts.yaml +15 -6
- package/demo/harness/workflow/state-machine.yaml +14 -5
- package/deploy/SKILL.md +2 -0
- package/deploy/harness/THIS_SKILL.md +64 -0
- package/deploy/harness/constraints/filesystem-boundaries.md +6 -1
- package/deploy/harness/constraints/issue-taxonomy.md +16 -0
- package/deploy/harness/constraints/skill-role-contract.md +58 -10
- package/deploy/harness/constraints/stage-gates.md +41 -0
- package/deploy/harness/profiles/enterprise.yaml +5 -0
- package/deploy/harness/profiles/frontend.yaml +5 -0
- package/deploy/harness/profiles/sdlc.yaml +5 -0
- package/deploy/harness/workflow/completion-contract.yaml +29 -6
- package/deploy/harness/workflow/skill-quality-standards.yaml +115 -13
- package/deploy/harness/workflow/stage-contracts.yaml +15 -6
- package/deploy/harness/workflow/state-machine.yaml +14 -5
- package/design/SKILL.md +29 -1
- package/design/harness/THIS_SKILL.md +68 -1
- package/design/harness/constraints/filesystem-boundaries.md +6 -1
- package/design/harness/constraints/issue-taxonomy.md +16 -0
- package/design/harness/constraints/skill-role-contract.md +58 -10
- package/design/harness/constraints/stage-gates.md +41 -0
- package/design/harness/profiles/enterprise.yaml +5 -0
- package/design/harness/profiles/frontend.yaml +5 -0
- package/design/harness/profiles/sdlc.yaml +5 -0
- package/design/harness/workflow/completion-contract.yaml +29 -6
- package/design/harness/workflow/skill-io-contract.yaml +3 -0
- package/design/harness/workflow/skill-quality-standards.yaml +125 -13
- package/design/harness/workflow/stage-contracts.yaml +15 -6
- package/design/harness/workflow/state-machine.yaml +14 -5
- package/dispatch/SKILL.md +2 -0
- package/dispatch/harness/THIS_SKILL.md +64 -0
- package/dispatch/harness/constraints/filesystem-boundaries.md +6 -1
- package/dispatch/harness/constraints/issue-taxonomy.md +16 -0
- package/dispatch/harness/constraints/skill-role-contract.md +58 -10
- package/dispatch/harness/constraints/stage-gates.md +41 -0
- package/dispatch/harness/profiles/enterprise.yaml +5 -0
- package/dispatch/harness/profiles/frontend.yaml +5 -0
- package/dispatch/harness/profiles/sdlc.yaml +5 -0
- package/dispatch/harness/workflow/completion-contract.yaml +29 -6
- package/dispatch/harness/workflow/skill-quality-standards.yaml +115 -13
- package/dispatch/harness/workflow/stage-contracts.yaml +15 -6
- package/dispatch/harness/workflow/state-machine.yaml +14 -5
- package/fix/SKILL.md +113 -0
- package/fix/harness/README.md +15 -0
- package/fix/harness/THIS_SKILL.md +229 -0
- package/fix/harness/best-practices/README.md +13 -0
- package/fix/harness/best-practices/agent-orchestration.md +45 -0
- package/fix/harness/best-practices/quality.md +41 -0
- package/fix/harness/best-practices/sdlc.md +49 -0
- package/fix/harness/constraints/evidence-rules.md +33 -0
- package/fix/harness/constraints/filesystem-boundaries.md +48 -0
- package/fix/harness/constraints/issue-taxonomy.md +114 -0
- package/fix/harness/constraints/skill-role-contract.md +243 -0
- package/fix/harness/constraints/source-of-truth.md +33 -0
- package/fix/harness/constraints/stage-gates.md +96 -0
- package/fix/harness/profiles/enterprise.yaml +94 -0
- package/fix/harness/profiles/frontend.yaml +98 -0
- package/fix/harness/profiles/lite.yaml +55 -0
- package/fix/harness/profiles/sdlc.yaml +88 -0
- package/fix/harness/workflow/completion-contract.yaml +172 -0
- package/fix/harness/workflow/skill-io-contract.yaml +193 -0
- package/fix/harness/workflow/skill-quality-standards.yaml +215 -0
- package/fix/harness/workflow/stage-contracts.yaml +64 -0
- package/fix/harness/workflow/state-machine.yaml +74 -0
- package/flow/SKILL.md +7 -4
- package/flow/harness/THIS_SKILL.md +70 -1
- package/flow/harness/constraints/filesystem-boundaries.md +6 -1
- package/flow/harness/constraints/issue-taxonomy.md +16 -0
- package/flow/harness/constraints/skill-role-contract.md +58 -10
- package/flow/harness/constraints/stage-gates.md +41 -0
- package/flow/harness/profiles/enterprise.yaml +5 -0
- package/flow/harness/profiles/frontend.yaml +5 -0
- package/flow/harness/profiles/sdlc.yaml +5 -0
- package/flow/harness/workflow/completion-contract.yaml +29 -6
- package/flow/harness/workflow/skill-io-contract.yaml +3 -0
- package/flow/harness/workflow/skill-quality-standards.yaml +121 -13
- package/flow/harness/workflow/stage-contracts.yaml +15 -6
- package/flow/harness/workflow/state-machine.yaml +14 -5
- package/issue/SKILL.md +16 -0
- package/issue/harness/THIS_SKILL.md +68 -1
- package/issue/harness/constraints/filesystem-boundaries.md +6 -1
- package/issue/harness/constraints/issue-taxonomy.md +16 -0
- package/issue/harness/constraints/skill-role-contract.md +58 -10
- package/issue/harness/constraints/stage-gates.md +41 -0
- package/issue/harness/profiles/enterprise.yaml +5 -0
- package/issue/harness/profiles/frontend.yaml +5 -0
- package/issue/harness/profiles/sdlc.yaml +5 -0
- package/issue/harness/workflow/completion-contract.yaml +29 -6
- package/issue/harness/workflow/skill-io-contract.yaml +3 -0
- package/issue/harness/workflow/skill-quality-standards.yaml +117 -13
- package/issue/harness/workflow/stage-contracts.yaml +15 -6
- package/issue/harness/workflow/state-machine.yaml +14 -5
- package/learn/SKILL.md +7 -1
- package/learn/harness/THIS_SKILL.md +67 -0
- package/learn/harness/constraints/filesystem-boundaries.md +6 -1
- package/learn/harness/constraints/issue-taxonomy.md +16 -0
- package/learn/harness/constraints/skill-role-contract.md +58 -10
- package/learn/harness/constraints/stage-gates.md +41 -0
- package/learn/harness/profiles/enterprise.yaml +5 -0
- package/learn/harness/profiles/frontend.yaml +5 -0
- package/learn/harness/profiles/sdlc.yaml +5 -0
- package/learn/harness/workflow/completion-contract.yaml +29 -6
- package/learn/harness/workflow/skill-io-contract.yaml +2 -0
- package/learn/harness/workflow/skill-quality-standards.yaml +119 -13
- package/learn/harness/workflow/stage-contracts.yaml +15 -6
- package/learn/harness/workflow/state-machine.yaml +14 -5
- package/package.json +1 -1
- package/prepare/SKILL.md +2 -0
- package/prepare/harness/THIS_SKILL.md +64 -0
- package/prepare/harness/constraints/filesystem-boundaries.md +6 -1
- package/prepare/harness/constraints/issue-taxonomy.md +16 -0
- package/prepare/harness/constraints/skill-role-contract.md +58 -10
- package/prepare/harness/constraints/stage-gates.md +41 -0
- package/prepare/harness/profiles/enterprise.yaml +5 -0
- package/prepare/harness/profiles/frontend.yaml +5 -0
- package/prepare/harness/profiles/sdlc.yaml +5 -0
- package/prepare/harness/workflow/completion-contract.yaml +29 -6
- package/prepare/harness/workflow/skill-quality-standards.yaml +115 -13
- package/prepare/harness/workflow/stage-contracts.yaml +15 -6
- package/prepare/harness/workflow/state-machine.yaml +14 -5
- package/preproposal/SKILL.md +183 -0
- package/preproposal/harness/README.md +15 -0
- package/preproposal/harness/THIS_SKILL.md +250 -0
- package/preproposal/harness/best-practices/README.md +14 -0
- package/preproposal/harness/best-practices/design-handoff.md +41 -0
- package/preproposal/harness/best-practices/project-constraints-template.md +66 -0
- package/preproposal/harness/best-practices/quality.md +41 -0
- package/preproposal/harness/best-practices/sdlc.md +49 -0
- package/preproposal/harness/constraints/evidence-rules.md +33 -0
- package/preproposal/harness/constraints/filesystem-boundaries.md +48 -0
- package/preproposal/harness/constraints/issue-taxonomy.md +114 -0
- package/preproposal/harness/constraints/skill-role-contract.md +243 -0
- package/preproposal/harness/constraints/source-of-truth.md +33 -0
- package/preproposal/harness/constraints/stage-gates.md +96 -0
- package/preproposal/harness/profiles/enterprise.yaml +94 -0
- package/preproposal/harness/profiles/frontend.yaml +98 -0
- package/preproposal/harness/profiles/lite.yaml +55 -0
- package/preproposal/harness/profiles/sdlc.yaml +88 -0
- package/preproposal/harness/workflow/completion-contract.yaml +172 -0
- package/preproposal/harness/workflow/skill-io-contract.yaml +200 -0
- package/preproposal/harness/workflow/skill-quality-standards.yaml +231 -0
- package/preproposal/harness/workflow/stage-contracts.yaml +64 -0
- package/preproposal/harness/workflow/state-machine.yaml +74 -0
- package/proposal/SKILL.md +21 -6
- package/proposal/harness/THIS_SKILL.md +65 -0
- package/proposal/harness/constraints/filesystem-boundaries.md +6 -1
- package/proposal/harness/constraints/issue-taxonomy.md +16 -0
- package/proposal/harness/constraints/skill-role-contract.md +58 -10
- package/proposal/harness/constraints/stage-gates.md +41 -0
- package/proposal/harness/profiles/enterprise.yaml +5 -0
- package/proposal/harness/profiles/frontend.yaml +5 -0
- package/proposal/harness/profiles/sdlc.yaml +5 -0
- package/proposal/harness/workflow/completion-contract.yaml +29 -6
- package/proposal/harness/workflow/skill-io-contract.yaml +1 -0
- package/proposal/harness/workflow/skill-quality-standards.yaml +115 -13
- package/proposal/harness/workflow/stage-contracts.yaml +15 -6
- package/proposal/harness/workflow/state-machine.yaml +14 -5
- package/ready/SKILL.md +5 -0
- package/ready/harness/THIS_SKILL.md +65 -0
- package/ready/harness/constraints/filesystem-boundaries.md +6 -1
- package/ready/harness/constraints/issue-taxonomy.md +16 -0
- package/ready/harness/constraints/skill-role-contract.md +58 -10
- package/ready/harness/constraints/stage-gates.md +41 -0
- package/ready/harness/profiles/enterprise.yaml +5 -0
- package/ready/harness/profiles/frontend.yaml +5 -0
- package/ready/harness/profiles/sdlc.yaml +5 -0
- package/ready/harness/workflow/completion-contract.yaml +29 -6
- package/ready/harness/workflow/skill-io-contract.yaml +1 -0
- package/ready/harness/workflow/skill-quality-standards.yaml +115 -13
- package/ready/harness/workflow/stage-contracts.yaml +15 -6
- package/ready/harness/workflow/state-machine.yaml +14 -5
- package/review/SKILL.md +33 -8
- package/review/harness/THIS_SKILL.md +84 -5
- package/review/harness/constraints/filesystem-boundaries.md +6 -1
- package/review/harness/constraints/issue-taxonomy.md +16 -0
- package/review/harness/constraints/skill-role-contract.md +58 -10
- package/review/harness/constraints/stage-gates.md +41 -0
- package/review/harness/profiles/enterprise.yaml +5 -0
- package/review/harness/profiles/frontend.yaml +5 -0
- package/review/harness/profiles/sdlc.yaml +5 -0
- package/review/harness/workflow/completion-contract.yaml +29 -6
- package/review/harness/workflow/skill-io-contract.yaml +15 -1
- package/review/harness/workflow/skill-quality-standards.yaml +141 -15
- package/review/harness/workflow/stage-contracts.yaml +15 -6
- package/review/harness/workflow/state-machine.yaml +14 -5
- package/smoke/SKILL.md +5 -0
- package/smoke/harness/THIS_SKILL.md +65 -0
- package/smoke/harness/constraints/filesystem-boundaries.md +6 -1
- package/smoke/harness/constraints/issue-taxonomy.md +16 -0
- package/smoke/harness/constraints/skill-role-contract.md +58 -10
- package/smoke/harness/constraints/stage-gates.md +41 -0
- package/smoke/harness/profiles/enterprise.yaml +5 -0
- package/smoke/harness/profiles/frontend.yaml +5 -0
- package/smoke/harness/profiles/sdlc.yaml +5 -0
- package/smoke/harness/workflow/completion-contract.yaml +29 -6
- package/smoke/harness/workflow/skill-quality-standards.yaml +118 -13
- package/smoke/harness/workflow/stage-contracts.yaml +15 -6
- package/smoke/harness/workflow/state-machine.yaml +14 -5
- package/spec/SKILL.md +16 -0
- package/spec/harness/THIS_SKILL.md +67 -1
- package/spec/harness/constraints/filesystem-boundaries.md +6 -1
- package/spec/harness/constraints/issue-taxonomy.md +16 -0
- package/spec/harness/constraints/skill-role-contract.md +58 -10
- package/spec/harness/constraints/stage-gates.md +41 -0
- package/spec/harness/profiles/enterprise.yaml +5 -0
- package/spec/harness/profiles/frontend.yaml +5 -0
- package/spec/harness/profiles/sdlc.yaml +5 -0
- package/spec/harness/workflow/completion-contract.yaml +29 -6
- package/spec/harness/workflow/skill-io-contract.yaml +2 -0
- package/spec/harness/workflow/skill-quality-standards.yaml +120 -13
- package/spec/harness/workflow/stage-contracts.yaml +15 -6
- package/spec/harness/workflow/state-machine.yaml +14 -5
- package/task/SKILL.md +19 -3
- package/task/harness/THIS_SKILL.md +70 -4
- package/task/harness/constraints/filesystem-boundaries.md +6 -1
- package/task/harness/constraints/issue-taxonomy.md +16 -0
- package/task/harness/constraints/skill-role-contract.md +58 -10
- package/task/harness/constraints/stage-gates.md +41 -0
- package/task/harness/profiles/enterprise.yaml +5 -0
- package/task/harness/profiles/frontend.yaml +5 -0
- package/task/harness/profiles/sdlc.yaml +5 -0
- package/task/harness/workflow/completion-contract.yaml +29 -6
- package/task/harness/workflow/skill-io-contract.yaml +3 -1
- package/task/harness/workflow/skill-quality-standards.yaml +121 -17
- package/task/harness/workflow/stage-contracts.yaml +15 -6
- package/task/harness/workflow/state-machine.yaml +14 -5
- package/verify/SKILL.md +5 -0
- package/verify/harness/THIS_SKILL.md +65 -0
- package/verify/harness/constraints/filesystem-boundaries.md +6 -1
- package/verify/harness/constraints/issue-taxonomy.md +16 -0
- package/verify/harness/constraints/skill-role-contract.md +58 -10
- package/verify/harness/constraints/stage-gates.md +41 -0
- package/verify/harness/profiles/enterprise.yaml +5 -0
- package/verify/harness/profiles/frontend.yaml +5 -0
- package/verify/harness/profiles/sdlc.yaml +5 -0
- package/verify/harness/workflow/completion-contract.yaml +29 -6
- package/verify/harness/workflow/skill-io-contract.yaml +1 -0
- package/verify/harness/workflow/skill-quality-standards.yaml +114 -13
- package/verify/harness/workflow/stage-contracts.yaml +15 -6
- package/verify/harness/workflow/state-machine.yaml +14 -5
- package/zsk/SKILL.md +19 -11
- package/zsk/harness/THIS_SKILL.md +74 -1
- package/zsk/harness/constraints/filesystem-boundaries.md +6 -1
- package/zsk/harness/constraints/issue-taxonomy.md +16 -0
- package/zsk/harness/constraints/skill-role-contract.md +58 -10
- package/zsk/harness/constraints/stage-gates.md +41 -0
- package/zsk/harness/profiles/enterprise.yaml +5 -0
- package/zsk/harness/profiles/frontend.yaml +5 -0
- package/zsk/harness/profiles/sdlc.yaml +5 -0
- package/zsk/harness/workflow/completion-contract.yaml +29 -6
- package/zsk/harness/workflow/skill-io-contract.yaml +5 -0
- package/zsk/harness/workflow/skill-quality-standards.yaml +129 -13
- package/zsk/harness/workflow/stage-contracts.yaml +15 -6
- package/zsk/harness/workflow/state-machine.yaml +14 -5
- package/zskplan/SKILL.md +45 -13
- package/zskplan/harness/THIS_SKILL.md +95 -6
- package/zskplan/harness/constraints/filesystem-boundaries.md +6 -1
- package/zskplan/harness/constraints/issue-taxonomy.md +16 -0
- package/zskplan/harness/constraints/skill-role-contract.md +58 -10
- package/zskplan/harness/constraints/stage-gates.md +41 -0
- package/zskplan/harness/profiles/enterprise.yaml +5 -0
- package/zskplan/harness/profiles/frontend.yaml +5 -0
- package/zskplan/harness/profiles/sdlc.yaml +5 -0
- package/zskplan/harness/workflow/completion-contract.yaml +29 -6
- package/zskplan/harness/workflow/skill-io-contract.yaml +14 -0
- package/zskplan/harness/workflow/skill-quality-standards.yaml +159 -19
- package/zskplan/harness/workflow/stage-contracts.yaml +15 -6
- package/zskplan/harness/workflow/state-machine.yaml +14 -5
package/README.md
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
ZNorth Standard Kit 的可安装 skill 内容包。安装面现在只保留从根级 `skills/` 生成的 **core harness-first skills**;旧 `.best-practices/` 不再批量生成独立 installable skills,而是作为参考源按 skill 携带相关子集。
|
|
4
4
|
|
|
5
|
-
包内共有 **
|
|
5
|
+
包内共有 **23 颗 installable skills**,全部来自根级 `skills/`。
|
|
6
6
|
|
|
7
7
|
## 合规审查(ARCHITECTURE §4.4 硬指标)
|
|
8
8
|
|
|
9
9
|
| 检查项 | 结果 | 说明 |
|
|
10
10
|
| ---------------------------------------------------------------------------------------- | ------- | ----------------------------------------------------- |
|
|
11
|
-
| frontmatter 完整(`name` / `description` / `category` / `domain` / `tier` / `triggers`) | ✓
|
|
12
|
-
| `name` 使用裸 slug,扁平且不含连字符 | ✓
|
|
13
|
-
| `description` 简洁表达职责和使用时机 | ✓
|
|
14
|
-
| `category` / `domain` / `tier` 枚举值合法 | ✓
|
|
15
|
-
| `triggers` 数组非空 | ✓
|
|
11
|
+
| frontmatter 完整(`name` / `description` / `category` / `domain` / `tier` / `triggers`) | ✓ 23/23 | core 由 root `skills/` 生成 |
|
|
12
|
+
| `name` 使用裸 slug,扁平且不含连字符 | ✓ 23/23 | LLM 原生 skill 入口保持简洁;CLI 选择层使用 `zsk:<slug>` |
|
|
13
|
+
| `description` 简洁表达职责和使用时机 | ✓ 23/23 | 面向索引阅读;triggers 留给机器使用 |
|
|
14
|
+
| `category` / `domain` / `tier` 枚举值合法 | ✓ 23/23 | stage/utility · core |
|
|
15
|
+
| `triggers` 数组非空 | ✓ 23/23 | 至少含裸 slug |
|
|
16
16
|
| 无硬编码项目名 / 技术栈(统一 `{{config.*}}` 占位符) | ✓ | harness-neutral |
|
|
17
17
|
| `related:` 相对路径合法 | ✓ | core 不依赖参考层生成物 |
|
|
18
|
-
| 单文件 ≤ 300 行 | ✓
|
|
18
|
+
| 单文件 ≤ 300 行 | ✓ 23/23 | core 由 `lint:harness` 强制 |
|
|
19
19
|
|
|
20
20
|
当前 `max-lines` 已由 `tools/lint-frontmatter.ts` 作为 error 强制;新增或修改 skill 不应超过 300 行。
|
|
21
21
|
|
|
@@ -35,11 +35,11 @@ Profile 是流程组合策略,不是新的 skill。Atomic skills 仍然平铺
|
|
|
35
35
|
| profile | skills | 适用场景 |
|
|
36
36
|
| --- | ---: | --- |
|
|
37
37
|
| `zsk-entry` | 2 | 只装 `zskplan` / `zsk` 两个主入口,由它们按 harness 调度 |
|
|
38
|
-
| `zsk-lite` |
|
|
39
|
-
| `zsk-sdlc` |
|
|
40
|
-
| `zsk-frontend` |
|
|
41
|
-
| `zsk-enterprise` |
|
|
42
|
-
| `sdlc-only` |
|
|
38
|
+
| `zsk-lite` | 11 | 小修、小项目、脚本、低风险任务 |
|
|
39
|
+
| `zsk-sdlc` | 20 | 标准工程交付;需求、实现、审查、验证、验收、归档 |
|
|
40
|
+
| `zsk-frontend` | 21 | UI/UX/browser-facing 交付;强化 demo、视觉证据、前端质量门禁 |
|
|
41
|
+
| `zsk-enterprise` | 21 | 高治理交付;要求 deploy、验收、归档、审计证据 |
|
|
42
|
+
| `sdlc-only` | 23 | 旧入口兼容;安装全部 core skills |
|
|
43
43
|
|
|
44
44
|
## Skill 搭配流程图
|
|
45
45
|
|
|
@@ -81,8 +81,8 @@ flowchart TD
|
|
|
81
81
|
| --- | --- | --- |
|
|
82
82
|
| 安装默认 core skills | `npx @captain_z/zsk add` | 交互选择 target 和 bundle |
|
|
83
83
|
| CI 安装 ZSK 主入口 | `npx @captain_z/zsk add zsk-entry --target=~/.claude/skills --yes` | 非交互安装 `zskplan` / `zsk` 两个入口 |
|
|
84
|
-
| CI 安装轻量 profile | `npx @captain_z/zsk add zsk-lite --target=~/.claude/skills --yes` | 非交互安装
|
|
85
|
-
| CI 安装标准 SDLC profile | `npx @captain_z/zsk add zsk-sdlc --target=~/.claude/skills --yes` | 非交互安装
|
|
84
|
+
| CI 安装轻量 profile | `npx @captain_z/zsk add zsk-lite --target=~/.claude/skills --yes` | 非交互安装 11 颗常用 skills |
|
|
85
|
+
| CI 安装标准 SDLC profile | `npx @captain_z/zsk add zsk-sdlc --target=~/.claude/skills --yes` | 非交互安装 20 颗标准 workflow skills |
|
|
86
86
|
| Claude plugin 安装 | `/plugin marketplace add codeshareman/zsk` 后 `/plugin install zsk@zsk` | 使用 `/zsk:<slug>` 命令面 |
|
|
87
87
|
| GitHub skills 管理器安装 | `npx skills add codeshareman/zsk` | 从仓库根 `skills/` 安装;不要加 `@` |
|
|
88
88
|
| 只想让 ZSK 自己规划和执行 | "用 `zsk:zskplan` 规划" / "用 `zsk:zsk` 继续" | 计划写入 `.zsk/plans/`,执行产物写入 `.zsk` |
|
|
@@ -113,33 +113,33 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
|
|
|
113
113
|
|
|
114
114
|
| 领域 | skill 数 | 职责 |
|
|
115
115
|
| ----------------- | -------- | ------------------------------------------ |
|
|
116
|
-
| `skills/` |
|
|
117
|
-
| **总计** | **
|
|
116
|
+
| `skills/` | 23 | harness-first 默认工作流入口 |
|
|
117
|
+
| **总计** | **23** | |
|
|
118
118
|
|
|
119
119
|
## 安装套件(bundles.yaml)
|
|
120
120
|
|
|
121
121
|
| name | skills | 场景 |
|
|
122
122
|
| ------------------------------ | ------ | --------------------------------------------- |
|
|
123
123
|
| `zsk-entry` | 2 | 只安装 ZSK / ZSK Plan 两个主入口 |
|
|
124
|
-
| `zsk-lite` |
|
|
125
|
-
| `zsk-sdlc`(推荐) |
|
|
126
|
-
| `zsk-frontend` |
|
|
127
|
-
| `zsk-enterprise` |
|
|
128
|
-
| `sdlc-only` |
|
|
129
|
-
| `frontend-project` |
|
|
130
|
-
| `frontend-with-design-handoff` |
|
|
124
|
+
| `zsk-lite` | 11 | 小型低风险任务;ZSK 入口 + fix/coding → smoke → review → commit |
|
|
125
|
+
| `zsk-sdlc`(推荐) | 20 | 标准工程交付;完整需求、实现、审查、验证、验收、归档链路 |
|
|
126
|
+
| `zsk-frontend` | 21 | 前端/视觉/browser-facing 任务;强化 demo 和前端质量门禁 |
|
|
127
|
+
| `zsk-enterprise` | 21 | 高治理交付;要求 deploy、验收、归档、审计证据 |
|
|
128
|
+
| `sdlc-only` | 23 | 旧入口兼容;安装全部 core skills |
|
|
129
|
+
| `frontend-project` | 23 | 旧入口兼容;推荐改用 `zsk-frontend` |
|
|
130
|
+
| `frontend-with-design-handoff` | 23 | 旧入口兼容;推荐改用 `zsk-frontend` |
|
|
131
131
|
| `custom` | 交互 | 通过 `zsk add` 任意多选 |
|
|
132
132
|
|
|
133
|
-
<!-- Auto-generated by tools/catalog.ts — do not edit manually. Total:
|
|
133
|
+
<!-- Auto-generated by tools/catalog.ts — do not edit manually. Total: 24 skills -->
|
|
134
134
|
|
|
135
135
|
## Skill 清单(core skills)
|
|
136
136
|
|
|
137
137
|
> 内容由 `tools/catalog.ts` 从 `packages/skills/*/SKILL.md` frontmatter 生成。重生成:`pnpm catalog`。
|
|
138
138
|
|
|
139
|
-
### `<slug>/` — Core · harness-first 默认工作流入口 (
|
|
139
|
+
### `<slug>/` — Core · harness-first 默认工作流入口 (24)
|
|
140
140
|
|
|
141
141
|
- **`zskplan`**
|
|
142
|
-
Use as the ZSK-aware RalphPlan-style planning entrypoint that freezes scope, skill route, expert lanes, Playwright/evidence paths, and stop conditions under .zsk.
|
|
142
|
+
Use as the ZSK-aware RalphPlan-style planning entrypoint that freezes scope, module decomposition, skill route, expert lanes, Playwright/evidence paths, and stop conditions under .zsk.
|
|
143
143
|
|
|
144
144
|
- **`zsk`**
|
|
145
145
|
Use as the ZSK-aware Ralph-style execution loop that follows ZSK plans, dispatches expert lanes, verifies, fixes, and writes only .zsk outputs.
|
|
@@ -153,6 +153,9 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
|
|
|
153
153
|
- **`prepare`**
|
|
154
154
|
After project init, collects resource origins, snapshots evidence, and updates config/manifests before proposal/spec.
|
|
155
155
|
|
|
156
|
+
- **`preproposal`**
|
|
157
|
+
Before proposal, turns a brief request into a reviewed product, roadmap, UX, and readiness raw resource pack.
|
|
158
|
+
|
|
156
159
|
- **`proposal`**
|
|
157
160
|
Before spec, frames the problem, scope, non-goals, success criteria, stakeholders, risks, and resource gaps.
|
|
158
161
|
|
|
@@ -172,7 +175,7 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
|
|
|
172
175
|
After coding, proves changed behavior locally with targeted tests and relevant lint/typecheck/build evidence.
|
|
173
176
|
|
|
174
177
|
- **`review`**
|
|
175
|
-
After smoke, reviews implementation against scope,
|
|
178
|
+
After smoke or explicit path targeting, reviews implementation or local targets against scope, contracts, evidence, security, maintainability, and ZSK boundaries.
|
|
176
179
|
|
|
177
180
|
- **`commit`**
|
|
178
181
|
After smoke and review pass, prepares a scoped commit with intent, evidence, and clean staging.
|
|
@@ -204,3 +207,6 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
|
|
|
204
207
|
- **`issue`**
|
|
205
208
|
Tracks defects, blockers, questions, and risks with taxonomy, severity, owner, reproduction, and evidence.
|
|
206
209
|
|
|
210
|
+
- **`fix`**
|
|
211
|
+
For persisted issues, diagnoses root cause, applies the smallest scoped correction, adds a regression guard, updates the issue, and hands off verification.
|
|
212
|
+
|
package/acceptance/SKILL.md
CHANGED
|
@@ -79,6 +79,8 @@ This core skill is governed by the ZSK harness. Enforce these rules even when on
|
|
|
79
79
|
- Source of truth: read configured resources before inventing intent; record conflicts instead of choosing silently.
|
|
80
80
|
- Issue taxonomy: route demo, smoke, review, test, verify, and acceptance findings to the correct issue type.
|
|
81
81
|
- Skill role: execute the full expert role, including all relevant lanes; partial single-angle execution is a failing result.
|
|
82
|
+
- Constraint levels: hard requirements and triggered conditional requirements are blocking; advisory guidance may be skipped only with rationale and no broken hard/conditional gate.
|
|
83
|
+
- Required outputs: every output declared in the skill I/O contract is mandatory unless recorded as evidence-backed N/A or BLOCKED with owner, impact, and next action.
|
|
82
84
|
- Collaboration: ordinary stage skills own their declared outputs and handoff quality; workflow skills own route selection. Do not hardcode the next stage inside a stage skill.
|
|
83
85
|
- Dynamic state awareness: identify the active role/stage, project type, stack, runtime, domain, target users/market, and freshness-sensitive decisions before selecting practices or retrieval sources.
|
|
84
86
|
- Filesystem boundaries: write ZSK-managed outputs only under the configured `.zsk` workspace paths.
|
|
@@ -21,6 +21,12 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
21
21
|
- `confirmed-doc-feedback`
|
|
22
22
|
- `residual-risk-list`
|
|
23
23
|
|
|
24
|
+
## Required Output Enforcement
|
|
25
|
+
|
|
26
|
+
- Every required output above is a hard requirement for this skill run.
|
|
27
|
+
- If an output is not applicable, record `N/A` with evidence from scope, source, or project rules.
|
|
28
|
+
- If an output cannot be produced, record `BLOCKED` with owner, missing input, impact, and next action.
|
|
29
|
+
|
|
24
30
|
## Allowed Tools And Capabilities
|
|
25
31
|
|
|
26
32
|
- Tools: `filesystem`, `issue-update`
|
|
@@ -49,11 +55,67 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
49
55
|
- Avoid provider lock-in: do not assume Jira, Confluence, Figma, GitHub, GitLab, Linear, Notion, browser tooling, or any platform unless configured sources or evidence identify it.
|
|
50
56
|
- For each required output or finding, name owner, dependency, acceptance condition, verification evidence, and next action.
|
|
51
57
|
|
|
58
|
+
## Industry Best-Practice Anchors
|
|
59
|
+
|
|
60
|
+
- Diataxis (https://diataxis.fr/): choose document mode by reader need: task guidance, reference, explanation, or learning.
|
|
61
|
+
- Google developer documentation style guide (https://developers.google.com/style): optimize for reader clarity, consistency, active language, examples, and project-specific terminology.
|
|
62
|
+
- Definition of Done: completion requires shared, visible, measurable quality criteria.
|
|
63
|
+
- Review workflows: a stage is not complete until another reader can inspect artifacts, evidence, decisions, and unresolved risks.
|
|
64
|
+
- ISO/IEC/IEEE 12207 and 15288: lifecycle coverage should be method-neutral and accepted by equivalent artifacts or control points only when evidence exists.
|
|
65
|
+
- ISO/IEC/IEEE 29148:2018 (https://www.iso.org/standard/72089.html): requirements work must produce traceable, testable information items, not only narrative intent.
|
|
66
|
+
- ISO/IEC/IEEE 42010:2022 (https://www.iso.org/standard/74393.html), C4 (https://c4model.com/), and MADR (https://github.com/adr/madr): architecture/design work needs stakeholder concerns, viewpoints or equivalent views, context, rationale, tradeoffs, alternatives, consequences, and decision records.
|
|
67
|
+
- ISO/IEC/IEEE 29119 (https://committee.iso.org/sites/jtc1sc7/home/projects/flagship-standards/isoiecieee-29119-series.html): testing needs test basis, traceability, coverage, entry/exit criteria, regression, defect closure, and reports.
|
|
68
|
+
- Scrum Guide 2020 (https://scrumguides.org/scrum-guide.html): product work needs transparent product goals/backlog items, ordered value, inspection, and adaptation rather than one-shot requirements freezing.
|
|
69
|
+
- ISO 9241-210:2019 (https://www.iso.org/standard/77520.html), confirmed current in 2025: human-centred design needs user/context understanding and design activities across the lifecycle of interactive systems.
|
|
70
|
+
- GOV.UK Service Standard points 1 and 4 (https://www.gov.uk/service-manual/service-standard/point-1-understand-user-needs, https://www.gov.uk/service-manual/service-standard/point-4-make-the-service-simple-to-use): understand user needs before solutioning and test simplicity/usability with users.
|
|
71
|
+
- Design Council Double Diamond / Framework for Innovation (https://www.designcouncil.org.uk/resources/the-double-diamond/): discovery, definition, development, and delivery may iterate when evidence changes the problem framing.
|
|
72
|
+
- NIST SSDF (https://csrc.nist.gov/pubs/sp/800/218/final) and OWASP ASVS/SAMM (https://owasp.org/www-project-application-security-verification-standard/, https://owaspsamm.org/model/): security requirements, secure design, verification, and control evidence belong across the lifecycle.
|
|
73
|
+
- DORA continuous delivery and metrics (https://dora.dev/capabilities/continuous-delivery/, https://dora.dev/guides/dora-metrics/): delivery design should preserve automated tests, deployment safety, observability, small batches, and measurable release outcomes.
|
|
74
|
+
|
|
75
|
+
## Constraint Levels
|
|
76
|
+
|
|
77
|
+
- `hard`: Mandatory stage contract. Missing, stale, contradictory, or placeholder-only evidence is FAIL/BLOCKED and cannot be waived by wording.
|
|
78
|
+
- `conditional`: Mandatory when the trigger condition is touched by scope, sources, project rules, domain terms, or downstream evidence needs. If the condition applies, omission is FAIL/BLOCKED.
|
|
79
|
+
- `advisory`: Best-practice guidance that improves quality, reviewability, or maintainability. It may be skipped only with a short rationale and no broken hard or conditional requirement.
|
|
80
|
+
- `nA`: Allowed only when the artifact explains why the level or view does not apply, cites the evidence or project rule, and does not hide a missing mandatory input.
|
|
81
|
+
|
|
52
82
|
## Document Quality Standard
|
|
53
83
|
|
|
54
84
|
- Document mode: `decisionRecord`
|
|
55
85
|
- Purpose: Record the accept/reject business decision and residual-risk ownership.
|
|
56
86
|
|
|
87
|
+
## Hard Requirements
|
|
88
|
+
|
|
89
|
+
- Read the required inputs for the active skill, or stop as BLOCKED with owner, missing input, impact, and next action.
|
|
90
|
+
- Produce every required output from the skill I/O contract, or mark the specific output BLOCKED with evidence.
|
|
91
|
+
- Expose the required output contract in the artifact or handoff so the next skill can verify what was produced, blocked, or N/A.
|
|
92
|
+
- Separate facts, decisions, assumptions, open questions, risks, blockers, and evidence.
|
|
93
|
+
- Trace required claims to source artifacts, accepted decisions, scenarios, commands, issues, or human decisions.
|
|
94
|
+
- Preserve upstream/downstream stage ownership; do not silently rewrite another skill's artifact.
|
|
95
|
+
- Record accept, reject, or conditional acceptance decision with linked verify/demo evidence.
|
|
96
|
+
- Name accepted criteria, residual risks, owners, and documentation feedback or no-update rationale.
|
|
97
|
+
- Do not accept without verification evidence unless explicitly blocked and risk-accepted.
|
|
98
|
+
|
|
99
|
+
## Conditional Requirements
|
|
100
|
+
|
|
101
|
+
- When auth, permissions, privacy, security, tenancy, roles, data access, compliance, payment, migration, public API, or audit behavior is touched, produce the relevant control/traceability matrix or block with the missing source.
|
|
102
|
+
- When architecture, interface, data-flow, storage, migration, dependency, rollback, integration, or cross-team ownership decisions are made, record ADR/decision-record entries with context, options, decision, consequences, rollback/migration notes, and linked requirements.
|
|
103
|
+
- When UI-visible behavior is touched, include user-observable states, accessibility/locator strategy, scenario evidence needs, and stable test hooks.
|
|
104
|
+
- When behavior is testable, define or consume a traceable test basis before claiming implementation, smoke, review, verify, or acceptance success.
|
|
105
|
+
- When external facts, SDKs, APIs, regulations, market context, or dependency behavior are freshness-sensitive, retrieve current authoritative references or record why local sources are sufficient.
|
|
106
|
+
- When an artifact becomes too large for one reviewable file, split it into `{stage}/index.md` plus linked child Markdown files while preserving the full stage contract.
|
|
107
|
+
- When residual risks affect security, privacy, permissions, data, release, or compliance, require owner and follow-up issue.
|
|
108
|
+
- When business/user confirmation is missing, mark acceptance BLOCKED instead of inferred.
|
|
109
|
+
|
|
110
|
+
## Advisory Guidance
|
|
111
|
+
|
|
112
|
+
- Prefer the smallest artifact that lets the next reader decide and act without chat memory.
|
|
113
|
+
- Use tables, matrices, diagrams, or checklists only when they clarify ownership, traceability, risk, or execution.
|
|
114
|
+
- Use project terminology and source identifiers consistently across proposal, spec, design, task, and evidence artifacts.
|
|
115
|
+
- Record suggestions separately from current project policy, especially for thresholds that remain `未指定`.
|
|
116
|
+
- Keep acceptance focused on decision and risk, not implementation recap.
|
|
117
|
+
- Preserve rejection reasons in a form that can route back to issue/fix.
|
|
118
|
+
|
|
57
119
|
## Must Answer
|
|
58
120
|
|
|
59
121
|
- Is the verified work accepted, rejected, or conditionally accepted?
|
|
@@ -75,6 +137,7 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
75
137
|
- Names owner, dependency, acceptance condition, and verification evidence for every required output or blocker.
|
|
76
138
|
- Runs or references the stage-entry quality gate before downstream handoff; below-threshold but non-blocking gaps require explicit risk acceptance instead of silent progression.
|
|
77
139
|
- For testable work, verifies test correctness, not only test execution: traceable test basis, meaningful assertions, negative/boundary/regression coverage, and skipped/unrun checks called out.
|
|
140
|
+
- When proposal, spec, design, or tasks become too large for one reviewable file, the artifact may split to `{stage}/index.md` plus linked child Markdown files; the index remains the entrypoint and the full stage contract still applies.
|
|
78
141
|
- Links verify report, demo evidence, accepted criteria, and residual risks.
|
|
79
142
|
- Records documentation feedback or no-update rationale for confirmed learnings.
|
|
80
143
|
|
|
@@ -133,6 +196,7 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
133
196
|
## Hard Stops
|
|
134
197
|
|
|
135
198
|
- Required input is missing, stale, or contradictory.
|
|
199
|
+
- A hard requirement or triggered conditional requirement cannot be satisfied with linked evidence.
|
|
136
200
|
- The requested work belongs to an earlier or later ZSK stage.
|
|
137
201
|
- Evidence cannot be linked to command output, artifact, issue, scenario, or human decision.
|
|
138
202
|
- The fix would widen scope beyond this skill's responsibility.
|
|
@@ -6,11 +6,14 @@ Default project paths:
|
|
|
6
6
|
- `.zsk/docs/`: project-level docs such as `SYSTEM-SPEC.md` and `PROJECT-CONFIG.md`.
|
|
7
7
|
- `.zsk/modules/{module}/`: module config and stage artifacts.
|
|
8
8
|
- `.zsk/raws/`: raw external source snapshots, manifests, imported test cases, market/product research sources, and design/API assets.
|
|
9
|
+
- `.zsk/raws/prepare/**`: reusable source lanes. `preproposal` may add generated or candidate product, roadmap, UX, and design-source readiness resources here only when they are labeled with provenance, review checkpoint status, assumptions, and blockers.
|
|
10
|
+
- `.zsk/evidence/preproposal/{run}/`: checkpoint review evidence for product direction, roadmap/decomposition, UX/design-readiness, and final readiness before formal proposal.
|
|
9
11
|
- `.zsk/modules/{module}/_issues/`: module-private managed issue records and indexes, created on demand.
|
|
10
12
|
- `.zsk/modules/{module}/_evidence/`: module-private reusable runtime or research evidence, created on demand.
|
|
11
13
|
- `.zsk/modules/{module}/_playwright/`: module-specific Playwright specs, test plans, auth state, execution records, reports, and results, created on demand.
|
|
12
14
|
- `.zsk/issues/`, `.zsk/evidence/`, `.zsk/playwright/`: shared/global artifacts only, created on demand when the asset is intentionally cross-module.
|
|
13
15
|
- `.zsk/learning/proposals/`: reusable improvement proposals and learning records, created lazily only when learn/archive writes an actual proposal.
|
|
16
|
+
- `.zsk/plans/`: ZSK plan artifacts, created lazily only when `zskplan` or `zsk` freezes an executable route.
|
|
14
17
|
- `skills/{slug}/`: zsk source skill directories.
|
|
15
18
|
- `harness/`: zsk source governance contracts.
|
|
16
19
|
|
|
@@ -40,4 +43,6 @@ Before any skill writes an artifact, classify its scope:
|
|
|
40
43
|
|
|
41
44
|
This rule applies to every underscore module directory, not only `_issues`. For example, module-local issues go to `_issues`, module-local runtime evidence goes to `_evidence`, and module-local Playwright specs/auth/results go to `_playwright`. Use outer `.zsk/issues`, `.zsk/evidence`, or `.zsk/playwright` only after deciding the artifact is shared, global, or public. When scope is ambiguous, prefer module-private and record the reason or blocker before promoting outward.
|
|
42
45
|
|
|
43
|
-
The skill that produces the final artifact for a module stage writes the formal report to `.zsk/modules/{module}/{stage}.md`. Supporting artifacts stay in the appropriate `_issues`, `_evidence`, or `_playwright` directory unless they are deliberately shared/global/public.
|
|
46
|
+
The skill that produces the final artifact for a module stage writes the formal report to `.zsk/modules/{module}/{stage}.md`. For large `proposal`, `spec`, `design`, or `tasks` artifacts, the skill may upgrade the stage artifact to `.zsk/modules/{module}/{stage}/index.md` and split child Markdown files under the same stage directory. The `index.md` file remains the review entrypoint, must link every child document included in the logical artifact, and must preserve the same stage contract; splitting content does not weaken required gates. Supporting artifacts stay in the appropriate `_issues`, `_evidence`, or `_playwright` directory unless they are deliberately shared/global/public.
|
|
47
|
+
|
|
48
|
+
`preproposal` is not a module-final stage. Its outputs are proposal-prep raw resources under `.zsk/raws/prepare/**` plus checkpoint evidence under `.zsk/evidence/preproposal/{run}/`. It must not create `.zsk/modules/{module}/proposal.md`, `spec.md`, `design.md`, or `tasks.md`; those remain owned by their formal stage skills.
|
|
@@ -88,6 +88,22 @@ Every actionable issue should record:
|
|
|
88
88
|
- whether a durable learning proposal is needed under `.zsk/learning/proposals`;
|
|
89
89
|
- regression guard: test, scenario, lint rule, checklist, or explicit waiver.
|
|
90
90
|
|
|
91
|
+
## Issue-Driven Fix Route
|
|
92
|
+
|
|
93
|
+
`fix` is the dedicated skill and route name for "persisted issue -> root cause -> minimal change -> regression guard -> verification handoff". It is not a shortcut around `coding`, `smoke`, `review`, `ready`, or `verify`.
|
|
94
|
+
|
|
95
|
+
Required fix-route ledger fields:
|
|
96
|
+
|
|
97
|
+
- issue path or id;
|
|
98
|
+
- reproduction/evidence basis;
|
|
99
|
+
- root-cause hypothesis and confidence;
|
|
100
|
+
- changed files or no-code rationale;
|
|
101
|
+
- regression guard or explicit blocker;
|
|
102
|
+
- documentation feedback target or no-update rationale;
|
|
103
|
+
- next verification route and evidence command.
|
|
104
|
+
|
|
105
|
+
Do not use `fix` for generic unanchored cleanup. If there is no persisted issue or accepted expected/actual clarification, create or update the issue first.
|
|
106
|
+
|
|
91
107
|
## Closure And Feedback Loop
|
|
92
108
|
|
|
93
109
|
1. Create or update module-specific issues under `.zsk/modules/{module}/_issues/` as soon as the finding is actionable, using the type and prefix fields to preserve taxonomy.
|
|
@@ -12,6 +12,19 @@ ZSK skills must work across project types, team methods, tools, and platforms. A
|
|
|
12
12
|
- Every required output or finding needs an owner, dependency, acceptance condition, verification evidence, and next action.
|
|
13
13
|
- Security, privacy, data safety, release readiness, test traceability, and continuous improvement are lifecycle concerns. They are N/A only when the project context proves they do not apply.
|
|
14
14
|
|
|
15
|
+
## Constraint Level Model
|
|
16
|
+
|
|
17
|
+
Each skill must separate requirements by enforcement level before it claims PASS, READY, DONE, or an unblocked handoff.
|
|
18
|
+
|
|
19
|
+
- **Hard requirements** are mandatory for the stage. Missing inputs, outputs, evidence, owners, gates, traceability, or blocking contradictions are `FAIL` or `BLOCKED`.
|
|
20
|
+
- **Conditional requirements** are mandatory when the scope, sources, domain terms, project rules, or downstream evidence needs trigger them. When triggered, they have the same blocking force as hard requirements.
|
|
21
|
+
- **Advisory guidance** improves reviewability or maintainability but cannot override missing hard or triggered conditional requirements. If skipped, record a short rationale.
|
|
22
|
+
- **N/A** is valid only with evidence-backed rationale. It cannot hide a missing source, missing policy, or missing required output.
|
|
23
|
+
|
|
24
|
+
Cross-cutting controls are conditional hard requirements, not optional polish. If auth, permissions, privacy, roles, tenancy, data access, audit, compliance, public APIs, payment, migration, or security behavior is touched, the owning stage must produce or consume the relevant traceability/control matrix. A missing matrix is a blocker unless the source/spec explicitly proves the control is out of scope.
|
|
25
|
+
|
|
26
|
+
ADR/decision records are mandatory for design-significant decisions, not a stylistic preference. If a stage makes or consumes an architecture, interface, data-flow, storage, migration, dependency, rollback, integration, cross-team ownership, security, or permission-enforcement decision, it must record or cite an ADR/decision-record entry with context, options considered, decision, consequences, rollback or migration notes, and linked requirements/evidence. `task` must preserve ADR traceability into executable work.
|
|
27
|
+
|
|
15
28
|
## Cross-Project Portability Rule
|
|
16
29
|
|
|
17
30
|
Core skills and harness rules must be generic by default.
|
|
@@ -41,10 +54,11 @@ Each skill owns one stage contract. Workflow skills may route or schedule work,
|
|
|
41
54
|
| Skill | Owns | Does Not Own | Consistency / Handoff |
|
|
42
55
|
| --- | --- | --- | --- |
|
|
43
56
|
| `prepare` | Source discovery, configured origin validation, raws snapshots, manifest, source gaps | Product interpretation, requirements decisions, design choices | Hands source manifest, raws indexes, conflicts, and blockers to `proposal` / `spec`; asks before uncertain source-to-lane mapping |
|
|
57
|
+
| `preproposal` | Proposal-prep raw resources: product direction, MVP/phase/module decomposition, UX/design-readiness seeds, assumptions, risks, scenario seeds, checkpoint review evidence | Formal module proposal/spec/design/tasks, formal test cases, implementation | Hands reviewed `.zsk/raws/prepare/**` resources and `.zsk/evidence/preproposal/**` checkpoint verdicts to `proposal`; product review must pass before roadmap, roadmap before UX, UX before readiness |
|
|
44
58
|
| `proposal` | Problem, goal, scope, non-goals, stakeholders, risks, success metrics, decision request | Detailed behavior, architecture, task breakdown, implementation | Every goal and metric must trace to sources or accepted assumptions; hands bounded scope to `spec` |
|
|
45
|
-
| `spec` | FR/NFR, acceptance criteria, scenarios, edge cases, constraints, traceability | Architecture, file/module design, implementation tasks | Every P0/P1 requirement must trace to proposal/source and be testable; hands behavior contract to `design` and `task` |
|
|
46
|
-
| `design` | Architecture, interfaces, data/state flow, design views/diagrams, ADRs or equivalent
|
|
47
|
-
| `task` | Kiro-style nested checkbox task groups/subtasks, owners, dependencies, scope/files, evidence hooks, coverage matrix | Changing proposal/spec/design intent, coding, review approval | Every task group must align to proposal/spec/design IDs; every subtask must be executable and evidence-backed before `coding
|
|
59
|
+
| `spec` | FR/NFR, acceptance criteria, scenarios, edge cases, constraints, traceability, behavior-level control matrix when triggered | Architecture, file/module design, implementation tasks | Every P0/P1 requirement must trace to proposal/source and be testable; cross-cutting control behavior must trace to subject/action/resource/scope/source; hands behavior contract to `design` and `task` |
|
|
60
|
+
| `design` | Architecture, interfaces, data/state flow, design views/diagrams, ADRs or equivalent decision records, tradeoffs, rollout and verification surfaces, control traceability matrix when triggered | Rewriting requirements, task sequencing, coding, decorative diagrams | Every design decision and diagram must trace to spec/AC/NFR, ADR, risk, or verification need; triggered controls must trace to enforcement/UI/API/state/test surfaces; hands implementation map to `task` |
|
|
61
|
+
| `task` | Kiro-style nested checkbox task groups/subtasks, owners, dependencies, scope/files, evidence hooks, proposal/spec/design/ADR coverage matrix, control-row task coverage when triggered | Changing proposal/spec/design intent, coding, review approval | Every task group must align to proposal/spec/design/ADR IDs; every subtask must be executable and evidence-backed before `coding`; triggered control rows must map to implementation and evidence tasks |
|
|
48
62
|
| `coding` | Scoped implementation, changed tests, implementation notes, local validation evidence | Requirements changes, broad refactors, final approval | Every diff maps to task IDs and preserves upstream intent; hands changed files and evidence to `smoke` / `review` |
|
|
49
63
|
| `smoke` | Smallest credible local proof of changed behavior, failure classification, smoke issues | Full acceptance, final verification, release approval | Hands command/scenario evidence and failures to `review`, `defect`, or `ready` |
|
|
50
64
|
| `review` | Scope drift, correctness, maintainability, security, test adequacy, harness compliance findings | Implementing fixes, independent verification, business acceptance | Findings must reference files/artifacts and route fix work to `issue` / `defect` / `coding`; no PASS without evidence adequacy |
|
|
@@ -57,11 +71,12 @@ Each skill owns one stage contract. Workflow skills may route or schedule work,
|
|
|
57
71
|
| `acceptance` | Accept/reject decision, residual risk, business/user confirmation, documentation feedback | New verification, implementation fixes | Hands accepted state, waived risks, or rejection reasons to `archive` / `issue` |
|
|
58
72
|
| `archive` | Final artifact preservation, closed issue audit, learning proposals, release notes | Changing delivered scope, reopening decisions without issue evidence | Preserves decisions/evidence and promotes reusable gaps to `learn` |
|
|
59
73
|
| `learn` | Learning proposal intake, pattern comparison, optimization batch planning, reusable ZSK core proposal routing | Unreviewed mutation of core skills/harness/templates, scattering core learning into consuming projects | Writes project-local learning only for project-specific change; writes reusable core learning to canonical ZSK source repo proposals; requires review/regression before promotion |
|
|
60
|
-
| `issue` | Persistent issue/defect/risk/question records, indexes, owner/status/evidence fields | Resolving the issue by assertion, replacing review/verify | Provides the shared feedback and closure ledger for all stages |
|
|
74
|
+
| `issue` | Persistent issue/defect/risk/question records, indexes, owner/status/evidence fields, issue-driven fix ledger fields | Resolving the issue by assertion, replacing review/verify | Provides the shared feedback and closure ledger for all stages; issue-driven `fix` work remains open until smoke/review/verify evidence is linked |
|
|
75
|
+
| `fix` | Issue-driven root-cause analysis, minimal correction route, regression guard, issue ledger update, smoke/review/verify handoff | Generic cleanup, new issue intake, broad redesign, independent verification or closure by assertion | Consumes a persisted issue or accepted expected/actual clarification; routes implementation through `coding` discipline and leaves closure to `verify` / `acceptance` |
|
|
61
76
|
| `dispatch` | Runtime staffing plan, active roles, write scopes, evidence obligations, durable emit packets, packet status ledger | Business or technical stage output | Supports any stage skill from the resource pool; stale or delayed packets fall back to leader-sequential role simulation |
|
|
62
77
|
| `flow` | Next legal stage decision from state, resources, blockers, profile, and stage-entry quality assessment | Stage artifact production | Routes only when gates allow; reports blockers or quality-confirmation needs instead of forcing progression |
|
|
63
|
-
| `zskplan` | Route freeze, selected skills, output map, expert lane plan, evidence plan, blockers | Implementation and
|
|
64
|
-
| `zsk` |
|
|
78
|
+
| `zskplan` | Route freeze, governing-rule coverage, module decomposition, per-module stage route, selected skills, output map, expert lane plan, evidence plan, blockers | Implementation, verification, runtime dispatch, and final proposal/spec/design/task artifact authoring | Produces the plan contract that `zsk` executes; each planned stage skill still owns its artifact and gates |
|
|
79
|
+
| `zsk` | Plan-driven stage orchestration, end-to-end execution loop, skill dispatch, expert lane integration, validation/fix loop | Skipping selected skill contracts or evidence gates | Executes the frozen or inferred route until complete or blocked |
|
|
65
80
|
|
|
66
81
|
## Collaboration Consistency Gate
|
|
67
82
|
|
|
@@ -69,6 +84,7 @@ Before a skill reports `PASS`, `READY`, `DONE`, or an unblocked handoff, it must
|
|
|
69
84
|
|
|
70
85
|
```text
|
|
71
86
|
prepare sources
|
|
87
|
+
-> preproposal product / roadmap / UX raw resources when needed
|
|
72
88
|
-> proposal goals / scope / success metrics
|
|
73
89
|
-> spec FR / AC / NFR / scenarios
|
|
74
90
|
-> design decisions / ADRs / interfaces / data flow
|
|
@@ -91,6 +107,24 @@ Consistency checks:
|
|
|
91
107
|
- No skill silently changes another skill's artifact; it records a feedback item, issue, or blocker instead.
|
|
92
108
|
- Workflow skills (`flow`, `zskplan`, `zsk`) choose the route. Stage skills state status, blockers, handoff needs, and next legal candidates only.
|
|
93
109
|
|
|
110
|
+
## Preproposal Team Simulation
|
|
111
|
+
|
|
112
|
+
`preproposal` is one workflow-node with role lanes, not a set of standalone skills.
|
|
113
|
+
|
|
114
|
+
- Product-owner and business-analyst lanes own product direction, user/problem framing, business process, scope options, non-goals, risks, and evidence gaps.
|
|
115
|
+
- Planner and architect lanes own MVP/phase/module decomposition, dependency shape, boundary rationale, deferred work, and feasibility risks.
|
|
116
|
+
- UX and design-specialist lanes own user journey, IA/navigation seeds, interaction states, usability/accessibility risks, and design-source needs.
|
|
117
|
+
- QA and researcher lanes own scenario seeds, risk seeds, test-basis candidates, current external evidence when needed, and source gaps.
|
|
118
|
+
- Verifier/lead-integrator owns checkpoint completeness, blocker creation, raw manifest/index update or no-update rationale, and readiness handoff.
|
|
119
|
+
|
|
120
|
+
Checkpoint order is mandatory when dependencies exist:
|
|
121
|
+
|
|
122
|
+
```text
|
|
123
|
+
product review -> roadmap/decomposition review -> UX/design-readiness review -> readiness review -> proposal
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
If a checkpoint repeatedly fails, the lead does not keep rewriting silently. It creates or updates a blocker/issue with owner, missing input, impact, next action, and retry count. The default retry limit is 2 unless project config supplies a different policy; unsupplied project thresholds are still recorded as `未指定`.
|
|
127
|
+
|
|
94
128
|
## Kiro-Style Task Handoff
|
|
95
129
|
|
|
96
130
|
`task` must use nested Markdown checkboxes as the primary execution surface:
|
|
@@ -101,7 +135,7 @@ Consistency checks:
|
|
|
101
135
|
- [ ] 1.2 <subtask>
|
|
102
136
|
```
|
|
103
137
|
|
|
104
|
-
Metadata belongs under the relevant checkbox item, not in a detached table alone. Each task group needs proposal/spec/design alignment, owner, dependencies, scope/files, expected output, evidence, and stop condition. Each subtask needs at least source ID, owner, scope/files, expected output, acceptance, and evidence. A task artifact without this hierarchy is not execution-ready.
|
|
138
|
+
Metadata belongs under the relevant checkbox item, not in a detached table alone. Each task group needs proposal/spec/design/ADR alignment, owner, dependencies, scope/files, expected output, evidence, and stop condition. Each subtask needs at least source ID, owner, scope/files, expected output, acceptance, and evidence. A task artifact without this hierarchy is not execution-ready.
|
|
105
139
|
|
|
106
140
|
## Role Completeness
|
|
107
141
|
|
|
@@ -151,7 +185,9 @@ Use local SRS/PRD/customer notes first. If they are absent, stale, or insufficie
|
|
|
151
185
|
|
|
152
186
|
## Review-Specific Minimum
|
|
153
187
|
|
|
154
|
-
`review` must
|
|
188
|
+
`review` must classify the target mode before applying prerequisites. Supported modes include implementation/code-diff, preproposal/raw-source, `.zsk` workspace, stage/module doc, design/source target, and generic explicit path.
|
|
189
|
+
|
|
190
|
+
Implementation/code-diff review covers these lanes before a PASS verdict:
|
|
155
191
|
|
|
156
192
|
- scope and requirement drift;
|
|
157
193
|
- execution-path correctness;
|
|
@@ -162,14 +198,25 @@ Use local SRS/PRD/customer notes first. If they are absent, stale, or insufficie
|
|
|
162
198
|
- performance, concurrency, migration, and rollout checks when touched;
|
|
163
199
|
- ZSK harness compliance, output paths, issue taxonomy, and documentation feedback.
|
|
164
200
|
|
|
201
|
+
Preproposal/raw-source review must cover product direction, roadmap/decomposition, UX/design-readiness, assumptions/risks, source gaps, checkpoint order, readiness for proposal, and raw/evidence path placement. It must not fail merely because module `spec`, `design`, `tasks`, or `smoke` artifacts are absent.
|
|
202
|
+
|
|
203
|
+
Stage/module doc review must cover the target stage contract, source traceability, required outputs, blockers, downstream handoff quality, and split-artifact index/child links when used.
|
|
204
|
+
|
|
205
|
+
`.zsk` workspace review must cover config/filesystem correspondence, raws/source taxonomy, active module workspace, issue/evidence/playwright scope routing, learning proposal authority, and stale path references.
|
|
206
|
+
|
|
165
207
|
For `DEEP` review, dispatch at least three independent expert lanes when subagents are available: architecture/API, security/data, and tests/evidence. Add frontend/performance specialists when the diff touches those domains.
|
|
166
208
|
|
|
167
209
|
## ZSK Entry Points
|
|
168
210
|
|
|
169
211
|
`zskplan` and `zsk` are ZSK-aware RalphPlan/Ralph-style user surfaces, not shortcuts around the harness.
|
|
170
212
|
|
|
171
|
-
- `zskplan` freezes the route and writes the plan artifact under `.zsk/plans/`: selected skills, required inputs, `.zsk` output map, expert lanes, subagent plan, Playwright/auth/evidence plan, fix loop, blockers, and stop condition.
|
|
172
|
-
- `
|
|
213
|
+
- `zskplan` freezes the route and writes the plan artifact under `.zsk/plans/`: governing-rule coverage, module decomposition, per-module stage route, selected skills, required inputs, `.zsk` output map, expert lanes, subagent plan, Playwright/auth/evidence plan, fix loop, blockers, and stop condition.
|
|
214
|
+
- `zskplan` may plan `preproposal` and module-level `proposal`, `spec`, `design`, and `task` outputs from a simple proposal plus system/project rules. It must not dispatch those stages or author those final artifacts itself; `zsk` executes the plan and the selected stage skill must run with its own required inputs, forbidden scope, output contract, and evidence gate.
|
|
215
|
+
- Until a plan artifact explicitly says `Ready for zsk: yes`, `zskplan` may write only the chosen `.zsk/plans/**` artifact. It must not mutate `skills/**`, `harness/**`, `packages/**`, `tools/**`, generated package assets, product code, or runtime evidence.
|
|
216
|
+
- If `.zsk/docs/SYSTEM-SPEC.md` or `.zsk/docs/PROJECT-CONFIG.md` is missing, `zskplan` may plan a rule-bootstrap step from proposal evidence, configured sources, repo facts, and best-practice references. Derived rules must be labeled `inferred`, unsupplied thresholds must remain `未指定`, and mandatory unaccepted policy remains a blocker.
|
|
217
|
+
- `zsk` executes the frozen or inferred route: it selects the legal module/stage pair and skill from the plan, dispatches required expert lanes, runs `preproposal`, `proposal`, `spec`, `design`, `task`, or later stage skills through their own contracts, integrates results, writes only `.zsk` artifacts, validates, fixes, and repeats until the plan is complete or blocked.
|
|
218
|
+
- When the route includes `preproposal`, `zsk` must run the checkpoint review loop in order and preserve checkpoint verdicts before formal proposal starts.
|
|
219
|
+
- `fix` is the dedicated issue-driven skill and route name. It requires a persisted issue path/id or equivalent accepted clarification, then routes through root-cause analysis, scoped `coding`, regression guard, issue update, `smoke`/`review`, `ready`, and `verify`. It is not generic repair and must not bypass downstream stage contracts.
|
|
173
220
|
- Neither entry point may skip a selected skill's own contract, forbidden scope, required inputs, issue routing, or evidence gate.
|
|
174
221
|
- Before entering a downstream stage, the workflow must evaluate required upstream artifact quality or record why the gate is N/A. Below-threshold quality gaps require an explicit risk acceptance; missing mandatory artifacts remain blocked.
|
|
175
222
|
- Every emitted subagent packet must be durable: `runId`, `packetId`, heartbeat/deadline policy, status path, write scope, evidence obligation, stop condition, and fallback route. Stale packets must be completed by fallback evidence or re-emitted; they cannot count as completed work.
|
|
@@ -190,6 +237,7 @@ For `DEEP` review, dispatch at least three independent expert lanes when subagen
|
|
|
190
237
|
- write project-local proposals under the current project's `.zsk/learning/proposals/` only when the proposal affects that project alone;
|
|
191
238
|
- write reusable ZSK core proposals under the canonical ZSK source repo `.zsk/learning/proposals/`, resolved by `ZSK_LEARNING_REPO`, `ZSK_CORE_REPO`, or a recognized ZSK source checkout;
|
|
192
239
|
- if the canonical ZSK source repo cannot be resolved or is not writable, report `BLOCKED` with the missing root, intended proposal name, evidence, and next action instead of writing core learning into the consuming project;
|
|
240
|
+
- sync-check linked project-local and reusable core proposals together; if one side changes and the counterpart does not, record a no-update rationale in the edited proposal;
|
|
193
241
|
- group accepted proposals into one optimization batch with target files, regression prompts, risks, and review status.
|
|
194
242
|
|
|
195
243
|
`learn` must not mutate core skills, harness constraints, packs, templates, or generated artifacts from one unreviewed incident. It must not copy external skills or harnesses wholesale; it adapts principles and testable constraints into ZSK proposals with source notes. Promotion requires review evidence and regression prompts.
|
|
@@ -21,10 +21,38 @@ The harness computes gate status. Skills may propose outputs and record evidence
|
|
|
21
21
|
|
|
22
22
|
- Before a downstream stage starts, the harness must assess the required upstream artifacts for that stage with `zsk gate assess --stage <stage>`.
|
|
23
23
|
- The assessment must write a score, PASS/FAIL criteria, blockers, gaps, and next action under `.zsk/evidence/gates/`.
|
|
24
|
+
- Gate criteria follow the harness constraint levels: hard requirements and triggered conditional requirements are blockers; advisory gaps may require confirmation but cannot be counted as satisfied evidence.
|
|
24
25
|
- A score below the configured threshold is not an infinite hard stop by itself. If all required artifacts exist and only quality gaps remain, the stage may continue only after an explicit human risk acceptance is recorded with `--accept-risk`.
|
|
25
26
|
- Missing required artifacts, placeholder-only upstream docs, missing project/system rules for governed stages, or missing mandatory test basis remain `BLOCKED`; a risk waiver must not convert those into PASS. Very short but non-placeholder artifacts are quality gaps, not hard blockers.
|
|
26
27
|
- Thresholds are project policy. When no project threshold is configured, the CLI default is an advisory 9/10 gate; documents must still record unsupplied numeric thresholds as `未指定` instead of inventing policy.
|
|
27
28
|
|
|
29
|
+
## Preproposal Checkpoint Gate
|
|
30
|
+
|
|
31
|
+
- Use `preproposal` when a brief request lacks reviewed product direction, roadmap/decomposition, UX/design-readiness, or source-readiness material for `proposal`.
|
|
32
|
+
- Product checkpoint must pass before roadmap/decomposition starts. It reviews target users, problem, outcome, scope options, non-goals, risks, assumptions, and source gaps.
|
|
33
|
+
- Roadmap/decomposition checkpoint must pass before UX/detail work starts. It reviews MVP/1.0/2.0 or equivalent phase split, module boundaries, dependencies, deferred work, and merge/split/block rationale.
|
|
34
|
+
- UX/design-readiness checkpoint must pass before readiness handoff. It reviews user journey, IA/navigation seeds, interaction states, accessibility/usability risks, and design-source needs.
|
|
35
|
+
- Readiness checkpoint must pass before formal `proposal`. It verifies that `.zsk/raws/prepare/**` and `.zsk/evidence/preproposal/{run}/` contain enough reviewed raw material for proposal without chat memory.
|
|
36
|
+
- A checkpoint failure loops only while the missing input is actionable. Repeated failures beyond the configured retry limit, or default 2 when no project policy exists, become a tracked blocker/issue with owner, missing source, impact, and next action.
|
|
37
|
+
- Preproposal checkpoint reviews use the target-aware `review` skill. They must not require module `spec`, `design`, `tasks`, or `smoke` artifacts unless the explicit review target is an implementation/code-diff review.
|
|
38
|
+
|
|
39
|
+
## Cross-Cutting Control Gate
|
|
40
|
+
|
|
41
|
+
- Auth, permissions, privacy, roles, tenancy, data access, audit, compliance, public API, payment, migration, or security behavior triggers conditional hard requirements.
|
|
42
|
+
- `spec` must describe triggered control behavior at product/contract level: subject/actor, action/capability, resource/data, scope, expected outcome, source rule, and AC/scenario.
|
|
43
|
+
- `design` must map triggered controls to implementation surfaces: UI/API/state behavior, enforcement point, data flow, failure state, and test/evidence path.
|
|
44
|
+
- `task` must map every triggered control row to implementation, test/scenario, docs/issue, and evidence tasks.
|
|
45
|
+
- `review`, `ready`, and `verify` must reject missing or stale triggered control rows when the touched scope depends on them.
|
|
46
|
+
- N/A is acceptable only when the artifact cites the source rule or scope decision proving the control is out of scope.
|
|
47
|
+
|
|
48
|
+
## ADR / Decision Record Gate
|
|
49
|
+
|
|
50
|
+
- Design-significant decisions require ADR/decision-record entries before task planning.
|
|
51
|
+
- Triggering decisions include architecture, interface contracts, data/state flow, storage, migration, dependency choice, rollback, cross-system integration, cross-team ownership, security, permission enforcement, privacy, and public API behavior.
|
|
52
|
+
- Each ADR/decision-record entry must include context, linked requirements/AC/NFR, options considered, decision, consequences, risks, rollback or migration notes, and verification/evidence path.
|
|
53
|
+
- `task` must preserve ADR IDs or decision-record references in the proposal/spec/design/ADR alignment matrix and in affected task groups.
|
|
54
|
+
- N/A is acceptable only when the design proves no design-significant decision was made beyond directly implementing the approved spec.
|
|
55
|
+
|
|
28
56
|
## Test Correctness Gate
|
|
29
57
|
|
|
30
58
|
- A passing test suite is not sufficient evidence when the tests do not prove the intended behavior.
|
|
@@ -34,6 +62,19 @@ The harness computes gate status. Skills may propose outputs and record evidence
|
|
|
34
62
|
- `smoke`, `review`, and `verify` must reject fake passes: skipped tests, tests with no assertions, tests that only assert mocks were called while ignoring user-visible behavior, tests that assert implementation details instead of contract behavior, or tests that pass because expected data is hardcoded to the implementation.
|
|
35
63
|
- Every test report must distinguish passed, failed, skipped, flaky, unrun, and not-applicable checks. Skipped or unrun checks are not PASS.
|
|
36
64
|
|
|
65
|
+
## Static Problems Gate
|
|
66
|
+
|
|
67
|
+
- `coding` and `review` must not pass with ESLint or TypeScript diagnostics at either error or warning severity.
|
|
68
|
+
- Treat VS Code Problems-equivalent diagnostics as blocking when they come from ESLint, TypeScript, or the configured project linter/typechecker for touched files.
|
|
69
|
+
- If the project exposes lint/typecheck commands, run or cite fresh results before claiming `coding` ready-for-smoke or `review` pass. If the commands are unavailable, record `BLOCKED` or an explicit tool gap instead of downgrading warnings to nits.
|
|
70
|
+
|
|
71
|
+
## Source Migration Sync Gate
|
|
72
|
+
|
|
73
|
+
- When configured source origins move, source lanes are retired, or legacy/provenance raw paths are removed, the same pass must refresh current authority artifacts: `.zsk/config.yaml`, `.zsk/raws/manifest.json`, raw indexes, `.zsk/docs/PROJECT-CONFIG.md`, `.zsk/docs/SYSTEM-SPEC.md`, and affected source docs.
|
|
74
|
+
- Run a stale-reference scan over current authority files for retired source keys, raw paths, module ids, and obsolete provenance wording. Immutable evidence snapshots may retain historical terms, but current docs and indexes need either an update or an explicit no-update rationale.
|
|
75
|
+
- Current authority artifacts must not reference root `.raws/`, `.issues/`, or `.playwright/` paths unless the reference is explicitly waived with a rationale.
|
|
76
|
+
- `zsk check` diagnostics should point to the intended migration target path instead of only saying a legacy path is invalid.
|
|
77
|
+
|
|
37
78
|
## Durable Dispatch Gate
|
|
38
79
|
|
|
39
80
|
- Every dispatched role/subagent lane must have a durable emit packet with `runId`, `packetId`, write scope, evidence obligation, stop condition, status path, and fallback route.
|
|
@@ -25,6 +25,7 @@ stages:
|
|
|
25
25
|
- acceptance
|
|
26
26
|
- archive
|
|
27
27
|
optional:
|
|
28
|
+
- preproposal
|
|
28
29
|
- demo
|
|
29
30
|
- defect
|
|
30
31
|
sideChannel:
|
|
@@ -49,6 +50,10 @@ flow:
|
|
|
49
50
|
- acceptance
|
|
50
51
|
- archive
|
|
51
52
|
optionalInsertions:
|
|
53
|
+
preproposal:
|
|
54
|
+
after: prepare
|
|
55
|
+
before: proposal
|
|
56
|
+
when: Governance requires reviewed product, roadmap, UX, and readiness raw resources before formal proposal.
|
|
52
57
|
demo:
|
|
53
58
|
after: deploy
|
|
54
59
|
before: ready
|
|
@@ -24,6 +24,7 @@ stages:
|
|
|
24
24
|
- acceptance
|
|
25
25
|
- archive
|
|
26
26
|
optional:
|
|
27
|
+
- preproposal
|
|
27
28
|
- deploy
|
|
28
29
|
- defect
|
|
29
30
|
sideChannel:
|
|
@@ -48,6 +49,10 @@ flow:
|
|
|
48
49
|
- acceptance
|
|
49
50
|
- archive
|
|
50
51
|
optionalInsertions:
|
|
52
|
+
preproposal:
|
|
53
|
+
after: prepare
|
|
54
|
+
before: proposal
|
|
55
|
+
when: A UI/UX request lacks reviewed product direction, roadmap/decomposition, UX flows, or design-source readiness.
|
|
51
56
|
deploy:
|
|
52
57
|
after: commit
|
|
53
58
|
before: ready
|
|
@@ -22,6 +22,7 @@ stages:
|
|
|
22
22
|
- acceptance
|
|
23
23
|
- archive
|
|
24
24
|
optional:
|
|
25
|
+
- preproposal
|
|
25
26
|
- deploy
|
|
26
27
|
- demo
|
|
27
28
|
- defect
|
|
@@ -46,6 +47,10 @@ flow:
|
|
|
46
47
|
- acceptance
|
|
47
48
|
- archive
|
|
48
49
|
optionalInsertions:
|
|
50
|
+
preproposal:
|
|
51
|
+
after: prepare
|
|
52
|
+
before: proposal
|
|
53
|
+
when: A brief request lacks reviewed product direction, roadmap/decomposition, UX readiness, or source-readiness raw material.
|
|
49
54
|
deploy:
|
|
50
55
|
after: commit
|
|
51
56
|
before: ready
|