u-foo 2.2.3 → 2.3.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/SKILLS/ufoo/SKILL.md +56 -12
- package/SKILLS/uinit/SKILL.md +3 -2
- package/modules/AGENTS.template.md +2 -1
- package/modules/bus/README.md +1 -1
- package/modules/context/SKILLS/uctx/SKILL.md +6 -4
- package/package.json +1 -1
- package/src/agent/codexThreadProvider.js +2 -2
- package/src/agent/controllerToolExecutor.js +24 -1
- package/src/agent/credentials/claude.js +85 -16
- package/src/agent/credentials/codex.js +251 -23
- package/src/agent/defaultBootstrap.js +3 -1
- package/src/agent/directAuthStatus.js +264 -0
- package/src/agent/internalRunner.js +18 -12
- package/src/agent/loopObservability.js +10 -0
- package/src/agent/loopRuntime.js +19 -0
- package/src/agent/ufooAgent.js +43 -13
- package/src/agent/upstreamTransport.js +23 -8
- package/src/bus/index.js +13 -5
- package/src/bus/message.js +157 -9
- package/src/bus/nickname.js +14 -3
- package/src/bus/subscriber.js +30 -10
- package/src/chat/agentDirectory.js +2 -2
- package/src/chat/commandExecutor.js +190 -8
- package/src/chat/commands.js +23 -4
- package/src/chat/completionController.js +30 -7
- package/src/chat/daemonMessageRouter.js +2 -1
- package/src/chat/index.js +9 -8
- package/src/cli/groupCoreCommands.js +5 -0
- package/src/cli.js +309 -0
- package/src/code/UCODE_PROMPT.md +3 -2
- package/src/code/nativeRunner.js +2 -1
- package/src/code/prompts/ufoo.js +3 -2
- package/src/config.js +16 -3
- package/src/context/doctor.js +1 -1
- package/src/daemon/groupOrchestrator.js +13 -9
- package/src/daemon/index.js +35 -18
- package/src/daemon/nicknameScope.js +37 -0
- package/src/daemon/ops.js +22 -10
- package/src/daemon/promptRequest.js +11 -2
- package/src/daemon/reporting.js +2 -3
- package/src/daemon/soloBootstrap.js +15 -3
- package/src/daemon/status.js +5 -1
- package/src/group/bootstrap.js +1 -1
- package/src/group/promptProfiles.js +106 -22
- package/src/group/templates.js +1 -0
- package/src/init/index.js +4 -0
- package/src/memory/historySearch.js +308 -0
- package/src/memory/index.js +653 -8
- package/src/providerapi/redactor.js +4 -1
- package/src/status/index.js +26 -2
- package/src/tools/handlers/memory.js +168 -0
- package/src/tools/index.js +12 -0
- package/src/tools/registry.js +12 -0
- package/src/tools/schemaFixtures.js +213 -0
- package/src/tools/tier1/editMemory.js +14 -0
- package/src/tools/tier1/forget.js +14 -0
- package/src/tools/tier1/recall.js +14 -0
- package/src/tools/tier1/remember.js +14 -0
- package/src/tools/tier1/searchHistory.js +14 -0
- package/src/tools/tier1/searchMemory.js +14 -0
- package/templates/groups/build-lane.json +44 -6
- package/templates/groups/build-ultra.json +6 -5
- package/templates/groups/design-system.json +84 -0
- package/templates/groups/product-discovery.json +9 -4
- package/templates/groups/ui-plan-review.json +84 -0
- package/templates/groups/ui-polish.json +6 -2
- package/templates/groups/verify-ship.json +9 -4
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"template": {
|
|
4
4
|
"id": "build-lane",
|
|
5
5
|
"alias": "build-lane",
|
|
6
|
-
"name": "Build Lane"
|
|
6
|
+
"name": "Build Lane",
|
|
7
|
+
"description": "Default engineering lane: plan, implement, review, and QA one scoped change."
|
|
7
8
|
},
|
|
8
9
|
"defaults": {
|
|
9
10
|
"launch_mode": "auto",
|
|
@@ -16,7 +17,10 @@
|
|
|
16
17
|
"type": "auto",
|
|
17
18
|
"role": "define slices and architecture constraints",
|
|
18
19
|
"prompt_profile": "system-architect",
|
|
19
|
-
"accept_from": [
|
|
20
|
+
"accept_from": [
|
|
21
|
+
"builder",
|
|
22
|
+
"reviewer"
|
|
23
|
+
],
|
|
20
24
|
"report_to": [
|
|
21
25
|
"builder",
|
|
22
26
|
"reviewer"
|
|
@@ -32,7 +36,8 @@
|
|
|
32
36
|
"prompt_profile": "implementation-lead",
|
|
33
37
|
"accept_from": [
|
|
34
38
|
"architect",
|
|
35
|
-
"reviewer"
|
|
39
|
+
"reviewer",
|
|
40
|
+
"qa"
|
|
36
41
|
],
|
|
37
42
|
"report_to": [
|
|
38
43
|
"reviewer"
|
|
@@ -46,20 +51,43 @@
|
|
|
46
51
|
"id": "reviewer",
|
|
47
52
|
"nickname": "reviewer",
|
|
48
53
|
"type": "auto",
|
|
49
|
-
"role": "review correctness and risk",
|
|
54
|
+
"role": "review code correctness and release risk before QA",
|
|
50
55
|
"prompt_profile": "review-critic",
|
|
51
56
|
"accept_from": [
|
|
52
57
|
"architect",
|
|
53
|
-
"builder"
|
|
58
|
+
"builder",
|
|
59
|
+
"qa"
|
|
54
60
|
],
|
|
55
61
|
"report_to": [
|
|
56
|
-
"builder"
|
|
62
|
+
"builder",
|
|
63
|
+
"qa"
|
|
57
64
|
],
|
|
58
65
|
"startup_order": 3,
|
|
59
66
|
"depends_on": [
|
|
60
67
|
"architect",
|
|
61
68
|
"builder"
|
|
62
69
|
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "qa",
|
|
73
|
+
"nickname": "qa",
|
|
74
|
+
"type": "auto",
|
|
75
|
+
"role": "validate the implemented change from user-flow and regression perspectives",
|
|
76
|
+
"prompt_profile": "qa-driver",
|
|
77
|
+
"accept_from": [
|
|
78
|
+
"builder",
|
|
79
|
+
"reviewer"
|
|
80
|
+
],
|
|
81
|
+
"report_to": [
|
|
82
|
+
"builder",
|
|
83
|
+
"reviewer"
|
|
84
|
+
],
|
|
85
|
+
"startup_order": 4,
|
|
86
|
+
"depends_on": [
|
|
87
|
+
"architect",
|
|
88
|
+
"builder",
|
|
89
|
+
"reviewer"
|
|
90
|
+
]
|
|
63
91
|
}
|
|
64
92
|
],
|
|
65
93
|
"edges": [
|
|
@@ -77,6 +105,16 @@
|
|
|
77
105
|
"from": "reviewer",
|
|
78
106
|
"to": "builder",
|
|
79
107
|
"kind": "task"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"from": "reviewer",
|
|
111
|
+
"to": "qa",
|
|
112
|
+
"kind": "review"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"from": "qa",
|
|
116
|
+
"to": "builder",
|
|
117
|
+
"kind": "task"
|
|
80
118
|
}
|
|
81
119
|
]
|
|
82
120
|
}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"template": {
|
|
4
4
|
"id": "build-ultra",
|
|
5
5
|
"alias": "build-ultra",
|
|
6
|
-
"name": "Build Ultra"
|
|
6
|
+
"name": "Build Ultra",
|
|
7
|
+
"description": "High-parallelism build lane for large, explicitly splittable engineering work."
|
|
7
8
|
},
|
|
8
9
|
"defaults": {
|
|
9
10
|
"launch_mode": "auto",
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
"id": "builder-1",
|
|
38
39
|
"nickname": "builder-1",
|
|
39
40
|
"type": "auto",
|
|
40
|
-
"role": "implement
|
|
41
|
+
"role": "implement PMO-assigned slice 1 without duplicating other builders",
|
|
41
42
|
"prompt_profile": "implementation-lead",
|
|
42
43
|
"accept_from": [
|
|
43
44
|
"pmo",
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
"id": "builder-2",
|
|
57
58
|
"nickname": "builder-2",
|
|
58
59
|
"type": "auto",
|
|
59
|
-
"role": "implement
|
|
60
|
+
"role": "implement PMO-assigned slice 2 without duplicating other builders",
|
|
60
61
|
"prompt_profile": "implementation-lead",
|
|
61
62
|
"accept_from": [
|
|
62
63
|
"pmo",
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
"id": "builder-3",
|
|
76
77
|
"nickname": "builder-3",
|
|
77
78
|
"type": "auto",
|
|
78
|
-
"role": "implement
|
|
79
|
+
"role": "implement PMO-assigned slice 3 without duplicating other builders",
|
|
79
80
|
"prompt_profile": "implementation-lead",
|
|
80
81
|
"accept_from": [
|
|
81
82
|
"pmo",
|
|
@@ -94,7 +95,7 @@
|
|
|
94
95
|
"id": "builder-4",
|
|
95
96
|
"nickname": "builder-4",
|
|
96
97
|
"type": "auto",
|
|
97
|
-
"role": "implement
|
|
98
|
+
"role": "implement PMO-assigned slice 4 without duplicating other builders",
|
|
98
99
|
"prompt_profile": "implementation-lead",
|
|
99
100
|
"accept_from": [
|
|
100
101
|
"pmo",
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"template": {
|
|
4
|
+
"id": "design-system",
|
|
5
|
+
"alias": "design-system",
|
|
6
|
+
"name": "Design System Planning",
|
|
7
|
+
"description": "Pre-implementation design planning lane that defines visual system constraints; it does not edit UI code."
|
|
8
|
+
},
|
|
9
|
+
"defaults": {
|
|
10
|
+
"launch_mode": "auto",
|
|
11
|
+
"start_timeout_ms": 15000
|
|
12
|
+
},
|
|
13
|
+
"agents": [
|
|
14
|
+
{
|
|
15
|
+
"id": "consultant",
|
|
16
|
+
"nickname": "consultant",
|
|
17
|
+
"type": "auto",
|
|
18
|
+
"role": "define product design direction and visual system",
|
|
19
|
+
"prompt_profile": "design-system-consultant",
|
|
20
|
+
"accept_from": [
|
|
21
|
+
"challenger",
|
|
22
|
+
"architect"
|
|
23
|
+
],
|
|
24
|
+
"report_to": [
|
|
25
|
+
"challenger",
|
|
26
|
+
"architect"
|
|
27
|
+
],
|
|
28
|
+
"startup_order": 1,
|
|
29
|
+
"depends_on": []
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "challenger",
|
|
33
|
+
"nickname": "challenger",
|
|
34
|
+
"type": "auto",
|
|
35
|
+
"role": "challenge scope, complexity, and overbuilt brand work",
|
|
36
|
+
"prompt_profile": "scope-challenger",
|
|
37
|
+
"accept_from": [
|
|
38
|
+
"consultant",
|
|
39
|
+
"architect"
|
|
40
|
+
],
|
|
41
|
+
"report_to": [
|
|
42
|
+
"architect"
|
|
43
|
+
],
|
|
44
|
+
"startup_order": 2,
|
|
45
|
+
"depends_on": [
|
|
46
|
+
"consultant"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "architect",
|
|
51
|
+
"nickname": "architect",
|
|
52
|
+
"type": "auto",
|
|
53
|
+
"role": "turn design system rules into implementation constraints, not code changes",
|
|
54
|
+
"prompt_profile": "system-architect",
|
|
55
|
+
"accept_from": [
|
|
56
|
+
"consultant",
|
|
57
|
+
"challenger"
|
|
58
|
+
],
|
|
59
|
+
"report_to": [],
|
|
60
|
+
"startup_order": 3,
|
|
61
|
+
"depends_on": [
|
|
62
|
+
"consultant",
|
|
63
|
+
"challenger"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"edges": [
|
|
68
|
+
{
|
|
69
|
+
"from": "consultant",
|
|
70
|
+
"to": "challenger",
|
|
71
|
+
"kind": "review"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"from": "consultant",
|
|
75
|
+
"to": "architect",
|
|
76
|
+
"kind": "task"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"from": "challenger",
|
|
80
|
+
"to": "architect",
|
|
81
|
+
"kind": "review"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"template": {
|
|
4
4
|
"id": "product-discovery",
|
|
5
5
|
"alias": "product-discovery",
|
|
6
|
-
"name": "Product Discovery"
|
|
6
|
+
"name": "Product Discovery Plan",
|
|
7
|
+
"description": "Pre-implementation discovery lane that turns vague product intent into a scoped technical plan; it does not implement."
|
|
7
8
|
},
|
|
8
9
|
"defaults": {
|
|
9
10
|
"launch_mode": "auto",
|
|
@@ -16,7 +17,10 @@
|
|
|
16
17
|
"type": "auto",
|
|
17
18
|
"role": "clarify the real problem and define a narrow wedge",
|
|
18
19
|
"prompt_profile": "discovery-facilitator",
|
|
19
|
-
"accept_from": [
|
|
20
|
+
"accept_from": [
|
|
21
|
+
"challenger",
|
|
22
|
+
"architect"
|
|
23
|
+
],
|
|
20
24
|
"report_to": [
|
|
21
25
|
"challenger",
|
|
22
26
|
"architect"
|
|
@@ -31,7 +35,8 @@
|
|
|
31
35
|
"role": "challenge scope and leverage",
|
|
32
36
|
"prompt_profile": "scope-challenger",
|
|
33
37
|
"accept_from": [
|
|
34
|
-
"facilitator"
|
|
38
|
+
"facilitator",
|
|
39
|
+
"architect"
|
|
35
40
|
],
|
|
36
41
|
"report_to": [
|
|
37
42
|
"architect"
|
|
@@ -45,7 +50,7 @@
|
|
|
45
50
|
"id": "architect",
|
|
46
51
|
"nickname": "architect",
|
|
47
52
|
"type": "auto",
|
|
48
|
-
"role": "translate approved scope into
|
|
53
|
+
"role": "translate approved scope into an execution-ready technical plan, not code",
|
|
49
54
|
"prompt_profile": "system-architect",
|
|
50
55
|
"accept_from": [
|
|
51
56
|
"facilitator",
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"template": {
|
|
4
|
+
"id": "ui-plan-review",
|
|
5
|
+
"alias": "ui-plan-review",
|
|
6
|
+
"name": "UI Plan Preflight",
|
|
7
|
+
"description": "Pre-implementation UI/UX plan review that hardens a proposed frontend plan before build."
|
|
8
|
+
},
|
|
9
|
+
"defaults": {
|
|
10
|
+
"launch_mode": "auto",
|
|
11
|
+
"start_timeout_ms": 15000
|
|
12
|
+
},
|
|
13
|
+
"agents": [
|
|
14
|
+
{
|
|
15
|
+
"id": "planner",
|
|
16
|
+
"nickname": "planner",
|
|
17
|
+
"type": "auto",
|
|
18
|
+
"role": "review UI and UX plan before implementation",
|
|
19
|
+
"prompt_profile": "ui-plan-critic",
|
|
20
|
+
"accept_from": [
|
|
21
|
+
"challenger",
|
|
22
|
+
"architect"
|
|
23
|
+
],
|
|
24
|
+
"report_to": [
|
|
25
|
+
"challenger",
|
|
26
|
+
"architect"
|
|
27
|
+
],
|
|
28
|
+
"startup_order": 1,
|
|
29
|
+
"depends_on": []
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "challenger",
|
|
33
|
+
"nickname": "challenger",
|
|
34
|
+
"type": "auto",
|
|
35
|
+
"role": "challenge scope, complexity, and product leverage",
|
|
36
|
+
"prompt_profile": "scope-challenger",
|
|
37
|
+
"accept_from": [
|
|
38
|
+
"planner",
|
|
39
|
+
"architect"
|
|
40
|
+
],
|
|
41
|
+
"report_to": [
|
|
42
|
+
"architect"
|
|
43
|
+
],
|
|
44
|
+
"startup_order": 2,
|
|
45
|
+
"depends_on": [
|
|
46
|
+
"planner"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "architect",
|
|
51
|
+
"nickname": "architect",
|
|
52
|
+
"type": "auto",
|
|
53
|
+
"role": "turn reviewed UI plan into frontend implementation constraints, not code changes",
|
|
54
|
+
"prompt_profile": "system-architect",
|
|
55
|
+
"accept_from": [
|
|
56
|
+
"planner",
|
|
57
|
+
"challenger"
|
|
58
|
+
],
|
|
59
|
+
"report_to": [],
|
|
60
|
+
"startup_order": 3,
|
|
61
|
+
"depends_on": [
|
|
62
|
+
"planner",
|
|
63
|
+
"challenger"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"edges": [
|
|
68
|
+
{
|
|
69
|
+
"from": "planner",
|
|
70
|
+
"to": "challenger",
|
|
71
|
+
"kind": "review"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"from": "planner",
|
|
75
|
+
"to": "architect",
|
|
76
|
+
"kind": "task"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"from": "challenger",
|
|
80
|
+
"to": "architect",
|
|
81
|
+
"kind": "review"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"template": {
|
|
4
4
|
"id": "ui-polish",
|
|
5
5
|
"alias": "ui-polish",
|
|
6
|
-
"name": "UI Polish"
|
|
6
|
+
"name": "UI Polish",
|
|
7
|
+
"description": "UI execution lane: audit, apply focused frontend polish, and verify UX regressions."
|
|
7
8
|
},
|
|
8
9
|
"defaults": {
|
|
9
10
|
"launch_mode": "auto",
|
|
@@ -16,7 +17,10 @@
|
|
|
16
17
|
"type": "auto",
|
|
17
18
|
"role": "audit the interface and rank design polish issues",
|
|
18
19
|
"prompt_profile": "design-critic",
|
|
19
|
-
"accept_from": [
|
|
20
|
+
"accept_from": [
|
|
21
|
+
"refiner",
|
|
22
|
+
"qa"
|
|
23
|
+
],
|
|
20
24
|
"report_to": [
|
|
21
25
|
"refiner",
|
|
22
26
|
"qa"
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"template": {
|
|
4
4
|
"id": "verify-ship",
|
|
5
5
|
"alias": "verify-ship",
|
|
6
|
-
"name": "Verify
|
|
6
|
+
"name": "Verify Existing Change",
|
|
7
|
+
"description": "Post-change verification lane for an existing implementation before release or merge."
|
|
7
8
|
},
|
|
8
9
|
"defaults": {
|
|
9
10
|
"launch_mode": "auto",
|
|
@@ -14,9 +15,12 @@
|
|
|
14
15
|
"id": "qa",
|
|
15
16
|
"nickname": "qa",
|
|
16
17
|
"type": "auto",
|
|
17
|
-
"role": "validate user flows and capture defects",
|
|
18
|
+
"role": "validate existing implementation user flows and capture reproducible defects",
|
|
18
19
|
"prompt_profile": "qa-driver",
|
|
19
|
-
"accept_from": [
|
|
20
|
+
"accept_from": [
|
|
21
|
+
"debugger",
|
|
22
|
+
"release"
|
|
23
|
+
],
|
|
20
24
|
"report_to": [
|
|
21
25
|
"debugger",
|
|
22
26
|
"release"
|
|
@@ -31,7 +35,8 @@
|
|
|
31
35
|
"role": "identify root cause for hard failures",
|
|
32
36
|
"prompt_profile": "debug-investigator",
|
|
33
37
|
"accept_from": [
|
|
34
|
-
"qa"
|
|
38
|
+
"qa",
|
|
39
|
+
"release"
|
|
35
40
|
],
|
|
36
41
|
"report_to": [
|
|
37
42
|
"release"
|