@yamo/memory-mesh 3.0.2 → 3.1.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 +28 -6
- package/bin/setup.js +214 -105
- package/lib/memory/memory-mesh.d.ts +12 -0
- package/lib/memory/memory-mesh.js +9 -0
- package/lib/memory/memory-mesh.ts +9 -0
- package/package.json +1 -1
- package/skills/BOOTSTRAP.yamo +29 -0
- package/skills/YAMO-UNIFIED-OS.md +45 -0
- package/skills/foundational/agent-soul.yamo +57 -0
- package/skills/foundational/yamo-unified-foundation.yamo +77 -0
- package/skills/macro/planning-workflow.yamo +176 -0
- package/skills/macro/specification-workflow.yamo +154 -0
- package/skills/micro/debugging-verification.yamo +70 -0
- package/skills/micro/discovery-analysis.yamo +72 -0
- package/skills/micro/implementation-tdd.yamo +73 -0
- package/skills/micro/planning-logic.yamo +72 -0
- package/skills/micro/review-closure.yamo +68 -0
- package/skills/yamo-unified-orchestrator.yamo +145 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: YamoSuperReview
|
|
3
|
+
version: 3.0.0
|
|
4
|
+
description: Review and closure workflow for YamoSuper v3. Final quality gate and cleanup.
|
|
5
|
+
author: Soverane Labs
|
|
6
|
+
license: MIT
|
|
7
|
+
tags: review, closure, git, quality, yamo-v3
|
|
8
|
+
module_type: workflow
|
|
9
|
+
dependencies:
|
|
10
|
+
- ../foundational/yamo-unified-foundation.yamo
|
|
11
|
+
---
|
|
12
|
+
🎯 Review & Closure Workflow v3.0.0 - Final Quality Gate & Workspace Cleanup
|
|
13
|
+
|
|
14
|
+
**Purpose**: Ensures the final output meets all standards and safely merges the changes into the main codebase.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
agent: ReviewInitiator;
|
|
18
|
+
intent: conduct_final_architectural_review;
|
|
19
|
+
context:
|
|
20
|
+
results;from_execution;
|
|
21
|
+
foundation;../foundational/yamo-unified-foundation.yamo;
|
|
22
|
+
constraints:
|
|
23
|
+
- verify_completeness;all_tasks_finished;
|
|
24
|
+
- verify_quality;lint;tests;types;
|
|
25
|
+
- check_against_initial_design;
|
|
26
|
+
priority: high;
|
|
27
|
+
output: final_review_context.yamo;
|
|
28
|
+
|
|
29
|
+
meta: observation;Final reviews catch context-drift that happens during implementation;
|
|
30
|
+
meta: rationale;Ensuring the solution still solves the original problem is critical;
|
|
31
|
+
meta: confidence;0.96;
|
|
32
|
+
|
|
33
|
+
handoff: ConstitutionalAuditor;
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
agent: ConstitutionalAuditor;
|
|
37
|
+
intent: audit_compliance_with_yamo_principles;
|
|
38
|
+
context:
|
|
39
|
+
review;from_ReviewInitiator;
|
|
40
|
+
constraints:
|
|
41
|
+
- verify_article_vii;simplicity_score;
|
|
42
|
+
- verify_article_viii;abstraction_check;
|
|
43
|
+
- verify_article_ix;integration_check;
|
|
44
|
+
priority: critical;
|
|
45
|
+
output: audit_results_context.yamo;
|
|
46
|
+
|
|
47
|
+
meta: rationale;Constitutional compliance is the long-term maintainability guarantee;
|
|
48
|
+
meta: confidence;0.97;
|
|
49
|
+
|
|
50
|
+
handoff: BranchCloser;
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
agent: BranchCloser;
|
|
54
|
+
intent: finalize_git_state_and_cleanup;
|
|
55
|
+
context:
|
|
56
|
+
audit;from_ConstitutionalAuditor;
|
|
57
|
+
constraints:
|
|
58
|
+
- offer_merge_options;fast_forward;squash;pr;
|
|
59
|
+
- delete_worktree_safely;
|
|
60
|
+
- store_final_patterns_in_memory_mesh;
|
|
61
|
+
priority: high;
|
|
62
|
+
output: session_closure_context.yamo;
|
|
63
|
+
|
|
64
|
+
meta: hypothesis;Clean workspaces reduce cognitive load for the next session;
|
|
65
|
+
meta: rationale;Lingering branches and worktrees create project entropy;
|
|
66
|
+
meta: confidence;0.98;
|
|
67
|
+
|
|
68
|
+
handoff: Orchestrator;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: YamoUnifiedOrchestrator
|
|
3
|
+
version: 3.0.0
|
|
4
|
+
description: The "Universal Agent Core" entry point. Orchestrates the complete lifecycle from Idea (Macro) to Tested Code (Micro).
|
|
5
|
+
author: Soverane Labs
|
|
6
|
+
license: MIT
|
|
7
|
+
tags: orchestrator, unified, sdd, yamosuper, llm-first, yamo-v3
|
|
8
|
+
module_type: orchestrator
|
|
9
|
+
dependencies:
|
|
10
|
+
- foundational/yamo-unified-foundation.yamo
|
|
11
|
+
- macro/specification-workflow.yamo
|
|
12
|
+
- macro/planning-workflow.yamo
|
|
13
|
+
- micro/implementation-tdd.yamo
|
|
14
|
+
- micro/debugging-verification.yamo
|
|
15
|
+
- micro/review-closure.yamo
|
|
16
|
+
capabilities:
|
|
17
|
+
- orchestrate_global_lifecycle
|
|
18
|
+
- bridge_spec_to_code
|
|
19
|
+
- enforce_constitutional_discipline
|
|
20
|
+
- manage_feedback_loops
|
|
21
|
+
- use_llm_first_state_passing
|
|
22
|
+
parameters:
|
|
23
|
+
request:
|
|
24
|
+
type: string
|
|
25
|
+
required: true
|
|
26
|
+
description: The feature idea or bug report
|
|
27
|
+
execution_mode:
|
|
28
|
+
type: string
|
|
29
|
+
required: false
|
|
30
|
+
default: full
|
|
31
|
+
enum: [specification, planning, implementation, full]
|
|
32
|
+
description: How deep to go into the lifecycle
|
|
33
|
+
---
|
|
34
|
+
🎯 YAMO Unified Orchestrator v3.0.0 - The Universal Agent Core
|
|
35
|
+
|
|
36
|
+
**Purpose**: Coordinates the handoff between high-level Specification (Macro) and low-level Implementation (Micro).
|
|
37
|
+
|
|
38
|
+
**Breaking Change**: Achieves the "Singularity of State" with Zero JSON throughout.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
agent: GlobalInitiator;
|
|
42
|
+
intent: initialize_unified_lifecycle_context;
|
|
43
|
+
context:
|
|
44
|
+
request;provided_by_user.request;
|
|
45
|
+
execution_mode;provided_by_user.execution_mode;
|
|
46
|
+
|
|
47
|
+
foundation;foundational/yamo-unified-foundation.yamo;
|
|
48
|
+
state_mode;llm_first;
|
|
49
|
+
|
|
50
|
+
constraints:
|
|
51
|
+
- load_unified_foundation;required;
|
|
52
|
+
- initialize_semantic_heritage;hypothesis;rationale;
|
|
53
|
+
- determine_pathway;macro_only_or_full_lifecycle;
|
|
54
|
+
|
|
55
|
+
priority: critical;
|
|
56
|
+
output: global_initialization_context.yamo;
|
|
57
|
+
log: unified_os_initialized;mode;timestamp;2026-02-15;
|
|
58
|
+
|
|
59
|
+
meta: hypothesis;A unified context chain prevents the loss of intent during the spec-to-code transition;
|
|
60
|
+
meta: rationale;Disconnected tools create "information silos"; unification creates "semantic flow";
|
|
61
|
+
meta: confidence;0.98;
|
|
62
|
+
|
|
63
|
+
handoff: SubconsciousReflector;
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
agent: SubconsciousReflector;
|
|
67
|
+
intent: query_memory_mesh_for_past_oversights;
|
|
68
|
+
context:
|
|
69
|
+
init;global_initialization_context.yamo;
|
|
70
|
+
search_tag;"#lesson_learned";
|
|
71
|
+
tool;tools/memory_mesh.mjs;
|
|
72
|
+
constraints:
|
|
73
|
+
- search_similar_past_contexts;based_on_request;
|
|
74
|
+
- extract_preventative_constraints;from_lessons;
|
|
75
|
+
- inject_constraints_into_macro_context;required;
|
|
76
|
+
- meta_rationale;Learning from past mistakes is the only way to achieve senior-level reliability;
|
|
77
|
+
priority: high;
|
|
78
|
+
output: subconscious_reflection_context.yamo;
|
|
79
|
+
|
|
80
|
+
meta: hypothesis;Proactive reflection prevents the repetition of previous architectural errors;
|
|
81
|
+
meta: confidence;0.99;
|
|
82
|
+
|
|
83
|
+
handoff: MacroWorkflowInvoker;
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
agent: MacroWorkflowInvoker;
|
|
87
|
+
intent: invoke_macro_sdd_layer;
|
|
88
|
+
context:
|
|
89
|
+
init;subconscious_reflection_context.yamo;
|
|
90
|
+
workflows:
|
|
91
|
+
specification;macro/specification-workflow.yamo;
|
|
92
|
+
planning;macro/planning-workflow.yamo;
|
|
93
|
+
|
|
94
|
+
constraints:
|
|
95
|
+
- execute_specification_phase;idea_to_prd;
|
|
96
|
+
- execute_macro_planning_phase;prd_to_roadmap;
|
|
97
|
+
- enforce_macro_quality_gates;specification_and_compliance;
|
|
98
|
+
- stop_here;if_mode_is_specification_or_planning;
|
|
99
|
+
|
|
100
|
+
priority: high;
|
|
101
|
+
output: macro_results_context.yamo;
|
|
102
|
+
log: macro_phases_completed;spec_path;roadmap_path;
|
|
103
|
+
|
|
104
|
+
handoff: MicroWorkflowInvoker;
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
agent: MicroWorkflowInvoker;
|
|
108
|
+
intent: invoke_micro_yamosuper_layer;
|
|
109
|
+
context:
|
|
110
|
+
macro_results;macro_results_context.yamo;
|
|
111
|
+
workflows:
|
|
112
|
+
implementation;micro/implementation-tdd.yamo;
|
|
113
|
+
debugging;micro/debugging-verification.yamo;
|
|
114
|
+
review;micro/review-closure.yamo;
|
|
115
|
+
|
|
116
|
+
constraints:
|
|
117
|
+
- transform_roadmap_to_tdd_tasks;semantic_inheritance_required;
|
|
118
|
+
- execute_tdd_cycles;red_green_refactor;
|
|
119
|
+
- enforce_micro_quality_gates;implementation_and_audit;
|
|
120
|
+
- if_critical_logic_error;optionally_return_to_macro_planning;
|
|
121
|
+
|
|
122
|
+
priority: critical;
|
|
123
|
+
output: micro_results_context.yamo;
|
|
124
|
+
log: micro_phases_completed;test_pass_rate;
|
|
125
|
+
|
|
126
|
+
handoff: UnifiedReporter;
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
agent: UnifiedReporter;
|
|
130
|
+
intent: generate_global_lifecycle_report;
|
|
131
|
+
context:
|
|
132
|
+
macro;macro_results_context.yamo;
|
|
133
|
+
micro;micro_results_context.yamo;
|
|
134
|
+
|
|
135
|
+
constraints:
|
|
136
|
+
- trace_intent_from_spec_to_code;
|
|
137
|
+
- report_constitutional_compliance_summary;
|
|
138
|
+
- document_hypotheses_validated_vs_rejected;
|
|
139
|
+
- report_zero_json_status;must_be_zero_json;
|
|
140
|
+
|
|
141
|
+
priority: high;
|
|
142
|
+
output: unified_lifecycle_report.md;
|
|
143
|
+
log: global_orchestration_complete;status;success;
|
|
144
|
+
|
|
145
|
+
handoff: User;
|