@yamo/memory-mesh 2.0.5 → 2.1.2
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 +63 -14
- package/bin/setup.js +216 -0
- package/package.json +3 -2
- package/skills/SKILL.md +4 -462
- package/skills/skill-super.yamo +548 -0
package/README.md
CHANGED
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Portable, semantic memory system for AI agents with automatic Layer 0 sanitization.
|
|
4
4
|
|
|
5
|
+
Built on the [YAMO Protocol](https://github.com/yamo-protocol) for transparent agent collaboration with structured workflows and immutable provenance.
|
|
6
|
+
|
|
5
7
|
## Features
|
|
6
8
|
|
|
7
|
-
- **Persistent Vector Storage**: Powered by LanceDB.
|
|
8
|
-
- **Layer 0 Scrubber**: Automatically sanitizes, deduplicates, and cleans content.
|
|
9
|
+
- **Persistent Vector Storage**: Powered by LanceDB for semantic search.
|
|
10
|
+
- **Layer 0 Scrubber**: Automatically sanitizes, deduplicates, and cleans content before embedding.
|
|
9
11
|
- **Local Embeddings**: Runs 100% locally using ONNX (no API keys required).
|
|
10
12
|
- **Portable CLI**: Simple JSON-based interface for any agent or language.
|
|
13
|
+
- **YAMO Skills Integration**: Includes yamo-super workflow system with automatic memory learning.
|
|
14
|
+
- **Pattern Recognition**: Workflows automatically store and retrieve execution patterns for optimization.
|
|
11
15
|
|
|
12
16
|
## Installation
|
|
13
17
|
|
|
@@ -45,31 +49,45 @@ const results = await mesh.search('query');
|
|
|
45
49
|
To use MemoryMesh with your Claude Code skills (like `yamo-super`) in a new project:
|
|
46
50
|
|
|
47
51
|
### 1. Install the Package
|
|
48
|
-
This installs the heavy dependencies (LanceDB, ONNX) and binaries.
|
|
49
52
|
|
|
50
53
|
```bash
|
|
51
54
|
npm install @yamo/memory-mesh
|
|
52
|
-
# Or install locally if developing:
|
|
53
|
-
# npm install /path/to/memory-mesh
|
|
54
55
|
```
|
|
55
56
|
|
|
56
|
-
### 2. Setup
|
|
57
|
-
|
|
57
|
+
### 2. Run Setup
|
|
58
|
+
|
|
59
|
+
This installs YAMO skills to `~/.claude/skills/memory-mesh/` and tools to `./tools/`:
|
|
58
60
|
|
|
59
|
-
**Quick Setup:**
|
|
60
61
|
```bash
|
|
61
|
-
|
|
62
|
-
cp node_modules/@yamo/memory-mesh/bin/memory_mesh.js tools/memory_mesh.js
|
|
62
|
+
npx memory-mesh-setup
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
The setup script will:
|
|
66
|
+
- Copy YAMO skills (`yamo-super`, `scrubber`) to Claude Code
|
|
67
|
+
- Copy CLI tools to your project's `tools/` directory
|
|
68
|
+
- Prompt before overwriting existing files
|
|
69
|
+
|
|
70
|
+
### 3. Use the Skills
|
|
71
|
+
|
|
72
|
+
Your skills are now available in Claude Code with automatic memory integration:
|
|
67
73
|
|
|
68
74
|
```bash
|
|
69
|
-
|
|
75
|
+
# Use yamo-super workflow system
|
|
76
|
+
# Automatically retrieves similar past workflows and stores execution patterns
|
|
77
|
+
claude /yamo-super
|
|
78
|
+
|
|
79
|
+
# Use scrubber skill for content sanitization
|
|
80
|
+
claude /scrubber content="raw text"
|
|
70
81
|
```
|
|
71
82
|
|
|
72
|
-
|
|
83
|
+
**Memory Integration Features:**
|
|
84
|
+
- **Workflow Orchestrator**: Searches for similar past workflows before starting
|
|
85
|
+
- **Design Phase**: Stores validated designs with metadata
|
|
86
|
+
- **Debug Phase**: Retrieves similar bug patterns and stores resolutions
|
|
87
|
+
- **Review Phase**: Stores code review outcomes and quality metrics
|
|
88
|
+
- **Complete Workflow**: Stores full execution pattern for future optimization
|
|
89
|
+
|
|
90
|
+
YAMO agents will automatically find tools in `tools/memory_mesh.js` and `tools/scrubber.js`.
|
|
73
91
|
|
|
74
92
|
## Docker
|
|
75
93
|
|
|
@@ -78,3 +96,34 @@ docker run -v $(pwd)/data:/app/runtime/data \
|
|
|
78
96
|
yamo/memory-mesh store "Content"
|
|
79
97
|
```
|
|
80
98
|
|
|
99
|
+
## About YAMO Protocol
|
|
100
|
+
|
|
101
|
+
Memory Mesh is built on the **YAMO (Yet Another Markup for Orchestration) Protocol** - a structured language for transparent AI agent collaboration with immutable provenance tracking.
|
|
102
|
+
|
|
103
|
+
**YAMO Protocol Features:**
|
|
104
|
+
- **Structured Agent Workflows**: Semicolon-terminated constraints, explicit handoff chains
|
|
105
|
+
- **Meta-Reasoning Traces**: Hypothesis, rationale, confidence, and observation annotations
|
|
106
|
+
- **Blockchain Integration**: Immutable audit trails via Model Context Protocol (MCP)
|
|
107
|
+
- **Multi-Agent Coordination**: Designed for transparent collaboration across organizational boundaries
|
|
108
|
+
|
|
109
|
+
**Learn More:**
|
|
110
|
+
- **YAMO Protocol Organization**: [github.com/yamo-protocol](https://github.com/yamo-protocol)
|
|
111
|
+
- **Protocol Specification**: See the YAMO RFC documents for core syntax and semantics
|
|
112
|
+
- **Ecosystem**: Explore other YAMO-compliant tools and skills
|
|
113
|
+
|
|
114
|
+
Memory Mesh implements YAMO v2.1.0 compliance with:
|
|
115
|
+
- MemorySystemInitializer agent for graceful degradation
|
|
116
|
+
- Context passing between agents (`from_AgentName.output`)
|
|
117
|
+
- Structured logging with meta-reasoning
|
|
118
|
+
- Priority levels and constraint-based execution
|
|
119
|
+
- Automatic workflow pattern storage for continuous learning
|
|
120
|
+
|
|
121
|
+
**Related YAMO Projects:**
|
|
122
|
+
- [yamo-chain](https://github.com/yamo-protocol/yamo-protocol) - Blockchain integration for agent provenance
|
|
123
|
+
|
|
124
|
+
## Documentation
|
|
125
|
+
|
|
126
|
+
- **Architecture Guide**: [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) - Comprehensive system architecture (1,118 lines)
|
|
127
|
+
- **Development Guide**: [CLAUDE.md](CLAUDE.md) - Guide for Claude Code development
|
|
128
|
+
- **Marketplace**: [.claude-plugin/marketplace.json](.claude-plugin/marketplace.json) - Plugin metadata
|
|
129
|
+
|
package/bin/setup.js
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Memory Mesh Setup Script
|
|
5
|
+
* Installs YAMO skills and tools into your project and Claude Code environment
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { fileURLToPath } from 'url';
|
|
9
|
+
import { dirname, join, resolve } from 'path';
|
|
10
|
+
import { existsSync, mkdirSync, copyFileSync, readdirSync, statSync, readFileSync } from 'fs';
|
|
11
|
+
import { homedir } from 'os';
|
|
12
|
+
import { createInterface } from 'readline';
|
|
13
|
+
|
|
14
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
15
|
+
const __dirname = dirname(__filename);
|
|
16
|
+
const packageRoot = resolve(__dirname, '..');
|
|
17
|
+
const FORCE_MODE = process.argv.includes('--force') || process.argv.includes('-f');
|
|
18
|
+
|
|
19
|
+
const COLORS = {
|
|
20
|
+
reset: '\x1b[0m',
|
|
21
|
+
bright: '\x1b[1m',
|
|
22
|
+
green: '\x1b[32m',
|
|
23
|
+
yellow: '\x1b[33m',
|
|
24
|
+
blue: '\x1b[34m',
|
|
25
|
+
red: '\x1b[31m'
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
function log(message, color = 'reset') {
|
|
29
|
+
console.log(`${COLORS[color]}${message}${COLORS.reset}`);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function promptUser(question) {
|
|
33
|
+
const rl = createInterface({
|
|
34
|
+
input: process.stdin,
|
|
35
|
+
output: process.stdout
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
return new Promise((resolve) => {
|
|
39
|
+
rl.question(`${COLORS.yellow}${question}${COLORS.reset} `, (answer) => {
|
|
40
|
+
rl.close();
|
|
41
|
+
resolve(answer.toLowerCase().trim());
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
async function copyWithPrompt(src, dest, label) {
|
|
47
|
+
if (existsSync(dest) && !FORCE_MODE) {
|
|
48
|
+
const answer = await promptUser(`${label} already exists at ${dest}. Overwrite? (y/n)`);
|
|
49
|
+
if (answer !== 'y' && answer !== 'yes') {
|
|
50
|
+
log(` ⏭ Skipped ${label}`, 'yellow');
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
try {
|
|
56
|
+
copyFileSync(src, dest);
|
|
57
|
+
log(` ✓ Installed ${label}`, 'green');
|
|
58
|
+
return true;
|
|
59
|
+
} catch (error) {
|
|
60
|
+
log(` ✗ Failed to install ${label}: ${error.message}`, 'red');
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
async function installSkills() {
|
|
66
|
+
log('\n📦 Installing YAMO Skills...', 'blue');
|
|
67
|
+
|
|
68
|
+
const targetDirs = [
|
|
69
|
+
{
|
|
70
|
+
name: 'Claude Code',
|
|
71
|
+
base: join(homedir(), '.claude'),
|
|
72
|
+
skills: join(homedir(), '.claude', 'skills', 'yamo-super')
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'Gemini CLI',
|
|
76
|
+
base: join(homedir(), '.gemini'),
|
|
77
|
+
skills: join(homedir(), '.gemini', 'skills', 'yamo-super')
|
|
78
|
+
}
|
|
79
|
+
];
|
|
80
|
+
|
|
81
|
+
const skillsSourceDir = join(packageRoot, 'skills');
|
|
82
|
+
if (!existsSync(skillsSourceDir)) {
|
|
83
|
+
log(' ✗ Skills directory not found in package', 'red');
|
|
84
|
+
return { installed: 0, skipped: 0 };
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
const skillFiles = readdirSync(skillsSourceDir);
|
|
88
|
+
let totalInstalled = 0;
|
|
89
|
+
let totalSkipped = 0;
|
|
90
|
+
let detectedCount = 0;
|
|
91
|
+
|
|
92
|
+
for (const target of targetDirs) {
|
|
93
|
+
// Check if the CLI environment is detected
|
|
94
|
+
if (!existsSync(target.base)) {
|
|
95
|
+
continue;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
detectedCount++;
|
|
99
|
+
log(` Installing to ${target.name}...`, 'blue');
|
|
100
|
+
|
|
101
|
+
// Create skills directory
|
|
102
|
+
if (!existsSync(target.skills)) {
|
|
103
|
+
mkdirSync(target.skills, { recursive: true });
|
|
104
|
+
log(` ✓ Created ${target.skills}`, 'green');
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
for (const file of skillFiles) {
|
|
108
|
+
const src = join(skillsSourceDir, file);
|
|
109
|
+
const dest = join(target.skills, file);
|
|
110
|
+
const success = await copyWithPrompt(src, dest, `${target.name}: ${file}`);
|
|
111
|
+
if (success) totalInstalled++;
|
|
112
|
+
else totalSkipped++;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
if (detectedCount === 0) {
|
|
117
|
+
log('⚠ No supported AI environment detected (~/.claude or ~/.gemini not found)', 'yellow');
|
|
118
|
+
log(' Skills will be skipped.', 'yellow');
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
return { installed: totalInstalled, skipped: totalSkipped };
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
async function installTools() {
|
|
125
|
+
log('\n🔧 Installing Tools...', 'blue');
|
|
126
|
+
|
|
127
|
+
const toolsDir = join(process.cwd(), 'tools');
|
|
128
|
+
|
|
129
|
+
// Create tools directory if it doesn't exist
|
|
130
|
+
if (!existsSync(toolsDir)) {
|
|
131
|
+
mkdirSync(toolsDir, { recursive: true });
|
|
132
|
+
log(` ✓ Created ${toolsDir}`, 'green');
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
const toolFiles = [
|
|
136
|
+
{ src: 'memory_mesh.js', name: 'Memory Mesh CLI' },
|
|
137
|
+
{ src: 'scrubber.js', name: 'Scrubber CLI' }
|
|
138
|
+
];
|
|
139
|
+
|
|
140
|
+
let installed = 0;
|
|
141
|
+
let skipped = 0;
|
|
142
|
+
|
|
143
|
+
for (const { src, name } of toolFiles) {
|
|
144
|
+
const srcPath = join(packageRoot, 'bin', src);
|
|
145
|
+
const destPath = join(toolsDir, src);
|
|
146
|
+
|
|
147
|
+
if (!existsSync(srcPath)) {
|
|
148
|
+
log(` ✗ ${name} not found in package`, 'red');
|
|
149
|
+
skipped++;
|
|
150
|
+
continue;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
const success = await copyWithPrompt(srcPath, destPath, name);
|
|
154
|
+
if (success) installed++;
|
|
155
|
+
else skipped++;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
return { installed, skipped };
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
function showUsage() {
|
|
162
|
+
const pkg = JSON.parse(readFileSync(join(packageRoot, 'package.json'), 'utf-8'));
|
|
163
|
+
|
|
164
|
+
log('\n✨ Setup Complete!', 'bright');
|
|
165
|
+
log('\nYAMO Skills installed to AI CLI environments:', 'blue');
|
|
166
|
+
log(' • ~/.claude/skills/yamo-super/', 'blue');
|
|
167
|
+
log(' • ~/.gemini/skills/yamo-super/', 'blue');
|
|
168
|
+
log('Tools installed to: ./tools/', 'blue');
|
|
169
|
+
|
|
170
|
+
log('\n📚 Usage:', 'bright');
|
|
171
|
+
log(' • Use /yamo-super in Claude or Gemini for workflow automation');
|
|
172
|
+
log(' • Use /scrubber skill for content sanitization');
|
|
173
|
+
log(' • Call tools/memory_mesh.js for memory operations');
|
|
174
|
+
|
|
175
|
+
log('\n🔗 Learn more:', 'bright');
|
|
176
|
+
log(' README: https://github.com/soverane-labs/memory-mesh');
|
|
177
|
+
log(` Version: ${pkg.version}`);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
async function main() {
|
|
181
|
+
log('\n╔════════════════════════════════════════╗', 'bright');
|
|
182
|
+
log('║ Memory Mesh Setup ║', 'bright');
|
|
183
|
+
log('║ Installing skills and tools... ║', 'bright');
|
|
184
|
+
log('╚════════════════════════════════════════╝', 'bright');
|
|
185
|
+
|
|
186
|
+
try {
|
|
187
|
+
// Install skills to ~/.claude/skills/yamo-super/
|
|
188
|
+
const skillResults = await installSkills();
|
|
189
|
+
|
|
190
|
+
// Install tools to ./tools/
|
|
191
|
+
const toolResults = await installTools();
|
|
192
|
+
|
|
193
|
+
// Summary
|
|
194
|
+
const totalInstalled = skillResults.installed + toolResults.installed;
|
|
195
|
+
const totalSkipped = skillResults.skipped + toolResults.skipped;
|
|
196
|
+
|
|
197
|
+
log('\n' + '─'.repeat(40));
|
|
198
|
+
log(`✓ Installed: ${totalInstalled}`, 'green');
|
|
199
|
+
if (totalSkipped > 0) {
|
|
200
|
+
log(`⏭ Skipped: ${totalSkipped}`, 'yellow');
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
if (totalInstalled > 0) {
|
|
204
|
+
showUsage();
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
log('');
|
|
208
|
+
process.exit(0);
|
|
209
|
+
} catch (error) {
|
|
210
|
+
log(`\n✗ Setup failed: ${error.message}`, 'red');
|
|
211
|
+
log(` ${error.stack}`, 'red');
|
|
212
|
+
process.exit(1);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
main();
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamo/memory-mesh",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.2",
|
|
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"
|
|
10
|
+
"scrubber": "./bin/scrubber.js",
|
|
11
|
+
"memory-mesh-setup": "./bin/setup.js"
|
|
11
12
|
},
|
|
12
13
|
"files": [
|
|
13
14
|
"lib/",
|
package/skills/SKILL.md
CHANGED
|
@@ -1,462 +1,4 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: yamo-super
|
|
3
|
-
description:
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
For all code improvement or creation tasks, strictly adhere to the logic, agents, and constraints defined in this Yamo Skill:
|
|
7
|
-
|
|
8
|
-
metadata:
|
|
9
|
-
name;YamoSuper;
|
|
10
|
-
version;2.0.0;
|
|
11
|
-
description;Comprehensive AI coding workflow system consolidating test-driven development, systematic debugging, collaborative planning, and proven software engineering patterns with persistent memory of past workflows;
|
|
12
|
-
author;Derived from Superpowers by Jesse Scott;adapted for YAMO by Soverane Labs;
|
|
13
|
-
license;MIT;
|
|
14
|
-
tags;tdd;debugging;collaboration;planning;workflow;subagent;git;review;memory;
|
|
15
|
-
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;
|
|
16
|
-
parameters:
|
|
17
|
-
workflow_mode:
|
|
18
|
-
type;string;
|
|
19
|
-
required;false;
|
|
20
|
-
description;Mode: brainstorm, plan, execute, debug, review;
|
|
21
|
-
enum;brainstorm;plan;execute;debug;review;
|
|
22
|
-
dry_run:
|
|
23
|
-
type;boolean;
|
|
24
|
-
required;false;
|
|
25
|
-
description;Preview actions without executing;
|
|
26
|
-
memory_enabled:
|
|
27
|
-
type;boolean;
|
|
28
|
-
required;false;
|
|
29
|
-
default;true;
|
|
30
|
-
description;Enable storing and retrieving workflow execution patterns from Memory Mesh;
|
|
31
|
-
environment:
|
|
32
|
-
requires_filesystem;true;
|
|
33
|
-
requires_local_storage;true;
|
|
34
|
-
notes;Creates worktrees, writes plans, manages git workflows, and stores execution history in Memory Mesh;
|
|
35
|
-
dependencies:
|
|
36
|
-
required:
|
|
37
|
-
- Git >= 2.30.0
|
|
38
|
-
- Node >= 18.0.0 (for npm test commands)
|
|
39
|
-
- MemoryMesh >=1.0.0;
|
|
40
|
-
optional:
|
|
41
|
-
- YamoChainClient (for blockchain anchoring)
|
|
42
|
-
---
|
|
43
|
-
agent: WorkflowOrchestrator;
|
|
44
|
-
intent: determine_workflow_entry_point;
|
|
45
|
-
context:
|
|
46
|
-
user_request;raw_input;
|
|
47
|
-
project_state;current_git_status;recent_commits;file_tree;
|
|
48
|
-
available_modes;brainstorm;plan;execute;debug;review;
|
|
49
|
-
memory_script;tools/memory_mesh.js;
|
|
50
|
-
memory_enabled;provided_by_user.memory_enabled;
|
|
51
|
-
constraints:
|
|
52
|
-
- check_if_creative_work_requested;trigger_brainstorming_agent;
|
|
53
|
-
- check_if_spec_exists;trigger_planning_agent;
|
|
54
|
-
- check_if_plan_exists;trigger_execution_agent;
|
|
55
|
-
- check_if_bug_reported;trigger_debugging_agent;
|
|
56
|
-
- check_if_review_requested;trigger_review_agent;
|
|
57
|
-
- default_to_brainstorming_if_uncertain;
|
|
58
|
-
- announce_active_workflow_to_user;
|
|
59
|
-
- retrieve_similar_past_workflows;
|
|
60
|
-
priority: critical;
|
|
61
|
-
output: workflow_decision.json;
|
|
62
|
-
log: workflow_determined;timestamp;mode_selected;
|
|
63
|
-
meta:
|
|
64
|
-
hypothesis;Clear workflow entry point prevents context confusion;
|
|
65
|
-
rationale;Different development phases require distinct mindsets and tools;
|
|
66
|
-
handoff: BrainstormingAgent;
|
|
67
|
-
---
|
|
68
|
-
agent: BrainstormingAgent;
|
|
69
|
-
intent: refine_ideas_through_socratic_dialogue;
|
|
70
|
-
context:
|
|
71
|
-
project_state;from_WorkflowOrchestrator;
|
|
72
|
-
user_idea;raw_request;
|
|
73
|
-
constraints:
|
|
74
|
-
- check_project_context_first;files;docs;recent_commits;
|
|
75
|
-
- ask_questions_one_at_a_time;
|
|
76
|
-
- prefer_multiple_choice_when_possible;
|
|
77
|
-
- focus_understanding;purpose;constraints;success_criteria;
|
|
78
|
-
- propose_2_3_alternatives_with_tradeoffs;
|
|
79
|
-
- present_design_in_sections_200_300_words;
|
|
80
|
-
- validate_after_each_section;
|
|
81
|
-
- cover;architecture;components;data_flow;error_handling;testing;
|
|
82
|
-
- apply_yagni_ruthlessly;
|
|
83
|
-
priority: high;
|
|
84
|
-
output: validated_design.md;
|
|
85
|
-
log: design_validated;timestamp;sections_reviewed;
|
|
86
|
-
meta:
|
|
87
|
-
hypothesis;Incremental validation produces better designs;
|
|
88
|
-
rationale;Large designs overwhelm;section-by-section enables feedback;
|
|
89
|
-
handoff: DocumentationAgent;
|
|
90
|
-
---
|
|
91
|
-
agent: DocumentationAgent;
|
|
92
|
-
intent: persist_and_commit_design;
|
|
93
|
-
context:
|
|
94
|
-
design;from_BrainstormingAgent;
|
|
95
|
-
destination;docs/plans/YYYY-MM-DD-<topic>-design.md;
|
|
96
|
-
constraints:
|
|
97
|
-
- use_clear_concise_writing;
|
|
98
|
-
- commit_to_git_with_descriptive_message;
|
|
99
|
-
- tag_commit_with_design_reviewed;
|
|
100
|
-
- ask_ready_for_implementation;
|
|
101
|
-
priority: medium;
|
|
102
|
-
output: design_file_path;commit_sha;
|
|
103
|
-
log: design_documented;timestamp;file_path;commit_sha;
|
|
104
|
-
meta:
|
|
105
|
-
hypothesis;Documented designs enable better implementation;
|
|
106
|
-
rationale;Written specs prevent drift during coding;
|
|
107
|
-
handoff: WorktreeAgent;
|
|
108
|
-
---
|
|
109
|
-
agent: WorktreeAgent;
|
|
110
|
-
intent: create_isolated_development_workspace;
|
|
111
|
-
context:
|
|
112
|
-
design;from_DocumentationAgent;
|
|
113
|
-
base_branch;main_or_master;
|
|
114
|
-
constraints:
|
|
115
|
-
- create_git_worktree_at;.git/worktrees/<feature-name>;
|
|
116
|
-
- checkout_new_branch_feature/<name>;
|
|
117
|
-
- run_project_setup;npm_install;npm_run_build;
|
|
118
|
-
- verify_clean_test_baseline;npm_test;
|
|
119
|
-
- document_worktree_location;
|
|
120
|
-
priority: high;
|
|
121
|
-
output: worktree_path;branch_name;
|
|
122
|
-
log: workspace_created;timestamp;path;branch;
|
|
123
|
-
meta:
|
|
124
|
-
hypothesis;Isolated worktrees prevent main branch pollution;
|
|
125
|
-
rationale;Clean branches enable easy rollback and parallel development;
|
|
126
|
-
handoff: PlanningAgent;
|
|
127
|
-
---
|
|
128
|
-
agent: PlanningAgent;
|
|
129
|
-
intent: create_detailed_implementation_plan;
|
|
130
|
-
context:
|
|
131
|
-
design;from_DocumentationAgent;
|
|
132
|
-
worktree_path;from_WorktreeAgent;
|
|
133
|
-
assumptions;
|
|
134
|
-
engineer_has_zero_codebase_context;
|
|
135
|
-
engineer_has_questionable_taste;
|
|
136
|
-
engineer_needs_explicit_instructions;
|
|
137
|
-
constraints:
|
|
138
|
-
- break_into_bite_sized_tasks;2_5_minutes_each;
|
|
139
|
-
- each_task_one_action;write_test;run_test;implement;verify;commit;
|
|
140
|
-
- specify_exact_file_paths;
|
|
141
|
-
- include_complete_code_not_hints;
|
|
142
|
-
- include_exact_commands_with_expected_output;
|
|
143
|
-
- reference_relevant_skills_with_at_syntax;
|
|
144
|
-
- enforce_dry;yagni;tdd;frequent_commits;
|
|
145
|
-
- save_to;docs/plans/YYYY-MM-DD-<feature-name>.md;
|
|
146
|
-
- include_required_header;goal;architecture;tech_stack;
|
|
147
|
-
- include_sub_skill_directive;use_superpowers:executing_plans;
|
|
148
|
-
priority: critical;
|
|
149
|
-
output: implementation_plan.md;
|
|
150
|
-
log: plan_created;timestamp;task_count;
|
|
151
|
-
meta:
|
|
152
|
-
hypothesis;Explicit plans enable autonomous subagent execution;
|
|
153
|
-
rationale;Zero_context engineers need complete information;
|
|
154
|
-
handoff: ExecutionSelector;
|
|
155
|
-
---
|
|
156
|
-
agent: ExecutionSelector;
|
|
157
|
-
intent: offer_execution_choice;
|
|
158
|
-
context:
|
|
159
|
-
plan;from_PlanningAgent;
|
|
160
|
-
worktree_path;from_WorktreeAgent;
|
|
161
|
-
constraints:
|
|
162
|
-
- present_two_options;subagent_driven;parallel_session;
|
|
163
|
-
- explain_subagent_driven;same_session;fresh_subagent_per_task;two_stage_review;
|
|
164
|
-
- explain_parallel_session;new_session;batch_execution;checkpoints;
|
|
165
|
-
- await_user_choice;
|
|
166
|
-
priority: high;
|
|
167
|
-
output: execution_mode;session_instructions;
|
|
168
|
-
log: execution_mode_selected;timestamp;mode;
|
|
169
|
-
meta:
|
|
170
|
-
hypothesis;Choice accommodates different working styles;
|
|
171
|
-
rationale;Some prefer continuity;others prefer isolation;
|
|
172
|
-
handoff: SubagentDriver;
|
|
173
|
-
---
|
|
174
|
-
agent: SubagentDriver;
|
|
175
|
-
intent: execute_plan_via_fresh_subagents;
|
|
176
|
-
context:
|
|
177
|
-
plan;from_PlanningAgent;
|
|
178
|
-
worktree_path;from_WorktreeAgent;
|
|
179
|
-
constraints:
|
|
180
|
-
- read_plan_once;extract_all_tasks_with_full_text;
|
|
181
|
-
- create_todo_write_with_all_tasks;
|
|
182
|
-
- per_task;
|
|
183
|
-
- dispatch_implementer_subagent_with_full_context;
|
|
184
|
-
- allow_subagent_to_ask_questions_before_work;
|
|
185
|
-
- implementer_subagent_implements_tests_commits_self_reviews;
|
|
186
|
-
- dispatch_spec_compliance_reviewer_subagent;
|
|
187
|
-
- spec_reviewer_confirms_code_matches_spec;
|
|
188
|
-
- if_spec_issues;implementer_fixes;re_review_until_approved;
|
|
189
|
-
- dispatch_code_quality_reviewer_subagent;
|
|
190
|
-
- code_reviewer_approves_quality;
|
|
191
|
-
- if_quality_issues;implementer_fixes;re_review_until_approved;
|
|
192
|
-
- mark_task_complete_in_todo_write;
|
|
193
|
-
- after_all_tasks;dispatch_final_code_reviewer;
|
|
194
|
-
- use_finishing_development_branch_workflow;
|
|
195
|
-
- never_skip_reviews;
|
|
196
|
-
- never_parallel_dispatch_implementers;
|
|
197
|
-
- always_provide_full_text_not_file_references;
|
|
198
|
-
- ensure_scene_setting_context_per_task;
|
|
199
|
-
priority: critical;
|
|
200
|
-
output: implementation_complete;all_commits;
|
|
201
|
-
log: execution_complete;timestamp;tasks_completed;commits;
|
|
202
|
-
meta:
|
|
203
|
-
hypothesis;Fresh subagents per task prevent context pollution;
|
|
204
|
-
rationale;Two_stage_review ensures_spec_compliance_and_code_quality;
|
|
205
|
-
handoff: BatchExecutor;
|
|
206
|
-
---
|
|
207
|
-
agent: BatchExecutor;
|
|
208
|
-
intent: execute_plan_in_batches_with_checkpoints;
|
|
209
|
-
context:
|
|
210
|
-
plan;from_PlanningAgent;
|
|
211
|
-
worktree_path;from_WorktreeAgent;
|
|
212
|
-
constraints:
|
|
213
|
-
- group_tasks_into_logical_batches;
|
|
214
|
-
- execute_batch sequentially;
|
|
215
|
-
- after_each_batch;
|
|
216
|
-
- run_all_tests;verify_passing;
|
|
217
|
-
- request_human_checkpoint;
|
|
218
|
-
- await_approval_before_next_batch;
|
|
219
|
-
- commit_after_each_batch;
|
|
220
|
-
- report_progress_clearly;
|
|
221
|
-
priority: high;
|
|
222
|
-
output: batches_completed;checkpoint_status;
|
|
223
|
-
log: batch_execution_complete;timestamp;batches;checkpoints_passed;
|
|
224
|
-
meta:
|
|
225
|
-
hypothesis;Checkpoints maintain human oversight;
|
|
226
|
-
rationale;Batch execution balances autonomy_with_control;
|
|
227
|
-
handoff: TDDAgent;
|
|
228
|
-
---
|
|
229
|
-
agent: TDDAgent;
|
|
230
|
-
intent: enforce_test_driven_development_cycle;
|
|
231
|
-
context:
|
|
232
|
-
task;from_SubagentDriver_or_BatchExecutor;
|
|
233
|
-
constraints:
|
|
234
|
-
- iron_law;no_production_code_without_failing_test_first;
|
|
235
|
-
- red;write_one_minimal_test;
|
|
236
|
-
- one_behavior_per_test;
|
|
237
|
-
- clear_name_describing_behavior;
|
|
238
|
-
- use_real_code_not_mocks;
|
|
239
|
-
- verify_red;run_test;confirm_fails_correctly;
|
|
240
|
-
- test_must_fail_not_error;
|
|
241
|
-
- failure_message_must_be_expected;
|
|
242
|
-
- fails_because_feature_missing_not_typo;
|
|
243
|
-
- green;write_minimal_code_to_pass;
|
|
244
|
-
- simplest_possible_implementation;
|
|
245
|
-
- no_features_beyond_test;
|
|
246
|
-
- no_refactoring_during_green;
|
|
247
|
-
- verify_green;run_test;confirm_passes;
|
|
248
|
-
- test_passes;
|
|
249
|
-
- other_tests_still_pass;
|
|
250
|
-
- output_pristine_no_errors;
|
|
251
|
-
- refactor;clean_up_only_after_green;
|
|
252
|
-
- remove_duplication;
|
|
253
|
-
- improve_names;
|
|
254
|
-
- extract_helpers;
|
|
255
|
-
- keep_tests_green;
|
|
256
|
-
- red_flags;code_before_test;test_passes_immediately;rationalizing_exceptions;
|
|
257
|
-
- penalty;delete_code_start_over;
|
|
258
|
-
priority: critical;
|
|
259
|
-
output: test_coverage;implementation;
|
|
260
|
-
log: tdd_cycle_complete;timestamp;test_name;status;
|
|
261
|
-
meta:
|
|
262
|
-
hypothesis;Watching_test_fail_proves_it_tests_something;
|
|
263
|
-
rationale;tests_after_answer_what_does_this_do;tests_first_answer_what_should_this_do;
|
|
264
|
-
handoff: DebuggingAgent;
|
|
265
|
-
---
|
|
266
|
-
agent: DebuggingAgent;
|
|
267
|
-
intent: systematic_root_cause_analysis;
|
|
268
|
-
context:
|
|
269
|
-
bug_report;user_report_or_test_failure;
|
|
270
|
-
constraints:
|
|
271
|
-
- phase_1_define_problem;
|
|
272
|
-
- describe_symptoms_precisely;
|
|
273
|
-
- identify_affected_components;
|
|
274
|
-
- determine_frequency_always_sometimes_intermittent;
|
|
275
|
-
- phase_2_gather_evidence;
|
|
276
|
-
- reproduce_bug_reliably;
|
|
277
|
-
- collect_logs_stack_traces;
|
|
278
|
-
- identify_when_started_working;
|
|
279
|
-
- phase_3_isolate_cause;
|
|
280
|
-
- use_root_cause_tracing;
|
|
281
|
-
- use_defense_in_depth_analysis;
|
|
282
|
-
- use_condition_based_waiting_for_race_conditions;
|
|
283
|
-
- binary_search_git_history;
|
|
284
|
-
- minimize_reproduction_case;
|
|
285
|
-
- phase_4_verify_fix;
|
|
286
|
-
- write_failing_test_reproducing_bug;
|
|
287
|
-
- apply_tdd_cycle_to_fix;
|
|
288
|
-
- use_verification_before_completion;
|
|
289
|
-
- never_fix_without_test;
|
|
290
|
-
- never_apply_bandages;
|
|
291
|
-
priority: high;
|
|
292
|
-
output: root_cause;fix_verification_test;
|
|
293
|
-
log: bug_resolved;timestamp;root_cause;test_added;
|
|
294
|
-
meta:
|
|
295
|
-
hypothesis;Systematic_debugging_faster_than_shotgun_debugging;
|
|
296
|
-
rationale;root_cause_elimination_prevents_reoccurrence;
|
|
297
|
-
handoff: VerificationAgent;
|
|
298
|
-
---
|
|
299
|
-
agent: VerificationAgent;
|
|
300
|
-
intent: ensure_fix_actually_works;
|
|
301
|
-
context:
|
|
302
|
-
proposed_fix;from_DebuggingAgent;
|
|
303
|
-
original_bug;from_DebuggingAgent;
|
|
304
|
-
constraints:
|
|
305
|
-
- reproduce_original_bug_first;confirm_exists;
|
|
306
|
-
- apply_fix;
|
|
307
|
-
- verify_bug_gone;
|
|
308
|
-
- verify_no_regressions;
|
|
309
|
-
- verify_edge_cases;
|
|
310
|
-
- run_full_test_suite;
|
|
311
|
-
- check_output_pristine;
|
|
312
|
-
- if_not_fixed;restart_debugging;
|
|
313
|
-
priority: high;
|
|
314
|
-
output: verification_status;regression_check;
|
|
315
|
-
log: verification_complete;timestamp;status;regressions;
|
|
316
|
-
meta:
|
|
317
|
-
hypothesis;Verification_catches_incomplete_fixes;
|
|
318
|
-
rationale;feeling_fixed_does_not_mean_fixed;
|
|
319
|
-
handoff: CodeReviewAgent;
|
|
320
|
-
---
|
|
321
|
-
agent: CodeReviewAgent;
|
|
322
|
-
intent: conduct_pre_merge_quality_gate;
|
|
323
|
-
context:
|
|
324
|
-
implementation;from_SubagentDriver_or_BatchExecutor;
|
|
325
|
-
plan;from_PlanningAgent;
|
|
326
|
-
constraints:
|
|
327
|
-
- review_against_plan;
|
|
328
|
-
- all_requirements_implemented;
|
|
329
|
-
- no_extra_features_beyond_spec;
|
|
330
|
-
- file_matches_match_plan;
|
|
331
|
-
- code_quality_check;
|
|
332
|
-
- tests_cover_all_cases;
|
|
333
|
-
- tests_use_real_code_not_mocks;
|
|
334
|
-
- code_is_clean_not_clever;
|
|
335
|
-
- names_are_clear;
|
|
336
|
-
- no_duplication;
|
|
337
|
-
- proper_error_handling;
|
|
338
|
-
- report_by_severity;
|
|
339
|
-
- critical;blocks_progress;must_fix;
|
|
340
|
-
- important;should_fix_before_merge;
|
|
341
|
-
- minor;nice_to_have;
|
|
342
|
-
- if_critical_issues;block_progress;
|
|
343
|
-
- if_no_issues;approve;
|
|
344
|
-
priority: critical;
|
|
345
|
-
output: review_report;approval_status;
|
|
346
|
-
log: review_complete;timestamp;critical;important;minor;status;
|
|
347
|
-
meta:
|
|
348
|
-
hypothesis;Pre_merge_review_catches_issues_early;
|
|
349
|
-
rationale;merge_reviews_are_too_late_for_easy_fixes;
|
|
350
|
-
handoff: BranchFinisher;
|
|
351
|
-
---
|
|
352
|
-
agent: BranchFinisher;
|
|
353
|
-
intent: complete_development_branch_workflow;
|
|
354
|
-
context:
|
|
355
|
-
implementation;from_CodeReviewAgent;
|
|
356
|
-
worktree_path;from_WorktreeAgent;
|
|
357
|
-
constraints:
|
|
358
|
-
- verify_all_tests_pass;
|
|
359
|
-
- verify_no_regressions;
|
|
360
|
-
- present_options;
|
|
361
|
-
- merge_to_main;
|
|
362
|
-
- create_pull_request;
|
|
363
|
-
- keep_branch_for_more_work;
|
|
364
|
-
- discard_branch;
|
|
365
|
-
- if_merge;merge_fast_forward_or_squash;delete_worktree;
|
|
366
|
-
- if_pull_request;create_pr_with_description;link_to_plan;
|
|
367
|
-
- if_discard;delete_branch;remove_worktree;
|
|
368
|
-
- document_decision;
|
|
369
|
-
priority: high;
|
|
370
|
-
output: merge_status;pr_url_or_branch_deleted;
|
|
371
|
-
log: branch_completed;timestamp;outcome;
|
|
372
|
-
meta:
|
|
373
|
-
hypothesis;Explicit_branch_completion_prevents_orphan_branches;
|
|
374
|
-
rationale;clear_decisions_prevent_branch_accumulation;
|
|
375
|
-
handoff: ParallelDispatcher;
|
|
376
|
-
---
|
|
377
|
-
agent: ParallelDispatcher;
|
|
378
|
-
intent: coordinate_concurrent_subagent_workflows;
|
|
379
|
-
context:
|
|
380
|
-
independent_tasks;task_list;
|
|
381
|
-
constraints:
|
|
382
|
-
- identify_truly_independent_tasks;
|
|
383
|
-
- dispatch_subagents_in_parallel;
|
|
384
|
-
- wait_for_all_subagents;
|
|
385
|
-
- collect_results;
|
|
386
|
-
- detect_conflicts;
|
|
387
|
-
- if_conflicts;resolve_sequentially;
|
|
388
|
-
- merge_results;
|
|
389
|
-
priority: medium;
|
|
390
|
-
output: parallel_results;conflict_resolution_log;
|
|
391
|
-
log: parallel_dispatch_complete;timestamp;tasks;conflicts;
|
|
392
|
-
meta:
|
|
393
|
-
hypothesis;Parallel_execution_saves_wall_clock_time;
|
|
394
|
-
rationale;independent_tasks_have_no_dependencies;
|
|
395
|
-
handoff: SkillMetaAgent;
|
|
396
|
-
---
|
|
397
|
-
agent: SkillMetaAgent;
|
|
398
|
-
intent: enable_skill_creation_and_extension;
|
|
399
|
-
context:
|
|
400
|
-
new_skill_idea;user_request;
|
|
401
|
-
constraints:
|
|
402
|
-
- use_writing_skills_skill;
|
|
403
|
-
- follow_skill_structure;
|
|
404
|
-
- metadata_block;
|
|
405
|
-
- agent_definitions;
|
|
406
|
-
- constraints_as_semicolon_key_values;
|
|
407
|
-
- triple_dash_delimiters;
|
|
408
|
-
- explicit_handoff_chains;
|
|
409
|
-
- ensure_v1_compliance;
|
|
410
|
-
- scaffold_tests;
|
|
411
|
-
- validate_syntax;
|
|
412
|
-
- classify_category;
|
|
413
|
-
priority: low;
|
|
414
|
-
output: new_skill_yamo;test_plan;
|
|
415
|
-
log: skill_created;timestamp;name;category;
|
|
416
|
-
meta:
|
|
417
|
-
hypothesis;Meta_skills_enable_ecosystem_growth;
|
|
418
|
-
rationale;extensible_systems_adapt_to_new_needs;
|
|
419
|
-
handoff: End;
|
|
420
|
-
---
|
|
421
|
-
agent: UsageGuide;
|
|
422
|
-
intent: introduce_superpowers_workflow;
|
|
423
|
-
context:
|
|
424
|
-
user;new_to_superpowers;
|
|
425
|
-
constraints:
|
|
426
|
-
- explain_basic_workflow;
|
|
427
|
-
- brainstorming;design_refinement;
|
|
428
|
-
- using_git_worktrees;isolated_workspace;
|
|
429
|
-
- writing_plans;implementation_breakdown;
|
|
430
|
-
- subagent_driven_or_executing_plans;task_execution;
|
|
431
|
-
- test_driven_development;red_green_refactor;
|
|
432
|
-
- systematic_debugging;root_cause_analysis;
|
|
433
|
-
- requesting_code_review;quality_gate;
|
|
434
|
-
- finishing_development_branch;merge_pr_discard;
|
|
435
|
-
- explain_skills_trigger_automatically;
|
|
436
|
-
- explain_mandatory_not_suggestions;
|
|
437
|
-
- demonstrate_with_example;
|
|
438
|
-
priority: low;
|
|
439
|
-
output: user_understanding;workflow_ready;
|
|
440
|
-
log: onboarded;timestamp;user;
|
|
441
|
-
meta:
|
|
442
|
-
hypothesis;clear_introduction_enables_effective_use;
|
|
443
|
-
rationale;understanding_why_builds_compliance;
|
|
444
|
-
handoff: WorkflowMemoryStore;
|
|
445
|
-
---
|
|
446
|
-
agent: WorkflowMemoryStore;
|
|
447
|
-
intent: store_workflow_execution_for_pattern_recognition;
|
|
448
|
-
context:
|
|
449
|
-
workflow_decision;from_WorkflowOrchestrator;
|
|
450
|
-
memory_script;tools/memory_mesh.js;
|
|
451
|
-
memory_enabled;provided_by_user.memory_enabled;
|
|
452
|
-
constraints:
|
|
453
|
-
- generate_workflow_embedding;
|
|
454
|
-
- tag_by_mode_project_type_and_outcome;
|
|
455
|
-
- store_execution_patterns;
|
|
456
|
-
- enable_future_recommendations;
|
|
457
|
-
priority: low;
|
|
458
|
-
output: workflow_memory_receipt.json;
|
|
459
|
-
log: workflow_stored;memory_id;
|
|
460
|
-
meta:
|
|
461
|
-
hypothesis;Storing workflows enables pattern recognition for future recommendations;
|
|
462
|
-
handoff: End;
|
|
1
|
+
---
|
|
2
|
+
name: yamo-super
|
|
3
|
+
description: For all code improvement or creation tasks, strictly adhere to the logic, agents, and constraints defined in ~/.claude/skills/yamo-super/skill-super.yamo or ~/.gemini/skills/yamo-super/skill-super.yamo.
|
|
4
|
+
---
|
|
@@ -0,0 +1,548 @@
|
|
|
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;
|