Skip to main content
Glama

add_concept

Creates a new Markdown ontology node when code analysis reveals a new project, domain, capability, or element; blocks duplicate slugs and points to patch existing nodes instead.

Instructions

Create a new ontology node (.md file). Call when an AI agent finds a new capability / element / project from code analysis. Throws if the slug already exists — use patch_concept in that case. The frontmatter is normalized per kind (project gets domains/capabilities/elements empty arrays; capability gets elements: []; capability/element should also set domain: so the tree has a parent — missing extras come back as warnings in the response, not as an error. If another node already has the same title, a near-duplicate warning is included too — prefer patch_concept on the existing node over forking a duplicate. Successful writes return slug, mtime (the next expected_mtime) and findings: one plain line per kind of maintenance finding on the nodes this call wrote, with the call that settles it (absent when there is none; the whole queue is query_ontology({operation:"maintenance_plan"})). For bulk creation (e.g. bootstrap flow with 5+ nodes) use add_concepts({concepts: [...]}) (batch, max 50, partial result) — saves K-1 round-trips. When kind is element: an element names a CONCEPT a capability uses (e.g. "jwt-token"), not a file. If your title is a bare path or ends in a source extension, you are describing evidence, not the concept — rename title to the role and put the path in path:, or if 3+ siblings under the same parent already look like this, call get_concept on the parent and consider patch_concept on an existing sibling instead of adding another file-mirror node. The same rule binds the slug: flat under the kind folder (elements/<role-name>), never a code path (elements/src/views/home is rejected) — path-style slugs collide the moment two files share a basename and the graph silently merges distinct nodes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>",
      "kind": "<kind>",
      "title": "<title>"
    },
    "name": "add_concept"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoMarkdown body (optional). When omitted a kind-specific starter body is written so the file is self-explanatory in the editor.
kindYesproject / domain / capability / element / document. (vault-readme is reserved for the auto-generated README.md and should not be set by agents.)
pathNoOne canonical implementation entrypoint for a capability or element (repo-relative file or directory). Preserved as evidence and checked by validate_vault path drift.
slugYesVault-relative slug (omit the .md extension), flat under the kind folder — e.g. "elements/jwt-token", "capabilities/token-issue". A slug is the node's name, never a code path: "elements/src/views/home" is rejected (put the file location in path: instead).
titleYesDisplay title for the node.
domainNoParent domain slug. Strongly expected for kind=capability and kind=element — without it the node floats orphaned in the tree.
labelsNoPer-locale display names, e.g. { "ko": "결제", "en": "Payments" }. Written as `display_ko` / `display_en` frontmatter keys; `title` stays the single source for search/matching. Fill BOTH locales the vault serves — a single-locale entry comes back as a warning.
elementsNoElement slugs this node uses (project / capability).
capabilitiesNoCapability slugs this node owns (project / domain).

Output Schema

