takt 0.3.9 → 0.4.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.md +364 -325
- package/dist/agents/index.d.ts +1 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +1 -1
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/runner.d.ts +0 -1
- package/dist/agents/runner.d.ts.map +1 -1
- package/dist/agents/runner.js +6 -5
- package/dist/agents/runner.js.map +1 -1
- package/dist/agents/types.d.ts +3 -1
- package/dist/agents/types.d.ts.map +1 -1
- package/dist/app/cli/commands.d.ts +1 -1
- package/dist/app/cli/commands.js +9 -1
- package/dist/app/cli/commands.js.map +1 -1
- package/dist/app/cli/routing.js +1 -0
- package/dist/app/cli/routing.js.map +1 -1
- package/dist/core/models/index.d.ts +1 -1
- package/dist/core/models/index.d.ts.map +1 -1
- package/dist/core/models/schemas.d.ts +8 -6
- package/dist/core/models/schemas.d.ts.map +1 -1
- package/dist/core/models/schemas.js +16 -15
- package/dist/core/models/schemas.js.map +1 -1
- package/dist/core/models/types.d.ts +1 -1
- package/dist/core/models/types.d.ts.map +1 -1
- package/dist/core/models/workflow-types.d.ts +26 -24
- package/dist/core/models/workflow-types.d.ts.map +1 -1
- package/dist/core/workflow/constants.d.ts +7 -7
- package/dist/core/workflow/constants.d.ts.map +1 -1
- package/dist/core/workflow/constants.js +7 -7
- package/dist/core/workflow/constants.js.map +1 -1
- package/dist/core/workflow/engine/MovementExecutor.d.ts +59 -0
- package/dist/core/workflow/engine/MovementExecutor.d.ts.map +1 -0
- package/dist/core/workflow/engine/{StepExecutor.js → MovementExecutor.js} +30 -25
- package/dist/core/workflow/engine/MovementExecutor.js.map +1 -0
- package/dist/core/workflow/engine/OptionsBuilder.d.ts +6 -6
- package/dist/core/workflow/engine/OptionsBuilder.d.ts.map +1 -1
- package/dist/core/workflow/engine/OptionsBuilder.js +8 -3
- package/dist/core/workflow/engine/OptionsBuilder.js.map +1 -1
- package/dist/core/workflow/engine/ParallelRunner.d.ts +12 -10
- package/dist/core/workflow/engine/ParallelRunner.d.ts.map +1 -1
- package/dist/core/workflow/engine/ParallelRunner.js +46 -41
- package/dist/core/workflow/engine/ParallelRunner.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngine.d.ts +16 -16
- package/dist/core/workflow/engine/WorkflowEngine.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngine.js +105 -92
- package/dist/core/workflow/engine/WorkflowEngine.js.map +1 -1
- package/dist/core/workflow/engine/blocked-handler.d.ts +3 -3
- package/dist/core/workflow/engine/blocked-handler.d.ts.map +1 -1
- package/dist/core/workflow/engine/blocked-handler.js +2 -2
- package/dist/core/workflow/engine/blocked-handler.js.map +1 -1
- package/dist/core/workflow/engine/index.d.ts +2 -1
- package/dist/core/workflow/engine/index.d.ts.map +1 -1
- package/dist/core/workflow/engine/index.js +1 -1
- package/dist/core/workflow/engine/index.js.map +1 -1
- package/dist/core/workflow/engine/loop-detector.d.ts +5 -5
- package/dist/core/workflow/engine/loop-detector.d.ts.map +1 -1
- package/dist/core/workflow/engine/loop-detector.js +8 -8
- package/dist/core/workflow/engine/loop-detector.js.map +1 -1
- package/dist/core/workflow/engine/parallel-logger.d.ts +15 -15
- package/dist/core/workflow/engine/parallel-logger.d.ts.map +1 -1
- package/dist/core/workflow/engine/parallel-logger.js +22 -21
- package/dist/core/workflow/engine/parallel-logger.js.map +1 -1
- package/dist/core/workflow/engine/state-manager.d.ts +6 -6
- package/dist/core/workflow/engine/state-manager.d.ts.map +1 -1
- package/dist/core/workflow/engine/state-manager.js +15 -16
- package/dist/core/workflow/engine/state-manager.js.map +1 -1
- package/dist/core/workflow/engine/transitions.d.ts +5 -5
- package/dist/core/workflow/engine/transitions.d.ts.map +1 -1
- package/dist/core/workflow/engine/transitions.js +4 -4
- package/dist/core/workflow/engine/transitions.js.map +1 -1
- package/dist/core/workflow/evaluation/AggregateEvaluator.d.ts +15 -15
- package/dist/core/workflow/evaluation/AggregateEvaluator.d.ts.map +1 -1
- package/dist/core/workflow/evaluation/AggregateEvaluator.js +35 -33
- package/dist/core/workflow/evaluation/AggregateEvaluator.js.map +1 -1
- package/dist/core/workflow/evaluation/RuleEvaluator.d.ts +8 -8
- package/dist/core/workflow/evaluation/RuleEvaluator.d.ts.map +1 -1
- package/dist/core/workflow/evaluation/RuleEvaluator.js +18 -14
- package/dist/core/workflow/evaluation/RuleEvaluator.js.map +1 -1
- package/dist/core/workflow/evaluation/index.d.ts +4 -4
- package/dist/core/workflow/evaluation/index.d.ts.map +1 -1
- package/dist/core/workflow/evaluation/index.js +1 -1
- package/dist/core/workflow/evaluation/index.js.map +1 -1
- package/dist/core/workflow/evaluation/rule-utils.d.ts +4 -4
- package/dist/core/workflow/evaluation/rule-utils.d.ts.map +1 -1
- package/dist/core/workflow/evaluation/rule-utils.js +2 -2
- package/dist/core/workflow/evaluation/rule-utils.js.map +1 -1
- package/dist/core/workflow/index.d.ts +6 -6
- package/dist/core/workflow/index.d.ts.map +1 -1
- package/dist/core/workflow/index.js +5 -5
- package/dist/core/workflow/index.js.map +1 -1
- package/dist/core/workflow/instruction/InstructionBuilder.d.ts +17 -15
- package/dist/core/workflow/instruction/InstructionBuilder.d.ts.map +1 -1
- package/dist/core/workflow/instruction/InstructionBuilder.js +105 -120
- package/dist/core/workflow/instruction/InstructionBuilder.js.map +1 -1
- package/dist/core/workflow/instruction/ReportInstructionBuilder.d.ts +10 -11
- package/dist/core/workflow/instruction/ReportInstructionBuilder.d.ts.map +1 -1
- package/dist/core/workflow/instruction/ReportInstructionBuilder.js +38 -84
- package/dist/core/workflow/instruction/ReportInstructionBuilder.js.map +1 -1
- package/dist/core/workflow/instruction/StatusJudgmentBuilder.d.ts +6 -5
- package/dist/core/workflow/instruction/StatusJudgmentBuilder.d.ts.map +1 -1
- package/dist/core/workflow/instruction/StatusJudgmentBuilder.js +14 -22
- package/dist/core/workflow/instruction/StatusJudgmentBuilder.js.map +1 -1
- package/dist/core/workflow/instruction/escape.d.ts +3 -3
- package/dist/core/workflow/instruction/escape.d.ts.map +1 -1
- package/dist/core/workflow/instruction/escape.js +3 -3
- package/dist/core/workflow/instruction/escape.js.map +1 -1
- package/dist/core/workflow/instruction/instruction-context.d.ts +16 -49
- package/dist/core/workflow/instruction/instruction-context.d.ts.map +1 -1
- package/dist/core/workflow/instruction/instruction-context.js +17 -62
- package/dist/core/workflow/instruction/instruction-context.js.map +1 -1
- package/dist/core/workflow/instruction/status-rules.d.ts +19 -14
- package/dist/core/workflow/instruction/status-rules.d.ts.map +1 -1
- package/dist/core/workflow/instruction/status-rules.js +47 -66
- package/dist/core/workflow/instruction/status-rules.js.map +1 -1
- package/dist/core/workflow/phase-runner.d.ts +14 -8
- package/dist/core/workflow/phase-runner.d.ts.map +1 -1
- package/dist/core/workflow/phase-runner.js +75 -78
- package/dist/core/workflow/phase-runner.js.map +1 -1
- package/dist/core/workflow/types.d.ts +15 -12
- package/dist/core/workflow/types.d.ts.map +1 -1
- package/dist/features/config/ejectBuiltin.js +3 -3
- package/dist/features/config/ejectBuiltin.js.map +1 -1
- package/dist/features/interactive/interactive.d.ts.map +1 -1
- package/dist/features/interactive/interactive.js +38 -169
- package/dist/features/interactive/interactive.js.map +1 -1
- package/dist/features/prompt/index.d.ts +5 -0
- package/dist/features/prompt/index.d.ts.map +1 -0
- package/dist/features/prompt/index.js +5 -0
- package/dist/features/prompt/index.js.map +1 -0
- package/dist/features/prompt/preview.d.ts +14 -0
- package/dist/features/prompt/preview.d.ts.map +1 -0
- package/dist/features/prompt/preview.js +74 -0
- package/dist/features/prompt/preview.js.map +1 -0
- package/dist/features/tasks/add/index.d.ts +6 -9
- package/dist/features/tasks/add/index.d.ts.map +1 -1
- package/dist/features/tasks/add/index.js +23 -55
- package/dist/features/tasks/add/index.js.map +1 -1
- package/dist/features/tasks/execute/selectAndExecute.d.ts.map +1 -1
- package/dist/features/tasks/execute/selectAndExecute.js +1 -0
- package/dist/features/tasks/execute/selectAndExecute.js.map +1 -1
- package/dist/features/tasks/execute/taskExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/taskExecution.js +4 -3
- package/dist/features/tasks/execute/taskExecution.js.map +1 -1
- package/dist/features/tasks/execute/types.d.ts +13 -0
- package/dist/features/tasks/execute/types.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecution.js +63 -18
- package/dist/features/tasks/execute/workflowExecution.js.map +1 -1
- package/dist/features/tasks/index.d.ts +1 -1
- package/dist/features/tasks/index.d.ts.map +1 -1
- package/dist/features/tasks/index.js +1 -1
- package/dist/features/tasks/index.js.map +1 -1
- package/dist/features/tasks/list/index.d.ts.map +1 -1
- package/dist/features/tasks/list/index.js +0 -1
- package/dist/features/tasks/list/index.js.map +1 -1
- package/dist/features/tasks/list/taskActions.d.ts +1 -0
- package/dist/features/tasks/list/taskActions.d.ts.map +1 -1
- package/dist/features/tasks/list/taskActions.js +24 -1
- package/dist/features/tasks/list/taskActions.js.map +1 -1
- package/dist/features/workflowSelection/index.js +1 -1
- package/dist/features/workflowSelection/index.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/infra/claude/client.d.ts +1 -1
- package/dist/infra/claude/client.d.ts.map +1 -1
- package/dist/infra/claude/client.js +6 -24
- package/dist/infra/claude/client.js.map +1 -1
- package/dist/infra/claude/executor.d.ts +0 -1
- package/dist/infra/claude/executor.d.ts.map +1 -1
- package/dist/infra/claude/executor.js +0 -2
- package/dist/infra/claude/executor.js.map +1 -1
- package/dist/infra/claude/index.js +2 -2
- package/dist/infra/claude/index.js.map +1 -1
- package/dist/infra/claude/options-builder.js +4 -4
- package/dist/infra/claude/options-builder.js.map +1 -1
- package/dist/infra/claude/process.d.ts +1 -1
- package/dist/infra/claude/process.d.ts.map +1 -1
- package/dist/infra/claude/process.js +1 -1
- package/dist/infra/claude/process.js.map +1 -1
- package/dist/infra/claude/query-manager.d.ts +1 -1
- package/dist/infra/claude/query-manager.d.ts.map +1 -1
- package/dist/infra/claude/query-manager.js +1 -2
- package/dist/infra/claude/query-manager.js.map +1 -1
- package/dist/infra/claude/stream-converter.d.ts +2 -2
- package/dist/infra/claude/stream-converter.js +2 -2
- package/dist/infra/claude/types.d.ts +1 -1
- package/dist/infra/claude/types.d.ts.map +1 -1
- package/dist/infra/codex/client.d.ts.map +1 -1
- package/dist/infra/codex/client.js +0 -1
- package/dist/infra/codex/client.js.map +1 -1
- package/dist/infra/config/global/globalConfig.d.ts.map +1 -1
- package/dist/infra/config/global/globalConfig.js +0 -1
- package/dist/infra/config/global/globalConfig.js.map +1 -1
- package/dist/infra/config/loaders/agentLoader.d.ts +1 -1
- package/dist/infra/config/loaders/agentLoader.d.ts.map +1 -1
- package/dist/infra/config/loaders/agentLoader.js +6 -5
- package/dist/infra/config/loaders/agentLoader.js.map +1 -1
- package/dist/infra/config/loaders/loader.d.ts +1 -1
- package/dist/infra/config/loaders/loader.js +1 -1
- package/dist/infra/config/loaders/workflowParser.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowParser.js +9 -5
- package/dist/infra/config/loaders/workflowParser.js.map +1 -1
- package/dist/infra/config/loaders/workflowResolver.d.ts +4 -4
- package/dist/infra/config/loaders/workflowResolver.js +11 -11
- package/dist/infra/config/loaders/workflowResolver.js.map +1 -1
- package/dist/infra/config/paths.d.ts +4 -4
- package/dist/infra/config/paths.d.ts.map +1 -1
- package/dist/infra/config/paths.js +7 -7
- package/dist/infra/config/paths.js.map +1 -1
- package/dist/infra/config/project/index.d.ts +1 -1
- package/dist/infra/config/project/index.d.ts.map +1 -1
- package/dist/infra/config/project/index.js.map +1 -1
- package/dist/infra/config/project/projectConfig.d.ts +2 -2
- package/dist/infra/config/project/projectConfig.d.ts.map +1 -1
- package/dist/infra/config/types.d.ts +0 -2
- package/dist/infra/config/types.d.ts.map +1 -1
- package/dist/infra/fs/index.d.ts +1 -1
- package/dist/infra/fs/index.d.ts.map +1 -1
- package/dist/infra/fs/index.js.map +1 -1
- package/dist/infra/fs/session.d.ts +1 -1
- package/dist/infra/fs/session.d.ts.map +1 -1
- package/dist/infra/fs/session.js +0 -1
- package/dist/infra/fs/session.js.map +1 -1
- package/dist/infra/providers/index.d.ts.map +1 -1
- package/dist/infra/providers/index.js +0 -1
- package/dist/infra/providers/index.js.map +1 -1
- package/dist/infra/task/autoCommit.js +1 -1
- package/dist/infra/task/autoCommit.js.map +1 -1
- package/dist/infra/task/branchList.d.ts +4 -2
- package/dist/infra/task/branchList.d.ts.map +1 -1
- package/dist/infra/task/branchList.js +87 -9
- package/dist/infra/task/branchList.js.map +1 -1
- package/dist/infra/task/clone.js +1 -1
- package/dist/infra/task/clone.js.map +1 -1
- package/dist/infra/task/parser.d.ts +1 -1
- package/dist/infra/task/parser.js +1 -1
- package/dist/infra/task/summarize.d.ts.map +1 -1
- package/dist/infra/task/summarize.js +3 -15
- package/dist/infra/task/summarize.js.map +1 -1
- package/dist/infra/task/types.d.ts +1 -0
- package/dist/infra/task/types.d.ts.map +1 -1
- package/dist/shared/context.d.ts.map +1 -1
- package/dist/shared/context.js +0 -1
- package/dist/shared/context.js.map +1 -1
- package/dist/shared/i18n/index.d.ts +31 -0
- package/dist/shared/i18n/index.d.ts.map +1 -0
- package/dist/shared/i18n/index.js +97 -0
- package/dist/shared/i18n/index.js.map +1 -0
- package/dist/shared/i18n/labels_en.yaml +37 -0
- package/dist/shared/i18n/labels_ja.yaml +37 -0
- package/dist/shared/prompt/select.d.ts +0 -3
- package/dist/shared/prompt/select.d.ts.map +1 -1
- package/dist/shared/prompt/select.js +5 -20
- package/dist/shared/prompt/select.js.map +1 -1
- package/dist/shared/prompts/en/perform_agent_system_prompt.md +7 -0
- package/dist/shared/prompts/en/perform_builtin_agent_system_prompt.md +7 -0
- package/dist/shared/prompts/en/perform_judge_message.md +24 -0
- package/dist/shared/prompts/en/perform_phase1_message.md +45 -0
- package/dist/shared/prompts/en/perform_phase2_message.md +31 -0
- package/dist/shared/prompts/en/perform_phase3_message.md +19 -0
- package/dist/shared/prompts/en/score_interactive_system_prompt.md +53 -0
- package/dist/shared/prompts/en/score_slug_system_prompt.md +19 -0
- package/dist/shared/prompts/en/score_summary_system_prompt.md +25 -0
- package/dist/shared/prompts/index.d.ts +27 -0
- package/dist/shared/prompts/index.d.ts.map +1 -0
- package/dist/shared/prompts/index.js +111 -0
- package/dist/shared/prompts/index.js.map +1 -0
- package/dist/shared/prompts/ja/perform_agent_system_prompt.md +7 -0
- package/dist/shared/prompts/ja/perform_builtin_agent_system_prompt.md +7 -0
- package/dist/shared/prompts/ja/perform_judge_message.md +24 -0
- package/dist/shared/prompts/ja/perform_phase1_message.md +44 -0
- package/dist/shared/prompts/ja/perform_phase2_message.md +30 -0
- package/dist/shared/prompts/ja/perform_phase3_message.md +19 -0
- package/dist/shared/prompts/ja/score_interactive_system_prompt.md +59 -0
- package/dist/shared/prompts/ja/score_slug_system_prompt.md +19 -0
- package/dist/shared/prompts/ja/score_summary_system_prompt.md +32 -0
- package/dist/shared/ui/LogManager.d.ts +1 -1
- package/dist/shared/ui/LogManager.d.ts.map +1 -1
- package/dist/shared/ui/LogManager.js +1 -2
- package/dist/shared/ui/LogManager.js.map +1 -1
- package/dist/shared/utils/debug.js +1 -1
- package/dist/shared/utils/debug.js.map +1 -1
- package/dist/shared/utils/types.d.ts +29 -1
- package/dist/shared/utils/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/resources/global/en/{workflows → pieces}/default.yaml +16 -16
- package/resources/global/en/{workflows → pieces}/expert-cqrs.yaml +17 -17
- package/resources/global/en/{workflows → pieces}/expert.yaml +20 -20
- package/resources/global/en/{workflows → pieces}/magi.yaml +4 -4
- package/resources/global/en/{workflows → pieces}/minimal.yaml +7 -7
- package/resources/global/en/{workflows → pieces}/research.yaml +11 -11
- package/resources/global/en/{workflows → pieces}/review-fix-minimal.yaml +8 -8
- package/resources/global/en/{workflows → pieces}/review-only.yaml +7 -7
- package/resources/global/ja/agents/default/architecture-reviewer.md +3 -3
- package/resources/global/ja/agents/default/supervisor.md +1 -1
- package/resources/global/ja/agents/templates/planner.md +1 -1
- package/resources/global/ja/{workflows → pieces}/default.yaml +12 -12
- package/resources/global/ja/{workflows → pieces}/expert-cqrs.yaml +18 -18
- package/resources/global/ja/{workflows → pieces}/expert.yaml +15 -15
- package/resources/global/ja/{workflows → pieces}/magi.yaml +4 -4
- package/resources/global/ja/{workflows → pieces}/minimal.yaml +8 -8
- package/resources/global/ja/{workflows → pieces}/research.yaml +11 -11
- package/resources/global/ja/{workflows → pieces}/review-fix-minimal.yaml +8 -8
- package/resources/global/ja/{workflows → pieces}/review-only.yaml +7 -7
- package/dist/core/workflow/engine/StepExecutor.d.ts +0 -52
- package/dist/core/workflow/engine/StepExecutor.d.ts.map +0 -1
- package/dist/core/workflow/engine/StepExecutor.js.map +0 -1
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
#
|
|
15
15
|
# Boilerplate sections (Workflow Context, User Request, Previous Response,
|
|
16
16
|
# Additional User Inputs, Instructions heading) are auto-injected by buildInstruction().
|
|
17
|
-
# Only
|
|
17
|
+
# Only movement-specific content belongs in instruction_template.
|
|
18
18
|
#
|
|
19
19
|
# Template Variables (available in instruction_template):
|
|
20
|
-
# {iteration} - Workflow-wide turn count (total
|
|
20
|
+
# {iteration} - Workflow-wide turn count (total movements executed across all agents)
|
|
21
21
|
# {max_iterations} - Maximum iterations allowed for the workflow
|
|
22
|
-
# {
|
|
23
|
-
# {previous_response} - Output from the previous
|
|
22
|
+
# {movement_iteration} - Per-movement iteration count (how many times THIS movement has been executed)
|
|
23
|
+
# {previous_response} - Output from the previous movement (only when pass_previous_response: true)
|
|
24
24
|
# {report_dir} - Report directory name (e.g., "20250126-143052-task-summary")
|
|
25
25
|
#
|
|
26
|
-
#
|
|
27
|
-
# report: - Report file(s) for the
|
|
26
|
+
# Movement-level Fields:
|
|
27
|
+
# report: - Report file(s) for the movement (auto-injected as Report File/Files in Workflow Context)
|
|
28
28
|
# Single: report: 00-plan.md
|
|
29
29
|
# Multiple: report:
|
|
30
30
|
# - Scope: 01-coder-scope.md
|
|
@@ -35,11 +35,11 @@ description: Architecture, Frontend, Security, QA Expert Review
|
|
|
35
35
|
|
|
36
36
|
max_iterations: 30
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
initial_movement: plan
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
movements:
|
|
41
41
|
# ===========================================
|
|
42
|
-
#
|
|
42
|
+
# Movement 0: Planning
|
|
43
43
|
# ===========================================
|
|
44
44
|
- name: plan
|
|
45
45
|
edit: false
|
|
@@ -77,7 +77,7 @@ steps:
|
|
|
77
77
|
instruction_template: |
|
|
78
78
|
Analyze the task and create an implementation plan.
|
|
79
79
|
|
|
80
|
-
**Note:** If returned from implement
|
|
80
|
+
**Note:** If returned from implement movement (Previous Response exists),
|
|
81
81
|
review and revise the plan based on that feedback (replan).
|
|
82
82
|
|
|
83
83
|
**Tasks:**
|
|
@@ -92,7 +92,7 @@ steps:
|
|
|
92
92
|
next: ABORT
|
|
93
93
|
|
|
94
94
|
# ===========================================
|
|
95
|
-
#
|
|
95
|
+
# Movement 1: Implementation
|
|
96
96
|
# ===========================================
|
|
97
97
|
- name: implement
|
|
98
98
|
edit: true
|
|
@@ -111,7 +111,7 @@ steps:
|
|
|
111
111
|
- WebSearch
|
|
112
112
|
- WebFetch
|
|
113
113
|
instruction_template: |
|
|
114
|
-
Follow the plan from the plan
|
|
114
|
+
Follow the plan from the plan movement and implement.
|
|
115
115
|
Refer to the plan report ({report:00-plan.md}) and proceed with implementation.
|
|
116
116
|
Use only the Report Directory files shown in Workflow Context. Do not search or open reports outside that directory.
|
|
117
117
|
|
|
@@ -165,7 +165,7 @@ steps:
|
|
|
165
165
|
interactive_only: true
|
|
166
166
|
|
|
167
167
|
# ===========================================
|
|
168
|
-
#
|
|
168
|
+
# Movement 2: AI Review
|
|
169
169
|
# ===========================================
|
|
170
170
|
- name: ai_review
|
|
171
171
|
edit: false
|
|
@@ -231,7 +231,7 @@ steps:
|
|
|
231
231
|
- WebSearch
|
|
232
232
|
- WebFetch
|
|
233
233
|
instruction_template: |
|
|
234
|
-
**This is AI Review iteration {
|
|
234
|
+
**This is AI Review iteration {movement_iteration}.**
|
|
235
235
|
|
|
236
236
|
If this is iteration 2 or later, it means your previous fixes were not actually applied.
|
|
237
237
|
**Your belief that you "already fixed it" is wrong.**
|
|
@@ -284,7 +284,7 @@ steps:
|
|
|
284
284
|
next: plan
|
|
285
285
|
|
|
286
286
|
# ===========================================
|
|
287
|
-
#
|
|
287
|
+
# Movement 3: Expert Reviews (Parallel)
|
|
288
288
|
# ===========================================
|
|
289
289
|
- name: reviewers
|
|
290
290
|
parallel:
|
|
@@ -335,7 +335,7 @@ steps:
|
|
|
335
335
|
- condition: approved
|
|
336
336
|
- condition: needs_fix
|
|
337
337
|
instruction_template: |
|
|
338
|
-
Focus on **architecture and design** review. Do NOT review AI-specific issues (that's the ai_review
|
|
338
|
+
Focus on **architecture and design** review. Do NOT review AI-specific issues (that's the ai_review movement).
|
|
339
339
|
|
|
340
340
|
**Review Criteria:**
|
|
341
341
|
- Structure/design validity
|
|
@@ -395,7 +395,7 @@ steps:
|
|
|
395
395
|
- TypeScript type safety
|
|
396
396
|
|
|
397
397
|
**Note**: If this project does not include frontend code,
|
|
398
|
-
approve and proceed to the next
|
|
398
|
+
approve and proceed to the next movement.
|
|
399
399
|
|
|
400
400
|
- name: security-review
|
|
401
401
|
edit: false
|
|
@@ -538,7 +538,7 @@ steps:
|
|
|
538
538
|
pass_previous_response: true
|
|
539
539
|
|
|
540
540
|
# ===========================================
|
|
541
|
-
#
|
|
541
|
+
# Movement 4: Supervision
|
|
542
542
|
# ===========================================
|
|
543
543
|
- name: supervise
|
|
544
544
|
edit: false
|
|
@@ -554,7 +554,7 @@ steps:
|
|
|
554
554
|
- WebFetch
|
|
555
555
|
instruction_template: |
|
|
556
556
|
## Previous Reviews Summary
|
|
557
|
-
Reaching this
|
|
557
|
+
Reaching this movement means all the following reviews have been APPROVED:
|
|
558
558
|
- Architecture Review: APPROVED
|
|
559
559
|
- Frontend Review: APPROVED
|
|
560
560
|
- AI Review: APPROVED
|
|
@@ -565,7 +565,7 @@ steps:
|
|
|
565
565
|
|
|
566
566
|
**Workflow Overall Review:**
|
|
567
567
|
1. Does the implementation match the plan ({report:00-plan.md})?
|
|
568
|
-
2. Were all review
|
|
568
|
+
2. Were all review movement issues addressed?
|
|
569
569
|
3. Was the original task objective achieved?
|
|
570
570
|
|
|
571
571
|
**Review Reports:** Read all reports in Report Directory and
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
# Three personas (scientist, nurturer, pragmatist) analyze from different perspectives and vote
|
|
4
4
|
#
|
|
5
5
|
# Template Variables:
|
|
6
|
-
# {iteration} - Workflow-wide turn count (total
|
|
6
|
+
# {iteration} - Workflow-wide turn count (total movements executed across all agents)
|
|
7
7
|
# {max_iterations} - Maximum iterations allowed for the workflow
|
|
8
|
-
# {
|
|
8
|
+
# {movement_iteration} - Per-movement iteration count (how many times THIS movement has been executed)
|
|
9
9
|
# {task} - Original user request
|
|
10
|
-
# {previous_response} - Output from the previous
|
|
10
|
+
# {previous_response} - Output from the previous movement
|
|
11
11
|
# {user_inputs} - Accumulated user inputs during workflow
|
|
12
12
|
# {report_dir} - Report directory name (e.g., "20250126-143052-task-summary")
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ description: MAGI Deliberation System - Analyze from 3 perspectives and decide b
|
|
|
16
16
|
|
|
17
17
|
max_iterations: 5
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
movements:
|
|
20
20
|
- name: melchior
|
|
21
21
|
agent: ../agents/magi/melchior.md
|
|
22
22
|
allowed_tools:
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
# (Simplest configuration - no plan, no architect review)
|
|
4
4
|
#
|
|
5
5
|
# Template Variables (auto-injected):
|
|
6
|
-
# {iteration} - Workflow-wide turn count (total
|
|
6
|
+
# {iteration} - Workflow-wide turn count (total movements executed across all agents)
|
|
7
7
|
# {max_iterations} - Maximum iterations allowed for the workflow
|
|
8
|
-
# {
|
|
8
|
+
# {movement_iteration} - Per-movement iteration count (how many times THIS movement has been executed)
|
|
9
9
|
# {task} - Original user request (auto-injected)
|
|
10
|
-
# {previous_response} - Output from the previous
|
|
10
|
+
# {previous_response} - Output from the previous movement (auto-injected)
|
|
11
11
|
# {user_inputs} - Accumulated user inputs during workflow (auto-injected)
|
|
12
12
|
# {report_dir} - Report directory name (e.g., "20250126-143052-task-summary")
|
|
13
13
|
|
|
@@ -16,9 +16,9 @@ description: Minimal development workflow (implement -> parallel review -> fix i
|
|
|
16
16
|
|
|
17
17
|
max_iterations: 20
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
initial_movement: implement
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
movements:
|
|
22
22
|
- name: implement
|
|
23
23
|
edit: true
|
|
24
24
|
agent: ../agents/default/coder.md
|
|
@@ -248,7 +248,7 @@ steps:
|
|
|
248
248
|
- condition: No fix needed (verified target files/spec)
|
|
249
249
|
- condition: Cannot proceed, insufficient info
|
|
250
250
|
instruction_template: |
|
|
251
|
-
**This is AI Review iteration {
|
|
251
|
+
**This is AI Review iteration {movement_iteration}.**
|
|
252
252
|
|
|
253
253
|
If this is iteration 2 or later, it means your previous fixes were not actually applied.
|
|
254
254
|
**Your belief that you "already fixed it" is wrong.**
|
|
@@ -350,7 +350,7 @@ steps:
|
|
|
350
350
|
- condition: Cannot proceed, insufficient info
|
|
351
351
|
next: implement
|
|
352
352
|
instruction_template: |
|
|
353
|
-
**This is AI Review iteration {
|
|
353
|
+
**This is AI Review iteration {movement_iteration}.**
|
|
354
354
|
|
|
355
355
|
If this is iteration 2 or later, it means your previous fixes were not actually applied.
|
|
356
356
|
**Your belief that you "already fixed it" is wrong.**
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
# -> plan (rejected: restart from planning)
|
|
8
8
|
#
|
|
9
9
|
# Template Variables:
|
|
10
|
-
# {iteration} - Workflow-wide turn count (total
|
|
10
|
+
# {iteration} - Workflow-wide turn count (total movements executed across all agents)
|
|
11
11
|
# {max_iterations} - Maximum iterations allowed for the workflow
|
|
12
|
-
# {
|
|
12
|
+
# {movement_iteration} - Per-movement iteration count (how many times THIS movement has been executed)
|
|
13
13
|
# {task} - Original user request
|
|
14
|
-
# {previous_response} - Output from the previous
|
|
14
|
+
# {previous_response} - Output from the previous movement
|
|
15
15
|
# {user_inputs} - Accumulated user inputs during workflow
|
|
16
16
|
# {report_dir} - Report directory name (e.g., "20250126-143052-task-summary")
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ description: Research workflow - autonomously executes research without asking q
|
|
|
20
20
|
|
|
21
21
|
max_iterations: 10
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
movements:
|
|
24
24
|
- name: plan
|
|
25
25
|
agent: ../agents/research/planner.md
|
|
26
26
|
allowed_tools:
|
|
@@ -32,8 +32,8 @@ steps:
|
|
|
32
32
|
instruction_template: |
|
|
33
33
|
## Workflow Status
|
|
34
34
|
- Iteration: {iteration}/{max_iterations} (workflow-wide)
|
|
35
|
-
-
|
|
36
|
-
-
|
|
35
|
+
- Movement Iteration: {movement_iteration} (times this movement has run)
|
|
36
|
+
- Movement: plan
|
|
37
37
|
|
|
38
38
|
## Research Request
|
|
39
39
|
{task}
|
|
@@ -69,8 +69,8 @@ steps:
|
|
|
69
69
|
instruction_template: |
|
|
70
70
|
## Workflow Status
|
|
71
71
|
- Iteration: {iteration}/{max_iterations} (workflow-wide)
|
|
72
|
-
-
|
|
73
|
-
-
|
|
72
|
+
- Movement Iteration: {movement_iteration} (times this movement has run)
|
|
73
|
+
- Movement: dig
|
|
74
74
|
|
|
75
75
|
## Original Research Request
|
|
76
76
|
{task}
|
|
@@ -111,8 +111,8 @@ steps:
|
|
|
111
111
|
instruction_template: |
|
|
112
112
|
## Workflow Status
|
|
113
113
|
- Iteration: {iteration}/{max_iterations} (workflow-wide)
|
|
114
|
-
-
|
|
115
|
-
-
|
|
114
|
+
- Movement Iteration: {movement_iteration} (times this movement has run)
|
|
115
|
+
- Movement: supervise (research quality evaluation)
|
|
116
116
|
|
|
117
117
|
## Original Research Request
|
|
118
118
|
{task}
|
|
@@ -131,4 +131,4 @@ steps:
|
|
|
131
131
|
- condition: Research results are insufficient and replanning is needed
|
|
132
132
|
next: plan
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
initial_movement: plan
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Review-Fix Minimal TAKT Workflow
|
|
2
2
|
# Review -> Fix (if needed) -> Re-review -> Complete
|
|
3
|
-
# (Starts with review, no implementation
|
|
3
|
+
# (Starts with review, no implementation movement)
|
|
4
4
|
#
|
|
5
5
|
# Template Variables (auto-injected):
|
|
6
|
-
# {iteration} - Workflow-wide turn count (total
|
|
6
|
+
# {iteration} - Workflow-wide turn count (total movements executed across all agents)
|
|
7
7
|
# {max_iterations} - Maximum iterations allowed for the workflow
|
|
8
|
-
# {
|
|
8
|
+
# {movement_iteration} - Per-movement iteration count (how many times THIS movement has been executed)
|
|
9
9
|
# {task} - Original user request (auto-injected)
|
|
10
|
-
# {previous_response} - Output from the previous
|
|
10
|
+
# {previous_response} - Output from the previous movement (auto-injected)
|
|
11
11
|
# {user_inputs} - Accumulated user inputs during workflow (auto-injected)
|
|
12
12
|
# {report_dir} - Report directory name (e.g., "20250126-143052-task-summary")
|
|
13
13
|
|
|
@@ -16,9 +16,9 @@ description: Review and fix workflow for existing code (starts with review, no i
|
|
|
16
16
|
|
|
17
17
|
max_iterations: 20
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
initial_movement: reviewers
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
movements:
|
|
22
22
|
- name: implement
|
|
23
23
|
edit: true
|
|
24
24
|
agent: ../agents/default/coder.md
|
|
@@ -248,7 +248,7 @@ steps:
|
|
|
248
248
|
- condition: No fix needed (verified target files/spec)
|
|
249
249
|
- condition: Cannot proceed, insufficient info
|
|
250
250
|
instruction_template: |
|
|
251
|
-
**This is AI Review iteration {
|
|
251
|
+
**This is AI Review iteration {movement_iteration}.**
|
|
252
252
|
|
|
253
253
|
If this is iteration 2 or later, it means your previous fixes were not actually applied.
|
|
254
254
|
**Your belief that you "already fixed it" is wrong.**
|
|
@@ -350,7 +350,7 @@ steps:
|
|
|
350
350
|
- condition: Cannot proceed, insufficient info
|
|
351
351
|
next: implement
|
|
352
352
|
instruction_template: |
|
|
353
|
-
**This is AI Review iteration {
|
|
353
|
+
**This is AI Review iteration {movement_iteration}.**
|
|
354
354
|
|
|
355
355
|
If this is iteration 2 or later, it means your previous fixes were not actually applied.
|
|
356
356
|
**Your belief that you "already fixed it" is wrong.**
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
# -> COMPLETE (local: console output only)
|
|
9
9
|
# -> ABORT (rejected)
|
|
10
10
|
#
|
|
11
|
-
# All
|
|
11
|
+
# All movements have edit: false (no file modifications)
|
|
12
12
|
#
|
|
13
13
|
# Template Variables:
|
|
14
14
|
# {iteration} - Workflow-wide turn count
|
|
15
15
|
# {max_iterations} - Maximum iterations allowed
|
|
16
|
-
# {
|
|
16
|
+
# {movement_iteration} - Per-movement iteration count
|
|
17
17
|
# {task} - Original user request
|
|
18
|
-
# {previous_response} - Output from the previous
|
|
18
|
+
# {previous_response} - Output from the previous movement
|
|
19
19
|
# {user_inputs} - Accumulated user inputs
|
|
20
20
|
# {report_dir} - Report directory name
|
|
21
21
|
|
|
@@ -24,9 +24,9 @@ description: Review-only workflow - reviews code without making edits
|
|
|
24
24
|
|
|
25
25
|
max_iterations: 10
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
initial_movement: plan
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
movements:
|
|
30
30
|
- name: plan
|
|
31
31
|
edit: false
|
|
32
32
|
agent: ../agents/default/planner.md
|
|
@@ -108,7 +108,7 @@ steps:
|
|
|
108
108
|
- condition: approved
|
|
109
109
|
- condition: needs_fix
|
|
110
110
|
instruction_template: |
|
|
111
|
-
Focus on **architecture and design** review. Do NOT review AI-specific issues (that's the ai_review
|
|
111
|
+
Focus on **architecture and design** review. Do NOT review AI-specific issues (that's the ai_review movement).
|
|
112
112
|
|
|
113
113
|
Review the code and provide feedback.
|
|
114
114
|
|
|
@@ -248,7 +248,7 @@ steps:
|
|
|
248
248
|
3. Produce a consolidated review summary with overall verdict
|
|
249
249
|
4. Determine routing:
|
|
250
250
|
- If the task mentions posting to a PR (e.g., "post comments to PR", "comment on PR"),
|
|
251
|
-
route to `pr-comment`
|
|
251
|
+
route to `pr-comment` movement (condition: "approved, PR comment requested")
|
|
252
252
|
- If local review only, route to COMPLETE (condition: "approved")
|
|
253
253
|
- If critical issues found, route to ABORT (condition: "rejected")
|
|
254
254
|
|
|
@@ -482,8 +482,8 @@ function createOrder(data: OrderData) {
|
|
|
482
482
|
- 既存の設定ファイルが新しいスキーマと整合するか
|
|
483
483
|
|
|
484
484
|
3. ワークフロー定義を変更した場合:
|
|
485
|
-
-
|
|
486
|
-
- 不要なフィールド(parallel
|
|
485
|
+
- ムーブメント種別(通常/parallel)に応じた正しいフィールドが使われているか
|
|
486
|
+
- 不要なフィールド(parallelサブムーブメントのnext等)が残っていないか
|
|
487
487
|
|
|
488
488
|
**このパターンを見つけたら REJECT:**
|
|
489
489
|
|
|
@@ -492,7 +492,7 @@ function createOrder(data: OrderData) {
|
|
|
492
492
|
| 仕様に存在しないフィールドの使用 | 無視されるか予期しない動作 |
|
|
493
493
|
| 仕様上無効な値の設定 | 実行時エラーまたは無視される |
|
|
494
494
|
| 文書化された制約への違反 | 設計意図に反する |
|
|
495
|
-
|
|
|
495
|
+
| ムーブメント種別とフィールドの不整合 | コピペミスの兆候 |
|
|
496
496
|
|
|
497
497
|
### 9. 呼び出しチェーン検証
|
|
498
498
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# Plan -> Architect -> Implement -> AI Review -> Reviewers (parallel: Architect + Security) -> Supervisor Approval
|
|
3
3
|
#
|
|
4
4
|
# Template Variables (auto-injected by buildInstruction):
|
|
5
|
-
# {iteration} - Workflow-wide turn count (total
|
|
5
|
+
# {iteration} - Workflow-wide turn count (total movements executed across all agents)
|
|
6
6
|
# {max_iterations} - Maximum iterations allowed for the workflow
|
|
7
|
-
# {
|
|
7
|
+
# {movement_iteration} - Per-movement iteration count (how many times THIS movement has been executed)
|
|
8
8
|
# {task} - Original user request
|
|
9
|
-
# {previous_response} - Output from the previous
|
|
9
|
+
# {previous_response} - Output from the previous movement
|
|
10
10
|
# {user_inputs} - Accumulated user inputs during workflow
|
|
11
11
|
# {report_dir} - Report directory name (e.g., "20250126-143052-task-summary")
|
|
12
12
|
|
|
@@ -15,9 +15,9 @@ description: Standard development workflow with planning and specialized reviews
|
|
|
15
15
|
|
|
16
16
|
max_iterations: 30
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
initial_movement: plan
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
movements:
|
|
21
21
|
- name: plan
|
|
22
22
|
edit: false
|
|
23
23
|
agent: ../agents/default/planner.md
|
|
@@ -168,7 +168,7 @@ steps:
|
|
|
168
168
|
requires_user_input: true
|
|
169
169
|
interactive_only: true
|
|
170
170
|
instruction_template: |
|
|
171
|
-
plan
|
|
171
|
+
planムーブメントで立てた計画と、architectムーブメントで決定した設計に従って実装してください。
|
|
172
172
|
|
|
173
173
|
**参照するレポート:**
|
|
174
174
|
- 計画: {report:00-plan.md}
|
|
@@ -176,7 +176,7 @@ steps:
|
|
|
176
176
|
|
|
177
177
|
Workflow Contextに示されたReport Directory内のファイルのみ参照してください。他のレポートディレクトリは検索/参照しないでください。
|
|
178
178
|
|
|
179
|
-
**重要:** 設計判断はせず、architect
|
|
179
|
+
**重要:** 設計判断はせず、architectムーブメントで決定された設計に従ってください。
|
|
180
180
|
不明点や設計の変更が必要な場合は報告してください。
|
|
181
181
|
|
|
182
182
|
**重要**: 実装と同時に単体テストを追加してください。
|
|
@@ -296,7 +296,7 @@ steps:
|
|
|
296
296
|
- condition: 判断できない、情報不足
|
|
297
297
|
next: plan
|
|
298
298
|
instruction_template: |
|
|
299
|
-
**これは {
|
|
299
|
+
**これは {movement_iteration} 回目の AI Review です。**
|
|
300
300
|
|
|
301
301
|
2回目以降は、前回の修正が実際には行われていなかったということです。
|
|
302
302
|
**あなたの「修正済み」という認識が間違っています。**
|
|
@@ -385,8 +385,8 @@ steps:
|
|
|
385
385
|
- condition: approved
|
|
386
386
|
- condition: needs_fix
|
|
387
387
|
instruction_template: |
|
|
388
|
-
**実装がarchitect
|
|
389
|
-
AI特有の問題はレビューしないでください(ai_review
|
|
388
|
+
**実装がarchitectムーブメントの設計に従っているか**を確認してください。
|
|
389
|
+
AI特有の問題はレビューしないでください(ai_reviewムーブメントで行います)。
|
|
390
390
|
|
|
391
391
|
**参照するレポート:**
|
|
392
392
|
- 設計: {report:01-architecture.md}(存在する場合)
|
|
@@ -400,7 +400,7 @@ steps:
|
|
|
400
400
|
- デッドコード
|
|
401
401
|
- 呼び出しチェーン検証
|
|
402
402
|
|
|
403
|
-
**注意:** architect
|
|
403
|
+
**注意:** architectムーブメントをスキップした小規模タスクの場合は、従来通り設計の妥当性も確認してください。
|
|
404
404
|
|
|
405
405
|
- name: security-review
|
|
406
406
|
edit: false
|
|
@@ -514,7 +514,7 @@ steps:
|
|
|
514
514
|
|
|
515
515
|
**ワークフロー全体の確認:**
|
|
516
516
|
1. 計画({report:00-plan.md})と設計({report:01-architecture.md}、存在する場合)に従った実装か
|
|
517
|
-
2.
|
|
517
|
+
2. 各レビュームーブメントの指摘が対応されているか
|
|
518
518
|
3. 元のタスク目的が達成されているか
|
|
519
519
|
|
|
520
520
|
**レポートの確認:** Report Directory内の全レポートを読み、
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
#
|
|
12
12
|
# ボイラープレートセクション(Workflow Context, User Request, Previous Response,
|
|
13
13
|
# Additional User Inputs, Instructions heading)はbuildInstruction()が自動挿入。
|
|
14
|
-
# instruction_template
|
|
14
|
+
# instruction_templateにはムーブメント固有の内容のみ記述。
|
|
15
15
|
#
|
|
16
16
|
# テンプレート変数(instruction_template内で使用可能):
|
|
17
|
-
# {iteration} -
|
|
17
|
+
# {iteration} - ワークフロー全体のターン数(全エージェントで実行されたムーブメントの合計)
|
|
18
18
|
# {max_iterations} - ワークフローの最大イテレーション数
|
|
19
|
-
# {
|
|
20
|
-
# {previous_response} -
|
|
19
|
+
# {movement_iteration} - ムーブメントごとのイテレーション数(このムーブメントが何回実行されたか)
|
|
20
|
+
# {previous_response} - 前のムーブメントの出力(pass_previous_response: true の場合のみ)
|
|
21
21
|
# {report_dir} - レポートディレクトリ名(例: "20250126-143052-task-summary")
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
|
-
# report: -
|
|
23
|
+
# ムーブメントレベルフィールド:
|
|
24
|
+
# report: - ムーブメントのレポートファイル(Workflow ContextにReport File/Filesとして自動挿入)
|
|
25
25
|
# 単一: report: 00-plan.md
|
|
26
26
|
# 複数: report:
|
|
27
27
|
# - Scope: 01-coder-scope.md
|
|
@@ -32,11 +32,11 @@ description: CQRS+ES・フロントエンド・セキュリティ・QA専門家
|
|
|
32
32
|
|
|
33
33
|
max_iterations: 30
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
initial_movement: plan
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
movements:
|
|
38
38
|
# ===========================================
|
|
39
|
-
#
|
|
39
|
+
# Movement 0: Planning
|
|
40
40
|
# ===========================================
|
|
41
41
|
- name: plan
|
|
42
42
|
edit: false
|
|
@@ -89,7 +89,7 @@ steps:
|
|
|
89
89
|
next: ABORT
|
|
90
90
|
|
|
91
91
|
# ===========================================
|
|
92
|
-
#
|
|
92
|
+
# Movement 1: Implementation
|
|
93
93
|
# ===========================================
|
|
94
94
|
- name: implement
|
|
95
95
|
edit: true
|
|
@@ -108,7 +108,7 @@ steps:
|
|
|
108
108
|
- WebSearch
|
|
109
109
|
- WebFetch
|
|
110
110
|
instruction_template: |
|
|
111
|
-
plan
|
|
111
|
+
planムーブメントで立てた計画に従って実装してください。
|
|
112
112
|
計画レポート({report:00-plan.md})を参照し、実装を進めてください。
|
|
113
113
|
Workflow Contextに示されたReport Directory内のファイルのみ参照してください。他のレポートディレクトリは検索/参照しないでください。
|
|
114
114
|
|
|
@@ -162,7 +162,7 @@ steps:
|
|
|
162
162
|
interactive_only: true
|
|
163
163
|
|
|
164
164
|
# ===========================================
|
|
165
|
-
#
|
|
165
|
+
# Movement 2: AI Review
|
|
166
166
|
# ===========================================
|
|
167
167
|
- name: ai_review
|
|
168
168
|
edit: false
|
|
@@ -228,7 +228,7 @@ steps:
|
|
|
228
228
|
- WebSearch
|
|
229
229
|
- WebFetch
|
|
230
230
|
instruction_template: |
|
|
231
|
-
**これは {
|
|
231
|
+
**これは {movement_iteration} 回目の AI Review です。**
|
|
232
232
|
|
|
233
233
|
2回目以降は、前回の修正が実際には行われていなかったということです。
|
|
234
234
|
**あなたの「修正済み」という認識が間違っています。**
|
|
@@ -279,7 +279,7 @@ steps:
|
|
|
279
279
|
next: plan
|
|
280
280
|
|
|
281
281
|
# ===========================================
|
|
282
|
-
#
|
|
282
|
+
# Movement 3: Expert Reviews (Parallel)
|
|
283
283
|
# ===========================================
|
|
284
284
|
- name: reviewers
|
|
285
285
|
parallel:
|
|
@@ -328,7 +328,7 @@ steps:
|
|
|
328
328
|
- condition: needs_fix
|
|
329
329
|
instruction_template: |
|
|
330
330
|
CQRS(コマンドクエリ責務分離)とEvent Sourcing(イベントソーシング)の観点から
|
|
331
|
-
変更をレビューしてください。AI特有の問題のレビューは不要です(ai_review
|
|
331
|
+
変更をレビューしてください。AI特有の問題のレビューは不要です(ai_reviewムーブメントで実施済み)。
|
|
332
332
|
|
|
333
333
|
**レビュー観点:**
|
|
334
334
|
- Aggregate設計の妥当性
|
|
@@ -533,7 +533,7 @@ steps:
|
|
|
533
533
|
pass_previous_response: true
|
|
534
534
|
|
|
535
535
|
# ===========================================
|
|
536
|
-
#
|
|
536
|
+
# Movement 4: Supervision
|
|
537
537
|
# ===========================================
|
|
538
538
|
- name: supervise
|
|
539
539
|
edit: false
|
|
@@ -549,7 +549,7 @@ steps:
|
|
|
549
549
|
- WebFetch
|
|
550
550
|
instruction_template: |
|
|
551
551
|
## Previous Reviews Summary
|
|
552
|
-
|
|
552
|
+
このムーブメントに到達したということは、以下のレビューがすべてAPPROVEされています:
|
|
553
553
|
- AI Review: APPROVED
|
|
554
554
|
- CQRS+ES Review: APPROVED
|
|
555
555
|
- Frontend Review: APPROVED
|
|
@@ -560,7 +560,7 @@ steps:
|
|
|
560
560
|
|
|
561
561
|
**ワークフロー全体の確認:**
|
|
562
562
|
1. 計画({report:00-plan.md})と実装結果が一致しているか
|
|
563
|
-
2.
|
|
563
|
+
2. 各レビュームーブメントの指摘が対応されているか
|
|
564
564
|
3. 元のタスク目的が達成されているか
|
|
565
565
|
|
|
566
566
|
**レポートの確認:** Report Directory内の全レポートを読み、
|