takt-marp 0.1.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.ja.md +108 -0
- package/README.md +108 -0
- package/bin/takt-marp.mjs +24 -0
- package/fixtures/marp-slide-workflow/_workflow-smoke/README.md +23 -0
- package/fixtures/marp-slide-workflow/_workflow-smoke/brief.md +44 -0
- package/marp.config.mjs +3 -0
- package/package.json +56 -0
- package/scripts/lib/takt-marp-cli.mjs +199 -0
- package/scripts/lib/takt-marp-project-init.mjs +81 -0
- package/scripts/lib/takt-marp-project-templates.mjs +93 -0
- package/scripts/lib/takt-marp-runtime-context.mjs +24 -0
- package/scripts/lib/takt-marp-slide-workflow.mjs +453 -0
- package/scripts/takt-marp-approve-slide-workflow-state.mjs +37 -0
- package/scripts/takt-marp-build-slide-artifact.mjs +151 -0
- package/scripts/takt-marp-check-slide-workflow-state.mjs +41 -0
- package/scripts/takt-marp-render-slide-workflow-evidence.mjs +70 -0
- package/scripts/takt-marp-run-slide-workflow.mjs +435 -0
- package/scripts/takt-marp-sync-project-templates.mjs +125 -0
- package/scripts/takt-marp-validate-global-install.mjs +391 -0
- package/scripts/takt-marp-validate-package-boundary.mjs +276 -0
- package/scripts/takt-marp-validate-slide-workflow-foundation.mjs +571 -0
- package/scripts/takt-marp-validate-slide-workflow-smoke.mjs +1935 -0
- package/scripts/takt-marp-verify-delivery-artifacts.mjs +181 -0
- package/scripts/takt-marp-verify-render-evidence-metadata.mjs +133 -0
- package/templates/project/facets/instructions/takt-marp-ai-antipattern-fix.md +47 -0
- package/templates/project/facets/instructions/takt-marp-ai-antipattern-review.md +37 -0
- package/templates/project/facets/instructions/takt-marp-compose-fix.md +25 -0
- package/templates/project/facets/instructions/takt-marp-compose-review.md +30 -0
- package/templates/project/facets/instructions/takt-marp-compose-slides.md +35 -0
- package/templates/project/facets/instructions/takt-marp-compose-work-summary.md +23 -0
- package/templates/project/facets/instructions/takt-marp-deliver-build.md +30 -0
- package/templates/project/facets/instructions/takt-marp-deliver-fix.md +25 -0
- package/templates/project/facets/instructions/takt-marp-deliver-verify.md +25 -0
- package/templates/project/facets/instructions/takt-marp-design-system.md +37 -0
- package/templates/project/facets/instructions/takt-marp-intake.md +15 -0
- package/templates/project/facets/instructions/takt-marp-normalize-brief.md +24 -0
- package/templates/project/facets/instructions/takt-marp-plan-fix.md +26 -0
- package/templates/project/facets/instructions/takt-marp-plan-review.md +24 -0
- package/templates/project/facets/instructions/takt-marp-plan-work-summary.md +24 -0
- package/templates/project/facets/instructions/takt-marp-plan.md +26 -0
- package/templates/project/facets/instructions/takt-marp-polish-fix.md +25 -0
- package/templates/project/facets/instructions/takt-marp-polish-inspect.md +25 -0
- package/templates/project/facets/instructions/takt-marp-render-evidence.md +35 -0
- package/templates/project/facets/instructions/takt-marp-supervise-command.md +58 -0
- package/templates/project/facets/instructions/takt-marp-visual-generate.md +26 -0
- package/templates/project/facets/knowledge/takt-marp-repo-conventions.md +119 -0
- package/templates/project/facets/output-contracts/takt-marp-ai-antipattern-fix.md +48 -0
- package/templates/project/facets/output-contracts/takt-marp-ai-antipattern-review.md +43 -0
- package/templates/project/facets/output-contracts/takt-marp-command-fix.md +32 -0
- package/templates/project/facets/output-contracts/takt-marp-command-review.md +32 -0
- package/templates/project/facets/output-contracts/takt-marp-command-work.md +42 -0
- package/templates/project/facets/output-contracts/takt-marp-normalized-brief.md +31 -0
- package/templates/project/facets/output-contracts/takt-marp-slide-plan.md +30 -0
- package/templates/project/facets/output-contracts/takt-marp-supervision.md +45 -0
- package/templates/project/facets/personas/takt-marp-slide-planner.md +24 -0
- package/templates/project/facets/personas/takt-marp-slide-qa.md +23 -0
- package/templates/project/facets/personas/takt-marp-slide-reviewer.md +22 -0
- package/templates/project/facets/personas/takt-marp-slide-reviser.md +22 -0
- package/templates/project/facets/personas/takt-marp-slide-supervisor.md +24 -0
- package/templates/project/facets/personas/takt-marp-slide-writer.md +22 -0
- package/templates/project/facets/policies/takt-marp-general-slide-quality.md +91 -0
- package/templates/project/facets/policies/takt-marp-slide-quality.md +73 -0
- package/templates/project/facets/policies/takt-marp-svg-first-visual.md +66 -0
- package/templates/project/facets/policies/takt-marp-worker-boundary.md +32 -0
- package/templates/project/workflows/takt-marp-slide-ai-quality-gate.yaml +125 -0
- package/templates/project/workflows/takt-marp-slide-compose.yaml +209 -0
- package/templates/project/workflows/takt-marp-slide-deliver.yaml +164 -0
- package/templates/project/workflows/takt-marp-slide-plan.yaml +213 -0
- package/templates/project/workflows/takt-marp-slide-polish.yaml +158 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
name: takt-marp-slide-compose
|
|
2
|
+
description: 承認済みplanからdesign-system、SLIDES.md、SVG sourceを作成し、review/fix/supervisionを閉じるcompose command。
|
|
3
|
+
workflow_config:
|
|
4
|
+
provider_options:
|
|
5
|
+
codex:
|
|
6
|
+
network_access: false
|
|
7
|
+
opencode:
|
|
8
|
+
network_access: false
|
|
9
|
+
max_steps: 30
|
|
10
|
+
initial_step: design_system
|
|
11
|
+
loop_monitors:
|
|
12
|
+
- cycle:
|
|
13
|
+
- review_compose
|
|
14
|
+
- fix_compose
|
|
15
|
+
- summarize_compose_work
|
|
16
|
+
threshold: 3
|
|
17
|
+
judge:
|
|
18
|
+
persona: takt-marp-slide-supervisor
|
|
19
|
+
instruction: loop-monitor-reviewers-fix
|
|
20
|
+
rules:
|
|
21
|
+
- condition: 健全(進捗あり)
|
|
22
|
+
next: review_compose
|
|
23
|
+
- condition: 非生産的(同じ指摘の反復・修正未反映)
|
|
24
|
+
next: ABORT
|
|
25
|
+
|
|
26
|
+
personas:
|
|
27
|
+
takt-marp-slide-writer: ../facets/personas/takt-marp-slide-writer.md
|
|
28
|
+
takt-marp-slide-reviewer: ../facets/personas/takt-marp-slide-reviewer.md
|
|
29
|
+
takt-marp-slide-reviser: ../facets/personas/takt-marp-slide-reviser.md
|
|
30
|
+
takt-marp-slide-supervisor: ../facets/personas/takt-marp-slide-supervisor.md
|
|
31
|
+
policies:
|
|
32
|
+
takt-marp-general-slide-quality: ../facets/policies/takt-marp-general-slide-quality.md
|
|
33
|
+
takt-marp-slide-quality: ../facets/policies/takt-marp-slide-quality.md
|
|
34
|
+
takt-marp-svg-first-visual: ../facets/policies/takt-marp-svg-first-visual.md
|
|
35
|
+
takt-marp-worker-boundary: ../facets/policies/takt-marp-worker-boundary.md
|
|
36
|
+
instructions:
|
|
37
|
+
takt-marp-design-system: ../facets/instructions/takt-marp-design-system.md
|
|
38
|
+
takt-marp-compose-slides: ../facets/instructions/takt-marp-compose-slides.md
|
|
39
|
+
takt-marp-visual-generate: ../facets/instructions/takt-marp-visual-generate.md
|
|
40
|
+
takt-marp-compose-work-summary: ../facets/instructions/takt-marp-compose-work-summary.md
|
|
41
|
+
takt-marp-compose-review: ../facets/instructions/takt-marp-compose-review.md
|
|
42
|
+
takt-marp-compose-fix: ../facets/instructions/takt-marp-compose-fix.md
|
|
43
|
+
takt-marp-supervise-command: ../facets/instructions/takt-marp-supervise-command.md
|
|
44
|
+
knowledge:
|
|
45
|
+
takt-marp-repo-conventions: ../facets/knowledge/takt-marp-repo-conventions.md
|
|
46
|
+
report_formats:
|
|
47
|
+
takt-marp-command-work: ../facets/output-contracts/takt-marp-command-work.md
|
|
48
|
+
takt-marp-command-review: ../facets/output-contracts/takt-marp-command-review.md
|
|
49
|
+
takt-marp-command-fix: ../facets/output-contracts/takt-marp-command-fix.md
|
|
50
|
+
takt-marp-supervision: ../facets/output-contracts/takt-marp-supervision.md
|
|
51
|
+
|
|
52
|
+
steps:
|
|
53
|
+
- name: design_system
|
|
54
|
+
edit: true
|
|
55
|
+
required_permission_mode: edit
|
|
56
|
+
persona: takt-marp-slide-writer
|
|
57
|
+
policy:
|
|
58
|
+
- takt-marp-general-slide-quality
|
|
59
|
+
- takt-marp-slide-quality
|
|
60
|
+
- takt-marp-svg-first-visual
|
|
61
|
+
- takt-marp-worker-boundary
|
|
62
|
+
knowledge: takt-marp-repo-conventions
|
|
63
|
+
instruction: takt-marp-design-system
|
|
64
|
+
rules:
|
|
65
|
+
- condition: deck design systemを作成した
|
|
66
|
+
next: compose_slides
|
|
67
|
+
- condition: design system作成に必要な情報が不足
|
|
68
|
+
next: ABORT
|
|
69
|
+
|
|
70
|
+
- name: compose_slides
|
|
71
|
+
edit: true
|
|
72
|
+
required_permission_mode: edit
|
|
73
|
+
persona: takt-marp-slide-writer
|
|
74
|
+
policy:
|
|
75
|
+
- takt-marp-general-slide-quality
|
|
76
|
+
- takt-marp-slide-quality
|
|
77
|
+
- takt-marp-svg-first-visual
|
|
78
|
+
- takt-marp-worker-boundary
|
|
79
|
+
knowledge: takt-marp-repo-conventions
|
|
80
|
+
pass_previous_response: false
|
|
81
|
+
instruction: takt-marp-compose-slides
|
|
82
|
+
rules:
|
|
83
|
+
- condition: SLIDES.mdをcomposeした
|
|
84
|
+
next: generate_visuals
|
|
85
|
+
- condition: composeに必要な情報が不足
|
|
86
|
+
next: ABORT
|
|
87
|
+
|
|
88
|
+
- name: generate_visuals
|
|
89
|
+
edit: true
|
|
90
|
+
required_permission_mode: edit
|
|
91
|
+
persona: takt-marp-slide-writer
|
|
92
|
+
policy:
|
|
93
|
+
- takt-marp-general-slide-quality
|
|
94
|
+
- takt-marp-slide-quality
|
|
95
|
+
- takt-marp-svg-first-visual
|
|
96
|
+
- takt-marp-worker-boundary
|
|
97
|
+
knowledge: takt-marp-repo-conventions
|
|
98
|
+
pass_previous_response: false
|
|
99
|
+
instruction: takt-marp-visual-generate
|
|
100
|
+
rules:
|
|
101
|
+
- condition: SVG sourceを作成した
|
|
102
|
+
next: summarize_compose_work
|
|
103
|
+
- condition: SVG生成に必要な情報が不足
|
|
104
|
+
next: ABORT
|
|
105
|
+
|
|
106
|
+
- name: summarize_compose_work
|
|
107
|
+
edit: true
|
|
108
|
+
required_permission_mode: edit
|
|
109
|
+
persona: takt-marp-slide-writer
|
|
110
|
+
policy:
|
|
111
|
+
- takt-marp-general-slide-quality
|
|
112
|
+
- takt-marp-slide-quality
|
|
113
|
+
- takt-marp-svg-first-visual
|
|
114
|
+
- takt-marp-worker-boundary
|
|
115
|
+
knowledge: takt-marp-repo-conventions
|
|
116
|
+
pass_previous_response: false
|
|
117
|
+
instruction: takt-marp-compose-work-summary
|
|
118
|
+
output_contracts:
|
|
119
|
+
report:
|
|
120
|
+
- name: compose-work.md
|
|
121
|
+
format: takt-marp-command-work
|
|
122
|
+
rules:
|
|
123
|
+
- condition: resultがpassed
|
|
124
|
+
next: ai_quality_gate_compose
|
|
125
|
+
- condition: resultがneeds_inputまたはfailed
|
|
126
|
+
next: ABORT
|
|
127
|
+
|
|
128
|
+
- name: ai_quality_gate_compose
|
|
129
|
+
kind: workflow_call
|
|
130
|
+
call: ./takt-marp-slide-ai-quality-gate.yaml
|
|
131
|
+
args:
|
|
132
|
+
fix_instruction: takt-marp-ai-antipattern-fix
|
|
133
|
+
domain_knowledge:
|
|
134
|
+
- takt-marp-repo-conventions
|
|
135
|
+
rules:
|
|
136
|
+
- condition: COMPLETE
|
|
137
|
+
next: review_compose
|
|
138
|
+
- condition: need_replan
|
|
139
|
+
next: summarize_compose_work
|
|
140
|
+
- condition: ABORT
|
|
141
|
+
next: ABORT
|
|
142
|
+
|
|
143
|
+
- name: review_compose
|
|
144
|
+
edit: true
|
|
145
|
+
required_permission_mode: edit
|
|
146
|
+
persona: takt-marp-slide-reviewer
|
|
147
|
+
policy:
|
|
148
|
+
- takt-marp-general-slide-quality
|
|
149
|
+
- takt-marp-slide-quality
|
|
150
|
+
- takt-marp-svg-first-visual
|
|
151
|
+
- takt-marp-worker-boundary
|
|
152
|
+
knowledge: takt-marp-repo-conventions
|
|
153
|
+
pass_previous_response: false
|
|
154
|
+
instruction: takt-marp-compose-review
|
|
155
|
+
output_contracts:
|
|
156
|
+
report:
|
|
157
|
+
- name: compose-review.md
|
|
158
|
+
format: takt-marp-command-review
|
|
159
|
+
rules:
|
|
160
|
+
- condition: approved
|
|
161
|
+
next: supervise_compose
|
|
162
|
+
- condition: needs_fix
|
|
163
|
+
next: fix_compose
|
|
164
|
+
- condition: blocked
|
|
165
|
+
next: ABORT
|
|
166
|
+
|
|
167
|
+
- name: fix_compose
|
|
168
|
+
edit: true
|
|
169
|
+
required_permission_mode: edit
|
|
170
|
+
persona: takt-marp-slide-reviser
|
|
171
|
+
policy:
|
|
172
|
+
- takt-marp-general-slide-quality
|
|
173
|
+
- takt-marp-slide-quality
|
|
174
|
+
- takt-marp-svg-first-visual
|
|
175
|
+
- takt-marp-worker-boundary
|
|
176
|
+
knowledge: takt-marp-repo-conventions
|
|
177
|
+
pass_previous_response: false
|
|
178
|
+
instruction: takt-marp-compose-fix
|
|
179
|
+
output_contracts:
|
|
180
|
+
report:
|
|
181
|
+
- name: compose-fix.md
|
|
182
|
+
format: takt-marp-command-fix
|
|
183
|
+
rules:
|
|
184
|
+
- condition: fixed
|
|
185
|
+
next: summarize_compose_work
|
|
186
|
+
- condition: blocked
|
|
187
|
+
next: ABORT
|
|
188
|
+
|
|
189
|
+
- name: supervise_compose
|
|
190
|
+
edit: true
|
|
191
|
+
required_permission_mode: edit
|
|
192
|
+
persona: takt-marp-slide-supervisor
|
|
193
|
+
policy:
|
|
194
|
+
- takt-marp-general-slide-quality
|
|
195
|
+
- takt-marp-slide-quality
|
|
196
|
+
- takt-marp-svg-first-visual
|
|
197
|
+
- takt-marp-worker-boundary
|
|
198
|
+
knowledge: takt-marp-repo-conventions
|
|
199
|
+
pass_previous_response: false
|
|
200
|
+
instruction: takt-marp-supervise-command
|
|
201
|
+
output_contracts:
|
|
202
|
+
report:
|
|
203
|
+
- name: compose-supervision.md
|
|
204
|
+
format: takt-marp-supervision
|
|
205
|
+
rules:
|
|
206
|
+
- condition: resultがpassed
|
|
207
|
+
next: COMPLETE
|
|
208
|
+
- condition: resultがrejected
|
|
209
|
+
next: ABORT
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
name: takt-marp-slide-deliver
|
|
2
|
+
description: plan.mdのdeliverablesに従ってofficial artifactsをbuild/verifyし、delivery-only fix/supervisionを閉じるdeliver command。
|
|
3
|
+
workflow_config:
|
|
4
|
+
provider_options:
|
|
5
|
+
codex:
|
|
6
|
+
network_access: false
|
|
7
|
+
opencode:
|
|
8
|
+
network_access: false
|
|
9
|
+
max_steps: 30
|
|
10
|
+
initial_step: build_delivery
|
|
11
|
+
loop_monitors:
|
|
12
|
+
- cycle:
|
|
13
|
+
- verify_delivery
|
|
14
|
+
- fix_delivery
|
|
15
|
+
- build_delivery
|
|
16
|
+
threshold: 3
|
|
17
|
+
judge:
|
|
18
|
+
persona: takt-marp-slide-supervisor
|
|
19
|
+
instruction: loop-monitor-reviewers-fix
|
|
20
|
+
rules:
|
|
21
|
+
- condition: 健全(進捗あり)
|
|
22
|
+
next: verify_delivery
|
|
23
|
+
- condition: 非生産的(同じ指摘の反復・修正未反映)
|
|
24
|
+
next: ABORT
|
|
25
|
+
|
|
26
|
+
personas:
|
|
27
|
+
takt-marp-slide-qa: ../facets/personas/takt-marp-slide-qa.md
|
|
28
|
+
takt-marp-slide-reviser: ../facets/personas/takt-marp-slide-reviser.md
|
|
29
|
+
takt-marp-slide-supervisor: ../facets/personas/takt-marp-slide-supervisor.md
|
|
30
|
+
policies:
|
|
31
|
+
takt-marp-general-slide-quality: ../facets/policies/takt-marp-general-slide-quality.md
|
|
32
|
+
takt-marp-slide-quality: ../facets/policies/takt-marp-slide-quality.md
|
|
33
|
+
takt-marp-worker-boundary: ../facets/policies/takt-marp-worker-boundary.md
|
|
34
|
+
instructions:
|
|
35
|
+
takt-marp-deliver-build: ../facets/instructions/takt-marp-deliver-build.md
|
|
36
|
+
takt-marp-deliver-verify: ../facets/instructions/takt-marp-deliver-verify.md
|
|
37
|
+
takt-marp-deliver-fix: ../facets/instructions/takt-marp-deliver-fix.md
|
|
38
|
+
takt-marp-supervise-command: ../facets/instructions/takt-marp-supervise-command.md
|
|
39
|
+
knowledge:
|
|
40
|
+
takt-marp-repo-conventions: ../facets/knowledge/takt-marp-repo-conventions.md
|
|
41
|
+
report_formats:
|
|
42
|
+
takt-marp-command-work: ../facets/output-contracts/takt-marp-command-work.md
|
|
43
|
+
takt-marp-command-review: ../facets/output-contracts/takt-marp-command-review.md
|
|
44
|
+
takt-marp-command-fix: ../facets/output-contracts/takt-marp-command-fix.md
|
|
45
|
+
takt-marp-supervision: ../facets/output-contracts/takt-marp-supervision.md
|
|
46
|
+
|
|
47
|
+
steps:
|
|
48
|
+
- name: build_delivery
|
|
49
|
+
edit: true
|
|
50
|
+
required_permission_mode: edit
|
|
51
|
+
provider_options:
|
|
52
|
+
claude:
|
|
53
|
+
allowed_tools:
|
|
54
|
+
- Read
|
|
55
|
+
- Bash
|
|
56
|
+
- Write
|
|
57
|
+
persona: takt-marp-slide-qa
|
|
58
|
+
policy:
|
|
59
|
+
- takt-marp-general-slide-quality
|
|
60
|
+
- takt-marp-slide-quality
|
|
61
|
+
- takt-marp-worker-boundary
|
|
62
|
+
knowledge: takt-marp-repo-conventions
|
|
63
|
+
instruction: takt-marp-deliver-build
|
|
64
|
+
output_contracts:
|
|
65
|
+
report:
|
|
66
|
+
- name: deliver-work.md
|
|
67
|
+
format: takt-marp-command-work
|
|
68
|
+
rules:
|
|
69
|
+
- condition: resultがpassed
|
|
70
|
+
next: ai_quality_gate_deliver
|
|
71
|
+
- condition: resultがfailedまたはneeds_input
|
|
72
|
+
next: ABORT
|
|
73
|
+
|
|
74
|
+
- name: ai_quality_gate_deliver
|
|
75
|
+
kind: workflow_call
|
|
76
|
+
call: ./takt-marp-slide-ai-quality-gate.yaml
|
|
77
|
+
args:
|
|
78
|
+
fix_instruction: takt-marp-ai-antipattern-fix
|
|
79
|
+
domain_knowledge:
|
|
80
|
+
- takt-marp-repo-conventions
|
|
81
|
+
rules:
|
|
82
|
+
- condition: COMPLETE
|
|
83
|
+
next: verify_delivery
|
|
84
|
+
- condition: need_replan
|
|
85
|
+
next: build_delivery
|
|
86
|
+
- condition: ABORT
|
|
87
|
+
next: ABORT
|
|
88
|
+
|
|
89
|
+
- name: verify_delivery
|
|
90
|
+
edit: true
|
|
91
|
+
required_permission_mode: edit
|
|
92
|
+
provider_options:
|
|
93
|
+
claude:
|
|
94
|
+
allowed_tools:
|
|
95
|
+
- Read
|
|
96
|
+
- Bash
|
|
97
|
+
- Write
|
|
98
|
+
persona: takt-marp-slide-qa
|
|
99
|
+
policy:
|
|
100
|
+
- takt-marp-general-slide-quality
|
|
101
|
+
- takt-marp-slide-quality
|
|
102
|
+
- takt-marp-worker-boundary
|
|
103
|
+
knowledge: takt-marp-repo-conventions
|
|
104
|
+
pass_previous_response: false
|
|
105
|
+
instruction: takt-marp-deliver-verify
|
|
106
|
+
output_contracts:
|
|
107
|
+
report:
|
|
108
|
+
- name: deliver-verify.md
|
|
109
|
+
format: takt-marp-command-review
|
|
110
|
+
rules:
|
|
111
|
+
- condition: approved
|
|
112
|
+
next: supervise_delivery
|
|
113
|
+
- condition: needs_fix
|
|
114
|
+
next: fix_delivery
|
|
115
|
+
- condition: blocked
|
|
116
|
+
next: ABORT
|
|
117
|
+
|
|
118
|
+
- name: fix_delivery
|
|
119
|
+
edit: true
|
|
120
|
+
required_permission_mode: edit
|
|
121
|
+
provider_options:
|
|
122
|
+
claude:
|
|
123
|
+
allowed_tools:
|
|
124
|
+
- Read
|
|
125
|
+
- Bash
|
|
126
|
+
- Write
|
|
127
|
+
persona: takt-marp-slide-reviser
|
|
128
|
+
policy:
|
|
129
|
+
- takt-marp-general-slide-quality
|
|
130
|
+
- takt-marp-slide-quality
|
|
131
|
+
- takt-marp-worker-boundary
|
|
132
|
+
knowledge: takt-marp-repo-conventions
|
|
133
|
+
pass_previous_response: false
|
|
134
|
+
instruction: takt-marp-deliver-fix
|
|
135
|
+
output_contracts:
|
|
136
|
+
report:
|
|
137
|
+
- name: deliver-fix.md
|
|
138
|
+
format: takt-marp-command-fix
|
|
139
|
+
rules:
|
|
140
|
+
- condition: fixed
|
|
141
|
+
next: build_delivery
|
|
142
|
+
- condition: blocked
|
|
143
|
+
next: ABORT
|
|
144
|
+
|
|
145
|
+
- name: supervise_delivery
|
|
146
|
+
edit: true
|
|
147
|
+
required_permission_mode: edit
|
|
148
|
+
persona: takt-marp-slide-supervisor
|
|
149
|
+
policy:
|
|
150
|
+
- takt-marp-general-slide-quality
|
|
151
|
+
- takt-marp-slide-quality
|
|
152
|
+
- takt-marp-worker-boundary
|
|
153
|
+
knowledge: takt-marp-repo-conventions
|
|
154
|
+
pass_previous_response: false
|
|
155
|
+
instruction: takt-marp-supervise-command
|
|
156
|
+
output_contracts:
|
|
157
|
+
report:
|
|
158
|
+
- name: deliver-supervision.md
|
|
159
|
+
format: takt-marp-supervision
|
|
160
|
+
rules:
|
|
161
|
+
- condition: resultがpassed
|
|
162
|
+
next: COMPLETE
|
|
163
|
+
- condition: resultがrejected
|
|
164
|
+
next: ABORT
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
name: takt-marp-slide-plan
|
|
2
|
+
description: Marpスライド生成のplan command。briefを検証し、正規化brief、slide plan、review/fix/supervision reportを生成する。
|
|
3
|
+
workflow_config:
|
|
4
|
+
provider_options:
|
|
5
|
+
codex:
|
|
6
|
+
network_access: false
|
|
7
|
+
opencode:
|
|
8
|
+
network_access: false
|
|
9
|
+
max_steps: 30
|
|
10
|
+
initial_step: intake
|
|
11
|
+
loop_monitors:
|
|
12
|
+
- cycle:
|
|
13
|
+
- review_plan
|
|
14
|
+
- fix_plan
|
|
15
|
+
- summarize_plan_work
|
|
16
|
+
threshold: 3
|
|
17
|
+
judge:
|
|
18
|
+
persona: takt-marp-slide-supervisor
|
|
19
|
+
instruction: loop-monitor-reviewers-fix
|
|
20
|
+
rules:
|
|
21
|
+
- condition: 健全(進捗あり)
|
|
22
|
+
next: review_plan
|
|
23
|
+
- condition: 非生産的(同じ指摘の反復・修正未反映)
|
|
24
|
+
next: ABORT
|
|
25
|
+
|
|
26
|
+
personas:
|
|
27
|
+
takt-marp-slide-planner: ../facets/personas/takt-marp-slide-planner.md
|
|
28
|
+
takt-marp-slide-reviewer: ../facets/personas/takt-marp-slide-reviewer.md
|
|
29
|
+
takt-marp-slide-reviser: ../facets/personas/takt-marp-slide-reviser.md
|
|
30
|
+
takt-marp-slide-supervisor: ../facets/personas/takt-marp-slide-supervisor.md
|
|
31
|
+
policies:
|
|
32
|
+
takt-marp-general-slide-quality: ../facets/policies/takt-marp-general-slide-quality.md
|
|
33
|
+
takt-marp-slide-quality: ../facets/policies/takt-marp-slide-quality.md
|
|
34
|
+
takt-marp-worker-boundary: ../facets/policies/takt-marp-worker-boundary.md
|
|
35
|
+
instructions:
|
|
36
|
+
takt-marp-intake: ../facets/instructions/takt-marp-intake.md
|
|
37
|
+
takt-marp-normalize-brief: ../facets/instructions/takt-marp-normalize-brief.md
|
|
38
|
+
takt-marp-plan: ../facets/instructions/takt-marp-plan.md
|
|
39
|
+
takt-marp-plan-work-summary: ../facets/instructions/takt-marp-plan-work-summary.md
|
|
40
|
+
takt-marp-plan-review: ../facets/instructions/takt-marp-plan-review.md
|
|
41
|
+
takt-marp-plan-fix: ../facets/instructions/takt-marp-plan-fix.md
|
|
42
|
+
takt-marp-supervise-command: ../facets/instructions/takt-marp-supervise-command.md
|
|
43
|
+
knowledge:
|
|
44
|
+
takt-marp-repo-conventions: ../facets/knowledge/takt-marp-repo-conventions.md
|
|
45
|
+
report_formats:
|
|
46
|
+
takt-marp-normalized-brief: ../facets/output-contracts/takt-marp-normalized-brief.md
|
|
47
|
+
takt-marp-slide-plan: ../facets/output-contracts/takt-marp-slide-plan.md
|
|
48
|
+
takt-marp-command-work: ../facets/output-contracts/takt-marp-command-work.md
|
|
49
|
+
takt-marp-command-review: ../facets/output-contracts/takt-marp-command-review.md
|
|
50
|
+
takt-marp-command-fix: ../facets/output-contracts/takt-marp-command-fix.md
|
|
51
|
+
takt-marp-supervision: ../facets/output-contracts/takt-marp-supervision.md
|
|
52
|
+
|
|
53
|
+
steps:
|
|
54
|
+
- name: intake
|
|
55
|
+
edit: true
|
|
56
|
+
required_permission_mode: edit
|
|
57
|
+
persona: takt-marp-slide-planner
|
|
58
|
+
policy:
|
|
59
|
+
- takt-marp-general-slide-quality
|
|
60
|
+
- takt-marp-slide-quality
|
|
61
|
+
- takt-marp-worker-boundary
|
|
62
|
+
knowledge: takt-marp-repo-conventions
|
|
63
|
+
instruction: takt-marp-intake
|
|
64
|
+
rules:
|
|
65
|
+
- condition: briefが利用可能
|
|
66
|
+
next: normalize_brief
|
|
67
|
+
- condition: briefテンプレートを作成して停止
|
|
68
|
+
next: ABORT
|
|
69
|
+
- condition: briefの必須項目が不足
|
|
70
|
+
next: ABORT
|
|
71
|
+
|
|
72
|
+
- name: normalize_brief
|
|
73
|
+
edit: true
|
|
74
|
+
required_permission_mode: edit
|
|
75
|
+
persona: takt-marp-slide-planner
|
|
76
|
+
policy:
|
|
77
|
+
- takt-marp-general-slide-quality
|
|
78
|
+
- takt-marp-slide-quality
|
|
79
|
+
- takt-marp-worker-boundary
|
|
80
|
+
knowledge: takt-marp-repo-conventions
|
|
81
|
+
instruction: takt-marp-normalize-brief
|
|
82
|
+
output_contracts:
|
|
83
|
+
report:
|
|
84
|
+
- name: brief.normalized.md
|
|
85
|
+
format: takt-marp-normalized-brief
|
|
86
|
+
rules:
|
|
87
|
+
- condition: 任意確認事項を残してbriefを正規化した
|
|
88
|
+
next: plan_deck
|
|
89
|
+
- condition: briefを正規化した
|
|
90
|
+
next: plan_deck
|
|
91
|
+
- condition: 必須入力が不足して正規化できない
|
|
92
|
+
next: ABORT
|
|
93
|
+
|
|
94
|
+
- name: plan_deck
|
|
95
|
+
edit: true
|
|
96
|
+
required_permission_mode: edit
|
|
97
|
+
persona: takt-marp-slide-planner
|
|
98
|
+
policy:
|
|
99
|
+
- takt-marp-general-slide-quality
|
|
100
|
+
- takt-marp-slide-quality
|
|
101
|
+
- takt-marp-worker-boundary
|
|
102
|
+
knowledge: takt-marp-repo-conventions
|
|
103
|
+
instruction: takt-marp-plan
|
|
104
|
+
output_contracts:
|
|
105
|
+
report:
|
|
106
|
+
- name: plan.md
|
|
107
|
+
format: takt-marp-slide-plan
|
|
108
|
+
rules:
|
|
109
|
+
- condition: planを作成した
|
|
110
|
+
next: summarize_plan_work
|
|
111
|
+
- condition: plan作成に必要な情報が不足
|
|
112
|
+
next: ABORT
|
|
113
|
+
|
|
114
|
+
- name: summarize_plan_work
|
|
115
|
+
edit: true
|
|
116
|
+
required_permission_mode: edit
|
|
117
|
+
persona: takt-marp-slide-planner
|
|
118
|
+
policy:
|
|
119
|
+
- takt-marp-general-slide-quality
|
|
120
|
+
- takt-marp-slide-quality
|
|
121
|
+
- takt-marp-worker-boundary
|
|
122
|
+
knowledge: takt-marp-repo-conventions
|
|
123
|
+
pass_previous_response: false
|
|
124
|
+
instruction: takt-marp-plan-work-summary
|
|
125
|
+
output_contracts:
|
|
126
|
+
report:
|
|
127
|
+
- name: plan-work.md
|
|
128
|
+
format: takt-marp-command-work
|
|
129
|
+
rules:
|
|
130
|
+
- condition: resultがpassed
|
|
131
|
+
next: ai_quality_gate_plan
|
|
132
|
+
- condition: resultがneeds_inputまたはfailed
|
|
133
|
+
next: ABORT
|
|
134
|
+
|
|
135
|
+
- name: ai_quality_gate_plan
|
|
136
|
+
kind: workflow_call
|
|
137
|
+
call: ./takt-marp-slide-ai-quality-gate.yaml
|
|
138
|
+
args:
|
|
139
|
+
fix_instruction: takt-marp-ai-antipattern-fix
|
|
140
|
+
domain_knowledge:
|
|
141
|
+
- takt-marp-repo-conventions
|
|
142
|
+
rules:
|
|
143
|
+
- condition: COMPLETE
|
|
144
|
+
next: review_plan
|
|
145
|
+
- condition: need_replan
|
|
146
|
+
next: summarize_plan_work
|
|
147
|
+
- condition: ABORT
|
|
148
|
+
next: ABORT
|
|
149
|
+
|
|
150
|
+
- name: review_plan
|
|
151
|
+
edit: true
|
|
152
|
+
required_permission_mode: edit
|
|
153
|
+
persona: takt-marp-slide-reviewer
|
|
154
|
+
policy:
|
|
155
|
+
- takt-marp-general-slide-quality
|
|
156
|
+
- takt-marp-slide-quality
|
|
157
|
+
- takt-marp-worker-boundary
|
|
158
|
+
knowledge: takt-marp-repo-conventions
|
|
159
|
+
pass_previous_response: false
|
|
160
|
+
instruction: takt-marp-plan-review
|
|
161
|
+
output_contracts:
|
|
162
|
+
report:
|
|
163
|
+
- name: plan-review.md
|
|
164
|
+
format: takt-marp-command-review
|
|
165
|
+
rules:
|
|
166
|
+
- condition: approved
|
|
167
|
+
next: supervise_plan
|
|
168
|
+
- condition: needs_fix
|
|
169
|
+
next: fix_plan
|
|
170
|
+
- condition: blocked
|
|
171
|
+
next: ABORT
|
|
172
|
+
|
|
173
|
+
- name: fix_plan
|
|
174
|
+
edit: true
|
|
175
|
+
required_permission_mode: edit
|
|
176
|
+
persona: takt-marp-slide-reviser
|
|
177
|
+
policy:
|
|
178
|
+
- takt-marp-general-slide-quality
|
|
179
|
+
- takt-marp-slide-quality
|
|
180
|
+
- takt-marp-worker-boundary
|
|
181
|
+
knowledge: takt-marp-repo-conventions
|
|
182
|
+
pass_previous_response: false
|
|
183
|
+
instruction: takt-marp-plan-fix
|
|
184
|
+
output_contracts:
|
|
185
|
+
report:
|
|
186
|
+
- name: plan-fix.md
|
|
187
|
+
format: takt-marp-command-fix
|
|
188
|
+
rules:
|
|
189
|
+
- condition: fixed
|
|
190
|
+
next: summarize_plan_work
|
|
191
|
+
- condition: blocked
|
|
192
|
+
next: ABORT
|
|
193
|
+
|
|
194
|
+
- name: supervise_plan
|
|
195
|
+
edit: true
|
|
196
|
+
required_permission_mode: edit
|
|
197
|
+
persona: takt-marp-slide-supervisor
|
|
198
|
+
policy:
|
|
199
|
+
- takt-marp-general-slide-quality
|
|
200
|
+
- takt-marp-slide-quality
|
|
201
|
+
- takt-marp-worker-boundary
|
|
202
|
+
knowledge: takt-marp-repo-conventions
|
|
203
|
+
pass_previous_response: false
|
|
204
|
+
instruction: takt-marp-supervise-command
|
|
205
|
+
output_contracts:
|
|
206
|
+
report:
|
|
207
|
+
- name: plan-supervision.md
|
|
208
|
+
format: takt-marp-supervision
|
|
209
|
+
rules:
|
|
210
|
+
- condition: resultがpassed
|
|
211
|
+
next: COMPLETE
|
|
212
|
+
- condition: resultがrejected
|
|
213
|
+
next: ABORT
|