Polish r7 Dogfood Fixes
# Polish-r7: dogfood UX findings (bootstrap.sh upgrade/remove output polish) ## Goal 把 dogfood 報告(`docs/dogfood/2026-04-28-upgrade-remove.md`)找出的 6 個 UX 問題一次修光(dogfood 報告寫 7 個,但 #3「dirty-tree 文件 mismatch」實際已 align — UPGRADE.md line 31 寫「warn but continue」,不是 dogfood 寫的「clean tree required」,是 sonnet 之前讀錯。剩 6 個真改動)。 ## Execution profile - model: sonnet - effort: small(單檔多處字串改動 + 一個 doc 同步) - 2 commits(polish / archive) ## Background context S-1 ship 後跑 4 scenarios dogfood 全 PASS、無 logic bug;6 個 cosmetic UX 問題待修。所有改動集中在 `bootstrap.sh`(4 段 function: `upgrade_dry_run`, `upgrade_apply`, `remove_dry_run`, `remove_apply`),加 `docs/UPGRADE.md` 一處字串調整為對齊 dogfood 觀察。 關鍵脈絡: - bootstrap.sh line 85 = dirty-tree WARN(單行、無分隔) - bootstrap.sh line 155 = `Would overwrite` 標題(dry-run + apply 兩種模式都用) - bootstrap.sh line 234 = upgrade 完成 `Done. N files written. Run 'git -C $target diff'` - bootstrap.sh line 347 = `Would delete` 標題(dry-run + apply 兩種模式都用) - bootstrap.sh line 376 = `Would remove empty dirs` - bootstrap.sh line 422 = remove 完成 `Done. N files deleted. Memory preserved at...` --- ## Commit 1: `feat(bootstrap): polish upgrade/remove output (active tense, git status hint, settings count, dirty-tree visibility)` 修 6 處(按 dogfood report 編號)。**所有「Would ...」標題改成 dual-mode** — dry-run 維持「Would」,`--apply` 切換到 active tense。 ### Fix #1 — active-tense headers when --apply **bootstrap.sh line 155** `echo "Would overwrite (${#will_overwrite[@]}):"`: 改為 dual-mode(用 `$apply` flag 變數,已存在):
fill the variables
This prompt has 1 variable. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{#will_overwrite[@]}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo woodylin0920-bit/Tandem (MIT). A "Polish r7 Dogfood Fixes" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
woodylin0920-bit/Tandem · MIT