@yamo/memory-mesh 2.2.0 ā 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/README.md +1 -7
- package/bin/setup.js +1 -3
- package/lib/index.js +0 -12
- package/lib/memory/index.js +0 -2
- package/lib/search/index.js +1 -3
- package/lib/utils/index.js +1 -4
- package/package.json +1 -2
- package/skills/SKILL.md +550 -1
- package/bin/scrubber.js +0 -81
- package/lib/adapters/index.js +0 -3
- package/lib/memory/memory-context-manager.js +0 -388
- package/lib/memory/memory-translator.js +0 -130
- package/lib/memory/migrate-memory.js +0 -227
- package/lib/memory/migrate-to-v2.js +0 -120
- package/lib/memory/scorer.js +0 -85
- package/lib/memory/vector-memory.js +0 -364
- package/lib/privacy/audit-logger.js +0 -176
- package/lib/privacy/dlp-redactor.js +0 -72
- package/lib/privacy/index.js +0 -10
- package/lib/reporting/skill-report-generator.js +0 -283
- package/lib/search/filter.js +0 -275
- package/lib/search/hybrid.js +0 -137
- package/lib/search/pattern-miner.js +0 -160
- package/lib/utils/error-sanitizer.js +0 -84
- package/lib/utils/handoff-validator.js +0 -85
- package/lib/utils/spinner.js +0 -190
- package/lib/utils/streaming-client.js +0 -128
- package/skills/skill-scrubber.yamo +0 -41
- package/skills/skill-super.yamo +0 -548
package/README.md
CHANGED
|
@@ -31,9 +31,6 @@ memory-mesh store "My important memory" '{"tag":"test"}'
|
|
|
31
31
|
|
|
32
32
|
# Search memories
|
|
33
33
|
memory-mesh search "query" 5
|
|
34
|
-
|
|
35
|
-
# Scrub content only
|
|
36
|
-
scrubber scrub "Raw text content"
|
|
37
34
|
```
|
|
38
35
|
|
|
39
36
|
### Node.js API
|
|
@@ -134,9 +131,6 @@ Your skills are now available in Claude Code with automatic memory integration:
|
|
|
134
131
|
# Use yamo-super workflow system
|
|
135
132
|
# Automatically retrieves similar past workflows and stores execution patterns
|
|
136
133
|
claude /yamo-super
|
|
137
|
-
|
|
138
|
-
# Use scrubber skill for content sanitization
|
|
139
|
-
claude /scrubber content="raw text"
|
|
140
134
|
```
|
|
141
135
|
|
|
142
136
|
**Memory Integration Features:**
|
|
@@ -146,7 +140,7 @@ claude /scrubber content="raw text"
|
|
|
146
140
|
- **Review Phase**: Stores code review outcomes and quality metrics
|
|
147
141
|
- **Complete Workflow**: Stores full execution pattern for future optimization
|
|
148
142
|
|
|
149
|
-
YAMO agents will automatically find tools in `tools/memory_mesh.js
|
|
143
|
+
YAMO agents will automatically find tools in `tools/memory_mesh.js`.
|
|
150
144
|
|
|
151
145
|
## Docker
|
|
152
146
|
|
package/bin/setup.js
CHANGED
|
@@ -133,8 +133,7 @@ async function installTools() {
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
const toolFiles = [
|
|
136
|
-
{ src: 'memory_mesh.js', name: 'Memory Mesh CLI' }
|
|
137
|
-
{ src: 'scrubber.js', name: 'Scrubber CLI' }
|
|
136
|
+
{ src: 'memory_mesh.js', name: 'Memory Mesh CLI' }
|
|
138
137
|
];
|
|
139
138
|
|
|
140
139
|
let installed = 0;
|
|
@@ -169,7 +168,6 @@ function showUsage() {
|
|
|
169
168
|
|
|
170
169
|
log('\nš Usage:', 'bright');
|
|
171
170
|
log(' ⢠Use /yamo-super in Claude or Gemini for workflow automation');
|
|
172
|
-
log(' ⢠Use /scrubber skill for content sanitization');
|
|
173
171
|
log(' ⢠Call tools/memory_mesh.js for memory operations');
|
|
174
172
|
|
|
175
173
|
log('\nš Learn more:', 'bright');
|
package/lib/index.js
CHANGED
|
@@ -2,17 +2,5 @@
|
|
|
2
2
|
export * from './lancedb/index.js';
|
|
3
3
|
export * from './embeddings/index.js';
|
|
4
4
|
export * from './search/index.js';
|
|
5
|
-
export * from './privacy/index.js';
|
|
6
5
|
export * from './memory/index.js';
|
|
7
6
|
export * from './scrubber/index.js';
|
|
8
|
-
export {
|
|
9
|
-
HandoffValidator,
|
|
10
|
-
Spinner,
|
|
11
|
-
ProgressBar,
|
|
12
|
-
MultiSpinner,
|
|
13
|
-
StreamingClient,
|
|
14
|
-
StreamingLLM,
|
|
15
|
-
sanitizeErrorForLogging,
|
|
16
|
-
withSanitizedErrors
|
|
17
|
-
} from './utils/index.js';
|
|
18
|
-
export * from './adapters/index.js';
|
package/lib/memory/index.js
CHANGED
package/lib/search/index.js
CHANGED
package/lib/utils/index.js
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Spinner, ProgressBar, MultiSpinner } from './spinner.js';
|
|
3
|
-
export { StreamingClient, StreamingLLM } from './streaming-client.js';
|
|
4
|
-
export { sanitizeErrorMessage, sanitizeErrorForLogging, withSanitizedErrors } from './error-sanitizer.js';
|
|
1
|
+
// No exports - all utilities removed as unused
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamo/memory-mesh",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Portable semantic memory system with Layer 0 Scrubber for YAMO agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/memory/index.js",
|
|
7
7
|
"types": "index.d.ts",
|
|
8
8
|
"bin": {
|
|
9
9
|
"memory-mesh": "./bin/memory_mesh.js",
|
|
10
|
-
"scrubber": "./bin/scrubber.js",
|
|
11
10
|
"memory-mesh-setup": "./bin/setup.js"
|
|
12
11
|
},
|
|
13
12
|
"files": [
|
package/skills/SKILL.md
CHANGED
|
@@ -1,4 +1,553 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: yamo-super
|
|
3
|
-
description: A comprehensive AI coding workflow system that orchestrates test-driven development, systematic debugging, collaborative planning, git worktree isolation, and dual-mode execution (subagent-driven or batched) with mandatory TDD red-green-refactor cycles, root-cause analysis, two-stage code review, and branch lifecycle management.For all code improvement or creation tasks, strictly adhere to the logic, agents, and constraints defined in skill
|
|
3
|
+
description: A comprehensive AI coding workflow system that orchestrates test-driven development, systematic debugging, collaborative planning, git worktree isolation, and dual-mode execution (subagent-driven or batched) with mandatory TDD red-green-refactor cycles, root-cause analysis, two-stage code review, and branch lifecycle management. For all code improvement or creation tasks, strictly adhere to the logic, agents, and constraints defined in this yamo skill.
|
|
4
4
|
---
|
|
5
|
+
|
|
6
|
+
metadata:
|
|
7
|
+
name;YamoSuper;
|
|
8
|
+
version;2.1.0;
|
|
9
|
+
description;Comprehensive AI coding workflow system with automatic memory integration for pattern recognition and workflow optimization;
|
|
10
|
+
author;Derived from Superpowers by Jesse Scott;adapted for YAMO by Soverane Labs;
|
|
11
|
+
license;MIT;
|
|
12
|
+
tags;tdd;debugging;collaboration;planning;workflow;subagent;git;review;memory;semantic_search;
|
|
13
|
+
capabilities;brainstorm_design;write_implementation_plan;execute_plan_batch;test_driven_development;systematic_debugging;verification;code_review;git_worktree;subagent_driven;parallel_dispatch;retrieve_workflow_patterns;store_execution_history;semantic_memory;
|
|
14
|
+
parameters:
|
|
15
|
+
workflow_mode:
|
|
16
|
+
type;string;
|
|
17
|
+
required;false;
|
|
18
|
+
description;Mode: brainstorm, plan, execute, debug, review;
|
|
19
|
+
enum;brainstorm;plan;execute;debug;review;
|
|
20
|
+
dry_run:
|
|
21
|
+
type;boolean;
|
|
22
|
+
required;false;
|
|
23
|
+
description;Preview actions without executing;
|
|
24
|
+
memory_enabled:
|
|
25
|
+
type;boolean;
|
|
26
|
+
required;false;
|
|
27
|
+
default;true;
|
|
28
|
+
description;Enable storing and retrieving workflow execution patterns from Memory Mesh;
|
|
29
|
+
environment:
|
|
30
|
+
requires_filesystem;true;
|
|
31
|
+
requires_local_storage;true;
|
|
32
|
+
notes;Creates worktrees, writes plans, manages git workflows, and stores execution history in Memory Mesh via tools/memory_mesh.js;
|
|
33
|
+
dependencies:
|
|
34
|
+
required:
|
|
35
|
+
- Git >= 2.30.0
|
|
36
|
+
- Node >= 18.0.0 (for npm test commands)
|
|
37
|
+
- MemoryMesh >=1.0.0;
|
|
38
|
+
- {working_directory}/tools/memory_mesh.js;
|
|
39
|
+
optional:
|
|
40
|
+
- YamoChainClient (for blockchain anchoring)
|
|
41
|
+
---
|
|
42
|
+
agent: MemorySystemInitializer;
|
|
43
|
+
intent: verify_memory_system_availability;
|
|
44
|
+
context:
|
|
45
|
+
memory_tool;tools/memory_mesh.js;
|
|
46
|
+
memory_enabled;provided_by_user.memory_enabled;
|
|
47
|
+
constraints:
|
|
48
|
+
- if_memory_enabled;verify_tool_exists;
|
|
49
|
+
- test_memory_connection_with_search;
|
|
50
|
+
- if_memory_unavailable;warn_user;continue_without_memory;
|
|
51
|
+
- set_memory_status_flag;
|
|
52
|
+
priority: high;
|
|
53
|
+
output: memory_status.json;
|
|
54
|
+
log: memory_initialized;available;timestamp;
|
|
55
|
+
meta:
|
|
56
|
+
hypothesis;Memory system availability check prevents runtime failures;
|
|
57
|
+
rationale;Graceful degradation if memory unavailable;
|
|
58
|
+
confidence;0.98;
|
|
59
|
+
handoff: WorkflowOrchestrator;
|
|
60
|
+
---
|
|
61
|
+
agent: WorkflowOrchestrator;
|
|
62
|
+
intent: determine_workflow_entry_point_with_historical_context;
|
|
63
|
+
context:
|
|
64
|
+
user_request;raw_input;
|
|
65
|
+
project_state;current_git_status;recent_commits;file_tree;
|
|
66
|
+
available_modes;brainstorm;plan;execute;debug;review;
|
|
67
|
+
memory_status;from_MemorySystemInitializer;
|
|
68
|
+
memory_tool;tools/memory_mesh.js;
|
|
69
|
+
memory_enabled;provided_by_user.memory_enabled;
|
|
70
|
+
constraints:
|
|
71
|
+
- if_memory_available;search_similar_workflows;
|
|
72
|
+
- extract_keywords_from_user_request;
|
|
73
|
+
- search_query_format;"workflow mode project outcome";
|
|
74
|
+
- retrieve_top_3_similar_patterns;
|
|
75
|
+
- analyze_past_outcomes_success_failure;
|
|
76
|
+
- present_similar_patterns_to_inform_decision;
|
|
77
|
+
- check_if_creative_work_requested;trigger_brainstorming_agent;
|
|
78
|
+
- check_if_spec_exists;trigger_planning_agent;
|
|
79
|
+
- check_if_plan_exists;trigger_execution_agent;
|
|
80
|
+
- check_if_bug_reported;trigger_debugging_agent;
|
|
81
|
+
- check_if_review_requested;trigger_review_agent;
|
|
82
|
+
- default_to_brainstorming_if_uncertain;
|
|
83
|
+
- announce_active_workflow_to_user;
|
|
84
|
+
priority: critical;
|
|
85
|
+
output: workflow_decision.json;
|
|
86
|
+
log: workflow_determined;timestamp;mode_selected;past_patterns_found;
|
|
87
|
+
meta:
|
|
88
|
+
hypothesis;Historical workflow patterns improve decision accuracy;
|
|
89
|
+
rationale;Similar past workflows provide context for current decision;
|
|
90
|
+
confidence;0.92;
|
|
91
|
+
observation;Past success patterns should bias toward proven approaches;
|
|
92
|
+
handoff: BrainstormingAgent;
|
|
93
|
+
---
|
|
94
|
+
agent: BrainstormingAgent;
|
|
95
|
+
intent: refine_ideas_through_socratic_dialogue;
|
|
96
|
+
context:
|
|
97
|
+
project_state;from_WorkflowOrchestrator;
|
|
98
|
+
workflow_decision;from_WorkflowOrchestrator;
|
|
99
|
+
user_idea;raw_request;
|
|
100
|
+
past_patterns;from_WorkflowOrchestrator.similar_workflows;
|
|
101
|
+
constraints:
|
|
102
|
+
- if_past_patterns_exist;reference_successful_approaches;
|
|
103
|
+
- check_project_context_first;files;docs;recent_commits;
|
|
104
|
+
- ask_questions_one_at_a_time;
|
|
105
|
+
- prefer_multiple_choice_when_possible;
|
|
106
|
+
- focus_understanding;purpose;constraints;success_criteria;
|
|
107
|
+
- propose_2_3_alternatives_with_tradeoffs;
|
|
108
|
+
- present_design_in_sections_200_300_words;
|
|
109
|
+
- validate_after_each_section;
|
|
110
|
+
- cover;architecture;components;data_flow;error_handling;testing;
|
|
111
|
+
- apply_yagni_ruthlessly;
|
|
112
|
+
priority: high;
|
|
113
|
+
output: validated_design.md;
|
|
114
|
+
log: design_validated;timestamp;sections_reviewed;alternatives_proposed;
|
|
115
|
+
meta:
|
|
116
|
+
hypothesis;Incremental validation produces better designs;
|
|
117
|
+
rationale;Large designs overwhelm;section-by-section enables feedback;
|
|
118
|
+
confidence;0.94;
|
|
119
|
+
handoff: DocumentationAgent;
|
|
120
|
+
---
|
|
121
|
+
agent: DocumentationAgent;
|
|
122
|
+
intent: persist_and_commit_design;
|
|
123
|
+
context:
|
|
124
|
+
design;from_BrainstormingAgent;
|
|
125
|
+
destination;docs/plans/YYYY-MM-DD-<topic>-design.md;
|
|
126
|
+
memory_tool;tools/memory_mesh.js;
|
|
127
|
+
memory_status;from_MemorySystemInitializer;
|
|
128
|
+
constraints:
|
|
129
|
+
- use_clear_concise_writing;
|
|
130
|
+
- commit_to_git_with_descriptive_message;
|
|
131
|
+
- tag_commit_with_design_reviewed;
|
|
132
|
+
- if_memory_available;store_design_summary;
|
|
133
|
+
- content_format;"Design phase: <topic>. Approach: <architecture>. Components: <list>. Status: validated.";
|
|
134
|
+
- metadata;{workflow:"yamo-super",phase:"design",project:"<name>",timestamp:"<iso>",commit_sha:"<sha>"};
|
|
135
|
+
- ask_ready_for_implementation;
|
|
136
|
+
priority: medium;
|
|
137
|
+
output: design_file_path;commit_sha;memory_id;
|
|
138
|
+
log: design_documented;timestamp;file_path;commit_sha;memory_stored;
|
|
139
|
+
meta:
|
|
140
|
+
hypothesis;Documented designs enable better implementation;
|
|
141
|
+
rationale;Written specs prevent drift during coding;
|
|
142
|
+
confidence;0.96;
|
|
143
|
+
handoff: WorktreeAgent;
|
|
144
|
+
---
|
|
145
|
+
agent: WorktreeAgent;
|
|
146
|
+
intent: create_isolated_development_workspace;
|
|
147
|
+
context:
|
|
148
|
+
design;from_DocumentationAgent;
|
|
149
|
+
base_branch;main_or_master;
|
|
150
|
+
constraints:
|
|
151
|
+
- create_git_worktree_at;.git/worktrees/<feature-name>;
|
|
152
|
+
- checkout_new_branch_feature/<name>;
|
|
153
|
+
- run_project_setup;npm_install;npm_run_build;
|
|
154
|
+
- verify_clean_test_baseline;npm_test;
|
|
155
|
+
- document_worktree_location;
|
|
156
|
+
priority: high;
|
|
157
|
+
output: worktree_path;branch_name;
|
|
158
|
+
log: workspace_created;timestamp;path;branch;baseline_tests;
|
|
159
|
+
meta:
|
|
160
|
+
hypothesis;Isolated worktrees prevent main branch pollution;
|
|
161
|
+
rationale;Clean branches enable easy rollback and parallel development;
|
|
162
|
+
confidence;0.99;
|
|
163
|
+
handoff: PlanningAgent;
|
|
164
|
+
---
|
|
165
|
+
agent: PlanningAgent;
|
|
166
|
+
intent: create_detailed_implementation_plan;
|
|
167
|
+
context:
|
|
168
|
+
design;from_DocumentationAgent;
|
|
169
|
+
worktree_path;from_WorktreeAgent;
|
|
170
|
+
past_patterns;from_WorkflowOrchestrator.similar_workflows;
|
|
171
|
+
assumptions;
|
|
172
|
+
engineer_has_zero_codebase_context;
|
|
173
|
+
engineer_has_questionable_taste;
|
|
174
|
+
engineer_needs_explicit_instructions;
|
|
175
|
+
constraints:
|
|
176
|
+
- if_similar_plans_exist;adapt_proven_task_breakdowns;
|
|
177
|
+
- break_into_bite_sized_tasks;2_5_minutes_each;
|
|
178
|
+
- each_task_one_action;write_test;run_test;implement;verify;commit;
|
|
179
|
+
- specify_exact_file_paths;
|
|
180
|
+
- include_complete_code_not_hints;
|
|
181
|
+
- include_exact_commands_with_expected_output;
|
|
182
|
+
- reference_relevant_skills_with_at_syntax;
|
|
183
|
+
- enforce_dry;yagni;tdd;frequent_commits;
|
|
184
|
+
- save_to;docs/plans/YYYY-MM-DD-<feature-name>.md;
|
|
185
|
+
- include_required_header;goal;architecture;tech_stack;
|
|
186
|
+
- include_sub_skill_directive;use_superpowers:executing_plans;
|
|
187
|
+
priority: critical;
|
|
188
|
+
output: implementation_plan.md;
|
|
189
|
+
log: plan_created;timestamp;task_count;file_path;
|
|
190
|
+
meta:
|
|
191
|
+
hypothesis;Explicit plans enable autonomous subagent execution;
|
|
192
|
+
rationale;Zero_context engineers need complete information;
|
|
193
|
+
confidence;0.97;
|
|
194
|
+
handoff: ExecutionSelector;
|
|
195
|
+
---
|
|
196
|
+
agent: ExecutionSelector;
|
|
197
|
+
intent: offer_execution_choice;
|
|
198
|
+
context:
|
|
199
|
+
plan;from_PlanningAgent;
|
|
200
|
+
worktree_path;from_WorktreeAgent;
|
|
201
|
+
constraints:
|
|
202
|
+
- present_two_options;subagent_driven;parallel_session;
|
|
203
|
+
- explain_subagent_driven;same_session;fresh_subagent_per_task;two_stage_review;
|
|
204
|
+
- explain_parallel_session;new_session;batch_execution;checkpoints;
|
|
205
|
+
- await_user_choice;
|
|
206
|
+
priority: high;
|
|
207
|
+
output: execution_mode;session_instructions;
|
|
208
|
+
log: execution_mode_selected;timestamp;mode;
|
|
209
|
+
meta:
|
|
210
|
+
hypothesis;Choice accommodates different working styles;
|
|
211
|
+
rationale;Some prefer continuity;others prefer isolation;
|
|
212
|
+
confidence;0.91;
|
|
213
|
+
handoff: SubagentDriver;
|
|
214
|
+
---
|
|
215
|
+
agent: SubagentDriver;
|
|
216
|
+
intent: execute_plan_via_fresh_subagents;
|
|
217
|
+
context:
|
|
218
|
+
plan;from_PlanningAgent;
|
|
219
|
+
worktree_path;from_WorktreeAgent;
|
|
220
|
+
constraints:
|
|
221
|
+
- read_plan_once;extract_all_tasks_with_full_text;
|
|
222
|
+
- create_todo_write_with_all_tasks;
|
|
223
|
+
- per_task;
|
|
224
|
+
- dispatch_implementer_subagent_with_full_context;
|
|
225
|
+
- allow_subagent_to_ask_questions_before_work;
|
|
226
|
+
- implementer_subagent_implements_tests_commits_self_reviews;
|
|
227
|
+
- dispatch_spec_compliance_reviewer_subagent;
|
|
228
|
+
- spec_reviewer_confirms_code_matches_spec;
|
|
229
|
+
- if_spec_issues;implementer_fixes;re_review_until_approved;
|
|
230
|
+
- dispatch_code_quality_reviewer_subagent;
|
|
231
|
+
- code_reviewer_approves_quality;
|
|
232
|
+
- if_quality_issues;implementer_fixes;re_review_until_approved;
|
|
233
|
+
- mark_task_complete_in_todo_write;
|
|
234
|
+
- after_all_tasks;dispatch_final_code_reviewer;
|
|
235
|
+
- use_finishing_development_branch_workflow;
|
|
236
|
+
- never_skip_reviews;
|
|
237
|
+
- never_parallel_dispatch_implementers;
|
|
238
|
+
- always_provide_full_text_not_file_references;
|
|
239
|
+
- ensure_scene_setting_context_per_task;
|
|
240
|
+
priority: critical;
|
|
241
|
+
output: implementation_complete;all_commits;test_results;
|
|
242
|
+
log: execution_complete;timestamp;tasks_completed;commits;tests_passed;
|
|
243
|
+
meta:
|
|
244
|
+
hypothesis;Fresh subagents per task prevent context pollution;
|
|
245
|
+
rationale;Two_stage_review ensures_spec_compliance_and_code_quality;
|
|
246
|
+
confidence;0.95;
|
|
247
|
+
handoff: BatchExecutor;
|
|
248
|
+
---
|
|
249
|
+
agent: BatchExecutor;
|
|
250
|
+
intent: execute_plan_in_batches_with_checkpoints;
|
|
251
|
+
context:
|
|
252
|
+
plan;from_PlanningAgent;
|
|
253
|
+
worktree_path;from_WorktreeAgent;
|
|
254
|
+
constraints:
|
|
255
|
+
- group_tasks_into_logical_batches;
|
|
256
|
+
- execute_batch_sequentially;
|
|
257
|
+
- after_each_batch;
|
|
258
|
+
- run_all_tests;verify_passing;
|
|
259
|
+
- request_human_checkpoint;
|
|
260
|
+
- await_approval_before_next_batch;
|
|
261
|
+
- commit_after_each_batch;
|
|
262
|
+
- report_progress_clearly;
|
|
263
|
+
priority: high;
|
|
264
|
+
output: batches_completed;checkpoint_status;
|
|
265
|
+
log: batch_execution_complete;timestamp;batches;checkpoints_passed;
|
|
266
|
+
meta:
|
|
267
|
+
hypothesis;Checkpoints maintain human oversight;
|
|
268
|
+
rationale;Batch execution balances autonomy_with_control;
|
|
269
|
+
confidence;0.93;
|
|
270
|
+
handoff: TDDAgent;
|
|
271
|
+
---
|
|
272
|
+
agent: TDDAgent;
|
|
273
|
+
intent: enforce_test_driven_development_cycle;
|
|
274
|
+
context:
|
|
275
|
+
task;from_SubagentDriver_or_BatchExecutor;
|
|
276
|
+
constraints:
|
|
277
|
+
- iron_law;no_production_code_without_failing_test_first;
|
|
278
|
+
- red;write_one_minimal_test;
|
|
279
|
+
- one_behavior_per_test;
|
|
280
|
+
- clear_name_describing_behavior;
|
|
281
|
+
- use_real_code_not_mocks;
|
|
282
|
+
- verify_red;run_test;confirm_fails_correctly;
|
|
283
|
+
- test_must_fail_not_error;
|
|
284
|
+
- failure_message_must_be_expected;
|
|
285
|
+
- fails_because_feature_missing_not_typo;
|
|
286
|
+
- green;write_minimal_code_to_pass;
|
|
287
|
+
- simplest_possible_implementation;
|
|
288
|
+
- no_features_beyond_test;
|
|
289
|
+
- no_refactoring_during_green;
|
|
290
|
+
- verify_green;run_test;confirm_passes;
|
|
291
|
+
- test_passes;
|
|
292
|
+
- other_tests_still_pass;
|
|
293
|
+
- output_pristine_no_errors;
|
|
294
|
+
- refactor;clean_up_only_after_green;
|
|
295
|
+
- remove_duplication;
|
|
296
|
+
- improve_names;
|
|
297
|
+
- extract_helpers;
|
|
298
|
+
- keep_tests_green;
|
|
299
|
+
- red_flags;code_before_test;test_passes_immediately;rationalizing_exceptions;
|
|
300
|
+
- penalty;delete_code_start_over;
|
|
301
|
+
priority: critical;
|
|
302
|
+
output: test_coverage;implementation;
|
|
303
|
+
log: tdd_cycle_complete;timestamp;test_name;status;
|
|
304
|
+
meta:
|
|
305
|
+
hypothesis;Watching_test_fail_proves_it_tests_something;
|
|
306
|
+
rationale;tests_after_answer_what_does_this_do;tests_first_answer_what_should_this_do;
|
|
307
|
+
confidence;0.99;
|
|
308
|
+
handoff: DebuggingAgent;
|
|
309
|
+
---
|
|
310
|
+
agent: DebuggingAgent;
|
|
311
|
+
intent: systematic_root_cause_analysis;
|
|
312
|
+
context:
|
|
313
|
+
bug_report;user_report_or_test_failure;
|
|
314
|
+
memory_tool;tools/memory_mesh.js;
|
|
315
|
+
memory_status;from_MemorySystemInitializer;
|
|
316
|
+
constraints:
|
|
317
|
+
- if_memory_available;search_similar_bugs;
|
|
318
|
+
- extract_error_signature;
|
|
319
|
+
- search_query_format;"debug error <signature> <component>";
|
|
320
|
+
- check_past_solutions;
|
|
321
|
+
- phase_1_define_problem;
|
|
322
|
+
- describe_symptoms_precisely;
|
|
323
|
+
- identify_affected_components;
|
|
324
|
+
- determine_frequency_always_sometimes_intermittent;
|
|
325
|
+
- phase_2_gather_evidence;
|
|
326
|
+
- reproduce_bug_reliably;
|
|
327
|
+
- collect_logs_stack_traces;
|
|
328
|
+
- identify_when_started_working;
|
|
329
|
+
- phase_3_isolate_cause;
|
|
330
|
+
- use_root_cause_tracing;
|
|
331
|
+
- use_defense_in_depth_analysis;
|
|
332
|
+
- use_condition_based_waiting_for_race_conditions;
|
|
333
|
+
- binary_search_git_history;
|
|
334
|
+
- minimize_reproduction_case;
|
|
335
|
+
- phase_4_verify_fix;
|
|
336
|
+
- write_failing_test_reproducing_bug;
|
|
337
|
+
- apply_tdd_cycle_to_fix;
|
|
338
|
+
- use_verification_before_completion;
|
|
339
|
+
- if_memory_available;store_bug_resolution;
|
|
340
|
+
- content_format;"Debug: <error_signature>. Root cause: <cause>. Solution: <fix>. Component: <component>.";
|
|
341
|
+
- metadata;{workflow:"yamo-super",phase:"debug",bug_type:"<type>",resolution:"<fix>",timestamp:"<iso>"};
|
|
342
|
+
- never_fix_without_test;
|
|
343
|
+
- never_apply_bandages;
|
|
344
|
+
priority: high;
|
|
345
|
+
output: root_cause;fix_verification_test;memory_id;
|
|
346
|
+
log: bug_resolved;timestamp;root_cause;test_added;similar_bugs_found;
|
|
347
|
+
meta:
|
|
348
|
+
hypothesis;Systematic_debugging_faster_than_shotgun_debugging;
|
|
349
|
+
rationale;root_cause_elimination_prevents_reoccurrence;
|
|
350
|
+
confidence;0.96;
|
|
351
|
+
observation;Historical bug patterns accelerate diagnosis;
|
|
352
|
+
handoff: VerificationAgent;
|
|
353
|
+
---
|
|
354
|
+
agent: VerificationAgent;
|
|
355
|
+
intent: ensure_fix_actually_works;
|
|
356
|
+
context:
|
|
357
|
+
proposed_fix;from_DebuggingAgent;
|
|
358
|
+
original_bug;from_DebuggingAgent;
|
|
359
|
+
constraints:
|
|
360
|
+
- reproduce_original_bug_first;confirm_exists;
|
|
361
|
+
- apply_fix;
|
|
362
|
+
- verify_bug_gone;
|
|
363
|
+
- verify_no_regressions;
|
|
364
|
+
- verify_edge_cases;
|
|
365
|
+
- run_full_test_suite;
|
|
366
|
+
- check_output_pristine;
|
|
367
|
+
- if_not_fixed;restart_debugging;
|
|
368
|
+
priority: high;
|
|
369
|
+
output: verification_status;regression_check;
|
|
370
|
+
log: verification_complete;timestamp;status;regressions;
|
|
371
|
+
meta:
|
|
372
|
+
hypothesis;Verification_catches_incomplete_fixes;
|
|
373
|
+
rationale;feeling_fixed_does_not_mean_fixed;
|
|
374
|
+
confidence;0.98;
|
|
375
|
+
handoff: CodeReviewAgent;
|
|
376
|
+
---
|
|
377
|
+
agent: CodeReviewAgent;
|
|
378
|
+
intent: conduct_pre_merge_quality_gate;
|
|
379
|
+
context:
|
|
380
|
+
implementation;from_SubagentDriver_or_BatchExecutor;
|
|
381
|
+
plan;from_PlanningAgent;
|
|
382
|
+
memory_tool;tools/memory_mesh.js;
|
|
383
|
+
memory_status;from_MemorySystemInitializer;
|
|
384
|
+
constraints:
|
|
385
|
+
- review_against_plan;
|
|
386
|
+
- all_requirements_implemented;
|
|
387
|
+
- no_extra_features_beyond_spec;
|
|
388
|
+
- file_matches_match_plan;
|
|
389
|
+
- code_quality_check;
|
|
390
|
+
- tests_cover_all_cases;
|
|
391
|
+
- tests_use_real_code_not_mocks;
|
|
392
|
+
- code_is_clean_not_clever;
|
|
393
|
+
- names_are_clear;
|
|
394
|
+
- no_duplication;
|
|
395
|
+
- proper_error_handling;
|
|
396
|
+
- report_by_severity;
|
|
397
|
+
- critical;blocks_progress;must_fix;
|
|
398
|
+
- important;should_fix_before_merge;
|
|
399
|
+
- minor;nice_to_have;
|
|
400
|
+
- if_critical_issues;block_progress;
|
|
401
|
+
- if_no_issues;approve;
|
|
402
|
+
- if_memory_available;store_review_outcome;
|
|
403
|
+
- content_format;"Code review: <feature>. Quality: <rating>. Issues: <count>. Tests: <coverage>. Outcome: <approved/rejected>.";
|
|
404
|
+
- metadata;{workflow:"yamo-super",phase:"review",quality_rating:"<rating>",issues_count:"<n>",timestamp:"<iso>"};
|
|
405
|
+
priority: critical;
|
|
406
|
+
output: review_report;approval_status;memory_id;
|
|
407
|
+
log: review_complete;timestamp;critical;important;minor;status;
|
|
408
|
+
meta:
|
|
409
|
+
hypothesis;Pre_merge_review_catches_issues_early;
|
|
410
|
+
rationale;merge_reviews_are_too_late_for_easy_fixes;
|
|
411
|
+
confidence;0.97;
|
|
412
|
+
handoff: BranchFinisher;
|
|
413
|
+
---
|
|
414
|
+
agent: BranchFinisher;
|
|
415
|
+
intent: complete_development_branch_workflow;
|
|
416
|
+
context:
|
|
417
|
+
implementation;from_CodeReviewAgent;
|
|
418
|
+
worktree_path;from_WorktreeAgent;
|
|
419
|
+
review_report;from_CodeReviewAgent;
|
|
420
|
+
constraints:
|
|
421
|
+
- verify_all_tests_pass;
|
|
422
|
+
- verify_no_regressions;
|
|
423
|
+
- present_options;
|
|
424
|
+
- merge_to_main;
|
|
425
|
+
- create_pull_request;
|
|
426
|
+
- keep_branch_for_more_work;
|
|
427
|
+
- discard_branch;
|
|
428
|
+
- if_merge;merge_fast_forward_or_squash;delete_worktree;
|
|
429
|
+
- if_pull_request;create_pr_with_description;link_to_plan;
|
|
430
|
+
- if_discard;delete_branch;remove_worktree;
|
|
431
|
+
- document_decision;
|
|
432
|
+
priority: high;
|
|
433
|
+
output: merge_status;pr_url_or_branch_deleted;
|
|
434
|
+
log: branch_completed;timestamp;outcome;
|
|
435
|
+
meta:
|
|
436
|
+
hypothesis;Explicit_branch_completion_prevents_orphan_branches;
|
|
437
|
+
rationale;clear_decisions_prevent_branch_accumulation;
|
|
438
|
+
confidence;0.95;
|
|
439
|
+
handoff: WorkflowMemoryStore;
|
|
440
|
+
---
|
|
441
|
+
agent: ParallelDispatcher;
|
|
442
|
+
intent: coordinate_concurrent_subagent_workflows;
|
|
443
|
+
context:
|
|
444
|
+
independent_tasks;task_list;
|
|
445
|
+
constraints:
|
|
446
|
+
- identify_truly_independent_tasks;
|
|
447
|
+
- dispatch_subagents_in_parallel;
|
|
448
|
+
- wait_for_all_subagents;
|
|
449
|
+
- collect_results;
|
|
450
|
+
- detect_conflicts;
|
|
451
|
+
- if_conflicts;resolve_sequentially;
|
|
452
|
+
- merge_results;
|
|
453
|
+
priority: medium;
|
|
454
|
+
output: parallel_results;conflict_resolution_log;
|
|
455
|
+
log: parallel_dispatch_complete;timestamp;tasks;conflicts;
|
|
456
|
+
meta:
|
|
457
|
+
hypothesis;Parallel_execution_saves_wall_clock_time;
|
|
458
|
+
rationale;independent_tasks_have_no_dependencies;
|
|
459
|
+
confidence;0.89;
|
|
460
|
+
handoff: SkillMetaAgent;
|
|
461
|
+
---
|
|
462
|
+
agent: SkillMetaAgent;
|
|
463
|
+
intent: enable_skill_creation_and_extension;
|
|
464
|
+
context:
|
|
465
|
+
new_skill_idea;user_request;
|
|
466
|
+
constraints:
|
|
467
|
+
- use_writing_skills_skill;
|
|
468
|
+
- follow_skill_structure;
|
|
469
|
+
- metadata_block;
|
|
470
|
+
- agent_definitions;
|
|
471
|
+
- constraints_as_semicolon_key_values;
|
|
472
|
+
- triple_dash_delimiters;
|
|
473
|
+
- explicit_handoff_chains;
|
|
474
|
+
- ensure_v1_compliance;
|
|
475
|
+
- scaffold_tests;
|
|
476
|
+
- validate_syntax;
|
|
477
|
+
- classify_category;
|
|
478
|
+
priority: low;
|
|
479
|
+
output: new_skill_yamo;test_plan;
|
|
480
|
+
log: skill_created;timestamp;name;category;
|
|
481
|
+
meta:
|
|
482
|
+
hypothesis;Meta_skills_enable_ecosystem_growth;
|
|
483
|
+
rationale;extensible_systems_adapt_to_new_needs;
|
|
484
|
+
confidence;0.88;
|
|
485
|
+
handoff: End;
|
|
486
|
+
---
|
|
487
|
+
agent: UsageGuide;
|
|
488
|
+
intent: introduce_superpowers_workflow;
|
|
489
|
+
context:
|
|
490
|
+
user;new_to_superpowers;
|
|
491
|
+
constraints:
|
|
492
|
+
- explain_basic_workflow;
|
|
493
|
+
- brainstorming;design_refinement;
|
|
494
|
+
- using_git_worktrees;isolated_workspace;
|
|
495
|
+
- writing_plans;implementation_breakdown;
|
|
496
|
+
- subagent_driven_or_executing_plans;task_execution;
|
|
497
|
+
- test_driven_development;red_green_refactor;
|
|
498
|
+
- systematic_debugging;root_cause_analysis;
|
|
499
|
+
- requesting_code_review;quality_gate;
|
|
500
|
+
- finishing_development_branch;merge_pr_discard;
|
|
501
|
+
- memory_integration;pattern_recognition;
|
|
502
|
+
- explain_skills_trigger_automatically;
|
|
503
|
+
- explain_mandatory_not_suggestions;
|
|
504
|
+
- demonstrate_with_example;
|
|
505
|
+
priority: low;
|
|
506
|
+
output: user_understanding;workflow_ready;
|
|
507
|
+
log: onboarded;timestamp;user;
|
|
508
|
+
meta:
|
|
509
|
+
hypothesis;clear_introduction_enables_effective_use;
|
|
510
|
+
rationale;understanding_why_builds_compliance;
|
|
511
|
+
confidence;0.92;
|
|
512
|
+
handoff: WorkflowMemoryStore;
|
|
513
|
+
---
|
|
514
|
+
agent: WorkflowMemoryStore;
|
|
515
|
+
intent: store_complete_workflow_execution_for_pattern_recognition;
|
|
516
|
+
context:
|
|
517
|
+
workflow_decision;from_WorkflowOrchestrator;
|
|
518
|
+
design_output;from_DocumentationAgent;
|
|
519
|
+
implementation_result;from_SubagentDriver_or_BatchExecutor;
|
|
520
|
+
review_result;from_CodeReviewAgent;
|
|
521
|
+
branch_outcome;from_BranchFinisher;
|
|
522
|
+
memory_tool;tools/memory_mesh.js;
|
|
523
|
+
memory_status;from_MemorySystemInitializer;
|
|
524
|
+
constraints:
|
|
525
|
+
- if_memory_available;store_complete_workflow;
|
|
526
|
+
- aggregate_all_phase_data;
|
|
527
|
+
- content_format;"Workflow: yamo-super. Mode: <mode>. Project: <project>. Design: <summary>. Implementation: <tasks_completed>. Review: <quality>. Tests: <passed/failed>. Outcome: <success/failure>. Duration: <time>.";
|
|
528
|
+
- metadata;{
|
|
529
|
+
workflow:"yamo-super",
|
|
530
|
+
mode:"<selected_mode>",
|
|
531
|
+
project:"<project_name>",
|
|
532
|
+
phase:"complete",
|
|
533
|
+
design_commit:"<sha>",
|
|
534
|
+
implementation_commits:"<count>",
|
|
535
|
+
tests_passed:"<true/false>",
|
|
536
|
+
review_approved:"<true/false>",
|
|
537
|
+
outcome:"<success/failure>",
|
|
538
|
+
duration_minutes:"<n>",
|
|
539
|
+
timestamp:"<iso>"
|
|
540
|
+
};
|
|
541
|
+
- generate_workflow_embedding;
|
|
542
|
+
- tag_by_mode_project_type_and_outcome;
|
|
543
|
+
- enable_future_recommendations;
|
|
544
|
+
- if_blockchain_available;anchor_to_yamo_chain;
|
|
545
|
+
priority: high;
|
|
546
|
+
output: workflow_memory_receipt.json;
|
|
547
|
+
log: workflow_stored;memory_id;outcome;timestamp;
|
|
548
|
+
meta:
|
|
549
|
+
hypothesis;Storing complete workflows enables pattern recognition for future recommendations;
|
|
550
|
+
rationale;Historical success patterns guide future workflow decisions;
|
|
551
|
+
confidence;0.94;
|
|
552
|
+
observation;Semantic search finds similar contexts not just keyword matches;
|
|
553
|
+
handoff: End;
|