This is the fastest local proof for openclaw-mem.
Goal: show that the same query can produce a smaller, safer, cited pack once trust policy is enabled.
If you are still deciding how to adopt it, read Choose an install path first.
- Python 3.10+ (recommended: Python 3.13)
- uv
git clone https://github.com/phenomenoner/openclaw-mem.git
cd openclaw-mem
uv sync --lockedDB=/tmp/openclaw-mem-quickstart.sqlite
uv run --python 3.13 --frozen -- python -m openclaw_mem ingest \
--db "$DB" \
--json \
--file ./docs/showcase/artifacts/trust-aware-context-pack.synthetic.jsonlWhat this gives you:
- six synthetic rows with trust tiers, importance labels, and provenance refs
- no private or user data
- a reproducible basis for pack before/after comparison
uv run --python 3.13 --frozen -- python -m openclaw_mem pack \
--db "$DB" \
--query "trust-aware context packing prompt pack receipts hostile durable memory provenance" \
--limit 5 \
--budget-tokens 500 \
--traceExpected shape:
- a compact
bundle_text items[]+citations[]trace.kind = openclaw-mem.pack.trace.v1
In the synthetic proof, this ungated pack still admits one quarantined row because it matches the query text.
uv run --python 3.13 --frozen -- python -m openclaw_mem pack \
--db "$DB" \
--query "trust-aware context packing prompt pack receipts hostile durable memory provenance" \
--limit 5 \
--budget-tokens 500 \
--trace \
--pack-trust-policy exclude_quarantined_fail_openWhat changes:
- the quarantined row is excluded
- a trusted row takes its place
- the pack gets smaller
trust_policy,policy_surface, andlifecycle_shadowexplain exactly what happened
- move to Deployment guide
- add the sidecar to your existing OpenClaw install
- read the Agent memory skill (SOP)
- review Context pack
- review Mem Engine reference
- GitHub quickstart: https://github.com/phenomenoner/openclaw-mem/blob/main/QUICKSTART.md