Two new templates: codex (OpenAI Codex CLI) and grok (xAI's CLI) #54
Labels
No labels
blocked
blocker:ci-red
blocker:conflict
blocker:drill-pending
blocker:unrequested
bug
claimed
documentation
enhancement
epic
merge-next
needs-triage
ready
release
scope:cli
scope:drill
scope:host
scope:installer
scope:templates
scope:tiers
stale
state:addressing
state:bots-reviewing
state:building
state:needs-human
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: heavy-duty/box#54
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#52 made the Claude box one template among several — these are the second and third real tenants, and the first proof that the template mechanic carries a workload it wasn't built around.
What each is
Mirror
templates/claude/exactly in shape — abox.envand a verbatimuser-data.yaml, nothing else:templates/codex/— Debian 13 + the OpenAI Codex CLI,BOX_USER="codex". Same creds-free contract: the box ships with the CLI installed and NO credentials; the operator authenticates interactively inside (codexlogin flow), then snapshots — log in once, clone forever.templates/grok/— Debian 13 + xAI's CLI,BOX_USER="grok". Same deal.Both inherit the placement contract structurally — same
box-netprofile, same isolation, nothing to design. Resources: start from the claude template's values; trim if the toolchains are lighter.The rules the claude template already learned
BOX_USERand the user created inuser-data.yamlagree by hand — the file is verbatim, the duplication is deliberate.box exec <b> -- codex --versionmust work) — the claude template hit this exact bug (#15 findings): a PATH exported only in shell rc files is invisible tobox exec. Symlink into/usr/local/binlike claude's user-data does.~/.claude/CLAUDE.md) should get its analog if the CLI has one (e.g. anAGENTS.md-style file for Codex) — telling the agent it lives in a disposable, isolated, creds-free box changed behavior for the better in the claude template.Acceptance
box templateslists four; each new template mints, its CLI answers--versionviabox exec, and the box carries no credentials.--version-via-exec check per new template is enough.🤖 Generated with Claude Code