Improve workspace creation and bootstrap script flows - #602
Conversation
|
@onevclaw 研究这个pr,总结该PR的目标,手段,预期变化等。 |
|
我看了实际 diff(51 个文件、+9,505 / -216、36 个 commits)。这不是一个小型设置改动,而是把 Workspace 从“创建后基本静态”升级为可维护、可观测、可复跑的多仓库工作单元。 目标
实现手段
预期变化
关键取舍 / 建议重点确认
我的判断:方向很对,尤其是把“创建策略”和“运营入口”拆开;但它是一个跨 CLI、持久化模型、Workspace 生命周期和 UI 的架构级 PR,不应按普通 UI 改动快速合入。当前仍是 Draft,先把 profile 版本语义与移除失败语义定清楚,后续评审会稳很多。
|
Handoff update — 2026-07-29
结论仍是:Bootstrap 的最终交互方向正确,但 #602 作为整体 PR 已经过大、过时,不建议继续整体 rebase 或继续向其中追加无关功能。 当前状态
本次补交的两个提交
这两个提交保存的是 #602 已有通用 Script Profile 能力的必要正确性和可达性,不代表未来的最小 replacement PR 必须同时包含全部通用复用范围。 未进入 PR 的旧 WIP旧
该分支仅供参考。最新 main 已经用共享 已确认的 Bootstrap 产品方向
代码已经按上述边界工作:只有 最新验证
建议接手方式不要继续在 #602 上堆大块功能,也不要直接 cherry-pick 整个历史。建议:
接手前仍需明确的两个产品选择
核心参考文件:
|
Summary
prowl scriptsCLI.prowl/bootstrap-runs/Why
Bootstrap selection is a creation-time decision, while repository settings is an operational surface. Existing workspaces should expose what ran and allow an intentional rerun without making routine settings edits rewrite bootstrap policy in
.prowl/workspace.json.Validation
CI=true make build-appmise exec -- swift-format lint --strict --recursive --configuration ./.swift-format.json supacode supacodeTestsCI=true mise exec -- swiftlint lint --no-cache --quiet --config .swiftlint.ymlmake build-climake test-cli-smokemake test-cli-integration(56 tests, 0 failures)