You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/v3-minimal-vault/README.md
+28-4Lines changed: 28 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,10 +100,34 @@ valid_to: null
100
100
101
101
Every referenced entity must appear in `memory/entities.md`. This is strict because typos in entity IDs silently split memory.
102
102
103
-
> **Common mistakes**
104
-
>
105
-
> - `sources:` entries are local filesystem paths relative to the vault. To cite an external URL, put it in the note body or save a local source file under `sources/articles/` and cite that file.
106
-
> - New fact predicates must be declared in `memory/schema/predicates.yaml` before facts use them.
103
+
### Common mistakes lint will catch
104
+
105
+
A short field guide to first-contact errors and how to fix them:
106
+
107
+
- **`source does not exist: https://...`** — `sources:` entries are local filesystem paths relative to the vault root, not URLs. To cite an external URL, put it in the note body or save a local source file under `sources/articles/` and cite that path.
108
+
- **`missing required field 'recorded_at'`** — every `fact` needs an ISO-8601 timestamp for when the fact was recorded. `valid_from` is separate and optional.
109
+
110
+
```yaml
111
+
type: fact
112
+
entity: elena-voss
113
+
predicate: role
114
+
value: "Art conservator"
115
+
recorded_at: 2026-05-13T18:51:00Z
116
+
valid_from: 2026-05-13
117
+
valid_to: null
118
+
confidence: high
119
+
sources: []
120
+
```
121
+
122
+
- **`unknown predicate 'X'`** — predicates are controlled by `memory/schema/predicates.yaml`. Declare the predicate before writing facts or operation payloads that use it.
123
+
124
+
```yaml
125
+
predicates:
126
+
- id: spec-version
127
+
description: Declared spec version of a memory vault or schema.
128
+
```
129
+
130
+
- **`source:` vs `sources:`** — the schema field is the plural array `sources: []`, not the singular `source:`.
0 commit comments