cowork-flow 0.0.49 → 0.0.50

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cowork-flow",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "description": "CLI for installing and maintaining cowork-flow collaboration templates.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1 +1 @@
1
- 0.0.49
1
+ 0.0.50
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cowork-flow",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "description": "AI 协作工作流引擎:任务生命周期、子代理调度、门禁与状态注入。将 cowork-flow 的完整工作流带入 ZCode。",
5
5
  "author": {
6
6
  "name": "fisklikewater"
@@ -12,7 +12,7 @@ Use this Skill during the check phase, before the `task next --run` completion a
12
12
  - Review early enough that fixes are cheap; do not wait until archive/commit to discover blockers.
13
13
  - Review the current diff and exact task context, not broad conversation memory.
14
14
  - Separate machine-decidable lifecycle facts from human judgment: lifecycle blockers cover state/scope facts; review judgment explains spec, quality, and risk findings.
15
- - Treat backend/frontend natural-language markdown as user-defined review requirements, not dynamic hard validators.
15
+ - User-defined spec markdown under `.cowork-flow/spec/backend/` and `.cowork-flow/spec/frontend/` is binding for the task: verify the current diff against every applicable requirement and fix every violation before completion. Never skip a spec file because nothing else enforces it, and never defer a violation to the user.
16
16
  - Prefer fresh verification from the current checkout over stale prior output.
17
17
  - Do not create task-local review artifact files. The review result and command output are the evidence.
18
18
  - Use advisory helper output only as review input; it must not become a second lifecycle gate.
@@ -28,7 +28,7 @@ Read only what is needed for the current task:
28
28
  2. The linked implementation plan, if present.
29
29
  3. The check context index (`<task>/check.jsonl`) and each referenced file, if present. Treat it as context only; do not write review conclusions or readiness evidence to it.
30
30
  4. Current `git diff` / `git status --short`.
31
- 5. Relevant `.cowork-flow/spec/backend/` and `.cowork-flow/spec/frontend/` files selected by changed paths and task scope.
31
+ 5. Relevant `.cowork-flow/spec/backend/` and `.cowork-flow/spec/frontend/` files are mandatory review input, not optional references: the task context lists the spec files for the task's dev_type; read every listed file (start from `index.md`) plus any other file in those two directories that changed paths or task scope touch.
32
32
  6. Advisory facts from `review-check <task-dir> --json`, when useful.
33
33
  7. Lifecycle blocker output, if any, from `task next --json`, `task next <dir> --validate`, or `task next <dir> --run --intent review`.
34
34
 
@@ -37,7 +37,7 @@ Read only what is needed for the current task:
37
37
  - **Scope**: every changed file is planned or justified; no unrelated cleanup sneaks in.
38
38
  - **Behavior**: acceptance criteria are satisfied through observable behavior, not implementation-shaped assertions.
39
39
  - **Tests**: test intent is explicit; tests fail for meaningful regressions, reject shallow tests such as existence/mock/snapshot-only checks, and cover boundary/error paths when relevant.
40
- - **User specs**: every applicable backend/frontend requirement is marked `pass`, `finding`, `not_applicable`, or `needs_user_judgment`.
40
+ - **User specs**: every applicable backend/frontend requirement is verified against the diff and marked `pass`, `finding`, or `not_applicable` with reason. Every `finding` is fixed during review; an unfixed spec violation blocks completion and is never accepted as-is or deferred to the user.
41
41
  - **Specs**: project specs are updated when behavior/contracts changed, or the review states why no spec update is needed.
42
42
  - **Code quality**: naming, layering, error handling, state boundaries, security-sensitive paths, and complexity are reviewed against applicable user specs.
43
43
  - **Lifecycle blockers**: state/scope blockers are fixed before acceptance; review does not invent hard blockers for natural-language specs.
@@ -50,6 +50,7 @@ Read only what is needed for the current task:
50
50
  - `critical`: correctness, security, data loss, lifecycle bypass, or completion would be invalid. Blocks completion.
51
51
  - `important`: maintainability, missing meaningful tests, spec drift, or likely future bug. Fix before completion unless explicitly accepted.
52
52
  - `minor`: clarity or polish that does not invalidate completion. May be noted without blocking.
53
+ - Violations of user-defined backend/frontend specs are not eligible for acceptance at any severity; they are fixed or block completion.
53
54
 
54
55
  ## Output
55
56