@captain_z/zsk 1.4.3 → 1.5.1
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 +21 -10
- package/dist/bin.js +174 -1
- package/dist/bin.js.map +1 -1
- package/dist/commands/add-flow.js +3 -8
- package/dist/commands/add-flow.js.map +1 -1
- package/dist/commands/add.d.ts +1 -0
- package/dist/commands/add.js +22 -6
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/check.js +10 -2
- package/dist/commands/check.js.map +1 -1
- package/dist/commands/demo.d.ts +31 -0
- package/dist/commands/demo.js +533 -0
- package/dist/commands/demo.js.map +1 -0
- package/dist/commands/issue.d.ts +8 -0
- package/dist/commands/issue.js +170 -6
- package/dist/commands/issue.js.map +1 -1
- package/dist/commands/module.js +23 -2
- package/dist/commands/module.js.map +1 -1
- package/dist/commands/project-init.js +1 -0
- package/dist/commands/project-init.js.map +1 -1
- package/dist/commands/remove.js +1 -1
- package/dist/commands/remove.js.map +1 -1
- package/dist/core/config.d.ts +14 -0
- package/dist/core/config.js.map +1 -1
- package/dist/core/installer.d.ts +5 -0
- package/dist/core/installer.js +50 -6
- package/dist/core/installer.js.map +1 -1
- package/dist/core/skills.d.ts +3 -4
- package/dist/core/skills.js +34 -43
- package/dist/core/skills.js.map +1 -1
- package/dist/core/targets.js +1 -1
- package/dist/core/targets.js.map +1 -1
- package/package.json +2 -2
- package/schemas/module.schema.json +1 -1
- package/schemas/zsk-config.schema.json +122 -2
- package/templates/issue/default/issue.md +35 -2
- package/templates/module/frontend-module/acceptance.md +18 -0
- package/templates/module/frontend-module/archive.md +17 -0
- package/templates/module/frontend-module/commit.md +15 -0
- package/templates/module/frontend-module/demo-outline.md +59 -0
- package/templates/module/frontend-module/demo-report.md +23 -0
- package/templates/module/frontend-module/deploy.md +18 -0
- package/templates/module/frontend-module/design.md +12 -0
- package/templates/module/frontend-module/module.yaml +4 -1
- package/templates/module/frontend-module/proposal.md +7 -0
- package/templates/module/frontend-module/ready.md +12 -0
- package/templates/module/frontend-module/review.md +12 -0
- package/templates/module/frontend-module/scenarios/index.md +13 -0
- package/templates/module/frontend-module/scenarios/p0-happy-path.spec.ts +13 -0
- package/templates/module/frontend-module/smoke.md +21 -0
- package/templates/module/frontend-module/spec.md +14 -0
- package/templates/module/frontend-module/tasks.md +13 -0
- package/templates/module/frontend-module/verify.md +12 -0
- package/templates/project-init/.issues/README.md +17 -1
- package/templates/project-init/.issues/_taxonomy.md +35 -0
- package/templates/project-init/.issues/index.md +7 -0
- package/templates/project-init/.raws/README.md +2 -1
- package/templates/project-init/.raws/backend-repositories/index.md +12 -0
- package/templates/project-init/.raws/index.md +3 -0
- package/templates/project-init/.raws/issues/index.md +4 -0
- package/templates/project-init/.zsk/checkpoints/index.md +4 -0
- package/templates/project-init/.zsk/config.yaml +56 -1
- package/templates/project-init/.zsk/learning/index.md +14 -0
- package/templates/project-init/.zsk/learning/proposals/.gitkeep +1 -0
- package/templates/project-init/.zsk/resource-manifest.json +55 -0
- package/templates/project-init/.zsk/workflow-state.json +6 -0
- package/templates/project-init/project-config.md +5 -3
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# __MODULE_NAME__ Smoke
|
|
2
|
+
|
|
3
|
+
## Resource Contract
|
|
4
|
+
|
|
5
|
+
| Resource | Required | Source | Status | Used For | Blocker If Missing |
|
|
6
|
+
| --- | --- | --- | --- | --- | --- |
|
|
7
|
+
|
|
8
|
+
## Checks
|
|
9
|
+
|
|
10
|
+
| Check | Command | Result | Evidence |
|
|
11
|
+
| --- | --- | --- | --- |
|
|
12
|
+
|
|
13
|
+
## Test Alignment
|
|
14
|
+
|
|
15
|
+
| Test / Scenario | Source Requirement / Design / Issue | Expected Behavior | Accurate | Evidence |
|
|
16
|
+
| --- | --- | --- | --- | --- |
|
|
17
|
+
|
|
18
|
+
## Documentation Feedback
|
|
19
|
+
|
|
20
|
+
- No-update rationale:
|
|
21
|
+
- Created from the ZSK module template; no smoke has been performed yet.
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# __MODULE_NAME__ Spec
|
|
2
2
|
|
|
3
|
+
## Scenario Contracts
|
|
4
|
+
|
|
5
|
+
| Scenario | User Goal | Entry | Preconditions | Observable Result | PRD/SRS / FR/AC | Automate |
|
|
6
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
7
|
+
| P0 happy path | | | | | | yes |
|
|
8
|
+
|
|
9
|
+
Rules:
|
|
10
|
+
|
|
11
|
+
- Define behavior and observable outcomes here.
|
|
12
|
+
- Link every P0/P1 scenario back to the original PRD/SRS or accepted FR/AC.
|
|
13
|
+
- Mark unclear or conflicting facts as blockers instead of choosing behavior silently.
|
|
14
|
+
- Do not write brittle selectors in spec.
|
|
15
|
+
- Mark which P0/P1 scenarios must become Playwright cases.
|
|
16
|
+
|
|
3
17
|
## Documentation Feedback
|
|
4
18
|
|
|
5
19
|
- No-update rationale:
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# __MODULE_NAME__ Tasks
|
|
2
2
|
|
|
3
|
+
## Playwright Case Tasks
|
|
4
|
+
|
|
5
|
+
| Task | Scenario Contract | Case File | Fixture/Auth | Reuse Target | Status |
|
|
6
|
+
| --- | --- | --- | --- | --- | --- |
|
|
7
|
+
| Create P0 happy path skeleton | P0 happy path | `scenarios/p0-happy-path.spec.ts` | | demo, verify, regression | TODO |
|
|
8
|
+
|
|
9
|
+
Rules:
|
|
10
|
+
|
|
11
|
+
- Create Playwright skeletons before demo.
|
|
12
|
+
- Create or update source-aligned tests/scenarios before implementation for testable behavior changes.
|
|
13
|
+
- Tag cases as smoke/demo/verify/regression.
|
|
14
|
+
- Include tasks for labels/test ids required by stable locators.
|
|
15
|
+
|
|
3
16
|
## Documentation Feedback
|
|
4
17
|
|
|
5
18
|
- No-update rationale:
|
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
This is the default issue root configured by `.zsk/config.yaml` `paths.issues`. It stores local review findings, bug reports, screenshots, logs, reproduction evidence, and verification records created during project work.
|
|
4
4
|
|
|
5
|
+
Every actionable finding from demo, smoke, review, formal test, verify, or acceptance should be persisted here or under the configured `paths.issues` root. Chat-only findings are not durable tracking.
|
|
6
|
+
|
|
5
7
|
## Directory Contract
|
|
6
8
|
|
|
7
9
|
```text
|
|
8
10
|
.issues/
|
|
9
11
|
├── README.md
|
|
12
|
+
├── index.md # global module issue totals
|
|
10
13
|
└── {area-or-module}/
|
|
11
|
-
├──
|
|
14
|
+
├── index.md # module issue index and status table
|
|
12
15
|
├── BUG-0001-short-slug/
|
|
13
16
|
│ ├── issue.md # required issue body
|
|
14
17
|
│ ├── analysis.md # optional root-cause notes
|
|
@@ -17,12 +20,19 @@ This is the default issue root configured by `.zsk/config.yaml` `paths.issues`.
|
|
|
17
20
|
│ │ └── index.md
|
|
18
21
|
│ └── debug-logs/ # console, test, network, investigation logs
|
|
19
22
|
│ └── index.md
|
|
23
|
+
├── demo/ # optional stage view / evidence bucket
|
|
24
|
+
│ └── index.md
|
|
20
25
|
├── _evidence/ # shared evidence referenced by multiple issues/docs
|
|
21
26
|
└── _debug-logs/ # untriaged or cross-issue historical logs only
|
|
22
27
|
```
|
|
23
28
|
|
|
24
29
|
Use `zsk issue create -m <module-id>` to generate issue folders from the packaged template. `zsk init` does not write `_templates/` into the project.
|
|
25
30
|
|
|
31
|
+
`zsk issue update -m <module-id> --id <issue-dir> --status <status>` updates the concrete issue and refreshes:
|
|
32
|
+
|
|
33
|
+
- `.issues/{module}/index.md` — all issues and statuses for one module.
|
|
34
|
+
- `.issues/index.md` — module totals across the project.
|
|
35
|
+
|
|
26
36
|
## Bug Directory Rules
|
|
27
37
|
|
|
28
38
|
- Keep one confirmed bug per `BUG-xxxx-short-slug/` directory.
|
|
@@ -32,6 +42,12 @@ Use `zsk issue create -m <module-id>` to generate issue folders from the package
|
|
|
32
42
|
- Use `analysis.md` only when root-cause reasoning is long enough that it would obscure the issue body.
|
|
33
43
|
- If two symptoms share one root cause, keep one bug directory and list all symptoms as evidence inside it.
|
|
34
44
|
|
|
45
|
+
## Closure And Documentation Feedback
|
|
46
|
+
|
|
47
|
+
- Record the affected PRD/SRS, spec, design, task, test case, and evidence links in the issue.
|
|
48
|
+
- After the fix is verified and confirmed by the user/product owner, update the relevant `docs/{module}/spec.md`, `docs/{module}/design.md`, `docs/{module}/tasks.md`, or project spec for gaps or vague behavior exposed by the issue.
|
|
49
|
+
- Close the issue only after it links verification evidence, confirmation, documentation feedback update or no-update rationale, and regression guard.
|
|
50
|
+
|
|
35
51
|
## Relationship To Other Project Directories
|
|
36
52
|
|
|
37
53
|
| Directory | Purpose | May contain local screenshots/logs? |
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Issue Taxonomy
|
|
2
|
+
|
|
3
|
+
Managed issue records belong under `.issues/` or the configured `.zsk/config.yaml#paths.issues` root.
|
|
4
|
+
|
|
5
|
+
Each module has a module index at `.issues/{module}/index.md`. The issue root has a global index at `.issues/index.md` with module totals. `zsk issue create` and `zsk issue update` refresh both indexes.
|
|
6
|
+
|
|
7
|
+
| Type | Concrete Issue Directory | Prefix |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| Demo Issue | `.issues/{module}/{prefix}-0001-slug/` | `DEMO` |
|
|
10
|
+
| Smoke Issue | `.issues/{module}/{prefix}-0001-slug/` | `SMOKE` |
|
|
11
|
+
| Review Issue | `.issues/{module}/{prefix}-0001-slug/` | `REV` |
|
|
12
|
+
| Defect | `.issues/{module}/{prefix}-0001-slug/` | `DEFECT` |
|
|
13
|
+
| Verify Issue | `.issues/{module}/{prefix}-0001-slug/` | `VER` |
|
|
14
|
+
| Acceptance Issue | `.issues/{module}/{prefix}-0001-slug/` | `ACC` |
|
|
15
|
+
|
|
16
|
+
Stage directories such as `.issues/{module}/demo/index.md` may exist as stage views or evidence buckets. The authoritative status indexes are `.issues/{module}/index.md` and `.issues/index.md`.
|
|
17
|
+
|
|
18
|
+
`.raws/issues/` is reserved for imported external issue feeds or compatibility inputs.
|
|
19
|
+
|
|
20
|
+
## Required Intake
|
|
21
|
+
|
|
22
|
+
Every actionable issue should include:
|
|
23
|
+
|
|
24
|
+
- reproduction steps or triggering command;
|
|
25
|
+
- actual/current behavior;
|
|
26
|
+
- expected behavior;
|
|
27
|
+
- severity and rationale;
|
|
28
|
+
- environment/version/data source;
|
|
29
|
+
- evidence links;
|
|
30
|
+
- root-cause hypothesis and confidence;
|
|
31
|
+
- fix route;
|
|
32
|
+
- Documentation Feedback target or no-update rationale;
|
|
33
|
+
- regression guard.
|
|
34
|
+
- verification evidence and user/product confirmation before closing behavior-changing issues;
|
|
35
|
+
- updated module index and global issue index.
|
|
@@ -11,7 +11,8 @@ Start from `index.md` for the human/AI resource entry point. Use `manifest.json`
|
|
|
11
11
|
- `index.md`: human/AI navigation entry point for raw resources.
|
|
12
12
|
- `manifest.json`: machine-readable index maintained by `zsk prep` / `zsk sync`.
|
|
13
13
|
- `requirements/`: SRS, PRD, acceptance notes, and other requirement snapshots.
|
|
14
|
-
- `api-contracts/`: OpenAPI files,
|
|
14
|
+
- `api-contracts/`: OpenAPI files, API schemas, or exported API notes.
|
|
15
|
+
- `backend-repositories/`: small backend repository extracts that prove API/domain behavior.
|
|
15
16
|
- `design-sources/`: Figma, Modao, design handoff, and MCP capture snapshots.
|
|
16
17
|
- `design-assets/`: Icons, images, tokens, and other design asset snapshots.
|
|
17
18
|
- `testing/`: QA cases, acceptance cases, release cases, and imported test assets.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Backend Repositories
|
|
2
|
+
|
|
3
|
+
Store lightweight backend repository snapshots here when a module needs API or domain evidence from server code.
|
|
4
|
+
|
|
5
|
+
Prefer small, provenance-rich extracts over full repository dumps:
|
|
6
|
+
|
|
7
|
+
- OpenAPI or generated API contract files.
|
|
8
|
+
- Route/controller index excerpts that prove endpoint behavior.
|
|
9
|
+
- DTO/schema/type definitions used by frontend contracts.
|
|
10
|
+
- README or integration notes that define runtime requirements.
|
|
11
|
+
|
|
12
|
+
Record the real repository origin in `.zsk/config.yaml` `sources`; this directory is only the local snapshot landing zone.
|
|
@@ -13,6 +13,8 @@ This file is the human/AI entry point for upstream facts and local snapshots. It
|
|
|
13
13
|
│ └── index.md
|
|
14
14
|
├── api-contracts/ # API contracts, OpenAPI files, backend repo extracts
|
|
15
15
|
│ └── index.md
|
|
16
|
+
├── backend-repositories/ # lightweight backend repo extracts
|
|
17
|
+
│ └── index.md
|
|
16
18
|
├── design-sources/ # Figma, Modao, MCP, design handoff captures
|
|
17
19
|
│ └── index.md
|
|
18
20
|
├── design-assets/ # icons, images, tokens, screenshots, raw design assets
|
|
@@ -33,6 +35,7 @@ Real origins belong in `.zsk/config.yaml` `sources`. A source can be an online U
|
|
|
33
35
|
|---|---|---|
|
|
34
36
|
| Requirements | `requirements/index.md` | `srs`, `prd`, `manual` |
|
|
35
37
|
| API contracts | `api-contracts/index.md` | `api_contract`, `vendor_doc` |
|
|
38
|
+
| Backend repositories | `backend-repositories/index.md` | `backend_repo`, git repository extracts |
|
|
36
39
|
| Design sources | `design-sources/index.md` | `design`, Figma, Modao, MCP |
|
|
37
40
|
| Design assets | `design-assets/index.md` | `design_asset`, tokens, images |
|
|
38
41
|
| Testing assets | `testing/index.md` | `test_case`, QA sheets, acceptance cases |
|
|
@@ -25,15 +25,70 @@ paths:
|
|
|
25
25
|
# kind: figma
|
|
26
26
|
# url: https://www.figma.com/file/...
|
|
27
27
|
# snapshot: .raws/design-sources/figma-main.json
|
|
28
|
+
# backend_api:
|
|
29
|
+
# type: backend_repo
|
|
30
|
+
# origin:
|
|
31
|
+
# kind: git
|
|
32
|
+
# repository: https://github.com/example/backend-api.git
|
|
33
|
+
# path: openapi.yaml
|
|
34
|
+
# snapshot: .raws/backend-repositories/backend-openapi.yaml
|
|
35
|
+
# acceptance_cases:
|
|
36
|
+
# type: test_case
|
|
37
|
+
# origin:
|
|
38
|
+
# kind: url
|
|
39
|
+
# url: https://example.com/qa-cases
|
|
40
|
+
# snapshot: .raws/testing/acceptance-cases.md
|
|
28
41
|
sources: {}
|
|
29
42
|
|
|
30
43
|
tools:
|
|
31
44
|
runtime_ui:
|
|
32
|
-
-
|
|
45
|
+
- playwright_cli
|
|
46
|
+
- playwright_mcp
|
|
47
|
+
- playwright
|
|
33
48
|
- browser_use
|
|
49
|
+
- computer_use
|
|
34
50
|
design:
|
|
35
51
|
- figma_mcp
|
|
36
52
|
|
|
37
53
|
modules:
|
|
38
54
|
index: docs/_module-index.md
|
|
39
55
|
root: docs
|
|
56
|
+
|
|
57
|
+
automation:
|
|
58
|
+
smoke:
|
|
59
|
+
commands:
|
|
60
|
+
- pnpm lint
|
|
61
|
+
- pnpm typecheck
|
|
62
|
+
- pnpm test
|
|
63
|
+
deploy:
|
|
64
|
+
command: pnpm deploy:staging
|
|
65
|
+
demo:
|
|
66
|
+
# Default hybrid lane:
|
|
67
|
+
# - Playwright CLI/UI mode is preferred for visible demo performance, controlled stop/pause, screenshots, traces, reports, and repeatable runs.
|
|
68
|
+
# - Playwright MCP inspects structured accessibility snapshots and proposes operations when needed.
|
|
69
|
+
# - Browser Use identifies the human-intent target and preserves existing logged-in browser/profile state when auth cannot be reproduced cheaply.
|
|
70
|
+
# - Computer Use is reserved for visual/system-level context that browser automation cannot expose.
|
|
71
|
+
# - Playwright consumes the handoff to pre-write/rehearse scenarios, then performs the external demo with visible trace/report evidence.
|
|
72
|
+
defaultMode: hybrid
|
|
73
|
+
baseUrl: http://localhost:3000
|
|
74
|
+
command: pnpm dev
|
|
75
|
+
evidenceDir: .issues/{module}/demo/_evidence
|
|
76
|
+
scenarioDir: docs/{module}/scenarios
|
|
77
|
+
playwright:
|
|
78
|
+
config: playwright.config.ts
|
|
79
|
+
project: chromium
|
|
80
|
+
cli: playwright-cli
|
|
81
|
+
computerUse:
|
|
82
|
+
enabled: false
|
|
83
|
+
role: understand-and-decide
|
|
84
|
+
bridge:
|
|
85
|
+
enabled: true
|
|
86
|
+
# decisionTool may be playwright_mcp for structured accessibility snapshots,
|
|
87
|
+
# browser_use for existing login/profile state, or computer_use for visual/system-level understanding.
|
|
88
|
+
decisionTool: playwright_mcp
|
|
89
|
+
executionTool: playwright
|
|
90
|
+
planFile: .zsk/demo-sessions/{module}/operation-plan.json
|
|
91
|
+
executionFile: .zsk/demo-sessions/{module}/playwright-execution.json
|
|
92
|
+
verify:
|
|
93
|
+
commands:
|
|
94
|
+
- pnpm test:e2e
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# ZSK Learning
|
|
2
|
+
|
|
3
|
+
Project feedback and learning proposals belong here. Learning artifacts may propose changes to templates, constraints, skills, or packs, but they must not auto-mutate core assets.
|
|
4
|
+
|
|
5
|
+
## Rules
|
|
6
|
+
|
|
7
|
+
- Project-specific lessons stay in module archive docs or `docs/SYSTEM-SPEC.md`.
|
|
8
|
+
- Reusable improvements become proposals under `.zsk/learning/proposals/`.
|
|
9
|
+
- Core zsk changes require review, evidence, and a regression prompt before promotion.
|
|
10
|
+
- Learning proposals may target harness constraints, templates, resource maps, root skills, or optional packs; they do not edit those targets automatically.
|
|
11
|
+
|
|
12
|
+
## Proposal Template
|
|
13
|
+
|
|
14
|
+
Use `harness/learning/proposal-template.md` from the installed zsk source as the canonical shape.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"resources": {
|
|
4
|
+
"configured-sources": {
|
|
5
|
+
"source": ".zsk/config.yaml",
|
|
6
|
+
"status": "present",
|
|
7
|
+
"evidence": []
|
|
8
|
+
},
|
|
9
|
+
"resource-manifest": {
|
|
10
|
+
"source": ".zsk/resource-manifest.json",
|
|
11
|
+
"status": "present",
|
|
12
|
+
"evidence": []
|
|
13
|
+
},
|
|
14
|
+
"requirements": {
|
|
15
|
+
"source": ".raws/requirements",
|
|
16
|
+
"status": "missing",
|
|
17
|
+
"evidence": []
|
|
18
|
+
},
|
|
19
|
+
"api-contracts": {
|
|
20
|
+
"source": ".raws/api-contracts",
|
|
21
|
+
"status": "missing",
|
|
22
|
+
"evidence": []
|
|
23
|
+
},
|
|
24
|
+
"backend-repositories": {
|
|
25
|
+
"source": ".raws/backend-repositories",
|
|
26
|
+
"status": "missing",
|
|
27
|
+
"evidence": []
|
|
28
|
+
},
|
|
29
|
+
"design-sources": {
|
|
30
|
+
"source": ".raws/design-sources",
|
|
31
|
+
"status": "missing",
|
|
32
|
+
"evidence": []
|
|
33
|
+
},
|
|
34
|
+
"design-assets": {
|
|
35
|
+
"source": ".raws/design-assets",
|
|
36
|
+
"status": "missing",
|
|
37
|
+
"evidence": []
|
|
38
|
+
},
|
|
39
|
+
"test-cases": {
|
|
40
|
+
"source": ".raws/testing",
|
|
41
|
+
"status": "missing",
|
|
42
|
+
"evidence": []
|
|
43
|
+
},
|
|
44
|
+
"issue-records": {
|
|
45
|
+
"source": ".issues",
|
|
46
|
+
"status": "present",
|
|
47
|
+
"evidence": []
|
|
48
|
+
},
|
|
49
|
+
"learning-proposals": {
|
|
50
|
+
"source": ".zsk/learning/proposals",
|
|
51
|
+
"status": "present",
|
|
52
|
+
"evidence": []
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -92,7 +92,7 @@ examples:
|
|
|
92
92
|
| Design sources | `.raws/design-sources/index.md` | `.zsk/config.yaml#sources` | Figma、Modao、MCP、设计交付源 |
|
|
93
93
|
| Design assets | `.raws/design-assets/index.md` | `.zsk/config.yaml#sources` | token、图片、图标、截图、静态设计资产 |
|
|
94
94
|
| Testing assets | `.raws/testing/index.md` | `.zsk/config.yaml#sources` + `docs/{module}/module.yaml` | QA、验收、发布测试用例 |
|
|
95
|
-
| Issues / evidence | `.issues/README.md` | `.zsk/config.yaml#paths.issues` | bug
|
|
95
|
+
| Issues / evidence | `.issues/README.md` / `.issues/index.md` / `.issues/{module}/index.md` | `.zsk/config.yaml#paths.issues` | bug、截图、日志、复测证据、模块状态索引、全局统计 |
|
|
96
96
|
|
|
97
97
|
## 3. `.raws` / `docs` / `.issues` 边界
|
|
98
98
|
|
|
@@ -113,6 +113,8 @@ examples:
|
|
|
113
113
|
> 设计资产:`.raws/design-assets/{module}/`
|
|
114
114
|
> 测试资产:`.raws/testing/{case-file}`
|
|
115
115
|
> 本地问题:`.issues/{module}/BUG-0001-short-slug/issue.md`
|
|
116
|
+
> 模块索引:`.issues/{module}/index.md`
|
|
117
|
+
> 全局统计:`.issues/index.md`
|
|
116
118
|
```
|
|
117
119
|
|
|
118
120
|
模块级映射写入 `docs/{module}/module.yaml`,项目级来源写入 `.zsk/config.yaml#sources`。
|
|
@@ -125,7 +127,7 @@ examples:
|
|
|
125
127
|
| Language | `<language>` | TypeScript / Java / Go / etc. |
|
|
126
128
|
| Build | `<build command>` | 与 package manager 保持一致 |
|
|
127
129
|
| Test | `<test command>` | CI 和本地验收都应可复用 |
|
|
128
|
-
| UI / Runtime verification | `
|
|
130
|
+
| UI / Runtime verification | `playwright_cli / playwright_mcp / browser_use / computer_use` | Playwright 默认执行与证据;Browser Use 复用登录态;Computer Use 处理视觉/系统级场景 |
|
|
129
131
|
|
|
130
132
|
## 6. 冲突处理顺序
|
|
131
133
|
|
|
@@ -149,4 +151,4 @@ examples:
|
|
|
149
151
|
- [ ] `.raws/index.md` 与相关分类 `index.md`
|
|
150
152
|
- [ ] 受影响模块的 `docs/{module}/module.yaml`
|
|
151
153
|
- [ ] 受影响模块的 `docs/{module}/spec.md` / `design.md`
|
|
152
|
-
- [ ] 必要时新增或更新 `.issues/{module}/BUG-xxxx/issue.md`
|
|
154
|
+
- [ ] 必要时新增或更新 `.issues/{module}/BUG-xxxx/issue.md`,并同步 `.issues/{module}/index.md` 与 `.issues/index.md`
|