Skip to content

Evidence OpenClaw

Alexander Kurganov edited this page Nov 26, 2026 · 9 revisions

Evidence for the facts about OpenClaw that the repository states in docs/clients.md. A heading here matches a heading there.

OpenClaw

Read at OpenClaw 2026.10.10, commit d48be80a6379, on 2026-11-05.

  • Where the links point. Documentation is the Markdown under docs/ in openclaw/openclaw, published at docs.openclaw.ai. Every source link is a permalink at commit d48be80a6379, the commit openclaw --version of the 2026.10.10 release prints. It is two commits after tag v2026.10.10 (7dc3350cb9f0), and the two change only scripts/lib/update-compat-inventory.json. The facts added on 2026-11-11 were also read at tag v2026.11.3 (847611dcaa3b), where the cited files are unchanged.
  • How the runs were set up. The runs were made at OpenClaw 2026.10.10 and 2026.11.1. A probe plugin and the built plugin loaded through plugins.load.paths, on a copy of the state folder. The packed tarball of the plugin installed through npm-pack:, and commands and chat turns went through chat.send over the Gateway WebSocket. CI installs the packed tarball through npm-pack: on the OpenClaw release that .github/actions/setup-openclaw/package.json pins.

OpenClaw install and update

Read at OpenClaw 2026.10.10, commit d48be80a6379; documentation read on 2026-11-05.

OpenClaw package files

OpenClaw documentation read on 2026-11-05.

  • A native plugin archive needs openclaw.plugin.json. Documentation: Install plugins, Archives
  • The required manifest fields id and configSchema, and the optional uiHints and skills. Documentation: Plugin manifest, Top-level field reference
  • Config validation against configSchema, a rejected config set and a refused Gateway start. Documentation: Plugin manifest, JSON Schema requirements Seen: OpenClaw 2026.11.1 and 2026.10.10, 2026-11-13, the built plugin loaded through plugins.load.paths on a copy of the configuration; both versions alike; openclaw config set plugins.entries.model-router-openclaw.config.unknown_model x/y exited 1, saved nothing and printed Config change declined. No settings were saved. and Config validation failed: plugins.entries.model-router-openclaw.config: invalid config: must not have additional properties: "unknown_model"; with that key written into the config file by hand, openclaw gateway run refused to start, and openclaw config validate named the same cause and offered openclaw doctor --fix
  • activation.onStartup. Documentation: Manifest capabilities, activation reference
  • contracts.tools. Documentation: Manifest capabilities, contracts reference
  • configContracts.secretInputs; openclaw config set stores a plain string on such a path and asks for no SecretRef; a manifest whose uiHints mark such a key sensitive loads. Documentation: Manifest config and secrets, secretInputs paths Seen: OpenClaw 2026.11.1 on 2026-11-21, openclaw config set plugins.entries.<id>.config.<key> <value> with standard input closed, on two keys that the manifest lists under configContracts.secretInputs and marks sensitive in uiHints. Each command exited 0 and printed Updated plugins.entries.<id>.config.<key>. Change will apply without restarting the gateway. openclaw config validate printed Config valid, and openclaw plugins inspect <id> --runtime --json gave the status loaded. The run printed no hint, so it shows that the manifest loads and not what the hint does.
  • The openclaw fields of package.json, and the two that OpenClaw enforces when it installs a non-bundled plugin. Documentation: Plugin package.json, package.json fields that affect discovery
  • A folder whose package.json names openclaw.extensions loads as a native package from those entry files, and OpenClaw reads no rules folder of it. Read at OpenClaw 2026.11.10 (commit 6ea542fd97e2) on 2026-11-26. Source: discovery.ts L661–L675; only src/plugins and src/agents were searched for a reader of a rules folder Seen: OpenClaw 2026.11.1 on 2026-11-26, a Gateway with a stub model on the loopback interface that recorded each request, and one openclaw agent --agent main -m <text> --json turn, with the plugin loaded from the unpacked npm package, which holds rules/model-router-briefs.md, an always-apply rule for omp, and with the conversation grant unset. No request held the rule's text.

OpenClaw entry and registration

Read at OpenClaw 2026.10.10, commit d48be80a6379; documentation read on 2026-11-05.

OpenClaw setup entry and config migration

Read at OpenClaw main, three commits after 2026.11.1, commit d10d3d9a6427, on 2026-11-25.

OpenClaw hook and spawn

Read at OpenClaw 2026.10.10, commit d48be80a6379; documentation read on 2026-11-05.

OpenClaw commands and owner check

Read at OpenClaw 2026.10.10, commit d48be80a6379; documentation read on 2026-11-05.

