@veedubin/boomerang-v3 0.4.1 → 0.4.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.
|
@@ -226,10 +226,10 @@ memini-ai-dev_query_kg({
|
|
|
226
226
|
- Any lessons learned
|
|
227
227
|
- Adjust trust based on outcome
|
|
228
228
|
|
|
229
|
-
###
|
|
229
|
+
### Thought Chains
|
|
230
230
|
|
|
231
231
|
For complex tasks (multi-file changes, architectural decisions, debugging):
|
|
232
|
-
- Use
|
|
232
|
+
- Use `memini-ai-dev_add_thought` to plan your approach
|
|
233
233
|
- Adjust total_thoughts as needed
|
|
234
234
|
- Do not rush through analysis
|
|
235
235
|
|
|
@@ -99,10 +99,10 @@ Every memory starts at trust=0.5 and is adjusted by feedback:
|
|
|
99
99
|
- Any lessons learned
|
|
100
100
|
- Adjust trust based on outcome (use `agent_used` if code is correct)
|
|
101
101
|
|
|
102
|
-
###
|
|
102
|
+
### Thought Chains
|
|
103
103
|
|
|
104
104
|
For complex tasks (multi-file changes, architectural decisions, debugging):
|
|
105
|
-
- Use
|
|
105
|
+
- Use `memini-ai-dev_add_thought` to plan your approach
|
|
106
106
|
- Adjust total_thoughts as needed
|
|
107
107
|
- Do not rush through analysis
|
|
108
108
|
|
|
@@ -30,7 +30,7 @@ You are the **Boomerang Orchestrator**. Your role is to:
|
|
|
30
30
|
|
|
31
31
|
1. **Analyze Requests**: Understand the user's true intent (not just literal interpretation)
|
|
32
32
|
2. **Parse Tasks**: Break down complex requests into atomic, executable tasks
|
|
33
|
-
3. **Build DAGs**: Analyze dependencies to determine parallel vs
|
|
33
|
+
3. **Build DAGs**: Analyze dependencies to determine parallel vs ordered execution
|
|
34
34
|
4. **Delegate**: Route tasks to appropriate specialist agents
|
|
35
35
|
5. **Aggregate**: Collect and summarize results from sub-agents
|
|
36
36
|
6. **Enforce Quality**: Ensure all quality gates pass before completion
|
|
@@ -164,7 +164,7 @@ The following may skip planning (orchestrator handles directly):
|
|
|
164
164
|
All agents follow these steps IN ORDER:
|
|
165
165
|
|
|
166
166
|
1. **Query Memory** — `memini-ai-dev_query_memories` FIRST
|
|
167
|
-
2. **Think** — `
|
|
167
|
+
2. **Think** — `memini-ai-dev_add_thought` for complex tasks
|
|
168
168
|
3. **Plan** — Create/refine implementation plan (MANDATORY unless waived)
|
|
169
169
|
4. **Delegate** — Task tool with complete Context Package
|
|
170
170
|
5. **Git Check** — Verify working tree state before code changes
|
|
@@ -214,7 +214,7 @@ Update HANDOFF.md at session end or when:
|
|
|
214
214
|
### Mandatory Steps (NEVER SKIP)
|
|
215
215
|
|
|
216
216
|
1. **Query memini-ai** (MANDATORY FIRST ACTION) — Query memini-ai for context before any planning
|
|
217
|
-
2. **
|
|
217
|
+
2. **Thought Chains** (MANDATORY SECOND ACTION) — Call `memini-ai-dev_add_thought` immediately after memory query to analyze the request
|
|
218
218
|
3. **Plan** — Create implementation plan (MANDATORY unless explicitly waived)
|
|
219
219
|
4. **Delegate ALL work** via Task tool — You CANNOT write code, edit files, run bash, or do implementation work. Your only purpose is to delegate to sub-agents.
|
|
220
220
|
5. **Git check** — Before any code changes, verify git status
|
|
@@ -222,9 +222,9 @@ Update HANDOFF.md at session end or when:
|
|
|
222
222
|
7. **Update Docs & Todos** — Update documentation as needed
|
|
223
223
|
8. **Save to memory** — After everything is complete, save a summary to memini-ai
|
|
224
224
|
|
|
225
|
-
###
|
|
225
|
+
### Thought Chain Enforcement
|
|
226
226
|
|
|
227
|
-
You MUST use
|
|
227
|
+
You MUST use `memini-ai-dev_add_thought` for:
|
|
228
228
|
- Complex multi-step problems
|
|
229
229
|
- Tasks with unclear scope
|
|
230
230
|
- Architectural decisions
|
|
@@ -261,7 +261,7 @@ This keeps the context window low while preserving important instructions.
|
|
|
261
261
|
When delegating to sub-agents, include in your prompt:
|
|
262
262
|
- "Query memini-ai before starting work"
|
|
263
263
|
- "Save your work to memini-ai when complete"
|
|
264
|
-
- "Use
|
|
264
|
+
- "Use memini-ai-dev_add_thought if this is a complex task"
|
|
265
265
|
- "Use tiered memory: standard saves for routine work, memini-ai-dev_add_memory for high-value architectural decisions and session summaries"
|
|
266
266
|
|
|
267
267
|
### Trust-Weighted Memory Protocol
|
|
@@ -355,7 +355,7 @@ Each sub-agent call should aim to return:
|
|
|
355
355
|
## Task Flow
|
|
356
356
|
|
|
357
357
|
```
|
|
358
|
-
User Request → Memory Query →
|
|
358
|
+
User Request → Memory Query → Thought Chain → Plan → Delegate to Architect → Architect Researches + Plans → Orchestrator Dispatches → Quality Gates → Update Docs → Save Memory
|
|
359
359
|
```
|
|
360
360
|
|
|
361
361
|
## memini-ai MCP Tools
|
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ memini-ai includes a live D3.js visualization for the knowledge graph:
|
|
|
48
48
|
```bash
|
|
49
49
|
cd memini-ai-dev
|
|
50
50
|
export MEMINI_DB_URL="postgresql://postgres:password@localhost:5432/postgres"
|
|
51
|
-
|
|
51
|
+
uvx --from memini-ai-dev memini-ai --server --port 8000
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
Then open `http://localhost:8000` for the interactive graph visualization.
|
|
@@ -69,18 +69,26 @@ Add to your `.opencode/opencode.json`:
|
|
|
69
69
|
{
|
|
70
70
|
"plugin": ["@veedubin/boomerang-v3"],
|
|
71
71
|
"mcp": {
|
|
72
|
-
"
|
|
72
|
+
"memini-ai-dev": {
|
|
73
73
|
"type": "local",
|
|
74
|
-
"command": ["
|
|
74
|
+
"command": ["uvx", "--from", "memini-ai-dev", "memini-ai", "--stdio"],
|
|
75
|
+
"environment": {
|
|
76
|
+
"MEMINI_DB_URL": "postgresql://postgres:password@localhost:5434/postgres",
|
|
77
|
+
"MEMINI_EMBEDDING_DIM": "384",
|
|
78
|
+
"MEMINI_TRUST_ENGINE": "true",
|
|
79
|
+
"MEMINI_MEMORY_GRAPH": "true",
|
|
80
|
+
"MEMINI_KG_ENABLED": "true",
|
|
81
|
+
"MEMINI_TIERED_LOADING": "true",
|
|
82
|
+
"MEMINI_AUTO_EXTRACT": "true",
|
|
83
|
+
"MEMINI_PRECOMPRESS": "true",
|
|
84
|
+
"MEMINI_USER_MODELING": "true",
|
|
85
|
+
"MEMINI_DECAY_ENABLED": "true",
|
|
86
|
+
"MEMINI_MULTI_PEER_ENABLED": "true",
|
|
87
|
+
"MEMINI_DIALECTIC_ENABLED": "true",
|
|
88
|
+
"MEMINI_THOUGHT_CHAINS_ENABLED": "true"
|
|
89
|
+
},
|
|
90
|
+
"timeout": 60000,
|
|
75
91
|
"enabled": true
|
|
76
|
-
},
|
|
77
|
-
"memini-ai": {
|
|
78
|
-
"type": "stdio",
|
|
79
|
-
"command": ["python", "-m", "memini_ai.server"],
|
|
80
|
-
"env": {
|
|
81
|
-
"MEMINI_DB_URL": "postgresql://postgres:password@localhost:5432/postgres",
|
|
82
|
-
"MEMINI_PROJECT_ID": "my-project"
|
|
83
|
-
}
|
|
84
92
|
}
|
|
85
93
|
}
|
|
86
94
|
}
|
|
@@ -116,7 +124,7 @@ docker run -d --name postgres-test \
|
|
|
116
124
|
```bash
|
|
117
125
|
cd memini-ai-dev
|
|
118
126
|
export MEMINI_DB_URL="postgresql://postgres:password@localhost:5432/postgres"
|
|
119
|
-
|
|
127
|
+
uvx --from memini-ai-dev memini-ai --stdio
|
|
120
128
|
```
|
|
121
129
|
|
|
122
130
|
### Run Boomerang
|