@aistastudio/myc 0.3.7 → 0.3.10

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 (3) hide show
  1. package/README.md +33 -3
  2. package/dist/myc.js +692 -586
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -37,8 +37,8 @@ Install Bun: https://bun.sh
37
37
  Installation is one command:
38
38
 
39
39
  ```bash
40
- bun install -g @aistastudio/myc # 3.39 MB compressed, 12.49 MB unpacked, 13 files; no models pulled
41
- myc --version # myc 0.3.7 (schema 1)
40
+ bun install -g @aistastudio/myc # 3.42 MB compressed, 12.58 MB unpacked, 13 files; no models pulled
41
+ myc --version # myc 0.3.10 (schema 1)
42
42
  ```
43
43
 
44
44
  It runs on macOS and Linux. On Windows, use WSL and install Bun and myc inside
@@ -255,6 +255,13 @@ under different keys; `code symbol` reads both.
255
255
  Anchors tie knowledge to a span and follow the code as it moves; that half is
256
256
  language-agnostic and was verified on Python as well as TypeScript.
257
257
 
258
+ When the code is no longer where the anchor put it, the knowledge is not
259
+ deleted — it ranks lower and says why. `recall` marks the row
260
+ `[code moved ×0.64]`, `[code unverified ×0.5]` or `[code gone ×0.2]`: the
261
+ multiplier is the one its score was taken down by (drifted × similarity,
262
+ stale × 0.5, lost × 0.2). Knowledge whose every anchor is lost stays out of
263
+ `prime`, and the footer counts it: `N with code gone hidden`.
264
+
258
265
  ## Migration from beads
259
266
 
260
267
  ```bash
@@ -350,6 +357,29 @@ episode sess-5jh8je4g050m saved (265 B)
350
357
  NEXT myc show sess-5jh8je4g050m · myc ready --claim
351
358
  ```
352
359
 
360
+ **Decisions pulled from a compaction are candidates, not facts.** The same hook
361
+ lifts "we decided / because" lines out of the transcript and stores them as
362
+ candidates (`state pending_review`); recall, search, prime and MCP do not
363
+ return them until someone confirms. `prime` names them in its footer —
364
+ `N pending review hidden — myc review` — and `myc review` lists them, this
365
+ session's first, for a person or an agent to settle. Confirming makes the
366
+ candidate knowledge the way a new note is born (embedding and absorb
367
+ classification queued); rejecting retracts it with the reason kept in the node.
368
+ An agent does the same through MCP: `myc_ready` with `review` lists,
369
+ `myc_update` with `confirm` or `reject` settles; the web knowledge base puts
370
+ the two buttons on the candidate's row.
371
+
372
+ ```
373
+ $ myc review
374
+ PENDING REVIEW 2 · 1 in this session's prime · 1 from other sessions · session 3f9c21aa
375
+ $ myc review confirm memory-6k2x…
376
+ $ myc review reject memory-9x1q… --reason "restates the task, not a decision"
377
+ ```
378
+
379
+ A retracted note — a rejected candidate among them — is out of every retrieval
380
+ path, not only replaced versions: superseded, retracted and cancelled are one
381
+ list shared by recall, prime and the status line.
382
+
353
383
  **A status line with what the agent cannot see.** `myc wire --status-line`
354
384
  puts one line under Claude Code's prompt — how full the context is, the task
355
385
  queue, the code index, the project's memory, and how many of this session's
@@ -401,7 +431,7 @@ last-writer-wins over whole records.
401
431
 
402
432
  **Guards are proved by mutation.** Every refusal and every invariant is
403
433
  accompanied by a mutation that removes it; a guard whose removal breaks no test
404
- is treated as absent. The full suite: 3438 pass / 0 fail / 16 skip
434
+ is treated as absent. The full suite: 3672 pass / 0 fail / 16 skip
405
435
  (`bun test`, 2026-09-11).
406
436
 
407
437
  ## What myc does