dotmem 0.1.8 → 0.1.9
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/CHANGELOG.md +75 -75
- package/README.md +456 -339
- package/build-config.json +10 -10
- package/built-in-context.json +2 -2
- package/cli.cjs +1589 -886
- package/cli.js +1585 -882
- package/context/templates/AI.md +104 -104
- package/global.cjs +2524 -2307
- package/global.js +2521 -2302
- package/index.cjs +2711 -2494
- package/index.js +2709 -2490
- package/llms.txt +10 -4
- package/mcp.cjs +3264 -2265
- package/mcp.js +3256 -2263
- package/package.json +1 -1
- package/types/exports.d.ts +21 -3
- package/types/memory.d.ts +391 -391
- package/types/profile.d.ts +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to Dotmem are documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## [0.1.7] - 2026-11-10
|
|
9
|
-
|
|
10
|
-
### Fixed
|
|
11
|
-
- **MCP Automatic Joy Profile Activation** — Fresh MCP sessions now automatically deliver the canonical Joy identity through the `initialize.instructions` handshake, composed with (not conflated into) the Scintilla signal. Profile identity values are read from the single canonical profile (`context/profiles/ai/ai.json`) with no hardcoded values.
|
|
12
|
-
- **Session Issues — Phase 2** — Resolved race conditions in `doctor --fix` (optimistic concurrency control with version checking), cross-source duplicate ID handling in `acquire` (refuses ambiguous writes), `projectBootstrapContext` semantic prioritization (P1-P5 explicit priority + recency fallback), `expiresAt` freshness filtering in discovery and bootstrap context, and doctor dry-run content distinction (byte-identical vs divergent duplicates).
|
|
13
|
-
- **Windows EPERM test failure** — Build context script now accepts `CONTEXT_DIR` env var; test uses isolated temp fixture.
|
|
14
|
-
|
|
15
|
-
### Added
|
|
16
|
-
- **Progressive Summary Store** — Four detail levels (current: 1.0, recent: 0.7, distant: 0.3, archived: 0.1) with session count and age-based decay triggers, summary text truncation preserving earliest and most recent content, fact filtering by confidence, decision compaction, question count compaction, and summary rotation chain.
|
|
17
|
-
- **Automatic Conversational Capture** — 7-stage pipeline: detect → classify → extract → dedup → decide → provenance → store. Classification via keyword matching + heuristics (deterministic, no embeddings). Deduplication via Jaccard similarity (threshold 0.75). Explicit instruction detection. Fact vs inference distinction.
|
|
18
|
-
- **MCP Automatic Joy Profile Activation** — ADR-023: `buildProfileGuidance()` reads canonical `JO_PROFILE`; `buildMcpInstructions()` composes profile identity block + Scintilla signal.
|
|
19
|
-
- **Project identity `resolveProjectIdentity`** — Public API export for resolving stable project identity from DOTMEM_PROJECT_ID env, package.json name, or directory basename.
|
|
20
|
-
|
|
21
|
-
### Changed
|
|
22
|
-
- **Documentation Consolidation and Identity Cleanup** (ADR-006, ADR-007, ADR-008) — Root `docs/` removed; all files moved to `.project/`; Memorio identity removed from Dotmem documents; research paper filenames and headings normalized to Dotmem identity; source code references updated.
|
|
23
|
-
- **Historical Reference Cleanup** (ADR-007) — Single "Project origins" section in `.project/README.md`; repetitive historical notes removed from 30 research papers; project identity normalized.
|
|
24
|
-
- **Documentation Ownership Correction** (ADR-008) — Complete inventory and classification of recovered files; Memorio foundational docs identified; Dotmem AI docs classified.
|
|
25
|
-
- **Memory/MCP/Jo/Joy Ecosystem Migration** (ADR-009) — 819 files transferred from Memorio to Dotmem; README collisions resolved; Memorio `docs/research/` removed.
|
|
26
|
-
- **Recovery and Restoration of `.project/archives/`** (ADR-004, ADR-005) — 875 archived files inventoried; ~500 test cases restored to vitest suite; 57 papers recovered; ~40 experiments recovered; ~110 documents recovered.
|
|
27
|
-
- **Canonical Areas fix** — Added `project` key to `CANONICAL_AREAS` vocabulary, fixing silent exclusion of project-scoped knowledge claims.
|
|
28
|
-
|
|
29
|
-
### Deprecated
|
|
30
|
-
- `memory.init()` — No-op; runtime initializes lazily on first use.
|
|
31
|
-
|
|
32
|
-
## [0.1.6] - 2026-10-31
|
|
33
|
-
|
|
34
|
-
### Fixed
|
|
35
|
-
- **Foundation Validation (Workstream A)** — Memorio-Dotmem integration validated. Six duplicated local foundation modules removed; callers migrated to Memorio 5.5.3. TypeScript: 0 errors. Oxlint: 0 errors, 0 warnings. Build: CJS and ESM successful. Vitest: 52 passed, 1 skipped, 1 todo.
|
|
36
|
-
|
|
37
|
-
### Added
|
|
38
|
-
- **Progressive Conversational Memory Design** (Workstream B) — Architecture, behavior specification, test plan, issue investigation, and known limitations documented in `.project/progressive-memory/`.
|
|
39
|
-
- **Profile Projection and Document Loading** — Investigation of 7 declared profile documents vs 3 loaded.
|
|
40
|
-
- **Context Ceiling Analysis** — Identity channel 1904 bytes + ~300 bytes envelope = ~2204 bytes vs 2048 byte host ceiling.
|
|
41
|
-
- **Applicability Gate** — `CANONICAL_AREAS` missing `project` key identified and fixed.
|
|
42
|
-
|
|
43
|
-
## [0.1.5] - 2026-10-31
|
|
44
|
-
|
|
45
|
-
### Added
|
|
46
|
-
- **Historical Recovery and Physical Restoration** — `.project/archives/` recovery inventory (875 files), test recovery (~831 historical cases, ~500 restored), paper recovery (57 documents), experiment recovery (~40), documentation recovery (~110), ownership mapping, ADR-004 and ADR-005 recorded.
|
|
47
|
-
|
|
48
|
-
## [0.1.4] - 2026-10-31
|
|
49
|
-
|
|
50
|
-
### Changed
|
|
51
|
-
- **Documentation Cleanup and Ownership Correction** — ~160+ active documents inspected; 5 duplicate groups identified; 4 resolved; 7 documents rewritten with identity updates; 4 link groups fixed; 10+ legitimate Memorio reference categories preserved; validation: 25/25 checks passed.
|
|
52
|
-
|
|
53
|
-
## [0.1.3] - 2026-10-31
|
|
54
|
-
|
|
55
|
-
### Changed
|
|
56
|
-
- **Dotmem Historical Integration & Ownership Correction** — Architectural ownership correction: Dotmem owns memory acquisition, governance, identity, continuity, AI trust boundaries, Jo/Joy, progressive summaries; Memorio retains state, store, session, IDB/SQLite, generic cache, dispatch/observer. 8 files renamed to canonical names; 26+ document titles updated from "Memorio —" to "Dotmem —"; 7 duplicates removed; 3 SECURITY.md variants renamed; 3 index files updated.
|
|
57
|
-
|
|
58
|
-
## [0.1.2] - 2026-10-31
|
|
59
|
-
|
|
60
|
-
### Added
|
|
61
|
-
- **Dotmem Documentation Consolidation and Identity Cleanup** — Root `docs/` removed, files copied to `.project/`; Memorio identity removed from Dotmem documents; research paper filenames and H1 headings updated; source code references updated; `.project/README.md` rewritten; ADR-006, ADR-007, ADR-008 recorded.
|
|
62
|
-
|
|
63
|
-
## [0.1.1] - 2026-10-31
|
|
64
|
-
|
|
65
|
-
### Added
|
|
66
|
-
- **Dotmem Historical Reference Cleanup and Project Identity** — Single "Project origins" section; repetitive historical notes removed from 30 research papers; project identity normalized; technical dependency references preserved; historical documents preserved as-is; ADR-007, ADR-008 recorded.
|
|
67
|
-
|
|
68
|
-
## [0.1.0] - 2026-10-31
|
|
69
|
-
|
|
70
|
-
### Added
|
|
71
|
-
- **Initial Dotmem Release** — AI memory and continuity infrastructure for agents and applications. Memorio 5.5.3 as foundation. Core capabilities: acquired experience, application memory, continuity, policy, agent namespaces, notes and profiles, MCP and CLI.
|
|
72
|
-
- **Joy Identity** — Native, mandatory AI collaborator identity with canonical profile system.
|
|
73
|
-
- **MCP Server** — Stdio server `dotmem-mcp` with read-only default, write opt-in via `DOTMEM_MCP_WRITE=1`.
|
|
74
|
-
- **Deterministic Retrieval** — Lexical and structured matching without embeddings.
|
|
75
|
-
- **Agent Memory** — Logical namespace partitioning via `dotmem/agent`.
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to Dotmem are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.1.7] - 2026-11-10
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **MCP Automatic Joy Profile Activation** — Fresh MCP sessions now automatically deliver the canonical Joy identity through the `initialize.instructions` handshake, composed with (not conflated into) the Scintilla signal. Profile identity values are read from the single canonical profile (`context/profiles/ai/ai.json`) with no hardcoded values.
|
|
12
|
+
- **Session Issues — Phase 2** — Resolved race conditions in `doctor --fix` (optimistic concurrency control with version checking), cross-source duplicate ID handling in `acquire` (refuses ambiguous writes), `projectBootstrapContext` semantic prioritization (P1-P5 explicit priority + recency fallback), `expiresAt` freshness filtering in discovery and bootstrap context, and doctor dry-run content distinction (byte-identical vs divergent duplicates).
|
|
13
|
+
- **Windows EPERM test failure** — Build context script now accepts `CONTEXT_DIR` env var; test uses isolated temp fixture.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- **Progressive Summary Store** — Four detail levels (current: 1.0, recent: 0.7, distant: 0.3, archived: 0.1) with session count and age-based decay triggers, summary text truncation preserving earliest and most recent content, fact filtering by confidence, decision compaction, question count compaction, and summary rotation chain.
|
|
17
|
+
- **Automatic Conversational Capture** — 7-stage pipeline: detect → classify → extract → dedup → decide → provenance → store. Classification via keyword matching + heuristics (deterministic, no embeddings). Deduplication via Jaccard similarity (threshold 0.75). Explicit instruction detection. Fact vs inference distinction.
|
|
18
|
+
- **MCP Automatic Joy Profile Activation** — ADR-023: `buildProfileGuidance()` reads canonical `JO_PROFILE`; `buildMcpInstructions()` composes profile identity block + Scintilla signal.
|
|
19
|
+
- **Project identity `resolveProjectIdentity`** — Public API export for resolving stable project identity from DOTMEM_PROJECT_ID env, package.json name, or directory basename.
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
- **Documentation Consolidation and Identity Cleanup** (ADR-006, ADR-007, ADR-008) — Root `docs/` removed; all files moved to `.project/`; Memorio identity removed from Dotmem documents; research paper filenames and headings normalized to Dotmem identity; source code references updated.
|
|
23
|
+
- **Historical Reference Cleanup** (ADR-007) — Single "Project origins" section in `.project/README.md`; repetitive historical notes removed from 30 research papers; project identity normalized.
|
|
24
|
+
- **Documentation Ownership Correction** (ADR-008) — Complete inventory and classification of recovered files; Memorio foundational docs identified; Dotmem AI docs classified.
|
|
25
|
+
- **Memory/MCP/Jo/Joy Ecosystem Migration** (ADR-009) — 819 files transferred from Memorio to Dotmem; README collisions resolved; Memorio `docs/research/` removed.
|
|
26
|
+
- **Recovery and Restoration of `.project/archives/`** (ADR-004, ADR-005) — 875 archived files inventoried; ~500 test cases restored to vitest suite; 57 papers recovered; ~40 experiments recovered; ~110 documents recovered.
|
|
27
|
+
- **Canonical Areas fix** — Added `project` key to `CANONICAL_AREAS` vocabulary, fixing silent exclusion of project-scoped knowledge claims.
|
|
28
|
+
|
|
29
|
+
### Deprecated
|
|
30
|
+
- `memory.init()` — No-op; runtime initializes lazily on first use.
|
|
31
|
+
|
|
32
|
+
## [0.1.6] - 2026-10-31
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
- **Foundation Validation (Workstream A)** — Memorio-Dotmem integration validated. Six duplicated local foundation modules removed; callers migrated to Memorio 5.5.3. TypeScript: 0 errors. Oxlint: 0 errors, 0 warnings. Build: CJS and ESM successful. Vitest: 52 passed, 1 skipped, 1 todo.
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
- **Progressive Conversational Memory Design** (Workstream B) — Architecture, behavior specification, test plan, issue investigation, and known limitations documented in `.project/progressive-memory/`.
|
|
39
|
+
- **Profile Projection and Document Loading** — Investigation of 7 declared profile documents vs 3 loaded.
|
|
40
|
+
- **Context Ceiling Analysis** — Identity channel 1904 bytes + ~300 bytes envelope = ~2204 bytes vs 2048 byte host ceiling.
|
|
41
|
+
- **Applicability Gate** — `CANONICAL_AREAS` missing `project` key identified and fixed.
|
|
42
|
+
|
|
43
|
+
## [0.1.5] - 2026-10-31
|
|
44
|
+
|
|
45
|
+
### Added
|
|
46
|
+
- **Historical Recovery and Physical Restoration** — `.project/archives/` recovery inventory (875 files), test recovery (~831 historical cases, ~500 restored), paper recovery (57 documents), experiment recovery (~40), documentation recovery (~110), ownership mapping, ADR-004 and ADR-005 recorded.
|
|
47
|
+
|
|
48
|
+
## [0.1.4] - 2026-10-31
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
- **Documentation Cleanup and Ownership Correction** — ~160+ active documents inspected; 5 duplicate groups identified; 4 resolved; 7 documents rewritten with identity updates; 4 link groups fixed; 10+ legitimate Memorio reference categories preserved; validation: 25/25 checks passed.
|
|
52
|
+
|
|
53
|
+
## [0.1.3] - 2026-10-31
|
|
54
|
+
|
|
55
|
+
### Changed
|
|
56
|
+
- **Dotmem Historical Integration & Ownership Correction** — Architectural ownership correction: Dotmem owns memory acquisition, governance, identity, continuity, AI trust boundaries, Jo/Joy, progressive summaries; Memorio retains state, store, session, IDB/SQLite, generic cache, dispatch/observer. 8 files renamed to canonical names; 26+ document titles updated from "Memorio —" to "Dotmem —"; 7 duplicates removed; 3 SECURITY.md variants renamed; 3 index files updated.
|
|
57
|
+
|
|
58
|
+
## [0.1.2] - 2026-10-31
|
|
59
|
+
|
|
60
|
+
### Added
|
|
61
|
+
- **Dotmem Documentation Consolidation and Identity Cleanup** — Root `docs/` removed, files copied to `.project/`; Memorio identity removed from Dotmem documents; research paper filenames and H1 headings updated; source code references updated; `.project/README.md` rewritten; ADR-006, ADR-007, ADR-008 recorded.
|
|
62
|
+
|
|
63
|
+
## [0.1.1] - 2026-10-31
|
|
64
|
+
|
|
65
|
+
### Added
|
|
66
|
+
- **Dotmem Historical Reference Cleanup and Project Identity** — Single "Project origins" section; repetitive historical notes removed from 30 research papers; project identity normalized; technical dependency references preserved; historical documents preserved as-is; ADR-007, ADR-008 recorded.
|
|
67
|
+
|
|
68
|
+
## [0.1.0] - 2026-10-31
|
|
69
|
+
|
|
70
|
+
### Added
|
|
71
|
+
- **Initial Dotmem Release** — AI memory and continuity infrastructure for agents and applications. Memorio 5.5.3 as foundation. Core capabilities: acquired experience, application memory, continuity, policy, agent namespaces, notes and profiles, MCP and CLI.
|
|
72
|
+
- **Joy Identity** — Native, mandatory AI collaborator identity with canonical profile system.
|
|
73
|
+
- **MCP Server** — Stdio server `dotmem-mcp` with read-only default, write opt-in via `DOTMEM_MCP_WRITE=1`.
|
|
74
|
+
- **Deterministic Retrieval** — Lexical and structured matching without embeddings.
|
|
75
|
+
- **Agent Memory** — Logical namespace partitioning via `dotmem/agent`.
|
|
76
76
|
- **Governance & Security** — RBAC, audit, consent, AES-GCM, PBKDF2 helpers.
|