dotmem 0.2.5 → 0.2.7

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/llms.txt CHANGED
@@ -116,10 +116,10 @@ Tools exposed:
116
116
  dotmem_note_write write - add or update a user note (requires DOTMEM_MCP_WRITE=1)
117
117
 
118
118
  === CLI ===
119
- npx dotmem — project memory context for CWD
119
+ npx dotmem — project memory context for CWD
120
120
  npx dotmem context "<situation>" [--explain] [--json] [--full] [--claims-only] [--limit <N>] [--format brief]
121
121
  npx dotmem init
122
- npx dotmem acquire — acquire claim from JSON on stdin
122
+ npx dotmem acquire — acquire claim from JSON on stdin
123
123
  npx dotmem learn "<text>" [--scope user|project] [--situation "<text>"] [--id "<id>"]
124
124
  npx dotmem inspect FILE.mem [--format md|json] [--redact|--no-redact] [--limit N] [--claims]
125
125
  npx dotmem dump [root|file] [--format json|ndjson] [--redact|--no-redact] [--since <version>]
@@ -252,9 +252,9 @@ memory.seed // development-only Joy seed injection (requires --dev)
252
252
  --- policy ---
253
253
 
254
254
  Enforcement tiers (authoritative vocabulary):
255
- 'context' — supplies contextual information; does not itself impose a blocking precondition
256
- 'precondition' — blocks the governed operation when the condition is violated or unresolved
257
- 'hard-precondition' — retains the stronger enforcement semantics defined by the policy contract
255
+ 'context' — supplies contextual information; does not itself impose a blocking precondition
256
+ 'precondition' — blocks the governed operation when the condition is violated or unresolved
257
+ 'hard-precondition' — retains the stronger enforcement semantics defined by the policy contract
258
258
 
259
259
  Event-driven functions from core/knowledge/policy:
260
260
  evaluatePolicies(event: PolicyEvent): PolicyDecision
@@ -331,7 +331,7 @@ signMemPackage(input: Uint8Array, privateKey: CryptoKey, publicKey: CryptoKey):
331
331
 
332
332
  === Memory Model ===
333
333
 
334
- Acquire → Discover → Project
334
+ Acquire → Discover → Project
335
335
 
336
336
  Claims (AcquireOptions):
337
337
  - id: string (unique, deterministic)
@@ -376,6 +376,23 @@ User: <storage>/user.mem
376
376
  Agent: <storage>/agent.mem
377
377
  Logic: <storage>/logic.mem
378
378
 
379
+ === Progressive context loading ===
380
+ Dotmem can progressively load context according to the session's configured loading profile and progress.
381
+
382
+ Levels:
383
+ - L0: minimal startup (0 claims)
384
+ - L1: initial context (5 candidates / 900 characters)
385
+ - L2: expanded context (12 candidates / 3,000 characters)
386
+ - L3: deep context (20 candidates / 6,000 characters)
387
+
388
+ Loading profiles (supplied to Dotmem's session-loading policy, not inferred from wording):
389
+ - SHORT: maximum L1
390
+ - MEDIUM: maximum L2
391
+ - LONG: can progress to L3 from turn 6 onward
392
+
393
+ After a summary restart, automatic progression returns to L1.
394
+ The complete projection remains available explicitly through --full.
395
+
379
396
  === Security ===
380
397
 
381
398
  - Encryption: OPT-IN (not default). Enable per-context or per-scope with encryptionKey.
@@ -384,7 +401,7 @@ Logic: <storage>/logic.mem
384
401
  - Claim immutability: stored claims never edited; corrections use refines/supersedes/retracts
385
402
  - Evidence tracking: all claims carry source + observedAt
386
403
  - Integrity: npx dotmem inspect reports integrity (bytes unchanged) and authenticity (who wrote them) as separate axes
387
- - Memory ≠ authority: projected context is untrusted; verify before relying
404
+ - Memory ≠  authority: projected context is untrusted; verify before relying
388
405
 
389
406
  See SECURITY.md for encryption configuration and threat model.
390
407
  See MEMORY.md for acquisition contract and policy language.
@@ -392,6 +409,6 @@ See AGENTS.md for AI working rules and the complete memory.* surface.
392
409
 
393
410
  ## Archive and Search
394
411
 
395
- - File-backed .arch.mem archive (UUID-named ZIP text) via
396
- px dotmem archive ... and MCP dotmem_archive.n- Local BM25 search via
397
- px dotmem search ... and MCP dotmem_search.n- Auto-archive on store full; delete-claim for repair.n
412
+ - File-backed .arch.mem archive (UUID-named ZIP text) via npx dotmem archive ... and MCP dotmem_archive.
413
+ - Local BM25 search via npx dotmem search ... and MCP dotmem_search.
414
+ - Auto-archive on store full; delete-claim for repair.