From f1403318002a1f7ec36f81f834d7cb9b23d3fb77 Mon Sep 17 00:00:00 2001 From: Coding-Dev-Tools Date: Tue, 21 Jul 2026 00:35:43 -0400 Subject: [PATCH] docs: update SCHEMA_VERSION references from 3 to 4 in AGENTS.md --- AGENTS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 2b48faf..a16e1a8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -20,7 +20,7 @@ most common mistake here. | Status | Primary scoped, bi-temporal, interface-driven implementation. | Compatibility/reference implementation with flat namespaces. | | Model | Scoped + bi-temporal + typed; interface-driven. | Single flat `namespace` string per memory. | | Code | `engraphis/core/`, `engraphis/backends/`, `eval/`, `tests/`, `scripts/migrate_to_v2.py` | `engraphis/app.py`, `config.py`, `models.py`, `routes/`, `stores/`, `engines/`, `llm/`, `static/` | -| Data | new v2 schema (`SCHEMA_VERSION = 3`) | `engraphis_v1.db` | +| Data | new v2 schema (`SCHEMA_VERSION = 4`) | `engraphis_v1.db` | | Entry | `MemoryEngine.create()` → `core/engine.py` | `python -m scripts.start_server` → FastAPI on :8700 | **Rule:** build new capability on **v2** (`core/` + `backends/`) behind the interfaces. @@ -178,7 +178,7 @@ These are pure, unit-tested functions — change them only with a corresponding --- -## 5. Data model cheat-sheet (`core/interfaces.py`, `core/schema.py` — `SCHEMA_VERSION = 3`) +## 5. Data model cheat-sheet (`core/interfaces.py`, `core/schema.py` — `SCHEMA_VERSION = 4`) - **Scope hierarchy:** `workspace → repo → session → memory`. Scopes: `session|repo|workspace|user`. - **Bi-temporal validity on every record:** world-time `valid_from/valid_to` +