OpenClaw runtime, logs and environment

Read at OpenClaw 2026.10.10, commit d48be80a6379; documentation read on 2026-11-05.

OpenClaw question tool

Read at OpenClaw 2026.11.3, commit 847611dcaa3b.

OpenClaw project skills and the Gateway

Read at OpenClaw 2026.11.5 on 2026-11-19.

  • Skills are read from <workspace>/skills and <workspace>/.agents/skills, with no walk into parent folders. Source: workspace-skill-roots.ts L38–L49 Documentation: skills.md L41–L42
  • OPENCLAW_HOME, OPENCLAW_STATE_DIR and OPENCLAW_CONFIG_PATH. Documentation: environment.md L39–L41
  • openclaw gateway run starts the Gateway, when it refuses to start, and a Gateway with no model configured starts and loads its plugins. Documentation: running.md L16–L17, L82–L84 Seen: OpenClaw 2026.11.1 on 2026-11-21, openclaw gateway run --port <port> --bind loopback --auth token --verbose, on a config with gateway.mode local and no model. The console printed http server listening with 16 plugins, the checkout's plugin among them, and the process exited 0 when the run stopped it.
  • openclaw gateway run --bind <mode> stands in for gateway.bind in that run and --auth <mode> for gateway.auth.mode, and neither writes the config file; the values each takes; the Gateway takes its token from gateway.auth.token, and from OPENCLAW_GATEWAY_TOKEN when the config holds none. Read at OpenClaw 2026.11.1 (commit 4ffdd2047d19) on 2026-11-21. Source: the two options and their values, run-command.ts L60–L68, run.ts L107–L112 and L541–L544; the flag before the config for the bind, run.ts L672, and for the auth mode, auth-resolve.ts L64; the config's token before the variable, auth-resolve.ts L110–L116 and credentials.ts L76–L77 Seen: OpenClaw 2026.11.1 on 2026-11-21, openclaw gateway run --port <port> --bind loopback --auth token --verbose with the token in OPENCLAW_GATEWAY_TOKEN and none in the config. The Gateway started and loaded its plugins.
  • POST /tools/invoke: its body, its authorization, the default deny list and the answer for a denied tool. Documentation: tools-invoke-http-api.md L21–L28, L53–L71, L85, L104, L112–L125
  • SIGINT or SIGTERM stops the Gateway process, and a wrapper that forwards no signal leaves it serving. Documentation: running.md L39–L40

OpenClaw gaps

Read at OpenClaw 2026.10.10, commit d48be80a6379; documentation read on 2026-11-05.

  • The documentation disagrees on updates: one page says they need a stopped Gateway, another says an update refreshes a running one. Documentation: update page, manage page
  • The hook runs only when a tool call runs, other paths may exist, and the meeting bot's realtime consult runs an agent under a sub-agent session key without the tool. Source: agent-consult.ts L92–L121 Source: this repository's plugins/model-router-openclaw/README.md, section "Paths the hook never sees"
  • Whether before_prompt_build runs for an ACP session. No read or run settled it. An ACP session's key has no subagent: segment.
  • The workspace .env list in the source leaves out the variables that an installed provider plugin adds, and OpenClaw may drop TYPESAFE_API_KEY when such a plugin declares it. Source: dotenv.ts, as linked in the workspace .env item of the runtime section; the read of that list left out the variables an installed provider plugin adds
  • before_model_resolve replaces a run's model, provider and fallback chain, receives only the prompt and attachment metadata, holds no thinking level in its result, runs at the start of every embedded agent run, and shows a sub-agent run only in ctx.sessionKey. Source: hook-before-agent-start.types.ts L1–L20, run-entry-model-selection.ts L17–L63, setup.ts L82–L137, spawn-plan.ts L60–L66, hook-agent-context.types.ts L26–L67
  • No run has installed the package from the registry through npm:, so the npm: install command rests on documentation. CI installs the packed tarball through npm-pack:, and the probes loaded the plugin through plugins.load.paths.
  • The package job's log holds the check's verdict, not the JSON of the inspect --runtime report.
  • No run settled which of the two update pages is right.
  • No source read lists every path that starts an agent session without the tool that the hook runs on.
  • No run covers a sandboxed child with a CLI-backend model, or an outputSchema spawn on a model without tools; the sandbox rule for CLI backends and the collector child's need for tools rest on documentation.
  • No run has checked a SecretRef value reaching the plugin.
  • No run has shown the skipped, cancelled line; it rests on the ctx.abortSignal source and the unit tests.
  • No run has shown that a command added beside the plugin's two is dispatched, listed or scope-checked.

Clone this wiki locally