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