Skip to content

Commit b53b771

Browse files
committed
fix(skills): use note_type param in memory-onboarding schema examples
The schema_validate/schema_diff/schema_infer examples used noteType=, but the registered MCP tool contract exposes note_type (src/basic_memory/mcp/tools/schema.py). Assistants copying the reference calls during Phase 3/6 would fail to bind. Signed-off-by: Cody Faust <cody@luminarysol.com>
1 parent b857a3d commit b53b771

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

skills/memory-onboarding/references/schema-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ Key points:
120120

121121
## Validation & drift
122122

123-
- `schema_validate(noteType="Task")` — check all notes of a type; also works on a single note. Reports missing required fields, unknown fields, type mismatches, invalid enum values.
124-
- `schema_diff(noteType="Task")` — finds drift: fields notes use that the schema doesn't define (candidates to add as optional), and schema fields nobody uses (candidates to drop).
125-
- `schema_infer(noteType="Task")` — when notes of a type already exist without a schema, infer one from their actual structure instead of designing from scratch.
123+
- `schema_validate(note_type="Task")` — check all notes of a type; also works on a single note. Reports missing required fields, unknown fields, type mismatches, invalid enum values.
124+
- `schema_diff(note_type="Task")` — finds drift: fields notes use that the schema doesn't define (candidates to add as optional), and schema fields nobody uses (candidates to drop).
125+
- `schema_infer(note_type="Task")` — when notes of a type already exist without a schema, infer one from their actual structure instead of designing from scratch.
126126

127127
Evolution loop: `schema_diff` → edit the schema note (append changelog row, bump version if breaking) → `schema_validate` → fix outliers. Suggest the user run this monthly-ish once the system has real volume.
128128

0 commit comments

Comments
 (0)