fix(agents): install officecli + bake bundled skills for office artifacts - #489
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Twin of the gh-cli gap (#487).
deploy-dev.ymlalready passes--build-arg OPENCLAW_INSTALL_DOC_TOOLCHAIN=1and stagesbackend/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/.pptxartifacts (smoke test: agent claimed an attachment,att=0).Root cause (two missing Dockerfile layers, both in the openclaw fork)
OPENCLAW_INSTALL_DOC_TOOLCHAINwas 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/binis not)./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.gitkeepfrom openclaw#9 was added for this COPY. Without it the provisioner finds no officecli skill to project into agent workspaces.Verification
officecliMISSING,/opt/commonly-bundled-skillsMISSING (confirmed via kubectl exec).officecli-linux-x64/-arm64);officecli --versionis a build-time gate.🤖 Generated with Claude Code