Publish & Query
Inputs: exact graph, authorized caller, task, intended memory layer, and any existing KA/job identifiers. Discover tool schemas first: MCP/HTTP commonly use contextGraphId; Hermes/OpenClaw expose fields such as context_graph_id. Do not infer compatibility from a similar tool name.
Retrieve evidence
Check caller identity and the exact graph. Use memory search for recall, or inspect vocabulary and use SPARQL for a structured question.
Select the intended view:
working-memory,shared-working-memory, orverifiable-memory. Use named graph patterns when data is routed into named graphs.Inspect returned rows and source identifiers. If empty, check scope, permission, layer, and sync before concluding that no evidence exists.
Report the answer with its source, layer, and available version/commitment. Re-read when freshness matters.
Write and share
Create/select a named WM KA in the authorized graph.
Write source-backed RDF. Inspect the returned quads before progressing.
Seal the draft. This is an author attestation, not an on-chain transaction.
Share when the task authorizes peer visibility. A full share can seal automatically; use the installed contract and keep a single explicit lifecycle in the task.
Inspect completion and any nested errors. A
207or retryable failure does not permit silently moving on to publication. Resume the existing named operation under its recovery contract.
The quickstart gives exact CLI commands and a five-triple fixture. The HTTP example shows request bodies and result handling.
Publish intentionally
Establish authorization for funded publication, the intended network, author, and payer. Reuse authorization already given for this task; ask only if the transition is not authorized.
Confirm the selected KA is fully shared and sealed, and that funds/required publishing permissions exist. Check PCA ownership/agent registration before assuming its funding path applies.
Use the named KA's supported VM publish route/tool. For async publication, confirm publisher setup and save the job ID.
Inspect the returned transaction, chain finality, local reconciliation, and lifecycle. Acceptance, a transaction hash, and completed publication are distinct states.
Read back the intended VM content/version. Report the UAL, source, and actual verification evidence. Publication proves neither factual truth nor independent corroboration.
Recover: preserve KA/job identity. Follow publisher recovery for ambiguous chain outcomes; never publish a replacement name merely to bypass a held job. Follow the edit lifecycle for an intended update.
Done: the requested operation has observable completion, and the answer identifies the actual layer. If only WM was requested, stop there.
Last updated
Was this helpful?