Skip to content

fix(agents): install officecli + bake bundled skills for office artifacts - #489

Merged
samxu01 merged 1 commit into
mainfrom
fix/install-doc-toolchain
Jun 26, 2026
Merged

fix(agents): install officecli + bake bundled skills for office artifacts#489
samxu01 merged 1 commit into
mainfrom
fix/install-doc-toolchain

Conversation

@samxu01

@samxu01 samxu01 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What

Twin of the gh-cli gap (#487). deploy-dev.yml already passes --build-arg OPENCLAW_INSTALL_DOC_TOOLCHAIN=1 and stages backend/commonly-bundled-skills/ into the clawdbot build context — but the openclaw Dockerfile honored neither. Result: agents could open PRs but silently failed to produce .docx/.xlsx/.pptx artifacts (smoke test: agent claimed an attachment, att=0).

Root cause (two missing Dockerfile layers, both in the openclaw fork)

  1. No officecli binary. OPENCLAW_INSTALL_DOC_TOOLCHAIN was unhandled. The officecli skill uses a self-contained binary (no LibreOffice/pandoc) — now downloaded to /usr/local/bin/officecli (on PATH for the agent user; the install script's default $HOME/.local/bin is not).
  2. No /opt/commonly-bundled-skills. The deploy workflow stages the skills and its comment references "the Dockerfile's COPY commonly-bundled-skills /opt/... layer" — but that COPY was never added. The .gitkeep from openclaw#9 was added for this COPY. Without it the provisioner finds no officecli skill to project into agent workspaces.

Verification

  • Live gateway pre-fix: officecli MISSING, /opt/commonly-bundled-skills MISSING (confirmed via kubectl exec).
  • Release assets resolve 200 (officecli-linux-x64/-arm64); officecli --version is a build-time gate.
  • Post-deploy: re-run the multi-agent smoke test → expect a real XLSX/PPTX attachment landing in-pod.

🤖 Generated with Claude Code

…ffice files

Bumps the clawdbot submodule to honor OPENCLAW_INSTALL_DOC_TOOLCHAIN (the
deploy workflow already passes it) by installing the self-contained officecli
binary, and adds the missing COPY commonly-bundled-skills /opt/... layer so the
provisioner can project the officecli skill into agent workspaces. Closes the
twin of the gh gap: agents could open PRs but silently failed to produce
.docx/.xlsx/.pptx artifacts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@samxu01
samxu01 merged commit 497e285 into main Jun 26, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant