graphify_freshness
Check if the knowledge graph is out of date with the current codebase by comparing against git HEAD. Flags modified and untracked files, and recommends rebuilding.
Instructions
Check whether graph.json is stale relative to the current git HEAD.
Prefers the commit graphify recorded the graph was built from
(built_at_commit) over the file mtime — robust across checkouts where
mtime is reset — and flags both modified and newly-added (untracked) files.
Recommends graphify_build(update=True) if stale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |