@wefter/opencode 0.2.0 → 0.2.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/CHANGELOG.md +36 -25
- package/LICENSE +21 -21
- package/README.md +126 -125
- package/bin/wefter.js +8 -8
- package/docs/ARCHITECTURE.md +75 -75
- package/docs/INSTALLATION.md +47 -47
- package/docs/SAFETY_MODEL.md +17 -17
- package/docs/SELF_AUDIT.md +37 -35
- package/docs/WORKFLOWS.md +17 -15
- package/package.json +45 -45
- package/schemas/documentation-audit-profile.schema.json +55 -55
- package/schemas/product-shaping-config.schema.json +63 -63
- package/schemas/product-shaping-contract.schema.json +204 -204
- package/schemas/product-shaping-profile.schema.json +39 -39
- package/schemas/product-shaping-run-manifest.schema.json +103 -103
- package/schemas/run-manifest.schema.json +14 -14
- package/schemas/wefter.config.schema.json +62 -62
- package/schemas/work-unit-config.schema.json +51 -44
- package/schemas/work-unit-profile.schema.json +38 -38
- package/schemas/work-unit-review-result.schema.json +13 -13
- package/schemas/workflow-manifest.schema.json +31 -21
- package/src/cli/main.js +2696 -2646
- package/src/workflows/documentation-audit/README.md +37 -37
- package/src/workflows/documentation-audit/templates/README.md.tmpl +47 -47
- package/src/workflows/documentation-audit/templates/opencode/agent/wefter-doc-audit-consolidator.md.tmpl +27 -27
- package/src/workflows/documentation-audit/templates/opencode/agent/wefter-doc-audit-orchestrator.md.tmpl +69 -65
- package/src/workflows/documentation-audit/templates/opencode/agent/wefter-doc-audit-profile-builder.md.tmpl +58 -58
- package/src/workflows/documentation-audit/templates/opencode/agent/wefter-doc-audit-validator.md.tmpl +26 -26
- package/src/workflows/documentation-audit/templates/opencode/agent/wefter-doc-auditor.md.tmpl +31 -28
- package/src/workflows/documentation-audit/templates/opencode/skills/documentation-audit/SKILL.md.tmpl +39 -38
- package/src/workflows/documentation-audit/templates/prompts/auditor-prompt.md +98 -97
- package/src/workflows/documentation-audit/templates/prompts/consolidator-prompt.md +84 -84
- package/src/workflows/documentation-audit/templates/prompts/validator-prompt.md +92 -92
- package/src/workflows/documentation-audit/workflow.json +24 -24
- package/src/workflows/documentation-repair/README.md +11 -11
- package/src/workflows/documentation-repair/templates/opencode/agent/wefter-doc-repair-orchestrator.md.tmpl +33 -33
- package/src/workflows/documentation-repair/templates/opencode/agent/wefter-doc-repair-planner.md.tmpl +17 -17
- package/src/workflows/documentation-repair/templates/opencode/agent/wefter-doc-repair-reviewer.md.tmpl +17 -17
- package/src/workflows/documentation-repair/templates/opencode/agent/wefter-doc-repairer.md.tmpl +14 -14
- package/src/workflows/documentation-repair/templates/opencode/skills/documentation-repair/SKILL.md.tmpl +17 -17
- package/src/workflows/documentation-repair/templates/prompts/repair-apply-prompt.md +43 -43
- package/src/workflows/documentation-repair/templates/prompts/repair-plan-prompt.md +73 -73
- package/src/workflows/documentation-repair/templates/prompts/repair-review-prompt.md +47 -47
- package/src/workflows/documentation-repair/workflow.json +10 -10
- package/src/workflows/product-shaping/README.md +1245 -1245
- package/src/workflows/product-shaping/compatibility.md +33 -33
- package/src/workflows/product-shaping/contracts/product-spec-contract.json +250 -250
- package/src/workflows/product-shaping/templates/default-config.json +34 -34
- package/src/workflows/product-shaping/templates/default-profile.json +48 -48
- package/src/workflows/product-shaping/templates/documentation-audit/workflow-self-audit-auditor-prompt.md +117 -116
- package/src/workflows/product-shaping/templates/documentation-audit-profile.json +80 -80
- package/src/workflows/product-shaping/templates/opencode/agent/wefter-product-auditor.md.tmpl +22 -22
- package/src/workflows/product-shaping/templates/opencode/agent/wefter-product-domain-modeler.md.tmpl +31 -31
- package/src/workflows/product-shaping/templates/opencode/agent/wefter-product-intake-analyst.md.tmpl +31 -31
- package/src/workflows/product-shaping/templates/opencode/agent/wefter-product-orchestrator.md.tmpl +48 -48
- package/src/workflows/product-shaping/templates/opencode/agent/wefter-product-reference-researcher.md.tmpl +29 -29
- package/src/workflows/product-shaping/templates/opencode/agent/wefter-product-release-planner.md.tmpl +34 -34
- package/src/workflows/product-shaping/templates/opencode/agent/wefter-product-repairer.md.tmpl +25 -25
- package/src/workflows/product-shaping/templates/opencode/agent/wefter-product-shaper.md.tmpl +31 -31
- package/src/workflows/product-shaping/templates/opencode/agent/wefter-product-validator.md.tmpl +23 -23
- package/src/workflows/product-shaping/templates/opencode/skills/product-shaping/SKILL.md.tmpl +45 -45
- package/src/workflows/product-shaping/templates/prompts/domain-modeler-prompt.md +27 -27
- package/src/workflows/product-shaping/templates/prompts/intake-prompt.md +30 -30
- package/src/workflows/product-shaping/templates/prompts/product-auditor-prompt.md +53 -53
- package/src/workflows/product-shaping/templates/prompts/product-repairer-prompt.md +25 -25
- package/src/workflows/product-shaping/templates/prompts/product-shaper-prompt.md +26 -26
- package/src/workflows/product-shaping/templates/prompts/product-validator-prompt.md +55 -55
- package/src/workflows/product-shaping/templates/prompts/reference-research-prompt.md +25 -25
- package/src/workflows/product-shaping/templates/prompts/release-planner-prompt.md +34 -34
- package/src/workflows/product-shaping/workflow.json +33 -33
- package/src/workflows/technical-shaping/README.md +7 -5
- package/src/workflows/technical-shaping/workflow.json +14 -10
- package/src/workflows/work-unit-implementation/README.md +71 -71
- package/src/workflows/work-unit-implementation/templates/default-config.json +46 -46
- package/src/workflows/work-unit-implementation/templates/default-profile.json +57 -57
- package/src/workflows/work-unit-implementation/templates/opencode/agent/wefter-work-unit-orchestrator.md.tmpl +62 -62
- package/src/workflows/work-unit-implementation/templates/opencode/agent/wefter-work-unit-plan-auditor.md.tmpl +26 -26
- package/src/workflows/work-unit-implementation/templates/opencode/agent/wefter-work-unit-plan-consolidator.md.tmpl +26 -26
- package/src/workflows/work-unit-implementation/templates/opencode/agent/wefter-work-unit-plan-repairer.md.tmpl +25 -25
- package/src/workflows/work-unit-implementation/templates/opencode/agent/wefter-work-unit-plan-validator.md.tmpl +25 -25
- package/src/workflows/work-unit-implementation/templates/opencode/agent/wefter-work-unit-planner.md.tmpl +27 -27
- package/src/workflows/work-unit-implementation/templates/opencode/agent/wefter-work-unit-task-implementer.md.tmpl +30 -30
- package/src/workflows/work-unit-implementation/templates/opencode/agent/wefter-work-unit-task-reviewer.md.tmpl +28 -28
- package/src/workflows/work-unit-implementation/templates/opencode/agent/wefter-work-unit-validator.md.tmpl +26 -26
- package/src/workflows/work-unit-implementation/templates/opencode/skills/work-unit-implementation/SKILL.md.tmpl +25 -25
- package/src/workflows/work-unit-implementation/templates/prompts/plan-auditor-prompt.md +89 -89
- package/src/workflows/work-unit-implementation/templates/prompts/plan-consolidator-prompt.md +64 -64
- package/src/workflows/work-unit-implementation/templates/prompts/plan-repairer-prompt.md +42 -42
- package/src/workflows/work-unit-implementation/templates/prompts/plan-validator-prompt.md +84 -84
- package/src/workflows/work-unit-implementation/templates/prompts/planner-prompt.md +150 -150
- package/src/workflows/work-unit-implementation/templates/prompts/task-implementation-prompt.md +57 -57
- package/src/workflows/work-unit-implementation/templates/prompts/task-review-prompt.md +69 -69
- package/src/workflows/work-unit-implementation/templates/prompts/work-unit-validator-prompt.md +50 -50
- package/src/workflows/work-unit-implementation/workflow.json +14 -14
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
# Product Shaping Intake
|
|
2
|
-
|
|
3
|
-
Run: {{RUN_ID}}
|
|
4
|
-
Release: {{RELEASE_ID}}
|
|
5
|
-
|
|
6
|
-
Read first:
|
|
7
|
-
|
|
8
|
-
- {{PROCESS_DOC_PATH}}
|
|
9
|
-
- {{CONTRACT_PATH}}
|
|
10
|
-
- {{CONFIG_PATH}}
|
|
11
|
-
- {{SPEC_ROOT}}/README.md when present
|
|
12
|
-
|
|
13
|
-
Write or repair only intake artifacts under {{SPEC_ROOT}}.
|
|
14
|
-
|
|
15
|
-
Required files:
|
|
16
|
-
|
|
17
|
-
{{REQUIRED_FILES}}
|
|
18
|
-
|
|
19
|
-
Responsibilities:
|
|
20
|
-
|
|
21
|
-
- Create or update `README.md`, `discovery/SOURCE_MATERIALS.md`, `discovery/IDEA_BRIEF.md` and `discovery/OPEN_QUESTIONS.md`.
|
|
22
|
-
- Do not edit artifacts outside those intake files.
|
|
23
|
-
- Preserve raw source material as source material; do not turn it into scope, roadmap, domain rules or deliverables.
|
|
24
|
-
- Record unresolved questions in {{OPEN_QUESTIONS_PATH}}.
|
|
25
|
-
|
|
26
|
-
Stop conditions:
|
|
27
|
-
|
|
28
|
-
- Problem, user or expected value is unclear.
|
|
29
|
-
- A decision-relevant idea lacks source material, market reference or recorded product decision.
|
|
30
|
-
- The work requires roadmap, release scope, deliverables or technical decisions.
|
|
1
|
+
# Product Shaping Intake
|
|
2
|
+
|
|
3
|
+
Run: {{RUN_ID}}
|
|
4
|
+
Release: {{RELEASE_ID}}
|
|
5
|
+
|
|
6
|
+
Read first:
|
|
7
|
+
|
|
8
|
+
- {{PROCESS_DOC_PATH}}
|
|
9
|
+
- {{CONTRACT_PATH}}
|
|
10
|
+
- {{CONFIG_PATH}}
|
|
11
|
+
- {{SPEC_ROOT}}/README.md when present
|
|
12
|
+
|
|
13
|
+
Write or repair only intake artifacts under {{SPEC_ROOT}}.
|
|
14
|
+
|
|
15
|
+
Required files:
|
|
16
|
+
|
|
17
|
+
{{REQUIRED_FILES}}
|
|
18
|
+
|
|
19
|
+
Responsibilities:
|
|
20
|
+
|
|
21
|
+
- Create or update `README.md`, `discovery/SOURCE_MATERIALS.md`, `discovery/IDEA_BRIEF.md` and `discovery/OPEN_QUESTIONS.md`.
|
|
22
|
+
- Do not edit artifacts outside those intake files.
|
|
23
|
+
- Preserve raw source material as source material; do not turn it into scope, roadmap, domain rules or deliverables.
|
|
24
|
+
- Record unresolved questions in {{OPEN_QUESTIONS_PATH}}.
|
|
25
|
+
|
|
26
|
+
Stop conditions:
|
|
27
|
+
|
|
28
|
+
- Problem, user or expected value is unclear.
|
|
29
|
+
- A decision-relevant idea lacks source material, market reference or recorded product decision.
|
|
30
|
+
- The work requires roadmap, release scope, deliverables or technical decisions.
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
# Product Shaping Auditor
|
|
2
|
-
|
|
3
|
-
Run: {{RUN_ID}}
|
|
4
|
-
Release: {{RELEASE_ID}}
|
|
5
|
-
|
|
6
|
-
Read operating instructions first:
|
|
7
|
-
|
|
8
|
-
- {{PROCESS_DOC_PATH}}
|
|
9
|
-
- {{CONTRACT_PATH}}
|
|
10
|
-
|
|
11
|
-
Read product specs in hard utilization order:
|
|
12
|
-
|
|
13
|
-
- {{SPEC_ROOT}}/README.md
|
|
14
|
-
- {{SPEC_ROOT}}/releases/{{RELEASE_ID}}/README.md
|
|
15
|
-
- {{SPEC_ROOT}}/PRODUCT_VISION.md
|
|
16
|
-
- {{PRODUCT_DECISIONS_PATH}}
|
|
17
|
-
- {{SCOPE_PATH}}
|
|
18
|
-
- {{DOMAIN_SPEC_PATH}}
|
|
19
|
-
- {{ACCEPTANCE_CRITERIA_PATH}}
|
|
20
|
-
- {{DELIVERABLES_PATH}}
|
|
21
|
-
- {{SPEC_ROOT}}/product/DOMAIN_MODEL.md
|
|
22
|
-
- {{SPEC_ROOT}}/product/OPERATIONAL_FLOW.md
|
|
23
|
-
- {{SPEC_ROOT}}/product/FEATURE_CATALOG.md
|
|
24
|
-
- {{SPEC_ROOT}}/product/MODULE_ROADMAP.md
|
|
25
|
-
- {{OPEN_QUESTIONS_PATH}}
|
|
26
|
-
- {{SPEC_ROOT}}/discovery/IDEA_BRIEF.md
|
|
27
|
-
- {{SPEC_ROOT}}/references/README.md
|
|
28
|
-
- {{SPEC_ROOT}}/references/<reference>.md files when present
|
|
29
|
-
|
|
30
|
-
Then inspect supporting source material:
|
|
31
|
-
|
|
32
|
-
- {{SPEC_ROOT}}/discovery/SOURCE_MATERIALS.md
|
|
33
|
-
- {{SPEC_ROOT}}/releases/README.md
|
|
34
|
-
|
|
35
|
-
Responsibilities:
|
|
36
|
-
|
|
37
|
-
- Find contradiction, omission, overreach, ambiguity and drift.
|
|
38
|
-
- Validate every required file against its responsibility, limits and traceability obligations.
|
|
39
|
-
- Apply precedence rules only to classify conflicts, not to silently repair them.
|
|
40
|
-
- Write adversarial review evidence to {{ADVERSARIAL_REVIEW_PATH}}.
|
|
41
|
-
|
|
42
|
-
Do not edit source specs while auditing.
|
|
43
|
-
|
|
44
|
-
Blocking findings include:
|
|
45
|
-
|
|
46
|
-
- Release scope contradicted by domain spec, acceptance criteria or deliverables.
|
|
47
|
-
- Blocking open questions hidden outside {{OPEN_QUESTIONS_PATH}}.
|
|
48
|
-
- Deliverables that contain task specs or implementation steps.
|
|
49
|
-
|
|
50
|
-
Passing evidence format:
|
|
51
|
-
|
|
52
|
-
- Include `Status: pass` only if there are no blocking findings.
|
|
53
|
-
- Include `Blocking findings: none` only when the review found no blockers.
|
|
1
|
+
# Product Shaping Auditor
|
|
2
|
+
|
|
3
|
+
Run: {{RUN_ID}}
|
|
4
|
+
Release: {{RELEASE_ID}}
|
|
5
|
+
|
|
6
|
+
Read operating instructions first:
|
|
7
|
+
|
|
8
|
+
- {{PROCESS_DOC_PATH}}
|
|
9
|
+
- {{CONTRACT_PATH}}
|
|
10
|
+
|
|
11
|
+
Read product specs in hard utilization order:
|
|
12
|
+
|
|
13
|
+
- {{SPEC_ROOT}}/README.md
|
|
14
|
+
- {{SPEC_ROOT}}/releases/{{RELEASE_ID}}/README.md
|
|
15
|
+
- {{SPEC_ROOT}}/PRODUCT_VISION.md
|
|
16
|
+
- {{PRODUCT_DECISIONS_PATH}}
|
|
17
|
+
- {{SCOPE_PATH}}
|
|
18
|
+
- {{DOMAIN_SPEC_PATH}}
|
|
19
|
+
- {{ACCEPTANCE_CRITERIA_PATH}}
|
|
20
|
+
- {{DELIVERABLES_PATH}}
|
|
21
|
+
- {{SPEC_ROOT}}/product/DOMAIN_MODEL.md
|
|
22
|
+
- {{SPEC_ROOT}}/product/OPERATIONAL_FLOW.md
|
|
23
|
+
- {{SPEC_ROOT}}/product/FEATURE_CATALOG.md
|
|
24
|
+
- {{SPEC_ROOT}}/product/MODULE_ROADMAP.md
|
|
25
|
+
- {{OPEN_QUESTIONS_PATH}}
|
|
26
|
+
- {{SPEC_ROOT}}/discovery/IDEA_BRIEF.md
|
|
27
|
+
- {{SPEC_ROOT}}/references/README.md
|
|
28
|
+
- {{SPEC_ROOT}}/references/<reference>.md files when present
|
|
29
|
+
|
|
30
|
+
Then inspect supporting source material:
|
|
31
|
+
|
|
32
|
+
- {{SPEC_ROOT}}/discovery/SOURCE_MATERIALS.md
|
|
33
|
+
- {{SPEC_ROOT}}/releases/README.md
|
|
34
|
+
|
|
35
|
+
Responsibilities:
|
|
36
|
+
|
|
37
|
+
- Find contradiction, omission, overreach, ambiguity and drift.
|
|
38
|
+
- Validate every required file against its responsibility, limits and traceability obligations.
|
|
39
|
+
- Apply precedence rules only to classify conflicts, not to silently repair them.
|
|
40
|
+
- Write adversarial review evidence to {{ADVERSARIAL_REVIEW_PATH}}.
|
|
41
|
+
|
|
42
|
+
Do not edit source specs while auditing.
|
|
43
|
+
|
|
44
|
+
Blocking findings include:
|
|
45
|
+
|
|
46
|
+
- Release scope contradicted by domain spec, acceptance criteria or deliverables.
|
|
47
|
+
- Blocking open questions hidden outside {{OPEN_QUESTIONS_PATH}}.
|
|
48
|
+
- Deliverables that contain task specs or implementation steps.
|
|
49
|
+
|
|
50
|
+
Passing evidence format:
|
|
51
|
+
|
|
52
|
+
- Include `Status: pass` only if there are no blocking findings.
|
|
53
|
+
- Include `Blocking findings: none` only when the review found no blockers.
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
# Product Shaping Repairer
|
|
2
|
-
|
|
3
|
-
Run: {{RUN_ID}}
|
|
4
|
-
Release: {{RELEASE_ID}}
|
|
5
|
-
|
|
6
|
-
Read first:
|
|
7
|
-
|
|
8
|
-
- {{PROCESS_DOC_PATH}}
|
|
9
|
-
- {{CONTRACT_PATH}}
|
|
10
|
-
- {{SPEC_ROOT}}/README.md
|
|
11
|
-
- Latest audit or validation finding under {{RUN_ROOT}}
|
|
12
|
-
- Affected source specs under {{SPEC_ROOT}}
|
|
13
|
-
|
|
14
|
-
Responsibilities:
|
|
15
|
-
|
|
16
|
-
- Repair candidate or approved product artifacts that violate doctrine.
|
|
17
|
-
- Preserve conflict evidence and cite the finding being repaired.
|
|
18
|
-
- Stop when repair would require a new product decision.
|
|
19
|
-
|
|
20
|
-
Do not:
|
|
21
|
-
|
|
22
|
-
- Change raw source materials.
|
|
23
|
-
- Erase evidence of conflict.
|
|
24
|
-
- Invent scope, domain behavior, acceptance criteria or deliverables.
|
|
25
|
-
- Create task specs.
|
|
1
|
+
# Product Shaping Repairer
|
|
2
|
+
|
|
3
|
+
Run: {{RUN_ID}}
|
|
4
|
+
Release: {{RELEASE_ID}}
|
|
5
|
+
|
|
6
|
+
Read first:
|
|
7
|
+
|
|
8
|
+
- {{PROCESS_DOC_PATH}}
|
|
9
|
+
- {{CONTRACT_PATH}}
|
|
10
|
+
- {{SPEC_ROOT}}/README.md
|
|
11
|
+
- Latest audit or validation finding under {{RUN_ROOT}}
|
|
12
|
+
- Affected source specs under {{SPEC_ROOT}}
|
|
13
|
+
|
|
14
|
+
Responsibilities:
|
|
15
|
+
|
|
16
|
+
- Repair candidate or approved product artifacts that violate doctrine.
|
|
17
|
+
- Preserve conflict evidence and cite the finding being repaired.
|
|
18
|
+
- Stop when repair would require a new product decision.
|
|
19
|
+
|
|
20
|
+
Do not:
|
|
21
|
+
|
|
22
|
+
- Change raw source materials.
|
|
23
|
+
- Erase evidence of conflict.
|
|
24
|
+
- Invent scope, domain behavior, acceptance criteria or deliverables.
|
|
25
|
+
- Create task specs.
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
# Product Shaper
|
|
2
|
-
|
|
3
|
-
Run: {{RUN_ID}}
|
|
4
|
-
Release: {{RELEASE_ID}}
|
|
5
|
-
|
|
6
|
-
Read first:
|
|
7
|
-
|
|
8
|
-
- {{PROCESS_DOC_PATH}}
|
|
9
|
-
- {{CONTRACT_PATH}}
|
|
10
|
-
- {{SPEC_ROOT}}/README.md
|
|
11
|
-
- {{SPEC_ROOT}}/PRODUCT_VISION.md when present
|
|
12
|
-
- {{SPEC_ROOT}}/references/README.md when present
|
|
13
|
-
- {{OPEN_QUESTIONS_PATH}}
|
|
14
|
-
- {{PRODUCT_DECISIONS_PATH}}
|
|
15
|
-
|
|
16
|
-
Responsibilities:
|
|
17
|
-
|
|
18
|
-
- Create or update `PRODUCT_VISION.md`, `product/FEATURE_CATALOG.md` and `product/MODULE_ROADMAP.md`.
|
|
19
|
-
- Record accepted, superseded or rejected product direction decisions in {{PRODUCT_DECISIONS_PATH}}.
|
|
20
|
-
- Keep the feature catalog out of backlog, roadmap and release-scope responsibilities.
|
|
21
|
-
- Use only valid feature statuses: `candidate`, `core`, `future`, `rejected`, `needs-decision`.
|
|
22
|
-
|
|
23
|
-
Stop conditions:
|
|
24
|
-
|
|
25
|
-
- A future, rejected or needs-decision feature is about to enter release scope without explicit product decision.
|
|
26
|
-
- A product decision is needed to choose direction, priority or tradeoff.
|
|
1
|
+
# Product Shaper
|
|
2
|
+
|
|
3
|
+
Run: {{RUN_ID}}
|
|
4
|
+
Release: {{RELEASE_ID}}
|
|
5
|
+
|
|
6
|
+
Read first:
|
|
7
|
+
|
|
8
|
+
- {{PROCESS_DOC_PATH}}
|
|
9
|
+
- {{CONTRACT_PATH}}
|
|
10
|
+
- {{SPEC_ROOT}}/README.md
|
|
11
|
+
- {{SPEC_ROOT}}/PRODUCT_VISION.md when present
|
|
12
|
+
- {{SPEC_ROOT}}/references/README.md when present
|
|
13
|
+
- {{OPEN_QUESTIONS_PATH}}
|
|
14
|
+
- {{PRODUCT_DECISIONS_PATH}}
|
|
15
|
+
|
|
16
|
+
Responsibilities:
|
|
17
|
+
|
|
18
|
+
- Create or update `PRODUCT_VISION.md`, `product/FEATURE_CATALOG.md` and `product/MODULE_ROADMAP.md`.
|
|
19
|
+
- Record accepted, superseded or rejected product direction decisions in {{PRODUCT_DECISIONS_PATH}}.
|
|
20
|
+
- Keep the feature catalog out of backlog, roadmap and release-scope responsibilities.
|
|
21
|
+
- Use only valid feature statuses: `candidate`, `core`, `future`, `rejected`, `needs-decision`.
|
|
22
|
+
|
|
23
|
+
Stop conditions:
|
|
24
|
+
|
|
25
|
+
- A future, rejected or needs-decision feature is about to enter release scope without explicit product decision.
|
|
26
|
+
- A product decision is needed to choose direction, priority or tradeoff.
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
# Product Shaping Validator
|
|
2
|
-
|
|
3
|
-
Run: {{RUN_ID}}
|
|
4
|
-
Release: {{RELEASE_ID}}
|
|
5
|
-
|
|
6
|
-
Read operating instructions first:
|
|
7
|
-
|
|
8
|
-
- {{PROCESS_DOC_PATH}}
|
|
9
|
-
- {{CONTRACT_PATH}}
|
|
10
|
-
|
|
11
|
-
Read product specs in hard utilization order:
|
|
12
|
-
|
|
13
|
-
- {{SPEC_ROOT}}/README.md
|
|
14
|
-
- {{SPEC_ROOT}}/releases/{{RELEASE_ID}}/README.md
|
|
15
|
-
- {{SPEC_ROOT}}/PRODUCT_VISION.md
|
|
16
|
-
- {{PRODUCT_DECISIONS_PATH}}
|
|
17
|
-
- {{SCOPE_PATH}}
|
|
18
|
-
- {{DOMAIN_SPEC_PATH}}
|
|
19
|
-
- {{ACCEPTANCE_CRITERIA_PATH}}
|
|
20
|
-
- {{DELIVERABLES_PATH}}
|
|
21
|
-
- {{SPEC_ROOT}}/product/DOMAIN_MODEL.md
|
|
22
|
-
- {{SPEC_ROOT}}/product/OPERATIONAL_FLOW.md
|
|
23
|
-
- {{SPEC_ROOT}}/product/FEATURE_CATALOG.md
|
|
24
|
-
- {{SPEC_ROOT}}/product/MODULE_ROADMAP.md
|
|
25
|
-
- {{OPEN_QUESTIONS_PATH}}
|
|
26
|
-
- {{SPEC_ROOT}}/discovery/IDEA_BRIEF.md
|
|
27
|
-
- {{SPEC_ROOT}}/references/README.md
|
|
28
|
-
- {{SPEC_ROOT}}/references/<reference>.md files when present
|
|
29
|
-
|
|
30
|
-
Then inspect supporting source material:
|
|
31
|
-
|
|
32
|
-
- {{SPEC_ROOT}}/discovery/SOURCE_MATERIALS.md
|
|
33
|
-
- {{SPEC_ROOT}}/releases/README.md
|
|
34
|
-
|
|
35
|
-
Validate:
|
|
36
|
-
|
|
37
|
-
- Every required file exists or is explicitly blocked.
|
|
38
|
-
- Every required file respects its responsibility and limits.
|
|
39
|
-
- {{OPEN_QUESTIONS_PATH}} has no unresolved blocker for {{RELEASE_ID}}.
|
|
40
|
-
- {{SCOPE_PATH}}, {{DOMAIN_SPEC_PATH}}, {{ACCEPTANCE_CRITERIA_PATH}} and {{DELIVERABLES_PATH}} are consistent.
|
|
41
|
-
- Every implementation-intended deliverable is `ready`.
|
|
42
|
-
- {{DELIVERABLES_PATH}} is the only handoff to delivery implementation.
|
|
43
|
-
- Applicable documentation-audit drift findings have been reviewed and resolved, marked not applicable, or recorded as blockers/human decisions.
|
|
44
|
-
- Adversarial review evidence exists at {{ADVERSARIAL_REVIEW_PATH}}.
|
|
45
|
-
- Final validation evidence is written at {{FINAL_VALIDATION_PATH}}.
|
|
46
|
-
|
|
47
|
-
Write final validation under {{RUN_ROOT}}/final, specifically {{FINAL_VALIDATION_PATH}}.
|
|
48
|
-
|
|
49
|
-
Passing evidence format:
|
|
50
|
-
|
|
51
|
-
- Include `Status: pass` only if all completion gate checks pass.
|
|
52
|
-
- Include `Ready for delivery implementation: yes` only when {{DELIVERABLES_PATH}} is valid as the delivery handoff.
|
|
53
|
-
- Include `Documentation drift findings reviewed: yes` only after applicable documentation-audit drift findings were checked.
|
|
54
|
-
|
|
55
|
-
Do not pass validation with unresolved conflicts, missing required files or blocking questions.
|
|
1
|
+
# Product Shaping Validator
|
|
2
|
+
|
|
3
|
+
Run: {{RUN_ID}}
|
|
4
|
+
Release: {{RELEASE_ID}}
|
|
5
|
+
|
|
6
|
+
Read operating instructions first:
|
|
7
|
+
|
|
8
|
+
- {{PROCESS_DOC_PATH}}
|
|
9
|
+
- {{CONTRACT_PATH}}
|
|
10
|
+
|
|
11
|
+
Read product specs in hard utilization order:
|
|
12
|
+
|
|
13
|
+
- {{SPEC_ROOT}}/README.md
|
|
14
|
+
- {{SPEC_ROOT}}/releases/{{RELEASE_ID}}/README.md
|
|
15
|
+
- {{SPEC_ROOT}}/PRODUCT_VISION.md
|
|
16
|
+
- {{PRODUCT_DECISIONS_PATH}}
|
|
17
|
+
- {{SCOPE_PATH}}
|
|
18
|
+
- {{DOMAIN_SPEC_PATH}}
|
|
19
|
+
- {{ACCEPTANCE_CRITERIA_PATH}}
|
|
20
|
+
- {{DELIVERABLES_PATH}}
|
|
21
|
+
- {{SPEC_ROOT}}/product/DOMAIN_MODEL.md
|
|
22
|
+
- {{SPEC_ROOT}}/product/OPERATIONAL_FLOW.md
|
|
23
|
+
- {{SPEC_ROOT}}/product/FEATURE_CATALOG.md
|
|
24
|
+
- {{SPEC_ROOT}}/product/MODULE_ROADMAP.md
|
|
25
|
+
- {{OPEN_QUESTIONS_PATH}}
|
|
26
|
+
- {{SPEC_ROOT}}/discovery/IDEA_BRIEF.md
|
|
27
|
+
- {{SPEC_ROOT}}/references/README.md
|
|
28
|
+
- {{SPEC_ROOT}}/references/<reference>.md files when present
|
|
29
|
+
|
|
30
|
+
Then inspect supporting source material:
|
|
31
|
+
|
|
32
|
+
- {{SPEC_ROOT}}/discovery/SOURCE_MATERIALS.md
|
|
33
|
+
- {{SPEC_ROOT}}/releases/README.md
|
|
34
|
+
|
|
35
|
+
Validate:
|
|
36
|
+
|
|
37
|
+
- Every required file exists or is explicitly blocked.
|
|
38
|
+
- Every required file respects its responsibility and limits.
|
|
39
|
+
- {{OPEN_QUESTIONS_PATH}} has no unresolved blocker for {{RELEASE_ID}}.
|
|
40
|
+
- {{SCOPE_PATH}}, {{DOMAIN_SPEC_PATH}}, {{ACCEPTANCE_CRITERIA_PATH}} and {{DELIVERABLES_PATH}} are consistent.
|
|
41
|
+
- Every implementation-intended deliverable is `ready`.
|
|
42
|
+
- {{DELIVERABLES_PATH}} is the only handoff to delivery implementation.
|
|
43
|
+
- Applicable documentation-audit drift findings have been reviewed and resolved, marked not applicable, or recorded as blockers/human decisions.
|
|
44
|
+
- Adversarial review evidence exists at {{ADVERSARIAL_REVIEW_PATH}}.
|
|
45
|
+
- Final validation evidence is written at {{FINAL_VALIDATION_PATH}}.
|
|
46
|
+
|
|
47
|
+
Write final validation under {{RUN_ROOT}}/final, specifically {{FINAL_VALIDATION_PATH}}.
|
|
48
|
+
|
|
49
|
+
Passing evidence format:
|
|
50
|
+
|
|
51
|
+
- Include `Status: pass` only if all completion gate checks pass.
|
|
52
|
+
- Include `Ready for delivery implementation: yes` only when {{DELIVERABLES_PATH}} is valid as the delivery handoff.
|
|
53
|
+
- Include `Documentation drift findings reviewed: yes` only after applicable documentation-audit drift findings were checked.
|
|
54
|
+
|
|
55
|
+
Do not pass validation with unresolved conflicts, missing required files or blocking questions.
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
# Product Shaping Reference Research
|
|
2
|
-
|
|
3
|
-
Run: {{RUN_ID}}
|
|
4
|
-
Release: {{RELEASE_ID}}
|
|
5
|
-
|
|
6
|
-
Read first:
|
|
7
|
-
|
|
8
|
-
- {{PROCESS_DOC_PATH}}
|
|
9
|
-
- {{CONTRACT_PATH}}
|
|
10
|
-
- {{SPEC_ROOT}}/README.md
|
|
11
|
-
- {{SPEC_ROOT}}/discovery/IDEA_BRIEF.md
|
|
12
|
-
- {{OPEN_QUESTIONS_PATH}}
|
|
13
|
-
|
|
14
|
-
Responsibilities:
|
|
15
|
-
|
|
16
|
-
- Create or update `references/<reference>.md` and `references/README.md`.
|
|
17
|
-
- Mark external observations as inspiration, not commitments.
|
|
18
|
-
- Record research date, confidence and freshness notes.
|
|
19
|
-
|
|
20
|
-
Do not:
|
|
21
|
-
|
|
22
|
-
- Convert competitor behavior into product requirements.
|
|
23
|
-
- Create release scope, acceptance criteria, deliverables or task specs.
|
|
24
|
-
|
|
25
|
-
Output must remain under {{SPEC_ROOT}} and runtime notes must remain under {{RUN_ROOT}}.
|
|
1
|
+
# Product Shaping Reference Research
|
|
2
|
+
|
|
3
|
+
Run: {{RUN_ID}}
|
|
4
|
+
Release: {{RELEASE_ID}}
|
|
5
|
+
|
|
6
|
+
Read first:
|
|
7
|
+
|
|
8
|
+
- {{PROCESS_DOC_PATH}}
|
|
9
|
+
- {{CONTRACT_PATH}}
|
|
10
|
+
- {{SPEC_ROOT}}/README.md
|
|
11
|
+
- {{SPEC_ROOT}}/discovery/IDEA_BRIEF.md
|
|
12
|
+
- {{OPEN_QUESTIONS_PATH}}
|
|
13
|
+
|
|
14
|
+
Responsibilities:
|
|
15
|
+
|
|
16
|
+
- Create or update `references/<reference>.md` and `references/README.md`.
|
|
17
|
+
- Mark external observations as inspiration, not commitments.
|
|
18
|
+
- Record research date, confidence and freshness notes.
|
|
19
|
+
|
|
20
|
+
Do not:
|
|
21
|
+
|
|
22
|
+
- Convert competitor behavior into product requirements.
|
|
23
|
+
- Create release scope, acceptance criteria, deliverables or task specs.
|
|
24
|
+
|
|
25
|
+
Output must remain under {{SPEC_ROOT}} and runtime notes must remain under {{RUN_ROOT}}.
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
# Product Release Planner
|
|
2
|
-
|
|
3
|
-
Run: {{RUN_ID}}
|
|
4
|
-
Release: {{RELEASE_ID}}
|
|
5
|
-
|
|
6
|
-
Read first:
|
|
7
|
-
|
|
8
|
-
- {{PROCESS_DOC_PATH}}
|
|
9
|
-
- {{CONTRACT_PATH}}
|
|
10
|
-
- {{SPEC_ROOT}}/README.md
|
|
11
|
-
- {{SPEC_ROOT}}/discovery/IDEA_BRIEF.md
|
|
12
|
-
- {{SPEC_ROOT}}/product/FEATURE_CATALOG.md
|
|
13
|
-
- {{SPEC_ROOT}}/product/MODULE_ROADMAP.md
|
|
14
|
-
- {{SPEC_ROOT}}/releases/README.md when present
|
|
15
|
-
- {{SPEC_ROOT}}/releases/{{RELEASE_ID}}/README.md when present
|
|
16
|
-
- {{SPEC_ROOT}}/PRODUCT_VISION.md
|
|
17
|
-
- {{PRODUCT_DECISIONS_PATH}}
|
|
18
|
-
- {{SCOPE_PATH}} when present
|
|
19
|
-
- {{DOMAIN_SPEC_PATH}} when present
|
|
20
|
-
- {{ACCEPTANCE_CRITERIA_PATH}} when present
|
|
21
|
-
- {{OPEN_QUESTIONS_PATH}}
|
|
22
|
-
|
|
23
|
-
Responsibilities:
|
|
24
|
-
|
|
25
|
-
- Create or update `releases/README.md`, release `README.md`, {{SCOPE_PATH}}, {{ACCEPTANCE_CRITERIA_PATH}} and {{DELIVERABLES_PATH}}.
|
|
26
|
-
- Record accepted, superseded or rejected scope, acceptance or deliverable decisions in {{PRODUCT_DECISIONS_PATH}}.
|
|
27
|
-
- Keep {{SCOPE_PATH}} as source of truth for included and excluded release scope.
|
|
28
|
-
- Keep {{DELIVERABLES_PATH}} at deliverable granularity.
|
|
29
|
-
- Edit only release planning artifacts and report required upstream product/domain repairs instead of making them directly.
|
|
30
|
-
|
|
31
|
-
Do not:
|
|
32
|
-
|
|
33
|
-
- Create task specs, delivery plans, code instructions or TDD task sequences.
|
|
34
|
-
- Add deliverables outside scope without recording a pending scope change.
|
|
1
|
+
# Product Release Planner
|
|
2
|
+
|
|
3
|
+
Run: {{RUN_ID}}
|
|
4
|
+
Release: {{RELEASE_ID}}
|
|
5
|
+
|
|
6
|
+
Read first:
|
|
7
|
+
|
|
8
|
+
- {{PROCESS_DOC_PATH}}
|
|
9
|
+
- {{CONTRACT_PATH}}
|
|
10
|
+
- {{SPEC_ROOT}}/README.md
|
|
11
|
+
- {{SPEC_ROOT}}/discovery/IDEA_BRIEF.md
|
|
12
|
+
- {{SPEC_ROOT}}/product/FEATURE_CATALOG.md
|
|
13
|
+
- {{SPEC_ROOT}}/product/MODULE_ROADMAP.md
|
|
14
|
+
- {{SPEC_ROOT}}/releases/README.md when present
|
|
15
|
+
- {{SPEC_ROOT}}/releases/{{RELEASE_ID}}/README.md when present
|
|
16
|
+
- {{SPEC_ROOT}}/PRODUCT_VISION.md
|
|
17
|
+
- {{PRODUCT_DECISIONS_PATH}}
|
|
18
|
+
- {{SCOPE_PATH}} when present
|
|
19
|
+
- {{DOMAIN_SPEC_PATH}} when present
|
|
20
|
+
- {{ACCEPTANCE_CRITERIA_PATH}} when present
|
|
21
|
+
- {{OPEN_QUESTIONS_PATH}}
|
|
22
|
+
|
|
23
|
+
Responsibilities:
|
|
24
|
+
|
|
25
|
+
- Create or update `releases/README.md`, release `README.md`, {{SCOPE_PATH}}, {{ACCEPTANCE_CRITERIA_PATH}} and {{DELIVERABLES_PATH}}.
|
|
26
|
+
- Record accepted, superseded or rejected scope, acceptance or deliverable decisions in {{PRODUCT_DECISIONS_PATH}}.
|
|
27
|
+
- Keep {{SCOPE_PATH}} as source of truth for included and excluded release scope.
|
|
28
|
+
- Keep {{DELIVERABLES_PATH}} at deliverable granularity.
|
|
29
|
+
- Edit only release planning artifacts and report required upstream product/domain repairs instead of making them directly.
|
|
30
|
+
|
|
31
|
+
Do not:
|
|
32
|
+
|
|
33
|
+
- Create task specs, delivery plans, code instructions or TDD task sequences.
|
|
34
|
+
- Add deliverables outside scope without recording a pending scope change.
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "product-shaping",
|
|
3
|
-
"status": "available",
|
|
4
|
-
"title": "Product Shaping",
|
|
5
|
-
"summary": "Shapes an initial product idea into explicit product vision, scope, feature catalog, decisions and acceptance criteria before technical design.",
|
|
6
|
-
"commands": {
|
|
7
|
-
"cli": ["wefter product shape", "wefter product validate"],
|
|
8
|
-
"opencode": ["/wefter-shape-product"]
|
|
9
|
-
},
|
|
10
|
-
"commandAvailability": "Commands are installed by default. Set workflows.product-shaping.enabled to false to disable local execution.",
|
|
11
|
-
"defaultRoots": {
|
|
12
|
-
"specRoot": ".wefter/specs",
|
|
13
|
-
"workflowRoot": ".wefter/workflows",
|
|
14
|
-
"runRoot": ".wefter/runs/product-shaping"
|
|
15
|
-
},
|
|
16
|
-
"contracts": [
|
|
17
|
-
"contracts/product-spec-contract.json"
|
|
18
|
-
],
|
|
19
|
-
"compatibility": [
|
|
20
|
-
"compatibility.md"
|
|
21
|
-
],
|
|
22
|
-
"auditProfiles": [
|
|
23
|
-
"templates/documentation-audit-profile.json"
|
|
24
|
-
],
|
|
25
|
-
"artifactLayout": [
|
|
26
|
-
"prompts/",
|
|
27
|
-
"draft/",
|
|
28
|
-
"review/",
|
|
29
|
-
"validation/",
|
|
30
|
-
"final/"
|
|
31
|
-
],
|
|
32
|
-
"writesSourceFiles": true
|
|
33
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"id": "product-shaping",
|
|
3
|
+
"status": "available",
|
|
4
|
+
"title": "Product Shaping",
|
|
5
|
+
"summary": "Shapes an initial product idea into explicit product vision, scope, feature catalog, decisions and acceptance criteria before technical design.",
|
|
6
|
+
"commands": {
|
|
7
|
+
"cli": ["wefter product shape", "wefter product validate"],
|
|
8
|
+
"opencode": ["/wefter-shape-product"]
|
|
9
|
+
},
|
|
10
|
+
"commandAvailability": "Commands are installed by default. Set workflows.product-shaping.enabled to false to disable local execution.",
|
|
11
|
+
"defaultRoots": {
|
|
12
|
+
"specRoot": ".wefter/specs",
|
|
13
|
+
"workflowRoot": ".wefter/workflows",
|
|
14
|
+
"runRoot": ".wefter/runs/product-shaping"
|
|
15
|
+
},
|
|
16
|
+
"contracts": [
|
|
17
|
+
"contracts/product-spec-contract.json"
|
|
18
|
+
],
|
|
19
|
+
"compatibility": [
|
|
20
|
+
"compatibility.md"
|
|
21
|
+
],
|
|
22
|
+
"auditProfiles": [
|
|
23
|
+
"templates/documentation-audit-profile.json"
|
|
24
|
+
],
|
|
25
|
+
"artifactLayout": [
|
|
26
|
+
"prompts/",
|
|
27
|
+
"draft/",
|
|
28
|
+
"review/",
|
|
29
|
+
"validation/",
|
|
30
|
+
"final/"
|
|
31
|
+
],
|
|
32
|
+
"writesSourceFiles": true
|
|
33
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
# Technical Shaping
|
|
2
|
-
|
|
3
|
-
Planned workflow for converting shaped product documentation into technical decisions and implementation constraints.
|
|
4
|
-
|
|
5
|
-
It is registered from the start, but implementation comes after `documentation-audit` and `work-unit-implementation` are stable.
|
|
1
|
+
# Technical Shaping
|
|
2
|
+
|
|
3
|
+
Planned workflow for converting shaped product documentation into technical decisions and implementation constraints.
|
|
4
|
+
|
|
5
|
+
It is registered from the start, but implementation comes after `documentation-audit` and `work-unit-implementation` are stable.
|
|
6
|
+
|
|
7
|
+
No CLI or OpenCode command is installed while this workflow is planned. Future command names may appear only as planning metadata, not executable workflow contract.
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "technical-shaping",
|
|
3
|
-
"status": "planned",
|
|
4
|
-
"title": "Technical Shaping",
|
|
5
|
-
"summary": "Shapes product documentation into explicit technical decisions, implementation constraints, data contracts and verification expectations.",
|
|
6
|
-
"commands": {
|
|
7
|
-
"cli": [
|
|
8
|
-
"opencode": [
|
|
9
|
-
}
|
|
10
|
-
|
|
1
|
+
{
|
|
2
|
+
"id": "technical-shaping",
|
|
3
|
+
"status": "planned",
|
|
4
|
+
"title": "Technical Shaping",
|
|
5
|
+
"summary": "Shapes product documentation into explicit technical decisions, implementation constraints, data contracts and verification expectations.",
|
|
6
|
+
"commands": {
|
|
7
|
+
"cli": [],
|
|
8
|
+
"opencode": []
|
|
9
|
+
},
|
|
10
|
+
"plannedCommands": {
|
|
11
|
+
"cli": ["wefter technical shape"],
|
|
12
|
+
"opencode": ["/wefter-shape-technical"]
|
|
13
|
+
}
|
|
14
|
+
}
|