dsh-plugin-strict-spec 0.6.0 → 0.7.0

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 CHANGED
@@ -135,7 +135,7 @@ page](https://github.com/kw12121212/strict-spec-driven/releases) and install
135
135
  its tarball (0.3.0 shown):
136
136
 
137
137
  ```sh
138
- dsh plugin --profile web add https://github.com/kw12121212/strict-spec-driven/releases/download/plugin-v0.6.0/dsh-plugin-strict-spec-0.6.0.tgz
138
+ dsh plugin --profile web add https://github.com/kw12121212/strict-spec-driven/releases/download/plugin-v0.7.0/dsh-plugin-strict-spec-0.7.0.tgz
139
139
  ```
140
140
 
141
141
  When a registry release exists, the name form works too:
package/README.zh.md CHANGED
@@ -105,7 +105,7 @@ roadmap-status` 报告该里程碑的所有计划变更都已完成时目标完
105
105
  选最新的 `plugin-v*` 标签安装其 tarball(以 0.3.0 为例):
106
106
 
107
107
  ```sh
108
- dsh plugin --profile web add https://github.com/kw12121212/strict-spec-driven/releases/download/plugin-v0.6.0/dsh-plugin-strict-spec-0.6.0.tgz
108
+ dsh plugin --profile web add https://github.com/kw12121212/strict-spec-driven/releases/download/plugin-v0.7.0/dsh-plugin-strict-spec-0.7.0.tgz
109
109
  ```
110
110
 
111
111
  若存在 registry 发布,按名称安装亦可:
@@ -11875,7 +11875,6 @@ mutation_surfaces:
11875
11875
  read-only-skill-guidance:
11876
11876
  path_patterns:
11877
11877
  - skills/strict-spec-ship/SKILL.md
11878
- - skills/strict-spec-verify/SKILL.md
11879
11878
  mechanism: agent-guidance
11880
11879
  classification: read-only
11881
11880
  operations:
@@ -11887,7 +11886,6 @@ mutation_surfaces:
11887
11886
  - change-delta-state
11888
11887
  - roadmap-state
11889
11888
  evidence:
11890
- - skills/strict-spec-verify/SKILL.md
11891
11889
  - skills/strict-spec-ship/SKILL.md
11892
11890
  generated-document-guidance:
11893
11891
  path_patterns:
@@ -34623,7 +34621,7 @@ var STRICT_SKILL_NAME_PREFIX_EXPECTATION = STRICT_SKILL_NAME_PREFIXES.map((prefi
34623
34621
  function hasStrictSkillNamePrefix(name) {
34624
34622
  return STRICT_SKILL_NAME_PREFIXES.some((prefix) => name.startsWith(prefix));
34625
34623
  }
34626
- var AUTO_GATE_STEP_ANCHORS = ["Verify", "Review", "Archive"];
34624
+ var AUTO_GATE_STEP_ANCHORS = ["Review", "Archive"];
34627
34625
  var REQUIREMENT_INTERROGATION_SKILLS = [
34628
34626
  "strict-spec-brainstorm",
34629
34627
  "strict-spec-propose",
@@ -34685,6 +34683,10 @@ var DELEGABLE_OBLIGATIONS = {
34685
34683
  element: "the incremental delta-spec and delta-tech authoring procedure",
34686
34684
  anchor: "Generate strict YAML delta specs only when specs change"
34687
34685
  },
34686
+ "review-readiness-gate": {
34687
+ element: "the strict verify readiness gate that opens review",
34688
+ anchor: "Pass the readiness gate"
34689
+ },
34688
34690
  "review-independence": {
34689
34691
  element: "the review-independence contract",
34690
34692
  anchor: "Review Independence"
@@ -34764,13 +34766,6 @@ var CORE_STRICT_SKILL_EXPECTATIONS = {
34764
34766
  },
34765
34767
  requiredHeadings: ["## Steps", "## Rules"]
34766
34768
  },
34767
- "strict-spec-verify": {
34768
- requiredCommands: {
34769
- modify: `${COMMAND_PREFIX} modify [change-name|archive-dir]`,
34770
- verify: `${COMMAND_PREFIX} verify <change-name>`
34771
- },
34772
- requiredHeadings: ["## Steps", "## Rules"]
34773
- },
34774
34769
  "strict-spec-review": {
34775
34770
  requiredCommands: {
34776
34771
  modify: `${COMMAND_PREFIX} modify [change-name|archive-dir]`,
@@ -92,7 +92,7 @@ run `init` from this skill.
92
92
  source, configuration, or deliberate project output.
93
93
 
94
94
  7. **Finish** — done when `tasks.yaml` holds no pending task; suggest
95
- `strict-spec-verify`.
95
+ `strict-spec-review`.
96
96
 
97
97
  ## Rules
98
98
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: strict-spec-auto
3
- description: Run the strict workflow end to end. Propose, implement, verify, review, and archive a strict YAML change without extra confirmation unless open questions block progress.
3
+ description: Run the strict workflow end to end. Propose, implement, review (opening with the strict verify readiness gate), and archive a strict YAML change without extra confirmation unless open questions block progress.
4
4
  metadata:
5
5
  skill_id: strict_spec_auto
6
6
  author: strict-spec-driven
@@ -47,6 +47,7 @@ stops the run exactly as an inline one would.
47
47
  - delta-artifact-authoring: owned by `strict-spec-propose`
48
48
  - implementation-order: owned by `strict-spec-apply`
49
49
  - gitignore-hygiene: owned by `strict-spec-apply`
50
+ - review-readiness-gate: owned by `strict-spec-review`
50
51
  - review-independence: owned by `strict-spec-review`
51
52
  - lesson-outcome: owned by `strict-spec-review`
52
53
  - archive-tech-sync: owned by `strict-spec-archive`
@@ -117,14 +118,9 @@ run `init` from this skill.
117
118
  its `command` has run. Then follow the delegated gitignore-hygiene
118
119
  procedure. `next` reports deterministic state, never judgment.
119
120
 
120
- 5. **Verify** — run `verify <change-name>` and fix safe blockers until it
121
- passes. A scene coverage gap names the command that records the coverage;
122
- inspect the scene with `scene-status --scene <scene-id>`, record coverage
123
- that is real, and raise a missing requirement as a finding — a no-coverage
124
- reason written to clear the diagnostic is not a safe fix.
125
-
126
- 6. **Review** — follow the delegated review-independence procedure, including
127
- its fresh-context reviewer recommendation. The review must produce direct
121
+ 5. **Review** — pass the delegated review-readiness-gate procedure first, then
122
+ follow the delegated review-independence procedure, including its
123
+ fresh-context reviewer recommendation. The review must produce direct
128
124
  code review evidence — every changed implementation and test file read and
129
125
  the `strict-spec-review` checklist applied — never a `strict-spec-cli review`
130
126
  command or deterministic validation in its place. Fix safe in-scope
@@ -132,11 +128,11 @@ run `init` from this skill.
132
128
  an unsafe, ambiguous, or out-of-scope fix, or an unprovable MUST-strength
133
129
  item, stops the run before archive. Close with the non-blocking
134
130
  uncaptured-convention reflection, reporting each finding with the
135
- recommendation you derived rather than an operator choice, for step 7 to
131
+ recommendation you derived rather than an operator choice, for step 6 to
136
132
  apply before archive and never after; and with the delegated lesson-outcome
137
133
  procedure.
138
134
 
139
- 7. **Archive** — archive only with passing complete regression evidence for the
135
+ 6. **Archive** — archive only with passing complete regression evidence for the
140
136
  final state. The configured complete project regression command — the
141
137
  coverage gate when a coverage contract is declared — is blocking evidence,
142
138
  never advisory. A passing Testing task run that exactly matches it counts
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: strict-spec-review
3
- description: Review the code quality of a completed strict YAML change through direct repository evidence, changed-file reading, and complete regression evidence.
3
+ description: Review a completed strict YAML change before archive. Opens with the strict verify readiness gate, then reviews code quality through direct repository evidence, changed-file reading, and complete regression evidence.
4
4
  metadata:
5
5
  skill_id: strict_spec_review
6
6
  author: strict-spec-driven
@@ -65,12 +65,13 @@ MUST-strength requirement is a MUST FIX finding that blocks the archive
65
65
  recommendation until a test or an explicit human decision resolves it; on any
66
66
  other item it is a non-blocking SHOULD FIX.
67
67
 
68
- **Fresh-context reviewer.** When the running harness provides one, hand steps
69
- 3 to 6 to a sub-agent started with a fresh context and briefed with the change
70
- name and this skill, never with how the change was implemented. It edits no
71
- file and returns the verdict table, its findings, and any convention candidate;
72
- the implementing agent resumes at step 7. This is a recommendation, not a
73
- requirement: otherwise review in the current context under the same stances.
68
+ **Fresh-context reviewer.** When the running harness provides one, once step
69
+ 2 passes, hand steps 3 to 6 to a sub-agent started with a fresh context and
70
+ briefed with the change name and this skill, never with how the change was
71
+ implemented. It edits no file and returns the verdict table, its findings, and
72
+ any convention candidate; the implementing agent resumes at step 7. This is a
73
+ recommendation, not a requirement: otherwise review in the current context
74
+ under the same stances.
74
75
 
75
76
  ## Steps
76
77
 
@@ -81,7 +82,15 @@ run `init` from this skill.
81
82
  1. **Select the change** — use the change the user named; otherwise `modify`
82
83
  without an argument lists the active ones.
83
84
 
84
- 2. **Confirm readiness** — `verify <change-name>` must pass first.
85
+ 2. **Pass the readiness gate** — run `verify <change-name>`; every diagnostic
86
+ is a blocker. Route each safe structural fix through `strict-spec-modify`
87
+ and rerun until it passes, without opening any implementation file. For a
88
+ scene coverage gap, inspect the scene with `scene-status --scene <scene-id>`
89
+ and record coverage that is real through the same route; a step needing a
90
+ requirement nobody wrote stops review as a finding, because a no-coverage
91
+ reason written to clear the diagnostic is not a safe fix. An unfinished task
92
+ or a non-empty `questions.yaml.open` is not review work: stop and route back
93
+ to `strict-spec-apply` or to the human. Done when `verify` passes.
85
94
 
86
95
  3. **Reconstruct the requirement** — stance one, from the planning artifacts,
87
96
  delta specs, delta scenes, and delta tech only. Done when the numbered
@@ -102,7 +111,12 @@ run `init` from this skill.
102
111
  maintainability and needless abstraction; user-visible CLI and docs;
103
112
  generated artifacts and packaging. A standard's MUST violation is MUST FIX
104
113
  and an unjustified SHOULD violation at least SHOULD FIX, unless `design.yaml`
105
- justifies the deviation. An unjustified or malformed delta-tech operation
114
+ justifies the deviation. A delta spec that disagrees with what was built
115
+ is MUST FIX: fix the code when the implementation is wrong, correct the
116
+ delta spec through `strict-spec-modify` when it is stale and scope is
117
+ unchanged, and stop for a human scope decision through `strict-spec-modify`
118
+ when scope would change. An unjustified or malformed
119
+ delta-tech operation
106
120
  (`schema-show delta-tech`) is MUST FIX. For each delta scene, run
107
121
  `scene-status --scene <scene-id>` and judge what `verify` cannot: whether a
108
122
  no-coverage reason is a real decision and a covering requirement truly
@@ -161,3 +175,5 @@ run `init` from this skill.
161
175
  guidance explaining why it is blocked.
162
176
  - Review from repository evidence, never from authorship; focus on real
163
177
  issues, not style churn handled elsewhere.
178
+ - A checked task is not proof by itself; the current YAML artifacts and
179
+ repository state are the source of truth.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-strict-spec",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Strict workflow document viewer plugin for DeepSeek Harness",
5
5
  "type": "module",
6
6
  "main": "./dist/host.js",
@@ -1,64 +0,0 @@
1
- ---
2
- name: strict-spec-verify
3
- description: Verify a strict YAML change before archive. Checks strict artifact structure, task completion, open questions, and unchanged behavior.
4
- metadata:
5
- skill_id: strict_spec_verify
6
- author: strict-spec-driven
7
- type: agent_skill
8
- version: 1.0.0
9
- ---
10
-
11
- Establish, from repository evidence rather than checked boxes, that an
12
- implemented strict change is complete and consistent enough to review.
13
-
14
- ## This Skill's Commands
15
-
16
- ```yaml
17
- check-workflow-state: strict-spec-cli check-workflow-state
18
- modify: strict-spec-cli modify [change-name|archive-dir]
19
- verify: strict-spec-cli verify <change-name>
20
- ```
21
-
22
- ## Preferred Human Language
23
-
24
- Write user-facing and generated operator-facing text in the human language named
25
- by `preferred_human_language` in `.strict-spec-driven/config.yaml`, unless the
26
- active user message asks otherwise.
27
-
28
- ## Steps
29
-
30
- Before any other step, run `strict-spec-cli check-workflow-state`. If `.strict-spec-driven/` is
31
- missing, stop immediately and tell the user to run `/strict-spec-init`. Do not
32
- run `init` from this skill.
33
-
34
- 1. **Select the change** — use the change the user named; otherwise `modify`
35
- without an argument lists the active ones.
36
-
37
- 2. **Run strict verification** — run `verify <change-name>`; every diagnostic
38
- it returns is a blocker until resolved. A scene coverage gap is a finding to
39
- resolve, not something to waive.
40
-
41
- 3. **Check the evidence behind the tasks** — read the change's planning
42
- artifacts and delta specs, the relevant main specs, and the implementation
43
- and test files the change touches, and confirm the repository matches every
44
- completed task. Blockers: an unfinished task, a non-empty
45
- `questions.yaml.open`, a delta spec that does not describe what was built,
46
- and any regression of a `proposal.yaml.unchanged_behavior` item.
47
-
48
- 4. **Honor the declared coverage contract** — when the workflow config declares
49
- one under `review_evidence.project_regression.coverage`, the configured
50
- regression command enforces it through its exit code. The coverage contract
51
- is blocking evidence, never advisory: a coverage failure blocks exactly like
52
- a failing test. Never measure coverage yourself or second-guess the
53
- threshold.
54
-
55
- 5. **Fix safe blockers** — fix what is clearly fixable within the change's
56
- scope and rerun `verify`; done when it passes and no blocker remains.
57
-
58
- 6. **Report** — give a tiered summary of blockers, warnings, and optional
59
- suggestions, and recommend `strict-spec-review` when the change is clean.
60
-
61
- ## Rules
62
-
63
- - Be honest: a checked task is not proof by itself, and the current YAML
64
- artifacts and repository state are the source of truth.