@yemi33/minions 0.1.2401 → 0.1.2403
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/dashboard/js/refresh.js +38 -8
- package/dashboard.js +272 -130
- package/docs/README.md +1 -1
- package/docs/named-agents.md +16 -9
- package/docs/team-memory.md +455 -137
- package/engine/queries.js +67 -68
- package/engine/tools-inventory.js +104 -0
- package/package.json +1 -1
package/docs/named-agents.md
CHANGED
|
@@ -190,7 +190,10 @@ The capability matrix for each runtime is in [`docs/runtime-adapters.md`](runtim
|
|
|
190
190
|
|
|
191
191
|
Each named agent has a personal memory file at
|
|
192
192
|
`knowledge/agents/<agentId>.md` (e.g. `knowledge/agents/dallas.md`) — a personal notebook
|
|
193
|
-
|
|
193
|
+
whose entries are also indexed for task-aware SQL/FTS5 recall. In the legacy
|
|
194
|
+
fallback it is injected into that agent's prompt; when active retrieval returns
|
|
195
|
+
evidence, selected records replace the broad notebook appendix. The format
|
|
196
|
+
convention is documented in
|
|
194
197
|
[`knowledge/agents/README.md`](../knowledge/agents/README.md).
|
|
195
198
|
|
|
196
199
|
**Written exclusively by the consolidation pipeline.** `appendToAgentMemory` in
|
|
@@ -199,16 +202,20 @@ to its author's file. Authorship comes from the inbox note's YAML frontmatter `a
|
|
|
199
202
|
field, with the **filename prefix** (`<agent>-…md`) as fallback (`extractInboxAgent`). Key
|
|
200
203
|
properties:
|
|
201
204
|
|
|
202
|
-
- **
|
|
203
|
-
`notes/inbox/` and let
|
|
204
|
-
|
|
205
|
-
|
|
205
|
+
- **Pipeline-owned** — agents must not edit their own memory files directly; write
|
|
206
|
+
to `notes/inbox/` and let consolidation append, reconcile, prune, or summarize it
|
|
207
|
+
under the file lock.
|
|
208
|
+
- **25,000-byte and entry-count caps** — canonical sections are pruned oldest-first
|
|
209
|
+
to the UTF-8 byte budget (`AGENT_MEMORY_BUDGET_BYTES`) and
|
|
210
|
+
`engine.agentMemoryMaxEntries` (default `300`).
|
|
206
211
|
- **Only configured `config.agents` keys get a file** — the agent must be in the known-team
|
|
207
212
|
set; `temp-*` ids are skipped. This is a strict superset of broadcast consolidation: the
|
|
208
213
|
shared `notes.md` digest still happens; per-agent routing is *in addition*.
|
|
209
214
|
|
|
210
|
-
**Prompt
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
215
|
+
**Prompt memory modes.** [`engine/playbook.js`](../engine/playbook.js) always
|
|
216
|
+
places non-empty `pinned.md` first. Default active retrieval then injects a
|
|
217
|
+
bounded `Relevant Memory` pack when it finds evidence. If retrieval is disabled,
|
|
218
|
+
shadowed, empty, or fails, the engine instead injects bounded `notes.md` followed
|
|
219
|
+
by `knowledge/agents/<agentId>.md` when present. Every memory appendix is fenced
|
|
220
|
+
as `<UNTRUSTED-INPUT>`. The full lifecycle and authority model are in
|
|
214
221
|
[`docs/team-memory.md`](team-memory.md).
|