Skip to contents

Store and save

Create local or PostgreSQL stores and save immutable artifacts and dependency selections.

graft_store()
Create or reopen a local artifact store
graft_store_postgres()
Open a transaction-scoped PostgreSQL artifact store
graft_save()
Save text or raw bytes as an immutable artifact
graft_save_file()
Save a bounded regular file as an immutable artifact
graft_read()
Read one exact immutable artifact
graft_select()
Capture and verify an exact dependency selection
graft_read_selection()
Read one exact retained dependency selection

Review and recall

Record explicit host decisions, inspect history, and expose bounded recall tools to agents.

graft_accept()
Record acceptance of exact retained evidence
graft_withdraw()
Withdraw the current acceptance for a decision stream
graft_recall()
Read the evidence currently accepted for a stream
graft_history()
Read the chronological decision journal for one stream
graft_streams()
List decision streams and their current decisions
graft_tool()
Create a fixed read-only ellmer tool for reviewed content
graft_tools()
Create read-only ellmer tools for multi-stream reviewed memory

Shared vocabulary

Pin concepts, relationships, and qualified data-dict bindings across workflows.

graft_publish_vocabulary()
Publish a validated shared vocabulary release
graft_read_vocabulary()
Read a retained vocabulary release

S7 classes

Typed store handles and immutable return values.

ArtifactStore()
Abstract artifact store
LocalArtifactStore()
Local artifact store
PostgresArtifactStore()
PostgreSQL artifact store
ArtifactRef()
An exact immutable artifact reference
Artifact()
An immutable artifact with its content loaded
ArtifactSelection()
A verified artifact dependency selection
Decision()
A host decision recorded in an artifact stream
Recall()
A result from a current reviewed-artifact lookup
VocabularyRelease()
A retained shared vocabulary release