dotmem 0.3.2 → 0.3.4

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/AGENTS.md CHANGED
@@ -29,10 +29,9 @@ dotmem
29
29
 
30
30
  ## Activation
31
31
 
32
+ At every chat start AI need to use terminal command `npx dotmem`.
32
33
  The primary chat invocation is `dotmem` (case-insensitive: `DOTMEM` is equivalent). `Joy` and `Jo` are
33
- optional profile aliases for the canonical Joy profile; they are valid only when that profile is enabled
34
- and the host adapter supports them. `npx dotmem` is a terminal command, `.mem` is a file/package
35
- extension, and `load dotmem` is natural language - none of them is a deterministic chat trigger.
34
+ optional profile aliases for the canonical Joy profile; they are valid only when that profile is enabled and the host adapter supports them. `npx dotmem` is a terminal command, `.mem` is a file/package extension, and `load dotmem` is natural language - none of them is a deterministic chat trigger.
36
35
 
37
36
  ### What are Joy and Jo?
38
37
 
@@ -61,6 +60,7 @@ Activation matching is **exact phrase only** (case-insensitive, trimmed, trailin
61
60
  Ordinary mentions of a name (e.g., "Jo said...") do not trigger activation. The matcher requires
62
61
  the entire message to be exactly one of the activation phrases.
63
62
 
63
+ At every chat start AI need to use terminal command `npx dotmem`.
64
64
  When the user says one of them, run `npx dotmem` first. The CLI handles carrier compatibility and
65
65
  current-user binding. Do not load any dotmem memory on your own before it reports a compatible
66
66
  carrier and, when required, a trusted binding. If it returns the handshake gate, follow it.
@@ -638,15 +638,15 @@ npx dotmem stats --tokens # measure token footprint
638
638
  Experimental commands (0.3.1, may change): `gc`, `consolidate`, `compile`, `hooks`, `debug`, `on`, `branch`, `snapshot`, `sync`, `pack`, `probe`, `quarantine`, `selector`, `rewrap`. Use `npx dotmem <command> --help`.
639
639
 
640
640
  Recent additions (working tree):
641
- - `npx dotmem context --no-telemetry-weights` — disable telemetry boost in ranking.
642
- - `npx dotmem --role <role>` — print open loops for a role at startup.
641
+ - `npx dotmem context --no-telemetry-weights` - disable telemetry boost in ranking.
642
+ - `npx dotmem --role <role>` - print open loops for a role at startup.
643
643
  - `npx dotmem loop add <id> "<text>" --waits-for <p> [--author <a>] [--target-role <r>|--to <r>] [--claim <id>] [--file <path>]`
644
644
  - `npx dotmem loop list [--role <r>|--to <r>] [--all]` / `loop close <id> --by <p> [--resolution <text>]`
645
- - `npx dotmem probe list` / `probe run [--id <id>]` — freshness probes on claims.
646
- - `npx dotmem gc --report` / `gc --apply` / `gc --purge` — archive expired claims.
647
- - `npx dotmem stats --best|--worst|--unused|--reset` — telemetry reports.
645
+ - `npx dotmem probe list` / `probe run [--id <id>]` - freshness probes on claims.
646
+ - `npx dotmem gc --report` / `gc --apply` / `gc --purge` - archive expired claims.
647
+ - `npx dotmem stats --best|--worst|--unused|--reset` - telemetry reports.
648
648
  - `npx dotmem acquire ... --lifetime <durable|operational> --until <date> --subject <s> --predicate <p> --source <src> --taint <t> --auto-supersede`
649
- - `npx dotmem quarantine promote <id>` — promote a quarantined claim to a derived, user-direct claim.
649
+ - `npx dotmem quarantine promote <id>` - promote a quarantined claim to a derived, user-direct claim.
650
650
 
651
651
  ## Cognitive engine (0.3.1)
652
652
 
package/CHANGELOG.md CHANGED
@@ -69,7 +69,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
69
69
  - **Iron rules** - Added `iron-rule-em-dash-to-hyphen` (use hyphen instead of em dash) and `iron-rule-no-jsx` (never use JSX) as human-stated project rules.
70
70
 
71
71
  ### Changed
72
- - **Em dash to hyphen** - Replaced em dash (`—`) with hyphen (`-`) across all project source, docs, and visual editor files.
72
+ - **Em dash to hyphen** - Replaced em dash (`-`) with hyphen (`-`) across all project source, docs, and visual editor files.
73
73
  - **Visual editor** - Converted remaining `.jsx` sources to `.js` using `React.createElement` (no JSX).
74
74
 
75
75
  ### Fixed
package/OVERVIEW.md CHANGED
@@ -376,3 +376,17 @@ The guiding principle remains:
376
376
 
377
377
  > If you do not experience, you do not remember. If you do not know, you
378
378
  > do not remember.
379
+
380
+
381
+ ## Local Intelligence & Process Reuse (LIPR)
382
+
383
+ Dotmem now persists reusable local processes. Each process has a stable identity, immutable versioned artifacts, a manifest, tests, benchmarks, and evolution history under <storageRoot>/processes/. Discovery searches existing capabilities before generation; execution is local-first and sandboxed.
384
+
385
+ ## Living Processes & Evolutionary Intelligence (LPEI)
386
+
387
+ Processes accumulate execution observations, propose improvements, run isolated experiments, benchmark candidates, and promote validated versions while preserving genealogy and rollback. Evolution is evidence-driven, reversible, and governed.
388
+
389
+ ## Process Package Architecture (PPA)
390
+
391
+ Each process owns its directory: index.ts (stable entry point), <major>.<minor>.<patch>.ts (immutable versions), manifest.json,
392
+ eadme.md, ests/, enchmarks/, history/. Activation is atomic; rollback restores prior versions without destroying history.
393
+
package/README.md CHANGED
@@ -2,10 +2,15 @@
2
2
 
3
3
  ![Dotmem banner](https://raw.githubusercontent.com/passariello/container/refs/heads/main/dotmem/banner.svg)
4
4
 
5
- [![npm](https://img.shields.io/npm/v/dotmem)](https://www.npmjs.com/package/dotmem)
6
- [![license](https://img.shields.io/npm/l/dotmem)](#license-and-disclaimer)
5
+ [![npm version](https://img.shields.io/npm/v/dotmem)](https://www.npmjs.com/package/dotmem)
6
+ [![license](https://img.shields.io/npm/l/dotmem)](./LICENSE)
7
7
  [![node](https://img.shields.io/node/v/dotmem)](#quick-start)
8
8
 
9
+ [![TypeScript](https://img.shields.io/badge/TypeScript-native-3178c6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
10
+ [![zero core deps](https://img.shields.io/badge/core%20dependencies-0-brightgreen)](#install)
11
+ [![Socket Badge](https://badge.socket.dev/npm/package/dotmem/latest)](https://socket.dev/npm/package/dotmem)
12
+ [![Known Vulnerabilities](https://snyk.io/test/npm/dotmem/badge.svg)](https://snyk.io/test/npm/dotmem)
13
+
9
14
  **A verifiable, local project memory for AI coding assistants.** Architecture decisions, debugging history, unfinished work and technical discussions survive sessions, models and editors.
10
15
 
11
16
  Dotmem is a local-first memory and context engine for AI-powered code editors. Start a new chat, switch editors, restart your machine, or come back weeks later: your assistant can recover project architecture, technical decisions, previous discussions, debugging history, and unfinished work.
package/WHATSNEW.md CHANGED
@@ -28,3 +28,13 @@
28
28
  - Updated CHANGELOG, README, AGENTS, MEMORY, llms, journal (result/adr).
29
29
 
30
30
  See CHANGELOG.md for full release history.
31
+
32
+
33
+ ## LIPR, LPEI, and PPA
34
+
35
+ - Added local intelligence and process reuse: discovery, registry, execution, caching, composition.
36
+ - Added living processes and evolutionary intelligence: lifecycle, proposals, experiments, benchmarking, genealogy, governance, diagnostics.
37
+ - Added process package architecture: per-process directories with versioned artifacts, manifests, tests, benchmarks, history.
38
+ - Added CLI: dotmem process ... including evolution and package subcommands.
39
+ - Added MCP tools: dotmem_process_* including evolution and package operations.
40
+
@@ -0,0 +1,17 @@
1
+ # ADR-001: Process Intelligence (LIPR, LPEI, PPA)
2
+
3
+ ## Status
4
+ Accepted
5
+
6
+ ## Context
7
+ Dotmem needed persistent reusable local capabilities beyond passive memory.
8
+
9
+ ## Decision
10
+ Implement LIPR (local intelligence and process reuse), LPEI (living processes and evolutionary intelligence), and PPA (process package architecture) as integrated subsystems under core/local-intelligence/.
11
+
12
+ ## Consequences
13
+ - Processes are versioned, immutable, and evolvable.
14
+ - Execution remains local-first and sandboxed.
15
+ - Discovery precedes generation.
16
+ - CLI and MCP expose process operations.
17
+