Derived Knowledge
manage_knowledgeBuild, rebuild, and inspect derived semantic indexes and typed knowledge graphs over Novel sources; rank indexed items and read graph relations without modifying authoritative files.
Instructions
Manage derived, in-memory knowledge over Novel sources: a semantic index for advisory text ranking and a typed knowledge graph. index_build and graph_build are audited, replace the prior projection in one step, and do not persist a separate copy; they are safe to rebuild from the authoritative Novel file, which is never modified. The read actions never mutate state. Use when: building or rebuilding the index or graph, checking staleness, ranking indexed items, or reading relations and graph structure. Do NOT use when: searching a bound ruleset's index — use manage_ruleset (action: search); recording knowledge — use manage_corpus; recording a relationship — use manage_relationship.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum candidates to return (index_search; default 5). | |
| query | No | Query text to rank candidates against (index_search). | |
| action | Yes | index_* actions operate the semantic index; graph_* actions operate the knowledge graph. | |
| item_id | No | Indexed item id to filter relations (index_relations). | |
| node_id | No | Graph node id (graph_neighbors). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Human-readable text envelope mirroring the structured result (REQ-001, REQ-548a). | |
| status | Yes | Machine-readable result status: OK, NEED_INPUT, WARNING, PARTIAL, or an error category (REQ-002, REQ-548c). |