Skip to documentation
Docs navigation
Docs/getGraftRegistry()
MemoGrafterAgent

getGraftRegistry()

Inspect graft provenance registered in the current session.

What it does

Inspect graft provenance registered in the current session.

When to use it

Use to audit which target topics were copied from other sessions.

Signature

TypeScript
getGraftRegistry(): Promise<GraftRegistryEntry[]>

Behavior

Returns provenance entries containing target node, source session, source node, and graft timestamp.

Side effects and completion

Read-only.

Example

example.ts
const grafts = await agent.getGraftRegistry();