@structured-vibe-coding/core 0.2.2
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/LICENSE +21 -0
- package/README.md +37 -0
- package/defaults/memory/architecture.md +19 -0
- package/defaults/memory/conventions.md +15 -0
- package/defaults/memory/product.md +15 -0
- package/defaults/templates/acceptance.md +14 -0
- package/defaults/templates/arb-decision.md +21 -0
- package/defaults/templates/arb-packet.md +23 -0
- package/defaults/templates/code-research.md +21 -0
- package/defaults/templates/db-design.md +23 -0
- package/defaults/templates/design.md +23 -0
- package/defaults/templates/feature.md +27 -0
- package/defaults/templates/hl-design.md +29 -0
- package/defaults/templates/intent.md +19 -0
- package/defaults/templates/lld.md +23 -0
- package/defaults/templates/local-test-plan.md +19 -0
- package/defaults/templates/local-test-results.md +20 -0
- package/defaults/templates/outcome.md +17 -0
- package/defaults/templates/stories.md +20 -0
- package/defaults/templates/tasks.md +15 -0
- package/defaults/workflows/enterprise-feature.yaml +161 -0
- package/defaults/workflows/feature.yaml +82 -0
- package/defaults/workflows/hotfix.yaml +55 -0
- package/defaults/workflows/patch.yaml +71 -0
- package/defaults/workflows/spike.yaml +50 -0
- package/dist/index.d.ts +1224 -0
- package/dist/index.js +1273 -0
- package/package.json +61 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: hotfix
|
|
2
|
+
description: Tiny local fix — intent, implement, smoke verify
|
|
3
|
+
version: 1
|
|
4
|
+
recommendation:
|
|
5
|
+
priority: 10
|
|
6
|
+
when:
|
|
7
|
+
keywords: [typo, hotfix, nit, rename, bump, chore]
|
|
8
|
+
max_complexity: low
|
|
9
|
+
stages:
|
|
10
|
+
- id: intent
|
|
11
|
+
title: Intent
|
|
12
|
+
summary: One short note on what is broken and the fix
|
|
13
|
+
skippable: false
|
|
14
|
+
artifacts:
|
|
15
|
+
- id: intent
|
|
16
|
+
path: intent.md
|
|
17
|
+
template: intent.md
|
|
18
|
+
required: true
|
|
19
|
+
gate:
|
|
20
|
+
type: soft
|
|
21
|
+
checklist:
|
|
22
|
+
- "Problem and expected fix are clear"
|
|
23
|
+
- id: implement
|
|
24
|
+
title: Implement
|
|
25
|
+
summary: Make the minimal code change
|
|
26
|
+
skippable: false
|
|
27
|
+
artifacts: []
|
|
28
|
+
gate:
|
|
29
|
+
type: soft
|
|
30
|
+
agent_context:
|
|
31
|
+
instructions: |
|
|
32
|
+
Apply the minimal fix described in intent.md.
|
|
33
|
+
Avoid drive-by refactors.
|
|
34
|
+
- id: local_verify
|
|
35
|
+
title: Local smoke
|
|
36
|
+
summary: Quick local check that the fix works
|
|
37
|
+
skippable: true
|
|
38
|
+
artifacts:
|
|
39
|
+
- id: local-test-results
|
|
40
|
+
path: local-test-results.md
|
|
41
|
+
template: local-test-results.md
|
|
42
|
+
required: false
|
|
43
|
+
- id: evidence
|
|
44
|
+
path: evidence/local/
|
|
45
|
+
required: false
|
|
46
|
+
gate:
|
|
47
|
+
type: soft
|
|
48
|
+
checklist:
|
|
49
|
+
- "Smoke-checked locally"
|
|
50
|
+
verify:
|
|
51
|
+
commands: []
|
|
52
|
+
evidence_dir: evidence/local
|
|
53
|
+
on_complete:
|
|
54
|
+
archive: true
|
|
55
|
+
domain_sync: never
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
name: patch
|
|
2
|
+
description: Small scoped change — intent, acceptance, implement, local verify
|
|
3
|
+
version: 1
|
|
4
|
+
recommendation:
|
|
5
|
+
priority: 20
|
|
6
|
+
when:
|
|
7
|
+
keywords: [fix, bug, patch, small]
|
|
8
|
+
max_complexity: medium
|
|
9
|
+
stages:
|
|
10
|
+
- id: intent
|
|
11
|
+
title: Intent
|
|
12
|
+
summary: What / why for this change
|
|
13
|
+
skippable: false
|
|
14
|
+
artifacts:
|
|
15
|
+
- id: intent
|
|
16
|
+
path: intent.md
|
|
17
|
+
template: intent.md
|
|
18
|
+
required: true
|
|
19
|
+
gate:
|
|
20
|
+
type: soft
|
|
21
|
+
checklist:
|
|
22
|
+
- "Scope is small and clear"
|
|
23
|
+
- id: acceptance
|
|
24
|
+
title: Acceptance
|
|
25
|
+
summary: How you will know it works locally
|
|
26
|
+
skippable: true
|
|
27
|
+
artifacts:
|
|
28
|
+
- id: acceptance
|
|
29
|
+
path: acceptance.md
|
|
30
|
+
template: acceptance.md
|
|
31
|
+
required: true
|
|
32
|
+
gate:
|
|
33
|
+
type: soft
|
|
34
|
+
- id: implement
|
|
35
|
+
title: Implement
|
|
36
|
+
summary: Implement the change
|
|
37
|
+
skippable: false
|
|
38
|
+
artifacts: []
|
|
39
|
+
gate:
|
|
40
|
+
type: soft
|
|
41
|
+
agent_context:
|
|
42
|
+
instructions: |
|
|
43
|
+
Implement according to intent.md and acceptance.md.
|
|
44
|
+
Stay within stated scope.
|
|
45
|
+
- id: local_verify
|
|
46
|
+
title: Local verify
|
|
47
|
+
summary: Run/verify on this machine
|
|
48
|
+
skippable: true
|
|
49
|
+
artifacts:
|
|
50
|
+
- id: local-test-plan
|
|
51
|
+
path: local-test-plan.md
|
|
52
|
+
template: local-test-plan.md
|
|
53
|
+
required: false
|
|
54
|
+
- id: local-test-results
|
|
55
|
+
path: local-test-results.md
|
|
56
|
+
template: local-test-results.md
|
|
57
|
+
required: false
|
|
58
|
+
- id: evidence
|
|
59
|
+
path: evidence/local/
|
|
60
|
+
required: false
|
|
61
|
+
gate:
|
|
62
|
+
type: soft
|
|
63
|
+
checklist:
|
|
64
|
+
- "Acceptance cases checked locally"
|
|
65
|
+
- "No obvious regressions on touched paths"
|
|
66
|
+
verify:
|
|
67
|
+
commands: []
|
|
68
|
+
evidence_dir: evidence/local
|
|
69
|
+
on_complete:
|
|
70
|
+
archive: true
|
|
71
|
+
domain_sync: never
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: spike
|
|
2
|
+
description: Time-boxed exploration — intent, research, notes (optional reverse-spec)
|
|
3
|
+
version: 1
|
|
4
|
+
recommendation:
|
|
5
|
+
priority: 8
|
|
6
|
+
when:
|
|
7
|
+
keywords: [spike, explore, prototype, poc, research]
|
|
8
|
+
stages:
|
|
9
|
+
- id: intent
|
|
10
|
+
title: Spike intent
|
|
11
|
+
summary: Question to answer and time box
|
|
12
|
+
skippable: false
|
|
13
|
+
artifacts:
|
|
14
|
+
- id: intent
|
|
15
|
+
path: intent.md
|
|
16
|
+
template: intent.md
|
|
17
|
+
required: true
|
|
18
|
+
gate:
|
|
19
|
+
type: soft
|
|
20
|
+
- id: research
|
|
21
|
+
title: Explore
|
|
22
|
+
summary: Try approaches; capture findings
|
|
23
|
+
skippable: false
|
|
24
|
+
artifacts:
|
|
25
|
+
- id: research
|
|
26
|
+
path: research.md
|
|
27
|
+
template: code-research.md
|
|
28
|
+
required: true
|
|
29
|
+
gate:
|
|
30
|
+
type: soft
|
|
31
|
+
agent_context:
|
|
32
|
+
instructions: |
|
|
33
|
+
Explore options. Prefer spikes over production polish.
|
|
34
|
+
Document findings and recommendation.
|
|
35
|
+
- id: outcome
|
|
36
|
+
title: Outcome
|
|
37
|
+
summary: Recommendation — adopt, abandon, or promote to a feature change
|
|
38
|
+
skippable: false
|
|
39
|
+
artifacts:
|
|
40
|
+
- id: outcome
|
|
41
|
+
path: outcome.md
|
|
42
|
+
template: outcome.md
|
|
43
|
+
required: true
|
|
44
|
+
gate:
|
|
45
|
+
type: soft
|
|
46
|
+
checklist:
|
|
47
|
+
- "Clear recommendation recorded"
|
|
48
|
+
on_complete:
|
|
49
|
+
archive: true
|
|
50
|
+
domain_sync: never
|