Skip to content

feat(workspace): remove the image contract and install agent CLIs from Supermarket - #1144

Draft
sheepbox8646 wants to merge 1 commit into
workspace-deps/04-webfrom
workspace-deps/06-image-contract
Draft

feat(workspace): remove the image contract and install agent CLIs from Supermarket#1144
sheepbox8646 wants to merge 1 commit into
workspace-deps/04-webfrom
workspace-deps/06-image-contract

Conversation

@sheepbox8646

@sheepbox8646 sheepbox8646 commented Sep 3, 2026

Copy link
Copy Markdown
Member

workspace 镜像保留 Node/Python/uv、显示栈和 a11y-cli 底座,删除预装 Codex/Claude Code 及 launcher wrappers。Agent CLI 按 Bot 安装到持久化数据目录,配方由 supermarket#20 发布,使用前由依赖管理器发现和检查。

删除 workspace-contract.json、整镜像兼容性判断及对应错误分支;容器启动负责报告 bridge/tini 等启动条件缺失,其他能力在使用处报告缺失。Docker 构建与 smoke 检查同步。入口脚本测试在 suite 初始化时单独准备 Alpine 镜像,避免冷下载耗尽脚本执行的 10 秒限时。

栈第 6/6 层,基于 #1141;完整顺序 #1132#1135#1137#1138#1141 → 本 PR。

验证:本地已构建并导入 workspace 镜像,使用全新开发数据库启动最终实现,保留原开发数据卷。五个依赖通过真实 API 完成 install/update/rollback/reinstall/remove,并重新安装成功;Codex 二进制和 Codex/Claude Code preflight 已实际执行。还验证了远端新增条目、配方 revision 冻结、下架管理及重启后的离线缓存。

⚠️ No human QA — this PR has not been verified by a human yet. Remove this line once a human confirms the happy path.

@sheepbox8646 sheepbox8646 changed the title feat(workspace): remove the workspace contract and stop baking agent CLIs into the image feat(workspace): remove the workspace contract and stop shipping agent CLIs in the image Sep 3, 2026
@sheepbox8646
sheepbox8646 force-pushed the workspace-deps/06-image-contract branch from cfc2c7c to e320e46 Compare September 3, 2026 09:44
@sheepbox8646
sheepbox8646 force-pushed the workspace-deps/06-image-contract branch from e320e46 to 32dd4be Compare September 3, 2026 12:19
@sheepbox8646
sheepbox8646 changed the base branch from workspace-deps/05-versions-overlays to workspace-deps/04-web September 3, 2026 12:21
@sheepbox8646
sheepbox8646 force-pushed the workspace-deps/06-image-contract branch from 32dd4be to e9bca0e Compare September 3, 2026 14:18
@sheepbox8646
sheepbox8646 force-pushed the workspace-deps/06-image-contract branch from e9bca0e to e0bd748 Compare September 6, 2026 08:17
@sheepbox8646
sheepbox8646 force-pushed the workspace-deps/06-image-contract branch from e0bd748 to 7ff14d0 Compare September 7, 2026 15:45
@sheepbox8646 sheepbox8646 changed the title feat(workspace): remove the workspace contract and stop shipping agent CLIs in the image feat(workspace): remove the image contract and install agent CLIs from Supermarket Sep 7, 2026
@sheepbox8646
sheepbox8646 force-pushed the workspace-deps/06-image-contract branch from 7ff14d0 to f5bc4ce Compare September 7, 2026 15:59
…CLIs into the image

The image is now a baseline (node, python, uv, display stack); Codex and
Claude Code are installed into /data by the dependency manager, so the
toolkit no longer ships them or their launcher wrappers. The workspace
contract check is deleted with all of its error plumbing: tini and the
bridge are covered by container startup, and every other capability
reports at its point of use with an actionable dependency error instead of
a whole-image incompatibility verdict (design §13).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017sihinqYWYNmZ9K842WqDJ
@sheepbox8646
sheepbox8646 force-pushed the workspace-deps/06-image-contract branch from f5bc4ce to 9850a19 Compare September 7, 2026 16:03
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