openclaw/docs/reference
Vitalii fef57f99ba fix(scripts): docs-spellcheck.sh fails on bash 3.2 with set -u
scripts/docs-spellcheck.sh uses set -u and constructs args=( ... "${write_flag[@]}" ), where write_flag may be an empty array. On bash 3.2 (still the default /bin/bash on macOS), referencing an empty array under set -u raises an unbound variable error. Newer bash (>= 4.4) handles this expression correctly, which is why the script ships green on Linux CI runners.

Switch to the bash 3.2-safe parameter expansion ${write_flag[@]+"${write_flag[@]}"}: it expands to nothing when the array is empty and to the array contents otherwise, preserving --write behavior unchanged.

Also fixes overrideable -> overridable in docs/reference/test.md, which the now-running spellcheck surfaces.

Repro:
  bash scripts/docs-spellcheck.sh                # was: write_flag[@]: unbound variable, exit 1
  bash scripts/docs-spellcheck.sh                # now: codespell runs to completion
2026-05-25 20:56:52 +01:00
..
templates docs: absorb hook and subagent guidance PRs 2026-05-23 09:47:37 +01:00
AGENTS.default.md docs: absorb hook and subagent guidance PRs 2026-05-23 09:47:37 +01:00
api-usage-costs.md fix(status): show configured cost for aws-sdk models (#85619) 2026-05-23 15:49:57 +01:00
application-modernization-plan.md
code-mode.md docs: refine maintainer docs sweep 2026-05-22 19:22:40 +01:00
credits.md
device-models.md
full-release-validation.md ci: add live Codex plugin release check 2026-05-21 08:44:18 +01:00
memory-config.md docs: align memory search cache default 2026-05-22 17:58:56 +01:00
openclaw-sdk-api-design.md
prompt-caching.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
RELEASING.md docs: make changelog release-owned 2026-05-25 19:15:37 +01:00
rich-output-protocol.md docs: clarify media directive formatting 2026-05-22 17:59:01 +01:00
rpc.md
secret-placeholder-conventions.md fix(ci): clear signal and docs guard blockers (#85693) 2026-05-23 18:27:12 +08:00
secretref-credential-surface.md fix(cli): scope web command secret refs 2026-05-17 10:42:57 +01:00
secretref-user-supplied-credentials-matrix.json fix(cli): scope web command secret refs 2026-05-17 10:42:57 +01:00
session-management-compaction.md fix(agents): derive overflow budgets from provider errors 2026-05-25 17:35:47 +01:00
test.md fix(scripts): docs-spellcheck.sh fails on bash 3.2 with set -u 2026-05-25 20:56:52 +01:00
token-use.md fix: make compaction reinjection opt-in 2026-05-25 00:59:59 -05:00
transcript-hygiene.md fix(agents): remove transient session-repair backups 2026-05-16 12:38:26 +01:00
wizard.md feat: add xai oauth web search and provider timeouts 2026-05-22 08:49:53 +01:00