NameRequiredDescriptionDefault
okYes
slugYes
mtimeYes
changedYes
findingsNoOne line per kind of maintenance finding on the nodes this call wrote: the first finding with the call that settles it, then the other nodes it applies to.
warningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.4.0
    • removedOutput schema / properties / filePath
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / findings
      Added value: +{
      +  "description": "One line per kind of maintenance finding on the nodes this call wrote: the first finding with the call that settles it, then the other nodes it applies to.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / mtime
      Added value: +{
      +  "minimum": 0,
      +  "type": "number"
      +}
    • removedOutput schema / properties / postWriteMaintenance
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Compact maintenance_plan summary for post-write follow-up. Bucket maps describe the remaining queue after the write.",
      -  "properties": {
      -    "actions": {
      -      "items": {
      -        "additionalProperties": false,
      -        "allOf": [
      -          {
      -            "if": {
      -              "properties": {
      -                "executable": {
      -                  "const": true
      -                }
      -              },
      -              "required": [
      -                "executable"
      -              ]
      -            },
      -            "then": {
      -              "properties": {
      -                "proposedAction": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "args": {
      -                      "oneOf": [
      -                        {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "kind": {
      -                              "enum": [
      -                                "project",
      -                                "domain",
      -                                "capability",
      -                                "element",
      -                                "document",
      -                                "vault-readme"
      -                              ],
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "slug": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "title": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "slug",
      -                            "kind",
      -                            "title"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "from": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "to": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "type": {
      -                              "enum": [
      -                                "depends_on",
      -                                "relates",
      -                                "contains",
      -                                "describes",
      -                                "domains",
      -                                "capabilities",
      -                                "elements",
      -                                "domain"
      -                              ],
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "why": {
      -                              "description": "One-line rationale for this relation (\"A leans on B because ...\"). Stored in the SAME frontmatter write as the ref (relation_notes map) — write it whenever you know the reason; a graph edge without a why is a mind-map line, not an ontology claim.",
      -                              "maxLength": 300,
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "from",
      -                            "to",
      -                            "type"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "expected_mtime": {
      -                              "minimum": 0,
      -                              "type": "number"
      -                            },
      -                            "frontmatter": {
      -                              "additionalProperties": false,
      -                              "properties": {
      -                                "broader": {
      -                                  "items": {
      -                                    "minLength": 1,
      -                                    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                    "type": "string"
      -                                  },
      -                                  "maxItems": 500,
      -                                  "type": "array"
      -                                },
      -                                "capabilities": {
      -                                  "items": {
      -                                    "minLength": 1,
      -                                    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                    "type": "string"
      -                                  },
      -                                  "maxItems": 500,
      -                                  "type": "array"
      -                                },
      -                                "contains": {
      -                                  "items": {
      -                                    "minLength": 1,
      -                                    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                    "type": "string"
      -                                  },
      -                                  "maxItems": 500,
      -                                  "type": "array"
      -                                },
      -                                "dependencies": {
      -                                  "items": {
      -                                    "minLength": 1,
      -                                    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                    "type": "string"
      -                                  },
      -                                  "maxItems": 500,
      -                                  "type": "array"
      -                                },
      -                                "depends_on": {
      -                                  "items": {
      -                                    "minLength": 1,
      -                                    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                    "type": "string"
      -                                  },
      -                                  "maxItems": 500,
      -                                  "type": "array"
      -                                },
      -                                "describes": {
      -                                  "items": {
      -                                    "minLength": 1,
      -                                    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                    "type": "string"
      -                                  },
      -                                  "maxItems": 500,
      -                                  "type": "array"
      -                                },
      -                                "domains": {
      -                                  "items": {
      -                                    "minLength": 1,
      -                                    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                    "type": "string"
      -                                  },
      -                                  "maxItems": 500,
      -                                  "type": "array"
      -                                },
      -                                "elements": {
      -                                  "items": {
      -                                    "minLength": 1,
      -                                    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                    "type": "string"
      -                                  },
      -                                  "maxItems": 500,
      -                                  "type": "array"
      -                                },
      -                                "relates": {
      -                                  "items": {
      -                                    "minLength": 1,
      -                                    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                    "type": "string"
      -                                  },
      -                                  "maxItems": 500,
      -                                  "type": "array"
      -                                }
      -                              },
      -                              "type": "object"
      -                            },
      -                            "slug": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "slug",
      -                            "frontmatter",
      -                            "expected_mtime"
      -                          ],
      -                          "type": "object"
      -                        }
      -                      ]
      -                    },
      -                    "tool": {
      -                      "enum": [
      -                        "add_concept",
      -                        "add_relation",
      -                        "patch_concept"
      -                      ],
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "tool",
      -                    "args"
      -                  ],
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "proposedAction"
      -              ]
      -            }
      -          }
      -        ],
      -        "properties": {
      -          "executable": {
      -            "type": "boolean"
      -          },
      -          "id": {
      -            "minLength": 1,
      -            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -            "type": "string"
      -          },
      -          "kind": {
      -            "enum": [
      -              "inspect_compile_issue",
      -              "break_dependency_cycle",
      -              "canonicalize_graph_arrays",
      -              "resolve_dangling_reference",
      -              "add_missing_relation",
      -              "materialize_external_element",
      -              "unassigned_node",
      -              "empty_domain",
      -              "separate_evidence_from_concept",
      -              "fold_bulk_siblings",
      -              "retire_unearned_node",
      -              "capability_without_evidence",
      -              "rejudge_summary_membership",
      -              "definition_missing",
      -              "boundary_missing",
      -              "epistemic_exclusion",
      -              "folder_only_evidence",
      -              "slug_outside_kind_folder",
      -              "uncertainty_missing",
      -              "retire_starter_example"
      -            ],
      -            "minLength": 1,
      -            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -            "type": "string"
      -          },
      -          "node": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "kind": {
      -                "enum": [
      -                  "project",
      -                  "domain",
      -                  "capability",
      -                  "element",
      -                  "document",
      -                  "vault-readme"
      -                ],
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              },
      -              "slug": {
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              },
      -              "title": {
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "slug",
      -              "kind",
      -              "title"
      -            ],
      -            "type": "object"
      -          },
      -          "nodes": {
      -            "additionalProperties": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "kind": {
      -                  "enum": [
      -                    "project",
      -                    "domain",
      -                    "capability",
      -                    "element",
      -                    "document",
      -                    "vault-readme"
      -                  ],
      -                  "minLength": 1,
      -                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                  "type": "string"
      -                },
      -                "slug": {
      -                  "minLength": 1,
      -                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                  "type": "string"
      -                },
      -                "title": {
      -                  "minLength": 1,
      -                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "slug",
      -                "kind",
      -                "title"
      -              ],
      -              "type": "object"
      -            },
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "kind": {
      -                  "enum": [
      -                    "project",
      -                    "domain",
      -                    "capability",
      -                    "element",
      -                    "document",
      -                    "vault-readme"
      -                  ],
      -                  "minLength": 1,
      -                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                  "type": "string"
      -                },
      -                "slug": {
      -                  "minLength": 1,
      -                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                  "type": "string"
      -                },
      -                "title": {
      -                  "minLength": 1,
      -                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "slug",
      -                "kind",
      -                "title"
      -              ],
      -              "type": "object"
      -            },
      -            "type": [
      -              "array",
      -              "object"
      -            ]
      -          },
      -          "phase": {
      -            "enum": [
      -              "validate",
      -              "repair",
      -              "link",
      -              "materialize",
      -              "review"
      -            ],
      -            "minLength": 1,
      -            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -            "type": "string"
      -          },
      -          "proposedAction": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "args": {
      -                "oneOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "kind": {
      -                        "enum": [
      -                          "project",
      -                          "domain",
      -                          "capability",
      -                          "element",
      -                          "document",
      -                          "vault-readme"
      -                        ],
      -                        "minLength": 1,
      -                        "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                        "type": "string"
      -                      },
      -                      "slug": {
      -                        "minLength": 1,
      -                        "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                        "type": "string"
      -                      },
      -                      "title": {
      -                        "minLength": 1,
      -                        "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "slug",
      -                      "kind",
      -                      "title"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "from": {
      -                        "minLength": 1,
      -                        "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                        "type": "string"
      -                      },
      -                      "to": {
      -                        "minLength": 1,
      -                        "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                        "type": "string"
      -                      },
      -                      "type": {
      -                        "enum": [
      -                          "depends_on",
      -                          "relates",
      -                          "contains",
      -                          "describes",
      -                          "domains",
      -                          "capabilities",
      -                          "elements",
      -                          "domain"
      -                        ],
      -                        "minLength": 1,
      -                        "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                        "type": "string"
      -                      },
      -                      "why": {
      -                        "description": "One-line rationale for this relation (\"A leans on B because ...\"). Stored in the SAME frontmatter write as the ref (relation_notes map) — write it whenever you know the reason; a graph edge without a why is a mind-map line, not an ontology claim.",
      -                        "maxLength": 300,
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "from",
      -                      "to",
      -                      "type"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "expected_mtime": {
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      "frontmatter": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "broader": {
      -                            "items": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "maxItems": 500,
      -                            "type": "array"
      -                          },
      -                          "capabilities": {
      -                            "items": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "maxItems": 500,
      -                            "type": "array"
      -                          },
      -                          "contains": {
      -                            "items": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "maxItems": 500,
      -                            "type": "array"
      -                          },
      -                          "dependencies": {
      -                            "items": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "maxItems": 500,
      -                            "type": "array"
      -                          },
      -                          "depends_on": {
      -                            "items": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "maxItems": 500,
      -                            "type": "array"
      -                          },
      -                          "describes": {
      -                            "items": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "maxItems": 500,
      -                            "type": "array"
      -                          },
      -                          "domains": {
      -                            "items": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "maxItems": 500,
      -                            "type": "array"
      -                          },
      -                          "elements": {
      -                            "items": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "maxItems": 500,
      -                            "type": "array"
      -                          },
      -                          "relates": {
      -                            "items": {
      -                              "minLength": 1,
      -                              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                              "type": "string"
      -                            },
      -                            "maxItems": 500,
      -                            "type": "array"
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "slug": {
      -                        "minLength": 1,
      -                        "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "slug",
      -                      "frontmatter",
      -                      "expected_mtime"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ]
      -              },
      -              "tool": {
      -                "enum": [
      -                  "add_concept",
      -                  "add_relation",
      -                  "patch_concept"
      -                ],
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "tool",
      -              "args"
      -            ],
      -            "type": [
      -              "object",
      -              "null"
      -            ]
      -          },
      -          "reason": {
      -            "minLength": 1,
      -            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -            "type": "string"
      -          },
      -          "score": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "severity": {
      -            "enum": [
      -              "fail",
      -              "warn",
      -              "info"
      -            ],
      -            "minLength": 1,
      -            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "phase",
      -          "kind",
      -          "severity",
      -          "score",
      -          "executable",
      -          "reason"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "byKind": {
      -      "additionalProperties": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "type": "object"
      -    },
      -    "byPhase": {
      -      "additionalProperties": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "type": "object"
      -    },
      -    "bySeverity": {
      -      "additionalProperties": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "type": "object"
      -    },
      -    "cursor": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "afterActionId": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "found": {
      -          "type": "boolean"
      -        },
      -        "hasMore": {
      -          "type": "boolean"
      -        },
      -        "nextAfterActionId": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "reason": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "startIndex": {
      -          "minimum": 0,
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "afterActionId",
      -        "found",
      -        "reason",
      -        "startIndex",
      -        "nextAfterActionId",
      -        "hasMore"
      -      ],
      -      "type": "object"
      -    },
      -    "filters": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "executableOnly": {
      -          "type": "boolean"
      -        },
      -        "kinds": {
      -          "items": {
      -            "enum": [
      -              "inspect_compile_issue",
      -              "break_dependency_cycle",
      -              "canonicalize_graph_arrays",
      -              "resolve_dangling_reference",
      -              "add_missing_relation",
      -              "materialize_external_element",
      -              "unassigned_node",
      -              "empty_domain",
      -              "separate_evidence_from_concept",
      -              "fold_bulk_siblings",
      -              "retire_unearned_node",
      -              "capability_without_evidence",
      -              "rejudge_summary_membership",
      -              "definition_missing",
      -              "boundary_missing",
      -              "epistemic_exclusion",
      -              "folder_only_evidence",
      -              "slug_outside_kind_folder",
      -              "uncertainty_missing",
      -              "retire_starter_example"
      -            ],
      -            "minLength": 1,
      -            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "phases": {
      -          "items": {
      -            "enum": [
      -              "validate",
      -              "repair",
      -              "link",
      -              "materialize",
      -              "review"
      -            ],
      -            "minLength": 1,
      -            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "severities": {
      -          "items": {
      -            "enum": [
      -              "fail",
      -              "warn",
      -              "info"
      -            ],
      -            "minLength": 1,
      -            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -            "type": "string"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "executableOnly",
      -        "phases",
      -        "severities",
      -        "kinds"
      -      ],
      -      "type": "object"
      -    },
      -    "graphHash": {
      -      "type": "string"
      -    },
      -    "limited": {
      -      "type": "boolean"
      -    },
      -    "nextExecutableAction": {
      -      "additionalProperties": false,
      -      "allOf": [
      -        {
      -          "if": {
      -            "properties": {
      -              "executable": {
      -                "const": true
      -              }
      -            },
      -            "required": [
      -              "executable"
      -            ]
      -          },
      -          "then": {
      -            "properties": {
      -              "proposedAction": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "args": {
      -                    "oneOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "kind": {
      -                            "enum": [
      -                              "project",
      -                              "domain",
      -                              "capability",
      -                              "element",
      -                              "document",
      -                              "vault-readme"
      -                            ],
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "slug": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "title": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "slug",
      -                          "kind",
      -                          "title"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "from": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "to": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "type": {
      -                            "enum": [
      -                              "depends_on",
      -                              "relates",
      -                              "contains",
      -                              "describes",
      -                              "domains",
      -                              "capabilities",
      -                              "elements",
      -                              "domain"
      -                            ],
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "why": {
      -                            "description": "One-line rationale for this relation (\"A leans on B because ...\"). Stored in the SAME frontmatter write as the ref (relation_notes map) — write it whenever you know the reason; a graph edge without a why is a mind-map line, not an ontology claim.",
      -                            "maxLength": 300,
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "from",
      -                          "to",
      -                          "type"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "expected_mtime": {
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "frontmatter": {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "broader": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "capabilities": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "contains": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "dependencies": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "depends_on": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "describes": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "domains": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "elements": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "relates": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          "slug": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "slug",
      -                          "frontmatter",
      -                          "expected_mtime"
      -                        ],
      -                        "type": "object"
      -                      }
      -                    ]
      -                  },
      -                  "tool": {
      -                    "enum": [
      -                      "add_concept",
      -                      "add_relation",
      -                      "patch_concept"
      -                    ],
      -                    "minLength": 1,
      -                    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "tool",
      -                  "args"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "proposedAction"
      -            ]
      -          }
      -        }
      -      ],
      -      "description": "First executable action in the current compact page, or null.",
      -      "properties": {
      -        "executable": {
      -          "type": "boolean"
      -        },
      -        "id": {
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        },
      -        "kind": {
      -          "enum": [
      -            "inspect_compile_issue",
      -            "break_dependency_cycle",
      -            "canonicalize_graph_arrays",
      -            "resolve_dangling_reference",
      -            "add_missing_relation",
      -            "materialize_external_element",
      -            "unassigned_node",
      -            "empty_domain",
      -            "separate_evidence_from_concept",
      -            "fold_bulk_siblings",
      -            "retire_unearned_node",
      -            "capability_without_evidence",
      -            "rejudge_summary_membership",
      -            "definition_missing",
      -            "boundary_missing",
      -            "epistemic_exclusion",
      -            "folder_only_evidence",
      -            "slug_outside_kind_folder",
      -            "uncertainty_missing",
      -            "retire_starter_example"
      -          ],
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        },
      -        "node": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "kind": {
      -              "enum": [
      -                "project",
      -                "domain",
      -                "capability",
      -                "element",
      -                "document",
      -                "vault-readme"
      -              ],
      -              "minLength": 1,
      -              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -              "type": "string"
      -            },
      -            "slug": {
      -              "minLength": 1,
      -              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -              "type": "string"
      -            },
      -            "title": {
      -              "minLength": 1,
      -              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "slug",
      -            "kind",
      -            "title"
      -          ],
      -          "type": "object"
      -        },
      -        "nodes": {
      -          "additionalProperties": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "kind": {
      -                "enum": [
      -                  "project",
      -                  "domain",
      -                  "capability",
      -                  "element",
      -                  "document",
      -                  "vault-readme"
      -                ],
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              },
      -              "slug": {
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              },
      -              "title": {
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "slug",
      -              "kind",
      -              "title"
      -            ],
      -            "type": "object"
      -          },
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "kind": {
      -                "enum": [
      -                  "project",
      -                  "domain",
      -                  "capability",
      -                  "element",
      -                  "document",
      -                  "vault-readme"
      -                ],
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              },
      -              "slug": {
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              },
      -              "title": {
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "slug",
      -              "kind",
      -              "title"
      -            ],
      -            "type": "object"
      -          },
      -          "type": [
      -            "array",
      -            "object"
      -          ]
      -        },
      -        "phase": {
      -          "enum": [
      -            "validate",
      -            "repair",
      -            "link",
      -            "materialize",
      -            "review"
      -          ],
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        },
      -        "proposedAction": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "args": {
      -              "oneOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "kind": {
      -                      "enum": [
      -                        "project",
      -                        "domain",
      -                        "capability",
      -                        "element",
      -                        "document",
      -                        "vault-readme"
      -                      ],
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    },
      -                    "slug": {
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    },
      -                    "title": {
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "slug",
      -                    "kind",
      -                    "title"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "from": {
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    },
      -                    "to": {
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    },
      -                    "type": {
      -                      "enum": [
      -                        "depends_on",
      -                        "relates",
      -                        "contains",
      -                        "describes",
      -                        "domains",
      -                        "capabilities",
      -                        "elements",
      -                        "domain"
      -                      ],
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    },
      -                    "why": {
      -                      "description": "One-line rationale for this relation (\"A leans on B because ...\"). Stored in the SAME frontmatter write as the ref (relation_notes map) — write it whenever you know the reason; a graph edge without a why is a mind-map line, not an ontology claim.",
      -                      "maxLength": 300,
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "from",
      -                    "to",
      -                    "type"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "expected_mtime": {
      -                      "minimum": 0,
      -                      "type": "number"
      -                    },
      -                    "frontmatter": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "broader": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "capabilities": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "contains": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "dependencies": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "depends_on": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "describes": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "domains": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "elements": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "relates": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    "slug": {
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "slug",
      -                    "frontmatter",
      -                    "expected_mtime"
      -                  ],
      -                  "type": "object"
      -                }
      -              ]
      -            },
      -            "tool": {
      -              "enum": [
      -                "add_concept",
      -                "add_relation",
      -                "patch_concept"
      -              ],
      -              "minLength": 1,
      -              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "tool",
      -            "args"
      -          ],
      -          "type": [
      -            "object",
      -            "null"
      -          ]
      -        },
      -        "reason": {
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        },
      -        "score": {
      -          "minimum": 0,
      -          "type": "number"
      -        },
      -        "severity": {
      -          "enum": [
      -            "fail",
      -            "warn",
      -            "info"
      -          ],
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "phase",
      -        "kind",
      -        "severity",
      -        "score",
      -        "executable",
      -        "reason"
      -      ],
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "nextReviewAction": {
      -      "additionalProperties": false,
      -      "allOf": [
      -        {
      -          "if": {
      -            "properties": {
      -              "executable": {
      -                "const": true
      -              }
      -            },
      -            "required": [
      -              "executable"
      -            ]
      -          },
      -          "then": {
      -            "properties": {
      -              "proposedAction": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "args": {
      -                    "oneOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "kind": {
      -                            "enum": [
      -                              "project",
      -                              "domain",
      -                              "capability",
      -                              "element",
      -                              "document",
      -                              "vault-readme"
      -                            ],
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "slug": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "title": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "slug",
      -                          "kind",
      -                          "title"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "from": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "to": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "type": {
      -                            "enum": [
      -                              "depends_on",
      -                              "relates",
      -                              "contains",
      -                              "describes",
      -                              "domains",
      -                              "capabilities",
      -                              "elements",
      -                              "domain"
      -                            ],
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "why": {
      -                            "description": "One-line rationale for this relation (\"A leans on B because ...\"). Stored in the SAME frontmatter write as the ref (relation_notes map) — write it whenever you know the reason; a graph edge without a why is a mind-map line, not an ontology claim.",
      -                            "maxLength": 300,
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "from",
      -                          "to",
      -                          "type"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "expected_mtime": {
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "frontmatter": {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "broader": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "capabilities": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "contains": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "dependencies": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "depends_on": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "describes": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "domains": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "elements": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              },
      -                              "relates": {
      -                                "items": {
      -                                  "minLength": 1,
      -                                  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                                  "type": "string"
      -                                },
      -                                "maxItems": 500,
      -                                "type": "array"
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          "slug": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "slug",
      -                          "frontmatter",
      -                          "expected_mtime"
      -                        ],
      -                        "type": "object"
      -                      }
      -                    ]
      -                  },
      -                  "tool": {
      -                    "enum": [
      -                      "add_concept",
      -                      "add_relation",
      -                      "patch_concept"
      -                    ],
      -                    "minLength": 1,
      -                    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "tool",
      -                  "args"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "proposedAction"
      -            ]
      -          }
      -        }
      -      ],
      -      "description": "First review action in the current compact page, or null.",
      -      "properties": {
      -        "executable": {
      -          "type": "boolean"
      -        },
      -        "id": {
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        },
      -        "kind": {
      -          "enum": [
      -            "inspect_compile_issue",
      -            "break_dependency_cycle",
      -            "canonicalize_graph_arrays",
      -            "resolve_dangling_reference",
      -            "add_missing_relation",
      -            "materialize_external_element",
      -            "unassigned_node",
      -            "empty_domain",
      -            "separate_evidence_from_concept",
      -            "fold_bulk_siblings",
      -            "retire_unearned_node",
      -            "capability_without_evidence",
      -            "rejudge_summary_membership",
      -            "definition_missing",
      -            "boundary_missing",
      -            "epistemic_exclusion",
      -            "folder_only_evidence",
      -            "slug_outside_kind_folder",
      -            "uncertainty_missing",
      -            "retire_starter_example"
      -          ],
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        },
      -        "node": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "kind": {
      -              "enum": [
      -                "project",
      -                "domain",
      -                "capability",
      -                "element",
      -                "document",
      -                "vault-readme"
      -              ],
      -              "minLength": 1,
      -              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -              "type": "string"
      -            },
      -            "slug": {
      -              "minLength": 1,
      -              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -              "type": "string"
      -            },
      -            "title": {
      -              "minLength": 1,
      -              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "slug",
      -            "kind",
      -            "title"
      -          ],
      -          "type": "object"
      -        },
      -        "nodes": {
      -          "additionalProperties": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "kind": {
      -                "enum": [
      -                  "project",
      -                  "domain",
      -                  "capability",
      -                  "element",
      -                  "document",
      -                  "vault-readme"
      -                ],
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              },
      -              "slug": {
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              },
      -              "title": {
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "slug",
      -              "kind",
      -              "title"
      -            ],
      -            "type": "object"
      -          },
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "kind": {
      -                "enum": [
      -                  "project",
      -                  "domain",
      -                  "capability",
      -                  "element",
      -                  "document",
      -                  "vault-readme"
      -                ],
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              },
      -              "slug": {
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              },
      -              "title": {
      -                "minLength": 1,
      -                "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "slug",
      -              "kind",
      -              "title"
      -            ],
      -            "type": "object"
      -          },
      -          "type": [
      -            "array",
      -            "object"
      -          ]
      -        },
      -        "phase": {
      -          "enum": [
      -            "validate",
      -            "repair",
      -            "link",
      -            "materialize",
      -            "review"
      -          ],
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        },
      -        "proposedAction": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "args": {
      -              "oneOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "kind": {
      -                      "enum": [
      -                        "project",
      -                        "domain",
      -                        "capability",
      -                        "element",
      -                        "document",
      -                        "vault-readme"
      -                      ],
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    },
      -                    "slug": {
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    },
      -                    "title": {
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "slug",
      -                    "kind",
      -                    "title"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "from": {
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    },
      -                    "to": {
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    },
      -                    "type": {
      -                      "enum": [
      -                        "depends_on",
      -                        "relates",
      -                        "contains",
      -                        "describes",
      -                        "domains",
      -                        "capabilities",
      -                        "elements",
      -                        "domain"
      -                      ],
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    },
      -                    "why": {
      -                      "description": "One-line rationale for this relation (\"A leans on B because ...\"). Stored in the SAME frontmatter write as the ref (relation_notes map) — write it whenever you know the reason; a graph edge without a why is a mind-map line, not an ontology claim.",
      -                      "maxLength": 300,
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "from",
      -                    "to",
      -                    "type"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "expected_mtime": {
      -                      "minimum": 0,
      -                      "type": "number"
      -                    },
      -                    "frontmatter": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "broader": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "capabilities": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "contains": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "dependencies": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "depends_on": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "describes": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "domains": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "elements": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        },
      -                        "relates": {
      -                          "items": {
      -                            "minLength": 1,
      -                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 500,
      -                          "type": "array"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    "slug": {
      -                      "minLength": 1,
      -                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "slug",
      -                    "frontmatter",
      -                    "expected_mtime"
      -                  ],
      -                  "type": "object"
      -                }
      -              ]
      -            },
      -            "tool": {
      -              "enum": [
      -                "add_concept",
      -                "add_relation",
      -                "patch_concept"
      -              ],
      -              "minLength": 1,
      -              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "tool",
      -            "args"
      -          ],
      -          "type": [
      -            "object",
      -            "null"
      -          ]
      -        },
      -        "reason": {
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        },
      -        "score": {
      -          "minimum": 0,
      -          "type": "number"
      -        },
      -        "severity": {
      -          "enum": [
      -            "fail",
      -            "warn",
      -            "info"
      -          ],
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "phase",
      -        "kind",
      -        "severity",
      -        "score",
      -        "executable",
      -        "reason"
      -      ],
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "operation": {
      -      "enum": [
      -        "maintenance_plan"
      -      ],
      -      "type": "string"
      -    },
      -    "sideEffect": {
      -      "type": "boolean"
      -    },
      -    "summary": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "canonicalizationActions": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "capabilitiesWithoutEvidence": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "compileIssues": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "danglingReferences": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "dependencyCycles": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "emptyDomains": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "executableActions": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "externalElementRefs": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "externalElementRefsIgnored": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "filteredActions": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "relationRecommendations": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "remainingActions": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "reviewActions": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "totalActions": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "unassignedNodes": {
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "totalActions",
      -        "filteredActions",
      -        "remainingActions",
      -        "executableActions",
      -        "reviewActions",
      -        "compileIssues",
      -        "dependencyCycles",
      -        "canonicalizationActions",
      -        "danglingReferences",
      -        "relationRecommendations",
      -        "externalElementRefs",
      -        "externalElementRefsIgnored",
      -        "unassignedNodes",
      -        "emptyDomains",
      -        "capabilitiesWithoutEvidence"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "required": [
      -    "operation",
      -    "sideEffect",
      -    "graphHash",
      -    "summary",
      -    "filters",
      -    "cursor",
      -    "byPhase",
      -    "bySeverity",
      -    "byKind",
      -    "limited",
      -    "nextExecutableAction",
      -    "nextReviewAction",
      -    "actions"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "ok",
      -  "slug",
      -  "filePath",
      -  "changed"
      -]New value: +[
      +  "ok",
      +  "slug",
      +  "changed",
      +  "mtime"
      +]
  2. Changed4 schema fields changedv1.3.0
    • changedOutput schema / properties / postWriteMaintenance / properties / actions / items / properties / kind / enum
      Previous value: -[
      -  "inspect_compile_issue",
      -  "break_dependency_cycle",
      -  "canonicalize_graph_arrays",
      -  "resolve_dangling_reference",
      -  "add_missing_relation",
      -  "materialize_external_element",
      -  "unassigned_node",
      -  "empty_domain",
      -  "separate_evidence_from_concept",
      -  "fold_bulk_siblings",
      -  "retire_unearned_node",
      -  "capability_without_evidence",
      -  "rejudge_summary_membership"
      -]New value: +[
      +  "inspect_compile_issue",
      +  "break_dependency_cycle",
      +  "canonicalize_graph_arrays",
      +  "resolve_dangling_reference",
      +  "add_missing_relation",
      +  "materialize_external_element",
      +  "unassigned_node",
      +  "empty_domain",
      +  "separate_evidence_from_concept",
      +  "fold_bulk_siblings",
      +  "retire_unearned_node",
      +  "capability_without_evidence",
      +  "rejudge_summary_membership",
      +  "definition_missing",
      +  "boundary_missing",
      +  "epistemic_exclusion",
      +  "folder_only_evidence",
      +  "slug_outside_kind_folder",
      +  "uncertainty_missing",
      +  "retire_starter_example"
      +]
    • changedOutput schema / properties / postWriteMaintenance / properties / filters / properties / kinds / items / enum
      Previous value: -[
      -  "inspect_compile_issue",
      -  "break_dependency_cycle",
      -  "canonicalize_graph_arrays",
      -  "resolve_dangling_reference",
      -  "add_missing_relation",
      -  "materialize_external_element",
      -  "unassigned_node",
      -  "empty_domain",
      -  "separate_evidence_from_concept",
      -  "fold_bulk_siblings",
      -  "retire_unearned_node",
      -  "capability_without_evidence",
      -  "rejudge_summary_membership"
      -]New value: +[
      +  "inspect_compile_issue",
      +  "break_dependency_cycle",
      +  "canonicalize_graph_arrays",
      +  "resolve_dangling_reference",
      +  "add_missing_relation",
      +  "materialize_external_element",
      +  "unassigned_node",
      +  "empty_domain",
      +  "separate_evidence_from_concept",
      +  "fold_bulk_siblings",
      +  "retire_unearned_node",
      +  "capability_without_evidence",
      +  "rejudge_summary_membership",
      +  "definition_missing",
      +  "boundary_missing",
      +  "epistemic_exclusion",
      +  "folder_only_evidence",
      +  "slug_outside_kind_folder",
      +  "uncertainty_missing",
      +  "retire_starter_example"
      +]
    • changedOutput schema / properties / postWriteMaintenance / properties / nextExecutableAction / properties / kind / enum
      Previous value: -[
      -  "inspect_compile_issue",
      -  "break_dependency_cycle",
      -  "canonicalize_graph_arrays",
      -  "resolve_dangling_reference",
      -  "add_missing_relation",
      -  "materialize_external_element",
      -  "unassigned_node",
      -  "empty_domain",
      -  "separate_evidence_from_concept",
      -  "fold_bulk_siblings",
      -  "retire_unearned_node",
      -  "capability_without_evidence",
      -  "rejudge_summary_membership"
      -]New value: +[
      +  "inspect_compile_issue",
      +  "break_dependency_cycle",
      +  "canonicalize_graph_arrays",
      +  "resolve_dangling_reference",
      +  "add_missing_relation",
      +  "materialize_external_element",
      +  "unassigned_node",
      +  "empty_domain",
      +  "separate_evidence_from_concept",
      +  "fold_bulk_siblings",
      +  "retire_unearned_node",
      +  "capability_without_evidence",
      +  "rejudge_summary_membership",
      +  "definition_missing",
      +  "boundary_missing",
      +  "epistemic_exclusion",
      +  "folder_only_evidence",
      +  "slug_outside_kind_folder",
      +  "uncertainty_missing",
      +  "retire_starter_example"
      +]
    • changedOutput schema / properties / postWriteMaintenance / properties / nextReviewAction / properties / kind / enum
      Previous value: -[
      -  "inspect_compile_issue",
      -  "break_dependency_cycle",
      -  "canonicalize_graph_arrays",
      -  "resolve_dangling_reference",
      -  "add_missing_relation",
      -  "materialize_external_element",
      -  "unassigned_node",
      -  "empty_domain",
      -  "separate_evidence_from_concept",
      -  "fold_bulk_siblings",
      -  "retire_unearned_node",
      -  "capability_without_evidence",
      -  "rejudge_summary_membership"
      -]New value: +[
      +  "inspect_compile_issue",
      +  "break_dependency_cycle",
      +  "canonicalize_graph_arrays",
      +  "resolve_dangling_reference",
      +  "add_missing_relation",
      +  "materialize_external_element",
      +  "unassigned_node",
      +  "empty_domain",
      +  "separate_evidence_from_concept",
      +  "fold_bulk_siblings",
      +  "retire_unearned_node",
      +  "capability_without_evidence",
      +  "rejudge_summary_membership",
      +  "definition_missing",
      +  "boundary_missing",
      +  "epistemic_exclusion",
      +  "folder_only_evidence",
      +  "slug_outside_kind_folder",
      +  "uncertainty_missing",
      +  "retire_starter_example"
      +]
  3. Changed8 schema fields changedv1.2.5
    • addedOutput schema / properties / postWriteMaintenance / properties / actions / items / allOf
      Added value: +[
      +  {
      +    "if": {
      +      "properties": {
      +        "executable": {
      +          "const": true
      +        }
      +      },
      +      "required": [
      +        "executable"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "proposedAction": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "args": {
      +              "oneOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "kind": {
      +                      "enum": [
      +                        "project",
      +                        "domain",
      +                        "capability",
      +                        "element",
      +                        "document",
      +                        "vault-readme"
      +                      ],
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "slug": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "title": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "slug",
      +                    "kind",
      +                    "title"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "from": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "to": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "enum": [
      +                        "depends_on",
      +                        "relates",
      +                        "contains",
      +                        "describes",
      +                        "domains",
      +                        "capabilities",
      +                        "elements",
      +                        "domain"
      +                      ],
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "why": {
      +                      "description": "One-line rationale for this relation (\"A leans on B because ...\"). Stored in the SAME frontmatter write as the ref (relation_notes map) — write it whenever you know the reason; a graph edge without a why is a mind-map line, not an ontology claim.",
      +                      "maxLength": 300,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "from",
      +                    "to",
      +                    "type"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "expected_mtime": {
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "frontmatter": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "broader": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "capabilities": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "contains": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "dependencies": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "depends_on": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "describes": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "domains": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "elements": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "relates": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "slug": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "slug",
      +                    "frontmatter",
      +                    "expected_mtime"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "tool": {
      +              "enum": [
      +                "add_concept",
      +                "add_relation",
      +                "patch_concept"
      +              ],
      +              "minLength": 1,
      +              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "tool",
      +            "args"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "proposedAction"
      +      ]
      +    }
      +  }
      +]
    • changedOutput schema / properties / postWriteMaintenance / properties / actions / items / required
      Previous value: -[
      -  "id",
      -  "phase",
      -  "kind",
      -  "severity",
      -  "score",
      -  "executable",
      -  "reason",
      -  "proposedAction"
      -]New value: +[
      +  "id",
      +  "phase",
      +  "kind",
      +  "severity",
      +  "score",
      +  "executable",
      +  "reason"
      +]
    • addedOutput schema / properties / postWriteMaintenance / properties / nextExecutableAction / allOf
      Added value: +[
      +  {
      +    "if": {
      +      "properties": {
      +        "executable": {
      +          "const": true
      +        }
      +      },
      +      "required": [
      +        "executable"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "proposedAction": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "args": {
      +              "oneOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "kind": {
      +                      "enum": [
      +                        "project",
      +                        "domain",
      +                        "capability",
      +                        "element",
      +                        "document",
      +                        "vault-readme"
      +                      ],
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "slug": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "title": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "slug",
      +                    "kind",
      +                    "title"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "from": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "to": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "enum": [
      +                        "depends_on",
      +                        "relates",
      +                        "contains",
      +                        "describes",
      +                        "domains",
      +                        "capabilities",
      +                        "elements",
      +                        "domain"
      +                      ],
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "why": {
      +                      "description": "One-line rationale for this relation (\"A leans on B because ...\"). Stored in the SAME frontmatter write as the ref (relation_notes map) — write it whenever you know the reason; a graph edge without a why is a mind-map line, not an ontology claim.",
      +                      "maxLength": 300,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "from",
      +                    "to",
      +                    "type"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "expected_mtime": {
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "frontmatter": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "broader": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "capabilities": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "contains": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "dependencies": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "depends_on": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "describes": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "domains": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "elements": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "relates": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "slug": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "slug",
      +                    "frontmatter",
      +                    "expected_mtime"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "tool": {
      +              "enum": [
      +                "add_concept",
      +                "add_relation",
      +                "patch_concept"
      +              ],
      +              "minLength": 1,
      +              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "tool",
      +            "args"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "proposedAction"
      +      ]
      +    }
      +  }
      +]
    • changedOutput schema / properties / postWriteMaintenance / properties / nextExecutableAction / required
      Previous value: -[
      -  "id",
      -  "phase",
      -  "kind",
      -  "severity",
      -  "score",
      -  "executable",
      -  "reason",
      -  "proposedAction"
      -]New value: +[
      +  "id",
      +  "phase",
      +  "kind",
      +  "severity",
      +  "score",
      +  "executable",
      +  "reason"
      +]
    • addedOutput schema / properties / postWriteMaintenance / properties / nextReviewAction / allOf
      Added value: +[
      +  {
      +    "if": {
      +      "properties": {
      +        "executable": {
      +          "const": true
      +        }
      +      },
      +      "required": [
      +        "executable"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "proposedAction": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "args": {
      +              "oneOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "kind": {
      +                      "enum": [
      +                        "project",
      +                        "domain",
      +                        "capability",
      +                        "element",
      +                        "document",
      +                        "vault-readme"
      +                      ],
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "slug": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "title": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "slug",
      +                    "kind",
      +                    "title"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "from": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "to": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "enum": [
      +                        "depends_on",
      +                        "relates",
      +                        "contains",
      +                        "describes",
      +                        "domains",
      +                        "capabilities",
      +                        "elements",
      +                        "domain"
      +                      ],
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    },
      +                    "why": {
      +                      "description": "One-line rationale for this relation (\"A leans on B because ...\"). Stored in the SAME frontmatter write as the ref (relation_notes map) — write it whenever you know the reason; a graph edge without a why is a mind-map line, not an ontology claim.",
      +                      "maxLength": 300,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "from",
      +                    "to",
      +                    "type"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "expected_mtime": {
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "frontmatter": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "broader": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "capabilities": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "contains": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "dependencies": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "depends_on": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "describes": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "domains": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "elements": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        },
      +                        "relates": {
      +                          "items": {
      +                            "minLength": 1,
      +                            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 500,
      +                          "type": "array"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "slug": {
      +                      "minLength": 1,
      +                      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "slug",
      +                    "frontmatter",
      +                    "expected_mtime"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "tool": {
      +              "enum": [
      +                "add_concept",
      +                "add_relation",
      +                "patch_concept"
      +              ],
      +              "minLength": 1,
      +              "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "tool",
      +            "args"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "proposedAction"
      +      ]
      +    }
      +  }
      +]
    • changedOutput schema / properties / postWriteMaintenance / properties / nextReviewAction / required
      Previous value: -[
      -  "id",
      -  "phase",
      -  "kind",
      -  "severity",
      -  "score",
      -  "executable",
      -  "reason",
      -  "proposedAction"
      -]New value: +[
      +  "id",
      +  "phase",
      +  "kind",
      +  "severity",
      +  "score",
      +  "executable",
      +  "reason"
      +]
    • addedOutput schema / properties / postWriteMaintenance / properties / summary / properties / capabilitiesWithoutEvidence
      Added value: +{
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / postWriteMaintenance / properties / summary / required
      Previous value: -[
      -  "totalActions",
      -  "filteredActions",
      -  "remainingActions",
      -  "executableActions",
      -  "reviewActions",
      -  "compileIssues",
      -  "dependencyCycles",
      -  "canonicalizationActions",
      -  "danglingReferences",
      -  "relationRecommendations",
      -  "externalElementRefs",
      -  "externalElementRefsIgnored",
      -  "unassignedNodes",
      -  "emptyDomains"
      -]New value: +[
      +  "totalActions",
      +  "filteredActions",
      +  "remainingActions",
      +  "executableActions",
      +  "reviewActions",
      +  "compileIssues",
      +  "dependencyCycles",
      +  "canonicalizationActions",
      +  "danglingReferences",
      +  "relationRecommendations",
      +  "externalElementRefs",
      +  "externalElementRefsIgnored",
      +  "unassignedNodes",
      +  "emptyDomains",
      +  "capabilitiesWithoutEvidence"
      +]
  4. First observedv0.13.0

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations: discloses that it throws on an existing slug, that missing frontmatter extras surface as `warnings` rather than errors, that near-duplicate titles emit a `warning`, and exactly what a successful write returns (`slug`, `mtime`, `findings`) plus how to drain the findings queue. The non-obvious failure modes are the main value here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded correctly and nearly every clause carries a rule, but the body is a single dense paragraph that mixes creation rules, return values, batching advice, and element/slug conventions. It is efficient in word count yet hard to scan; splitting the element/slug rules into their own block would cost nothing and gain clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter mutation tool with nested `labels`, this covers what an agent needs: creation preconditions, normalization per kind, warning semantics, return fields, and the sibling to use on conflict. An output schema exists, yet the description still orients the agent to `findings` without duplicating the full shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds rules the schema does not carry: for `kind=element` the title must name a role not a file path, and `slug` must be flat under the kind folder (path-style slugs are rejected because they silently merge distinct nodes). That is genuine semantic guidance; it loses a point only because the remaining parameters are covered by the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: "Create a new ontology node (.md file)", then names the trigger (agent finds a new capability/element/project from code analysis). It distinguishes itself from patch_concept and add_concepts by name, so an agent can route correctly without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use (new capability/element/project from code analysis), when-not (slug already exists — use patch_concept; near-duplicate title — prefer patching the existing node), and a batch alternative for 5+ nodes via add_concepts. Exclusions and alternatives are both stated rather than inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.