@yamo/memory-mesh 3.1.2 → 3.1.4

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 CHANGED
@@ -1,4 +1,4 @@
1
- # MemoryMesh (v3.1.0 Singularity Edition)
1
+ # MemoryMesh (Singularity Edition)
2
2
 
3
3
  Portable, semantic memory system for AI agents with automatic Layer 0 sanitization and **Autonomous Kernel Integration**.
4
4
 
@@ -7,7 +7,7 @@ Built on the [YAMO Protocol](https://github.com/yamo-protocol) for transparent a
7
7
  ## 🌌 Singularity Edition Highlights
8
8
 
9
9
  - **Intelligent Installer**: Automatically detects OpenClaw workspaces and performs a full kernel upgrade.
10
- - **YAMO Unified OS (v3.0)**: Natively includes the complete Macro (Specification) and Micro (Execution) workflow suite.
10
+ - **YAMO Unified OS**: Natively includes the complete Macro (Specification) and Micro (Execution) workflow suite.
11
11
  - **Ghost Protection**: Self-healing `AGENTS.md` injection to prevent narrative drift and maintain cognitive alignment.
12
12
  - **Autonomous Bootstrap**: Deploys `BOOTSTRAP.yamo` as the primary agent entry point for protocol-native execution.
13
13
  - **Surgical Deployment**: Intelligently skips global CLI clutter when working in project-specific modes.
@@ -33,7 +33,7 @@ npm install @yamo/memory-mesh
33
33
 
34
34
  ### šŸš€ Singularity Setup (OpenClaw)
35
35
 
36
- To upgrade your workspace to v3.1 fidelity:
36
+ To upgrade your workspace to full fidelity:
37
37
 
38
38
  ```bash
39
39
  npx memory-mesh-setup
package/bin/setup.js CHANGED
@@ -262,6 +262,7 @@ async function installTools(env) {
262
262
  }
263
263
 
264
264
  function showUsage(env) {
265
+ const pkg = JSON.parse(readFileSync(join(packageRoot, 'package.json'), 'utf-8'));
265
266
  log('\n✨ Setup Complete!', 'bright');
266
267
 
267
268
  if (env.isOpenClaw) {
@@ -269,11 +270,13 @@ function showUsage(env) {
269
270
  log(' • Ghost Protection active in AGENTS.md', 'cyan');
270
271
  log(' • Kernel entry point: BOOTSTRAP.yamo', 'cyan');
271
272
  log(' • Modules deployed to: yamo-native-agent/', 'cyan');
273
+ log(` • Version: ${pkg.version}`, 'cyan');
272
274
  log(' • REFRESH SESSION to activate v3.0 fidelity.', 'cyan');
273
275
  } else {
274
276
  log('\nšŸ“š STANDARD MODE:', 'blue');
275
277
  log(' • Skills installed to Claude/Gemini', 'blue');
276
278
  log(' • Use /yamo-super to start workflows', 'blue');
279
+ log(` • Version: ${pkg.version}`, 'blue');
277
280
  }
278
281
 
279
282
  log('\nšŸ”§ Tools:', 'blue');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamo/memory-mesh",
3
- "version": "3.1.2",
3
+ "version": "3.1.4",
4
4
  "description": "Portable semantic memory system with Layer 0 Scrubber for YAMO agents (v3 Singularity Edition)",
5
5
  "type": "module",
6
6
  "main": "lib/memory/index.js",
package/skills/SKILL.md CHANGED
@@ -1,553 +1,138 @@
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 this yamo skill.
3
+ description: The execution engine for the YAMO Unified OS. Orchestrates the complete lifecycle from Idea (Macro) to Tested Code (Micro) with Zero-JSON state passing and semantic heritage.
4
4
  ---
5
5
 
6
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;
7
+ name;YamoUnifiedOS;
8
+ version;3.0.0;
9
+ description;The Universal Agent Core merging Macro-Orchestration (SDD) with Micro-Execution (YamoSuper) into a single, unbroken semantic chain.;
10
+ author;Soverane Labs;
11
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;
12
+ tags;orchestrator;unified;sdd;yamosuper;llm-first;yamo-v3;memory;
13
+ capabilities;orchestrate_global_lifecycle;bridge_spec_to_code;enforce_constitutional_discipline;manage_feedback_loops;use_llm_first_state_passing;semantic_memory;
14
14
  parameters:
15
- workflow_mode:
15
+ request:
16
+ type;string;
17
+ required;true;
18
+ description;The feature idea or bug report;
19
+ execution_mode:
16
20
  type;string;
17
21
  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;
22
+ default;full;
23
+ description;How deep to go into the lifecycle: specification, planning, implementation, full;
24
+ enum;specification;planning;implementation;full;
29
25
  environment:
30
26
  requires_filesystem;true;
31
27
  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;
28
+ notes;Operates under the Singularity Kernel v3.0 protocol. Stores execution history in Memory Mesh via tools/memory_mesh.mjs;
33
29
  dependencies:
34
30
  required:
35
31
  - 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;
32
+ - Node >= 18.0.0
33
+ - MemoryMesh >=3.1.0;
34
+ - {working_directory}/tools/memory_mesh.mjs;
60
35
  ---
61
- agent: WorkflowOrchestrator;
62
- intent: determine_workflow_entry_point_with_historical_context;
36
+ agent: GlobalInitiator;
37
+ intent: initialize_unified_lifecycle_context;
63
38
  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;
39
+ request;provided_by_user.request;
40
+ execution_mode;provided_by_user.execution_mode;
41
+ foundation;foundational/yamo-unified-foundation.yamo;
42
+ state_mode;llm_first;
70
43
  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;
44
+ - load_unified_foundation;required;
45
+ - initialize_semantic_heritage;hypothesis;rationale;
46
+ - determine_pathway;macro_only_or_full_lifecycle;
84
47
  priority: critical;
85
- output: workflow_decision.json;
86
- log: workflow_determined;timestamp;mode_selected;past_patterns_found;
48
+ output: global_initialization_context.yamo;
49
+ log: unified_os_initialized;mode;timestamp;
87
50
  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;
51
+ hypothesis;A unified context chain prevents the loss of intent during the spec-to-code transition;
52
+ rationale;Disconnected tools create information silos; unification creates semantic flow;
53
+ confidence;0.98;
54
+ handoff: SubconsciousReflector;
144
55
  ---
145
- agent: WorktreeAgent;
146
- intent: create_isolated_development_workspace;
56
+ agent: SubconsciousReflector;
57
+ intent: query_memory_mesh_for_past_oversights;
147
58
  context:
148
- design;from_DocumentationAgent;
149
- base_branch;main_or_master;
59
+ init;global_initialization_context.yamo;
60
+ search_tag;"#lesson_learned";
61
+ tool;tools/memory_mesh.mjs;
150
62
  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;
63
+ - search_similar_past_contexts;based_on_request;
64
+ - extract_preventative_constraints;from_lessons;
65
+ - inject_constraints_into_macro_context;required;
66
+ - meta_rationale;Learning from past mistakes is the only way to achieve senior-level reliability;
156
67
  priority: high;
157
- output: worktree_path;branch_name;
158
- log: workspace_created;timestamp;path;branch;baseline_tests;
68
+ output: subconscious_reflection_context.yamo;
159
69
  meta:
160
- hypothesis;Isolated worktrees prevent main branch pollution;
161
- rationale;Clean branches enable easy rollback and parallel development;
70
+ hypothesis;Proactive reflection prevents the repetition of previous architectural errors;
162
71
  confidence;0.99;
163
- handoff: PlanningAgent;
72
+ handoff: MacroWorkflowInvoker;
164
73
  ---
165
- agent: PlanningAgent;
166
- intent: create_detailed_implementation_plan;
74
+ agent: MacroWorkflowInvoker;
75
+ intent: invoke_macro_sdd_layer;
167
76
  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;
77
+ init;subconscious_reflection_context.yamo;
78
+ workflows:
79
+ specification;macro/specification-workflow.yamo;
80
+ planning;macro/planning-workflow.yamo;
175
81
  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;
82
+ - execute_specification_phase;idea_to_prd;
83
+ - execute_macro_planning_phase;prd_to_roadmap;
84
+ - enforce_macro_quality_gates;specification_and_compliance;
85
+ - stop_here;if_mode_is_specification_or_planning;
206
86
  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;
87
+ output: macro_results_context.yamo;
88
+ handoff: MicroWorkflowInvoker;
89
+ ---
90
+ agent: MicroWorkflowInvoker;
91
+ intent: invoke_micro_yamosuper_layer;
92
+ context:
93
+ macro_results;macro_results_context.yamo;
94
+ workflows:
95
+ implementation;micro/implementation-tdd.yamo;
96
+ debugging;micro/debugging-verification.yamo;
97
+ review;micro/review-closure.yamo;
98
+ constraints:
99
+ - transform_roadmap_to_tdd_tasks;semantic_inheritance_required;
100
+ - execute_tdd_cycles;red_green_refactor;
101
+ - enforce_micro_quality_gates;implementation_and_audit;
102
+ - if_critical_logic_error;optionally_return_to_macro_planning;
240
103
  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;
104
+ output: micro_results_context.yamo;
105
+ handoff: UnifiedReporter;
248
106
  ---
249
- agent: BatchExecutor;
250
- intent: execute_plan_in_batches_with_checkpoints;
107
+ agent: UnifiedReporter;
108
+ intent: generate_global_lifecycle_report;
251
109
  context:
252
- plan;from_PlanningAgent;
253
- worktree_path;from_WorktreeAgent;
110
+ macro;macro_results_context.yamo;
111
+ micro;micro_results_context.yamo;
254
112
  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;
113
+ - trace_intent_from_spec_to_code;
114
+ - report_constitutional_compliance_summary;
115
+ - document_hypotheses_validated_vs_rejected;
116
+ - report_zero_json_status;must_be_zero_json;
263
117
  priority: high;
264
- output: batches_completed;checkpoint_status;
265
- log: batch_execution_complete;timestamp;batches;checkpoints_passed;
118
+ output: unified_lifecycle_report.md;
266
119
  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;
120
+ hypothesis;Traceability from spec to code proves cognitive alignment;
411
121
  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;
122
+ handoff: User;
486
123
  ---
487
124
  agent: UsageGuide;
488
- intent: introduce_superpowers_workflow;
125
+ intent: introduce_unified_os_workflow;
489
126
  context:
490
- user;new_to_superpowers;
127
+ user;new_to_singularity;
491
128
  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;
129
+ - explain_unified_architecture;
130
+ - macro_layer;idea_to_specification;planning;
131
+ - micro_layer;tdd_execution;debugging;review;
132
+ - explain_zero_json_mandate;
133
+ - demonstrate_semantic_heritage;how_intent_flows_to_code;
134
+ - explain_subconscious_reflection;proactive_oversight_checks;
505
135
  priority: low;
506
136
  output: user_understanding;workflow_ready;
507
137
  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
138
  handoff: End;