create-booboo 0.3.0 → 0.4.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.
Files changed (2) hide show
  1. package/dist/cli.js +10 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -3,7 +3,7 @@
3
3
  // src/cli.ts
4
4
  import { mkdirSync, writeFileSync, existsSync, readdirSync, readFileSync } from "fs";
5
5
  import path from "path";
6
- var BOOBOO_VERSION = "^0.4.0";
6
+ var BOOBOO_VERSION = "^0.5.0";
7
7
  var VERSION = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")).version;
8
8
  var args = process.argv.slice(2);
9
9
  var flags = new Set(args.filter((a) => a.startsWith("--")));
@@ -180,11 +180,17 @@ your conventions evolve \u2014 it IS your system's constitution.
180
180
  ## MCP
181
181
 
182
182
  \`npm run mcp\` exposes \`booboo_stats \xB7 booboo_search \xB7 booboo_node \xB7 booboo_neighbors \xB7 booboo_path\`
183
- (+ \`booboo_boot \xB7 booboo_org\` with \`--org\`) so an AI client can query the brain. See the Booboo repo for client config.
183
+ (+ \`booboo_boot \xB7 booboo_org\` with \`--org\`) so an AI client can query the brain, plus the LIVE
184
+ memory verbs \`booboo_remember\` and \`booboo_report\` \u2014 durable writes that append to the journal
185
+ beside the snapshot and are queryable the same session (pass \`--no-write\` for a read-only server).
186
+ See the Booboo repo for client config.
184
187
  `;
185
188
  var gitignore = `node_modules/
186
189
  # the built snapshot can contain real/private data \u2014 don't commit it
187
190
  brain.json
191
+ # the LIVE MEMORY journal \u2014 durable agent writes (remember/report). Private,
192
+ # and NOT regenerated by build, so it's never deleted \u2014 just don't commit it.
193
+ *.journal.jsonl
188
194
  # the vault is derived from the snapshot \u2014 regenerate, never commit
189
195
  vault/
190
196
  *.log
@@ -203,9 +209,10 @@ operating doctrine for this brain \u2014 the conventions match the setup.*
203
209
  1. **ORIENT** \u2014 never assume what the brain knows: boot as your agent (\`booboo_boot('<agent-id>')\` over MCP) for your identity, inherited rules and buckets; then \`booboo_search\`/\`booboo_neighbors\` for the facts you need. *Assumption is not recall.*
204
210
  2. **ACT** \u2014 the smallest correct change.
205
211
  3. **VERIFY against reality** \u2014 \`npm run build\` and read the \`quality\` line; open \`npm run view\` or \`npm run panel\` when the change is visual. Introspection is not verification.
206
- 4. **RECORD** \u2014 write what you learned into your source data as a memory node.
212
+ 4. **RECORD** \u2014 write what you learned: call \`booboo_remember\` (a durable memory) and \`booboo_report\` (what you closed) over MCP. These are LIVE \u2014 they append to the journal beside the snapshot and are queryable the same session; no rebuild needed. Close every substantial task with a \`booboo_report\`.
207
213
 
208
214
  ## Writing memories (the conventions that keep the brain curated)
215
+ - **Use \`booboo_remember\`** \u2014 pass \`agent\` (who it belongs to), \`text\` (the fact), and optionally \`kind\` / \`bucket\`. It writes to the durable journal (survives every rebuild) and is instantly searchable. \`booboo_report\` files what you closed; it lands on the panel's Reports timeline.
209
216
  - **One atomic fact per note**, written for the future reader. Never dump a transcript \u2014 the quality gate counts \`dump-suspects\` and they are a smell.
210
217
  - **Author your links**: put \`[[node-id]]\` (or \`[[exact label]]\`) refs in the note text where you KNOW the connection. \`wikilinks: true\` turns them into first-class \`authored\` edges that outrank any harvested relation.
211
218
  - **Corrections replace**: when a note corrects an earlier fact, remove or supersede the old one in the same act. A brain that only accumulates is not curated \u2014 stale truth next to live truth is worse than either.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-booboo",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Scaffold a new Booboo brain — `npx create-booboo my-brain`. Zero deps.",
5
5
  "license": "MIT",
6
6
  "repository": {