Clarify memory_query_graph: kind is an EDGE type, not an atom type
This commit is contained in:
1 parent
3b5cd2e771
commit
16c843966e
2 files changed
+16
-8
No files matched your search
@@ -37,7 +37,7 @@ Read this file before answering any question about knowledge, memory, or researc
|
||||
| "Is X true?" · "Check this fact" | `memory_verify` |
|
||||
| "Analyze this code / build a code graph" | `memory_code_graph` |
|
||||
| "Find a function/class named X" | `memory_search_code` |
|
||||
| "Show relations / graph edges" | `memory_query_graph` |
|
||||
| "Show relations / graph edges" | `memory_query_graph` — `kind` is an **edge** type (`imports`/`depends_on`/`calls`/`inherits`/`related`), not an atom type |
|
||||
| "Remember to research X later" | `memory_add_gap` |
|
||||
| "Run logical inference" | `memory_infer` |
|
||||
|
||||
@@ -84,6 +84,9 @@ Every atom needs a **claim** (one short sentence) and, where possible, provenanc
|
||||
Searching the web for your own base wastes calls and returns nothing useful.
|
||||
- **Reading a directory.** `read` expects a *file*. Use `bash` (`ls`) or the fs-search tool
|
||||
for directories. `read /some/dir` fails with "not a regular file".
|
||||
- **`memory_query_graph` with an atom type.** Its `kind` is an **edge** type
|
||||
(`imports`, `depends_on`, `calls`, `inherits`, `related`) — never `text`/`fact` (those are atom
|
||||
types). Omit `kind` entirely to get all edges.
|
||||
- **Storing raw text.** Do not `memory_store` whole articles. Distill first
|
||||
(`memory_ingest`) or write one atomic claim.
|
||||
- **Skipping verification.** An unverified atom stays `candidate`. Cross-confirm it.
|
||||
|
||||
Reference in new issue
Block a user