OpenClaw context bootstrap
This page defines how to keep context durable and portable for future OpenClaw sessions and new machines.
Store in Git (durable)
- Operating philosophy and sweep cadence.
- Failure classification standards.
- SPARQL/query patterns that generalize.
- Operator playbooks and runbooks.
- API workflow contracts and tool usage patterns.
Keep local/private (do not commit)
- API keys, bearer tokens,
.envsecrets. - Raw auth stores and private local databases.
- Full raw transcript exports with sensitive state.
Portability principle
Same tools, any building: repo stores reusable process, while site-specific truth lives in the Open-FDD live model.
Minimal bootstrap read list for fresh clones
OpenClaw + lab (files in repo — read in order on first session):
openclaw/HANDOFF_PROTOCOL.md— mailbox handoff withissues_log.mdand log files.openclaw/SKILL.md— agent behavior, bootstrap modes, MCP, security scope.openclaw/references/testing_layers.md— where pytest vs bench vsbootstrap.shlive.openclaw/references/legacy_automated_testing.md— redirect from deprecated open-fdd-automated-testing if anything still points there.openclaw/references/session_status_summary.md— 5-bullet lab snapshot format when agents must not dump logs into provider chat.
Product and operations (published docs paths):
AI data modeling (when the stack includes model/API): LLM workflow, AI-assisted tagging, plus GET /data-model/export and PUT /data-model/import as in OpenClaw integration.