.planning, docs, doc, wiki, and architecture. It also checks top-level
files such as README.md, CHANGELOG.md, AGENTS.md, and CLAUDE.md.
It does not index the whole repository or all of src/ by default.
Choose sources
Add roots to project sync:corpus in .gsd-graph/config.json for a persistent corpus choice. Use
sync --full after changes that require all sources to be re-extracted.
Write explicit relationships
The deterministic extractor reads structured content such as headings, wiki links, edge lines, JSONL records, and supported YAML/frontmatter fields.EXTRACTED, INFERRED, and AMBIGUOUS; retrieval favors stronger evidence.
Extract from prose
Prompt mode prepares an extraction request for your host agent:.gsd-graph/.prompt-extract.json and writes the requested result
to .gsd-graph/.prompt-extract-result.json. Apply it with:
sync --llm http
and configure llm.http with provider, model, and api_key_env; base_url
is optional. The supported provider formats are OpenAI and Anthropic.
LLM candidates receive INFERRED confidence and LLM provenance. Unknown types or
predicates go through the same ontology review gate as deterministic extraction.
Choose an ontology
review accept <id> --extend-ontology when you intend to extend the schema.
gsd-graph ontology eject writes the active pack and accepted extensions into a
local pack you can commit.