@leclabs/agent-flow-navigator-mcp 1.7.0 โ 1.9.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/catalog/workflows/agile-task.json +12 -6
- package/catalog/workflows/bug-fix.json +14 -7
- package/catalog/workflows/bug-hunt.json +20 -10
- package/catalog/workflows/build-review-murder-board.json +8 -4
- package/catalog/workflows/build-review-quick.json +8 -4
- package/catalog/workflows/context-gather.json +105 -0
- package/catalog/workflows/context-optimization.json +12 -6
- package/catalog/workflows/execute.json +30 -0
- package/catalog/workflows/feature-development.json +22 -11
- package/catalog/workflows/hitl-test.json +4 -2
- package/catalog/workflows/quick-task.json +10 -5
- package/catalog/workflows/refactor.json +24 -12
- package/catalog/workflows/test-coverage.json +14 -7
- package/catalog/workflows/ui-reconstruction.json +24 -12
- package/copier.js +1 -2
- package/diagram.js +12 -7
- package/engine.js +224 -74
- package/package.json +1 -1
- package/types.d.ts +2 -0
|
@@ -12,28 +12,32 @@
|
|
|
12
12
|
"type": "task",
|
|
13
13
|
"name": "Analyze",
|
|
14
14
|
"description": "Understand requirements and plan approach",
|
|
15
|
-
"agent": "Planner",
|
|
15
|
+
"agent": "flow:Planner",
|
|
16
|
+
"emoji": "๐",
|
|
16
17
|
"stage": "planning"
|
|
17
18
|
},
|
|
18
19
|
"implement": {
|
|
19
20
|
"type": "task",
|
|
20
21
|
"name": "Implement",
|
|
21
22
|
"description": "Write the code or make changes",
|
|
22
|
-
"agent": "Developer",
|
|
23
|
+
"agent": "flow:Developer",
|
|
24
|
+
"emoji": "๐ง",
|
|
23
25
|
"stage": "development"
|
|
24
26
|
},
|
|
25
27
|
"test": {
|
|
26
28
|
"type": "task",
|
|
27
29
|
"name": "Test",
|
|
28
30
|
"description": "Verify the implementation works correctly",
|
|
29
|
-
"agent": "Tester",
|
|
31
|
+
"agent": "flow:Tester",
|
|
32
|
+
"emoji": "๐งช",
|
|
30
33
|
"stage": "verification"
|
|
31
34
|
},
|
|
32
35
|
"review": {
|
|
33
36
|
"type": "gate",
|
|
34
37
|
"name": "Review",
|
|
35
38
|
"description": "Review code quality and correctness",
|
|
36
|
-
"agent": "Reviewer",
|
|
39
|
+
"agent": "flow:Reviewer",
|
|
40
|
+
"emoji": "๐",
|
|
37
41
|
"stage": "verification",
|
|
38
42
|
"maxRetries": 2,
|
|
39
43
|
"config": {
|
|
@@ -44,7 +48,8 @@
|
|
|
44
48
|
"type": "gate",
|
|
45
49
|
"name": "Lint & Format",
|
|
46
50
|
"description": "Run lint and format checks. Auto-fix issues where possible.",
|
|
47
|
-
"agent": "Developer",
|
|
51
|
+
"agent": "flow:Developer",
|
|
52
|
+
"emoji": "๐ง",
|
|
48
53
|
"stage": "delivery",
|
|
49
54
|
"maxRetries": 3
|
|
50
55
|
},
|
|
@@ -52,7 +57,8 @@
|
|
|
52
57
|
"type": "task",
|
|
53
58
|
"name": "Commit Changes",
|
|
54
59
|
"description": "Commit all changes with a descriptive message",
|
|
55
|
-
"agent": "Developer",
|
|
60
|
+
"agent": "flow:Developer",
|
|
61
|
+
"emoji": "๐ง",
|
|
56
62
|
"stage": "delivery"
|
|
57
63
|
},
|
|
58
64
|
"end_success": {
|
|
@@ -12,35 +12,40 @@
|
|
|
12
12
|
"type": "task",
|
|
13
13
|
"name": "Reproduce Bug",
|
|
14
14
|
"description": "Understand the bug and create a reliable reproduction case",
|
|
15
|
-
"agent": "Investigator",
|
|
15
|
+
"agent": "flow:Investigator",
|
|
16
|
+
"emoji": "๐",
|
|
16
17
|
"stage": "investigation"
|
|
17
18
|
},
|
|
18
19
|
"investigate": {
|
|
19
20
|
"type": "task",
|
|
20
21
|
"name": "Investigate",
|
|
21
22
|
"description": "Find root cause by tracing code paths and debugging",
|
|
22
|
-
"agent": "Investigator",
|
|
23
|
+
"agent": "flow:Investigator",
|
|
24
|
+
"emoji": "๐",
|
|
23
25
|
"stage": "investigation"
|
|
24
26
|
},
|
|
25
27
|
"write_fix": {
|
|
26
28
|
"type": "task",
|
|
27
29
|
"name": "Write Fix",
|
|
28
30
|
"description": "Implement the fix with minimal changes",
|
|
29
|
-
"agent": "Developer",
|
|
31
|
+
"agent": "flow:Developer",
|
|
32
|
+
"emoji": "๐ง",
|
|
30
33
|
"stage": "development"
|
|
31
34
|
},
|
|
32
35
|
"add_regression_test": {
|
|
33
36
|
"type": "task",
|
|
34
37
|
"name": "Add Regression Test",
|
|
35
38
|
"description": "Write a test that would have caught this bug",
|
|
36
|
-
"agent": "Tester",
|
|
39
|
+
"agent": "flow:Tester",
|
|
40
|
+
"emoji": "๐งช",
|
|
37
41
|
"stage": "development"
|
|
38
42
|
},
|
|
39
43
|
"verify_fix": {
|
|
40
44
|
"type": "task",
|
|
41
45
|
"name": "Verify Fix",
|
|
42
46
|
"description": "Run all tests and verify the bug is fixed",
|
|
43
|
-
"agent": "Tester",
|
|
47
|
+
"agent": "flow:Tester",
|
|
48
|
+
"emoji": "๐งช",
|
|
44
49
|
"stage": "verification",
|
|
45
50
|
"maxRetries": 3
|
|
46
51
|
},
|
|
@@ -48,7 +53,8 @@
|
|
|
48
53
|
"type": "gate",
|
|
49
54
|
"name": "Lint & Format",
|
|
50
55
|
"description": "Run lint and format checks. Auto-fix issues where possible.",
|
|
51
|
-
"agent": "Developer",
|
|
56
|
+
"agent": "flow:Developer",
|
|
57
|
+
"emoji": "๐ง",
|
|
52
58
|
"stage": "delivery",
|
|
53
59
|
"maxRetries": 3
|
|
54
60
|
},
|
|
@@ -56,7 +62,8 @@
|
|
|
56
62
|
"type": "task",
|
|
57
63
|
"name": "Commit Changes",
|
|
58
64
|
"description": "Commit the fix and regression test with a descriptive message",
|
|
59
|
-
"agent": "Developer",
|
|
65
|
+
"agent": "flow:Developer",
|
|
66
|
+
"emoji": "๐ง",
|
|
60
67
|
"stage": "delivery"
|
|
61
68
|
},
|
|
62
69
|
"end_success": {
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"type": "task",
|
|
13
13
|
"name": "Triage Report",
|
|
14
14
|
"description": "Parse the vague report. Extract symptoms, affected area, timing, severity. Form 2-3 hypotheses to test.",
|
|
15
|
-
"agent": "Investigator",
|
|
15
|
+
"agent": "flow:Investigator",
|
|
16
|
+
"emoji": "๐",
|
|
16
17
|
"stage": "planning"
|
|
17
18
|
},
|
|
18
19
|
"fork_investigate": {
|
|
@@ -38,21 +39,24 @@
|
|
|
38
39
|
"type": "task",
|
|
39
40
|
"name": "Reproduce Bug",
|
|
40
41
|
"description": "Try to trigger the bug. Document exact reproduction steps, environment, and observed vs expected behavior.",
|
|
41
|
-
"agent": "Tester",
|
|
42
|
+
"agent": "flow:Tester",
|
|
43
|
+
"emoji": "๐งช",
|
|
42
44
|
"stage": "investigation"
|
|
43
45
|
},
|
|
44
46
|
"code_archaeology": {
|
|
45
47
|
"type": "task",
|
|
46
48
|
"name": "Code Archaeology",
|
|
47
49
|
"description": "Trace the code paths related to the reported symptoms. Map data flow, identify suspect modules, check edge cases.",
|
|
48
|
-
"agent": "Investigator",
|
|
50
|
+
"agent": "flow:Investigator",
|
|
51
|
+
"emoji": "๐",
|
|
49
52
|
"stage": "investigation"
|
|
50
53
|
},
|
|
51
54
|
"git_forensics": {
|
|
52
55
|
"type": "task",
|
|
53
56
|
"name": "Git Forensics",
|
|
54
57
|
"description": "Check recent commits touching affected areas. Run git blame on suspect files. Look for correlated changes or regressions.",
|
|
55
|
-
"agent": "Investigator",
|
|
58
|
+
"agent": "flow:Investigator",
|
|
59
|
+
"emoji": "๐",
|
|
56
60
|
"stage": "investigation"
|
|
57
61
|
},
|
|
58
62
|
"join_investigate": {
|
|
@@ -65,28 +69,32 @@
|
|
|
65
69
|
"type": "task",
|
|
66
70
|
"name": "Synthesize Findings",
|
|
67
71
|
"description": "Combine findings from all investigation tracks into a root cause analysis. Identify the most likely cause, supporting evidence, and a fix strategy.",
|
|
68
|
-
"agent": "Architect",
|
|
72
|
+
"agent": "flow:Architect",
|
|
73
|
+
"emoji": "๐๏ธ",
|
|
69
74
|
"stage": "planning"
|
|
70
75
|
},
|
|
71
76
|
"write_fix": {
|
|
72
77
|
"type": "task",
|
|
73
78
|
"name": "Write Fix",
|
|
74
79
|
"description": "Implement the fix with minimal changes",
|
|
75
|
-
"agent": "Developer",
|
|
80
|
+
"agent": "flow:Developer",
|
|
81
|
+
"emoji": "๐ง",
|
|
76
82
|
"stage": "development"
|
|
77
83
|
},
|
|
78
84
|
"add_regression_test": {
|
|
79
85
|
"type": "task",
|
|
80
86
|
"name": "Add Regression Test",
|
|
81
87
|
"description": "Write a test that would have caught this bug",
|
|
82
|
-
"agent": "Tester",
|
|
88
|
+
"agent": "flow:Tester",
|
|
89
|
+
"emoji": "๐งช",
|
|
83
90
|
"stage": "development"
|
|
84
91
|
},
|
|
85
92
|
"verify_fix": {
|
|
86
93
|
"type": "gate",
|
|
87
94
|
"name": "Verify Fix",
|
|
88
95
|
"description": "Run tests, verify fix addresses root cause",
|
|
89
|
-
"agent": "Tester",
|
|
96
|
+
"agent": "flow:Tester",
|
|
97
|
+
"emoji": "๐งช",
|
|
90
98
|
"stage": "verification",
|
|
91
99
|
"maxRetries": 3
|
|
92
100
|
},
|
|
@@ -94,7 +102,8 @@
|
|
|
94
102
|
"type": "gate",
|
|
95
103
|
"name": "Lint & Format",
|
|
96
104
|
"description": "Run lint and format checks. Auto-fix issues where possible.",
|
|
97
|
-
"agent": "Developer",
|
|
105
|
+
"agent": "flow:Developer",
|
|
106
|
+
"emoji": "๐ง",
|
|
98
107
|
"stage": "delivery",
|
|
99
108
|
"maxRetries": 3
|
|
100
109
|
},
|
|
@@ -102,7 +111,8 @@
|
|
|
102
111
|
"type": "task",
|
|
103
112
|
"name": "Commit Changes",
|
|
104
113
|
"description": "Commit the fix and regression test with a descriptive message",
|
|
105
|
-
"agent": "Developer",
|
|
114
|
+
"agent": "flow:Developer",
|
|
115
|
+
"emoji": "๐ง",
|
|
106
116
|
"stage": "delivery"
|
|
107
117
|
},
|
|
108
118
|
"end_success": {
|
|
@@ -12,14 +12,16 @@
|
|
|
12
12
|
"type": "task",
|
|
13
13
|
"name": "Build",
|
|
14
14
|
"description": "Implement or revise the changes based on requirements or review feedback",
|
|
15
|
-
"agent": "Developer",
|
|
15
|
+
"agent": "flow:Developer",
|
|
16
|
+
"emoji": "๐ง",
|
|
16
17
|
"stage": "development"
|
|
17
18
|
},
|
|
18
19
|
"review": {
|
|
19
20
|
"type": "gate",
|
|
20
21
|
"name": "Murder Board Review",
|
|
21
22
|
"description": "Independent high-scrutiny review. Reviewer must be a fresh agent with no prior context of this build. Approval requires confidence score >= 80.",
|
|
22
|
-
"agent": "Reviewer",
|
|
23
|
+
"agent": "flow:Reviewer",
|
|
24
|
+
"emoji": "๐",
|
|
23
25
|
"stage": "verification",
|
|
24
26
|
"maxRetries": 3,
|
|
25
27
|
"config": {
|
|
@@ -32,7 +34,8 @@
|
|
|
32
34
|
"type": "gate",
|
|
33
35
|
"name": "Lint & Format",
|
|
34
36
|
"description": "Run lint and format checks. Auto-fix issues where possible.",
|
|
35
|
-
"agent": "Developer",
|
|
37
|
+
"agent": "flow:Developer",
|
|
38
|
+
"emoji": "๐ง",
|
|
36
39
|
"stage": "delivery",
|
|
37
40
|
"maxRetries": 3
|
|
38
41
|
},
|
|
@@ -40,7 +43,8 @@
|
|
|
40
43
|
"type": "task",
|
|
41
44
|
"name": "Commit Changes",
|
|
42
45
|
"description": "Commit all changes with a descriptive message summarizing the work done",
|
|
43
|
-
"agent": "Developer",
|
|
46
|
+
"agent": "flow:Developer",
|
|
47
|
+
"emoji": "๐ง",
|
|
44
48
|
"stage": "delivery"
|
|
45
49
|
},
|
|
46
50
|
"end_success": {
|
|
@@ -12,14 +12,16 @@
|
|
|
12
12
|
"type": "task",
|
|
13
13
|
"name": "Build",
|
|
14
14
|
"description": "Implement or revise the changes based on requirements or review feedback",
|
|
15
|
-
"agent": "Developer",
|
|
15
|
+
"agent": "flow:Developer",
|
|
16
|
+
"emoji": "๐ง",
|
|
16
17
|
"stage": "development"
|
|
17
18
|
},
|
|
18
19
|
"review": {
|
|
19
20
|
"type": "gate",
|
|
20
21
|
"name": "Quick Review",
|
|
21
22
|
"description": "Lightweight review checking basic correctness and completeness",
|
|
22
|
-
"agent": "Reviewer",
|
|
23
|
+
"agent": "flow:Reviewer",
|
|
24
|
+
"emoji": "๐",
|
|
23
25
|
"stage": "verification",
|
|
24
26
|
"maxRetries": 2,
|
|
25
27
|
"config": {
|
|
@@ -30,7 +32,8 @@
|
|
|
30
32
|
"type": "gate",
|
|
31
33
|
"name": "Lint & Format",
|
|
32
34
|
"description": "Run lint and format checks. Auto-fix issues where possible.",
|
|
33
|
-
"agent": "Developer",
|
|
35
|
+
"agent": "flow:Developer",
|
|
36
|
+
"emoji": "๐ง",
|
|
34
37
|
"stage": "delivery",
|
|
35
38
|
"maxRetries": 3
|
|
36
39
|
},
|
|
@@ -38,7 +41,8 @@
|
|
|
38
41
|
"type": "task",
|
|
39
42
|
"name": "Commit Changes",
|
|
40
43
|
"description": "Commit all changes with a descriptive message summarizing the work done",
|
|
41
|
-
"agent": "Developer",
|
|
44
|
+
"agent": "flow:Developer",
|
|
45
|
+
"emoji": "๐ง",
|
|
42
46
|
"stage": "delivery"
|
|
43
47
|
},
|
|
44
48
|
"end_success": {
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "context-gather",
|
|
3
|
+
"name": "Context Gather",
|
|
4
|
+
"description": "Toy workflow demonstrating fork/join. Fans out into three parallel information-gathering branches (system info, weather, repository), then synthesizes everything into a single summary.",
|
|
5
|
+
"nodes": {
|
|
6
|
+
"start": {
|
|
7
|
+
"type": "start",
|
|
8
|
+
"name": "Start",
|
|
9
|
+
"description": "Context gathering begins"
|
|
10
|
+
},
|
|
11
|
+
"fork_gather": {
|
|
12
|
+
"type": "fork",
|
|
13
|
+
"name": "Fork Gather",
|
|
14
|
+
"join": "join_gather",
|
|
15
|
+
"branches": {
|
|
16
|
+
"system": {
|
|
17
|
+
"entryStep": "system_info",
|
|
18
|
+
"description": "Gather system information"
|
|
19
|
+
},
|
|
20
|
+
"weather": {
|
|
21
|
+
"entryStep": "weather_info",
|
|
22
|
+
"description": "Get today's weather at current location"
|
|
23
|
+
},
|
|
24
|
+
"repo": {
|
|
25
|
+
"entryStep": "repo_info",
|
|
26
|
+
"description": "Get information about the current repository"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"system_info": {
|
|
31
|
+
"type": "task",
|
|
32
|
+
"name": "System Information",
|
|
33
|
+
"description": "Gather system information: OS, architecture, CPU, memory, disk, shell, environment. Run uname, hostname, and similar commands.",
|
|
34
|
+
"agent": "flow:Investigator",
|
|
35
|
+
"emoji": "๐",
|
|
36
|
+
"stage": "investigation"
|
|
37
|
+
},
|
|
38
|
+
"weather_info": {
|
|
39
|
+
"type": "task",
|
|
40
|
+
"name": "Weather Report",
|
|
41
|
+
"description": "Get today's weather at the user's location. Use a web search or weather API to find current conditions, temperature, and forecast.",
|
|
42
|
+
"agent": "flow:Planner",
|
|
43
|
+
"emoji": "๐",
|
|
44
|
+
"stage": "investigation"
|
|
45
|
+
},
|
|
46
|
+
"repo_info": {
|
|
47
|
+
"type": "task",
|
|
48
|
+
"name": "Repository Information",
|
|
49
|
+
"description": "Gather information about the current git repository: remote URL, branch, recent commits, language breakdown, directory structure overview, and package metadata.",
|
|
50
|
+
"agent": "flow:Investigator",
|
|
51
|
+
"emoji": "๐",
|
|
52
|
+
"stage": "investigation"
|
|
53
|
+
},
|
|
54
|
+
"repo_analyze": {
|
|
55
|
+
"type": "task",
|
|
56
|
+
"name": "Analyze Repository",
|
|
57
|
+
"description": "Analyze the repository structure and health: test coverage status, dependency freshness, code organization patterns, and any notable architectural decisions.",
|
|
58
|
+
"agent": "flow:Reviewer",
|
|
59
|
+
"emoji": "๐",
|
|
60
|
+
"stage": "investigation"
|
|
61
|
+
},
|
|
62
|
+
"join_gather": {
|
|
63
|
+
"type": "join",
|
|
64
|
+
"name": "Join Gather",
|
|
65
|
+
"fork": "fork_gather",
|
|
66
|
+
"strategy": "all-pass"
|
|
67
|
+
},
|
|
68
|
+
"summarize": {
|
|
69
|
+
"type": "task",
|
|
70
|
+
"name": "Summarize Context",
|
|
71
|
+
"description": "Combine findings from all three branches into a single context summary. Present system info, weather, and repo info in a clear, readable format.",
|
|
72
|
+
"agent": "flow:Architect",
|
|
73
|
+
"emoji": "๐๏ธ",
|
|
74
|
+
"stage": "planning"
|
|
75
|
+
},
|
|
76
|
+
"end_success": {
|
|
77
|
+
"type": "end",
|
|
78
|
+
"result": "success",
|
|
79
|
+
"name": "Context Gathered",
|
|
80
|
+
"description": "All context gathered and summarized"
|
|
81
|
+
},
|
|
82
|
+
"hitl_failed": {
|
|
83
|
+
"type": "end",
|
|
84
|
+
"result": "blocked",
|
|
85
|
+
"escalation": "hitl",
|
|
86
|
+
"name": "Gather Failed",
|
|
87
|
+
"description": "One or more branches failed to gather information"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"edges": [
|
|
91
|
+
{ "from": "start", "to": "fork_gather" },
|
|
92
|
+
{ "from": "fork_gather", "to": "system_info", "label": "Branch: system" },
|
|
93
|
+
{ "from": "fork_gather", "to": "weather_info", "label": "Branch: weather" },
|
|
94
|
+
{ "from": "fork_gather", "to": "repo_info", "label": "Branch: repo" },
|
|
95
|
+
{ "from": "system_info", "to": "join_gather" },
|
|
96
|
+
{ "from": "weather_info", "to": "join_gather" },
|
|
97
|
+
{ "from": "repo_info", "to": "repo_analyze", "on": "passed" },
|
|
98
|
+
{ "from": "repo_info", "to": "join_gather", "on": "failed" },
|
|
99
|
+
{ "from": "repo_analyze", "to": "join_gather" },
|
|
100
|
+
{ "from": "join_gather", "to": "summarize", "on": "passed", "label": "All branches complete" },
|
|
101
|
+
{ "from": "join_gather", "to": "hitl_failed", "on": "failed", "label": "One or more branches failed" },
|
|
102
|
+
{ "from": "summarize", "to": "end_success" },
|
|
103
|
+
{ "from": "hitl_failed", "to": "fork_gather", "on": "passed", "label": "Human resolved issue, retry" }
|
|
104
|
+
]
|
|
105
|
+
}
|
|
@@ -12,28 +12,32 @@
|
|
|
12
12
|
"type": "task",
|
|
13
13
|
"name": "Map Connections",
|
|
14
14
|
"description": "Identify all connection points between components (MCP, skills, agents, subagents)",
|
|
15
|
-
"agent": "Context Engineer",
|
|
15
|
+
"agent": "flow:Context Engineer",
|
|
16
|
+
"emoji": "๐ง ",
|
|
16
17
|
"stage": "analysis"
|
|
17
18
|
},
|
|
18
19
|
"identify_pathologies": {
|
|
19
20
|
"type": "task",
|
|
20
21
|
"name": "Identify Pathologies",
|
|
21
22
|
"description": "Find context pathologies: specification bloat, attention dilution, redundant framing",
|
|
22
|
-
"agent": "Context Engineer",
|
|
23
|
+
"agent": "flow:Context Engineer",
|
|
24
|
+
"emoji": "๐ง ",
|
|
23
25
|
"stage": "analysis"
|
|
24
26
|
},
|
|
25
27
|
"design_improvements": {
|
|
26
28
|
"type": "task",
|
|
27
29
|
"name": "Design Improvements",
|
|
28
30
|
"description": "Apply compression techniques: lead with conclusions, causal chains, precise terminology",
|
|
29
|
-
"agent": "Context Engineer",
|
|
31
|
+
"agent": "flow:Context Engineer",
|
|
32
|
+
"emoji": "๐ง ",
|
|
30
33
|
"stage": "design"
|
|
31
34
|
},
|
|
32
35
|
"review_design": {
|
|
33
36
|
"type": "gate",
|
|
34
37
|
"name": "Review Design",
|
|
35
38
|
"description": "Verify improvements don't sacrifice meaning for brevity",
|
|
36
|
-
"agent": "Reviewer",
|
|
39
|
+
"agent": "flow:Reviewer",
|
|
40
|
+
"emoji": "๐",
|
|
37
41
|
"stage": "design",
|
|
38
42
|
"maxRetries": 2,
|
|
39
43
|
"config": {
|
|
@@ -44,14 +48,16 @@
|
|
|
44
48
|
"type": "task",
|
|
45
49
|
"name": "Implement",
|
|
46
50
|
"description": "Apply the optimizations to actual files and configurations",
|
|
47
|
-
"agent": "Developer",
|
|
51
|
+
"agent": "flow:Developer",
|
|
52
|
+
"emoji": "๐ง",
|
|
48
53
|
"stage": "implementation"
|
|
49
54
|
},
|
|
50
55
|
"verify": {
|
|
51
56
|
"type": "task",
|
|
52
57
|
"name": "Verify",
|
|
53
58
|
"description": "Test that agents still function correctly with optimized context",
|
|
54
|
-
"agent": "Tester",
|
|
59
|
+
"agent": "flow:Tester",
|
|
60
|
+
"emoji": "๐งช",
|
|
55
61
|
"stage": "verification",
|
|
56
62
|
"maxRetries": 2
|
|
57
63
|
},
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "execute",
|
|
3
|
+
"name": "Execute",
|
|
4
|
+
"description": "Single-step workflow. Just do the thing.",
|
|
5
|
+
"nodes": {
|
|
6
|
+
"start": {
|
|
7
|
+
"type": "start",
|
|
8
|
+
"name": "Start",
|
|
9
|
+
"description": "Execute begins"
|
|
10
|
+
},
|
|
11
|
+
"execute": {
|
|
12
|
+
"type": "task",
|
|
13
|
+
"name": "Execute",
|
|
14
|
+
"description": "Do the work described in the task.",
|
|
15
|
+
"agent": "flow:Developer",
|
|
16
|
+
"emoji": "๐ง",
|
|
17
|
+
"stage": "development"
|
|
18
|
+
},
|
|
19
|
+
"end_success": {
|
|
20
|
+
"type": "end",
|
|
21
|
+
"result": "success",
|
|
22
|
+
"name": "Done",
|
|
23
|
+
"description": "Task completed"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"edges": [
|
|
27
|
+
{ "from": "start", "to": "execute" },
|
|
28
|
+
{ "from": "execute", "to": "end_success" }
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -12,28 +12,32 @@
|
|
|
12
12
|
"type": "task",
|
|
13
13
|
"name": "Parse Requirements",
|
|
14
14
|
"description": "Extract acceptance criteria and requirements from the issue or request",
|
|
15
|
-
"agent": "Planner",
|
|
15
|
+
"agent": "flow:Planner",
|
|
16
|
+
"emoji": "๐",
|
|
16
17
|
"stage": "planning"
|
|
17
18
|
},
|
|
18
19
|
"explore_codebase": {
|
|
19
20
|
"type": "task",
|
|
20
21
|
"name": "Explore Codebase",
|
|
21
22
|
"description": "Find relevant files, understand patterns, identify where changes are needed",
|
|
22
|
-
"agent": "Planner",
|
|
23
|
+
"agent": "flow:Planner",
|
|
24
|
+
"emoji": "๐",
|
|
23
25
|
"stage": "planning"
|
|
24
26
|
},
|
|
25
27
|
"create_plan": {
|
|
26
28
|
"type": "task",
|
|
27
29
|
"name": "Create Plan",
|
|
28
30
|
"description": "Write implementation plan with specific files and changes needed",
|
|
29
|
-
"agent": "Planner",
|
|
31
|
+
"agent": "flow:Planner",
|
|
32
|
+
"emoji": "๐",
|
|
30
33
|
"stage": "planning"
|
|
31
34
|
},
|
|
32
35
|
"plan_review": {
|
|
33
36
|
"type": "gate",
|
|
34
37
|
"name": "Review Plan",
|
|
35
38
|
"description": "Verify plan is complete and feasible",
|
|
36
|
-
"agent": "Reviewer",
|
|
39
|
+
"agent": "flow:Reviewer",
|
|
40
|
+
"emoji": "๐",
|
|
37
41
|
"stage": "planning",
|
|
38
42
|
"maxRetries": 2,
|
|
39
43
|
"config": {
|
|
@@ -44,21 +48,24 @@
|
|
|
44
48
|
"type": "task",
|
|
45
49
|
"name": "Implement",
|
|
46
50
|
"description": "Write the code following the plan",
|
|
47
|
-
"agent": "Developer",
|
|
51
|
+
"agent": "flow:Developer",
|
|
52
|
+
"emoji": "๐ง",
|
|
48
53
|
"stage": "development"
|
|
49
54
|
},
|
|
50
55
|
"write_tests": {
|
|
51
56
|
"type": "task",
|
|
52
57
|
"name": "Write Tests",
|
|
53
58
|
"description": "Add unit and integration tests for the new feature",
|
|
54
|
-
"agent": "Tester",
|
|
59
|
+
"agent": "flow:Tester",
|
|
60
|
+
"emoji": "๐งช",
|
|
55
61
|
"stage": "development"
|
|
56
62
|
},
|
|
57
63
|
"run_tests": {
|
|
58
64
|
"type": "task",
|
|
59
65
|
"name": "Run Tests",
|
|
60
66
|
"description": "Execute test suite and verify all tests pass",
|
|
61
|
-
"agent": "Tester",
|
|
67
|
+
"agent": "flow:Tester",
|
|
68
|
+
"emoji": "๐งช",
|
|
62
69
|
"stage": "verification",
|
|
63
70
|
"maxRetries": 3
|
|
64
71
|
},
|
|
@@ -66,7 +73,8 @@
|
|
|
66
73
|
"type": "gate",
|
|
67
74
|
"name": "Code Review",
|
|
68
75
|
"description": "Review code quality, patterns, and correctness",
|
|
69
|
-
"agent": "Reviewer",
|
|
76
|
+
"agent": "flow:Reviewer",
|
|
77
|
+
"emoji": "๐",
|
|
70
78
|
"stage": "verification",
|
|
71
79
|
"maxRetries": 2,
|
|
72
80
|
"config": {
|
|
@@ -77,7 +85,8 @@
|
|
|
77
85
|
"type": "gate",
|
|
78
86
|
"name": "Lint & Format",
|
|
79
87
|
"description": "Run lint and format checks. Auto-fix issues where possible.",
|
|
80
|
-
"agent": "Developer",
|
|
88
|
+
"agent": "flow:Developer",
|
|
89
|
+
"emoji": "๐ง",
|
|
81
90
|
"stage": "delivery",
|
|
82
91
|
"maxRetries": 3
|
|
83
92
|
},
|
|
@@ -85,14 +94,16 @@
|
|
|
85
94
|
"type": "task",
|
|
86
95
|
"name": "Commit Changes",
|
|
87
96
|
"description": "Commit all changes with a descriptive message summarizing the work done",
|
|
88
|
-
"agent": "Developer",
|
|
97
|
+
"agent": "flow:Developer",
|
|
98
|
+
"emoji": "๐ง",
|
|
89
99
|
"stage": "delivery"
|
|
90
100
|
},
|
|
91
101
|
"create_pr": {
|
|
92
102
|
"type": "task",
|
|
93
103
|
"name": "Create PR",
|
|
94
104
|
"description": "Create pull request with summary and test plan",
|
|
95
|
-
"agent": "Developer",
|
|
105
|
+
"agent": "flow:Developer",
|
|
106
|
+
"emoji": "๐ง",
|
|
96
107
|
"stage": "delivery"
|
|
97
108
|
},
|
|
98
109
|
"end_success": {
|
|
@@ -11,14 +11,16 @@
|
|
|
11
11
|
"type": "task",
|
|
12
12
|
"name": "Do Work",
|
|
13
13
|
"description": "Do the thing",
|
|
14
|
-
"agent": "Developer",
|
|
14
|
+
"agent": "flow:Developer",
|
|
15
|
+
"emoji": "๐ง",
|
|
15
16
|
"stage": "development"
|
|
16
17
|
},
|
|
17
18
|
"check": {
|
|
18
19
|
"type": "gate",
|
|
19
20
|
"name": "Check",
|
|
20
21
|
"description": "Pass or fail",
|
|
21
|
-
"agent": "Reviewer",
|
|
22
|
+
"agent": "flow:Reviewer",
|
|
23
|
+
"emoji": "๐",
|
|
22
24
|
"stage": "verification",
|
|
23
25
|
"maxRetries": 1
|
|
24
26
|
},
|
|
@@ -12,21 +12,24 @@
|
|
|
12
12
|
"type": "task",
|
|
13
13
|
"name": "Understand",
|
|
14
14
|
"description": "Clarify what needs to be done and identify the approach",
|
|
15
|
-
"agent": "Developer",
|
|
15
|
+
"agent": "flow:Developer",
|
|
16
|
+
"emoji": "๐ง",
|
|
16
17
|
"stage": "planning"
|
|
17
18
|
},
|
|
18
19
|
"execute": {
|
|
19
20
|
"type": "task",
|
|
20
21
|
"name": "Execute",
|
|
21
22
|
"description": "Make the changes or complete the work",
|
|
22
|
-
"agent": "Developer",
|
|
23
|
+
"agent": "flow:Developer",
|
|
24
|
+
"emoji": "๐ง",
|
|
23
25
|
"stage": "development"
|
|
24
26
|
},
|
|
25
27
|
"verify": {
|
|
26
28
|
"type": "task",
|
|
27
29
|
"name": "Verify",
|
|
28
30
|
"description": "Confirm the work is correct and complete",
|
|
29
|
-
"agent": "Developer",
|
|
31
|
+
"agent": "flow:Developer",
|
|
32
|
+
"emoji": "๐ง",
|
|
30
33
|
"stage": "verification",
|
|
31
34
|
"maxRetries": 1
|
|
32
35
|
},
|
|
@@ -34,7 +37,8 @@
|
|
|
34
37
|
"type": "gate",
|
|
35
38
|
"name": "Lint & Format",
|
|
36
39
|
"description": "Run lint and format checks. Auto-fix issues where possible.",
|
|
37
|
-
"agent": "Developer",
|
|
40
|
+
"agent": "flow:Developer",
|
|
41
|
+
"emoji": "๐ง",
|
|
38
42
|
"stage": "delivery",
|
|
39
43
|
"maxRetries": 3
|
|
40
44
|
},
|
|
@@ -42,7 +46,8 @@
|
|
|
42
46
|
"type": "task",
|
|
43
47
|
"name": "Commit Changes",
|
|
44
48
|
"description": "Commit all changes with a descriptive message",
|
|
45
|
-
"agent": "Developer",
|
|
49
|
+
"agent": "flow:Developer",
|
|
50
|
+
"emoji": "๐ง",
|
|
46
51
|
"stage": "delivery"
|
|
47
52
|
},
|
|
48
53
|
"end_success": {
|