Skip to contents

Define and open

Compile or load a contract, then create, open, and close a store.

graft_schema()
Load or compile a Graft schema
graft_open()
Open and initialize a Graft store
graft_close()
Close a Graft store

Propose and accept

Record where candidates came from, inspect a plan, and commit it.

graft_provenance()
Describe the provenance of a candidate knowledge change
graft_plan()
Plan a candidate knowledge change without writing it
graft_commit()
Commit a reviewed knowledge-change plan
graft_ingest()
Plan and immediately commit candidate records

Retrieve and inspect

Pin an accepted boundary, then read records, search results, fixed projections, and history.

graft_snapshot()
Capture an immutable knowledge snapshot
graft_at()
Open an immutable read view
graft_view_snapshot()
Recover the immutable snapshot retained by a view
graft_get()
Retrieve one current accepted record
graft_find()
Search current accepted records
graft_query()
Run a bounded advanced retrieval operation
graft_history()
Retrieve accepted record history

Synchronize and integrate

Synchronize readable files, review file edits, and provide read-only tools to an agent host.

graft_sync()
Synchronize the managed open-knowledge working tree
graft_status()
Inspect the managed open-knowledge working tree
graft_review()
Review edited open knowledge as a commit plan
graft_tools()
Create bounded read-only tools for a Graft store or view