@yemi33/minions 0.1.1879 → 0.1.1880

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.
@@ -0,0 +1,34 @@
1
+ # Per-Agent Memory Files
2
+
3
+ This directory holds **per-agent personal memory files** — one markdown file per
4
+ named agent (e.g. `dallas.md`, `rebecca.md`). Each file is a personal notebook
5
+ for that agent: the consolidation pipeline appends inbox findings authored by
6
+ the agent to their own file, and the engine injects the agent's file into their
7
+ prompt context on every dispatch (alongside the broadcast `notes.md`).
8
+
9
+ ## How it works
10
+
11
+ 1. **Authoring**: When an agent writes a learnings file under
12
+ `notes/inbox/<agent>-<task>-<date>.md`, the YAML frontmatter `agent:` field
13
+ identifies the author. Filename prefix (`<agent>-...`) is used as fallback.
14
+ 2. **Consolidation**: `engine/consolidation.js` runs on every tick. After the
15
+ shared `notes.md` digest is written, `classifyToKnowledgeBase` also
16
+ appends each item to `knowledge/agents/<agent>.md` when the agent is a
17
+ known team member (matches `config.agents`). This is **strict superset**
18
+ semantics — broadcast consolidation still happens; per-agent routing is in
19
+ addition.
20
+ 3. **Prompt injection**: `engine/playbook.js` injects, in order, `pinned.md`,
21
+ `notes.md`, then `knowledge/agents/<agentId>.md` (when present) into the
22
+ agent's prompt. Missing files are silently skipped.
23
+
24
+ ## Conventions
25
+
26
+ - One `.md` file per agent, named `<agent-id>.md` (lowercase).
27
+ - Append-only from the consolidation engine — agents should not edit their
28
+ own memory files directly. To record a learning, write to
29
+ `notes/inbox/` as usual; the sweep will route it.
30
+ - Capped at ~25 KB per file; oldest sections are pruned at section
31
+ boundaries to stay under budget.
32
+ - Frontmatter `agent:` in inbox notes is the canonical author field.
33
+ - Temp agents (e.g. `temp-mp1fnkze...`) are skipped — only configured
34
+ team members get a memory file.
@@ -0,0 +1,9 @@
1
+ # Dallas — Personal Memory
2
+
3
+ This is Dallas's personal memory file, curated by the consolidation pipeline
4
+ from inbox findings tagged `agent: dallas`. The engine injects this file into
5
+ Dallas's prompt context on every dispatch (alongside `notes.md`).
6
+
7
+ See `knowledge/agents/README.md` for the convention.
8
+
9
+ <!-- Append-only; consolidation engine writes new sections below. -->
@@ -0,0 +1,9 @@
1
+ # Lambert — Personal Memory
2
+
3
+ This is Lambert's personal memory file, curated by the consolidation pipeline
4
+ from inbox findings tagged `agent: lambert`. The engine injects this file into
5
+ Lambert's prompt context on every dispatch (alongside `notes.md`).
6
+
7
+ See `knowledge/agents/README.md` for the convention.
8
+
9
+ <!-- Append-only; consolidation engine writes new sections below. -->
@@ -0,0 +1,9 @@
1
+ # Ralph — Personal Memory
2
+
3
+ This is Ralph's personal memory file, curated by the consolidation pipeline
4
+ from inbox findings tagged `agent: ralph`. The engine injects this file into
5
+ Ralph's prompt context on every dispatch (alongside `notes.md`).
6
+
7
+ See `knowledge/agents/README.md` for the convention.
8
+
9
+ <!-- Append-only; consolidation engine writes new sections below. -->
@@ -0,0 +1,9 @@
1
+ # Rebecca — Personal Memory
2
+
3
+ This is Rebecca's personal memory file, curated by the consolidation pipeline
4
+ from inbox findings tagged `agent: rebecca`. The engine injects this file into
5
+ Rebecca's prompt context on every dispatch (alongside `notes.md`).
6
+
7
+ See `knowledge/agents/README.md` for the convention.
8
+
9
+ <!-- Append-only; consolidation engine writes new sections below. -->
@@ -0,0 +1,9 @@
1
+ # Ripley — Personal Memory
2
+
3
+ This is Ripley's personal memory file, curated by the consolidation pipeline
4
+ from inbox findings tagged `agent: ripley`. The engine injects this file into
5
+ Ripley's prompt context on every dispatch (alongside `notes.md`).
6
+
7
+ See `knowledge/agents/README.md` for the convention.
8
+
9
+ <!-- Append-only; consolidation engine writes new sections below. -->
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1879",
3
+ "version": "0.1.1880",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"
7
7
  },
8
8
  "scripts": {
9
+ "package:check": "node tools/check-package-boundary.js public",
10
+ "package:prepare:public": "node tools/prepare-package.js public",
11
+ "package:prepare:internal": "node tools/prepare-package.js internal",
9
12
  "test": "node test/run-parallel.js",
10
13
  "test:sequential": "node test/unit.test.js",
11
14
  "test:unit": "node test/run-parallel.js",
@@ -32,11 +35,28 @@
32
35
  ],
33
36
  "author": "yemi33",
34
37
  "license": "MIT",
38
+ "files": [
39
+ "agents/*/charter.md",
40
+ "bin/",
41
+ "config.template.json",
42
+ "dashboard/",
43
+ "dashboard-build.js",
44
+ "dashboard.js",
45
+ "docs/",
46
+ "engine/",
47
+ "engine.js",
48
+ "knowledge/agents/*.md",
49
+ "minions.js",
50
+ "playbooks/",
51
+ "prompts/",
52
+ "routing.md",
53
+ "skills/"
54
+ ],
35
55
  "repository": {
36
56
  "type": "git",
37
57
  "url": "https://github.com/yemi33/minions.git"
38
58
  },
39
- "homepage": "https://github.com/yemi33/minions#readme",
59
+ "homepage": "https://yemi33.github.io/minions/",
40
60
  "engines": {
41
61
  "node": ">=18"
42
62
  },
File without changes
package/.claudeignore DELETED
@@ -1,5 +0,0 @@
1
- agents/
2
- engine/tmp/
3
- engine/contexts/
4
- prd/*.backup
5
- plans/archive/
package/.gitattributes DELETED
@@ -1,2 +0,0 @@
1
- * text=auto eol=lf
2
- *.ps1 text eol=crlf