clawock

Project documentation

The repository root is reserved for files with a real discovery or runtime contract: GitHub/Python metadata, OpenClaw bootstrap context, and the live workspace ledgers. Static website source lives in site/; Pages combines it with public runtime outputs through ops/pages/stage_site.py. General documentation belongs here.

Architecture

Product surfaces

Operations

Reference

Moved pages

Old paths stay reachable; each stub points at the document that owns the subject now. ops/pages/prepare_pages_artifact.py retains the old raw Markdown URL alongside the rendered migration page, with links adjusted to the published owner.

Everything under docs/ is published with the Pages build (ops/pages/stage_site.py). Keep this index current when adding or removing docs.

A document here describes how the project works now. The record of one task — measurements, before/after captures, command output, proposed patches, what was and was not verified — belongs in that task’s pull request, where it stays attached to the change it explains. Write the conclusion into the document that owns the subject; do not add a dated folder.

Maintaining docs and skills

Keep project-specific contracts, execution boundaries and incident-prevention rules with their owner; link to them from entrypoints. A skill should contribute a workflow, a tool adapter or a constraint the model cannot infer from general knowledge. Concept definitions, generic CLI examples and duplicate report templates do not need separate skills or mandatory reference reads. Shared HK/US rules belong in skills/_shared/; job-specific schemas stay with their payload/skill and gates.

Before retiring a file, check the last three months of git changes, TOOLS.md, cron payloads/contract and code/test references. A route establishes reachability, not execution frequency; an unchanged file may still be a live dependency. Record the keep/merge/delete evidence and consequences in the PR. Preserve published URL compatibility and verify references, skill schemas and generated command/cron docs.

Why OpenClaw files stay at the root

AGENTS.md, TOOLS.md, SOUL.md, IDENTITY.md, USER.md, MEMORY.md, HEARTBEAT.md, BOOTSTRAP.md, skills/ and memory/ participate in the live OpenClaw workspace contract. They remain at their required runtime paths until an adjacent context-parity canary proves a supported alternative. Website files have no such constraint and therefore live under site/.

Intraday research