refactor(prompts)!: rename /m2_evolve to /m2_evo - #21
Merged
Conversation
Shorter to type while keeping the evolve semantics. Behaviour is unchanged; subcommands (resume/status/checkpoint/pause/stop) are untouched. The ledger directory stays .evolve/ and branches stay evolve/* so any in-flight round keeps working. BREAKING CHANGE: /m2_evolve no longer exists after sync. Update any scripts or docs to /m2_evo. Also restore the CHANGELOG section headers for v2.1.0 and v2.2.0, which earlier version-entry inserts had swallowed.
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
把 slash command
/m2_evolve改名為/m2_evo,prompt 檔m2_evolve.prompt.md隨之更名為m2_evo.prompt.md。行為完全不變,只有指令名稱變短。順帶補回 CHANGELOG 兩個被吃掉的章節標題。Why
evolve語意正確但打起來偏長,而這支指令的子指令(resume/status/checkpoint/pause/stop)都要接在後面,實際輸入長度會再往上疊。evo是 evolve 的直接縮寫,保留「往更好的方向反覆迭代」的語意,同時把常打的前綴縮短。過程中另外發現
CHANGELOG.md的## v2.1.0與## v2.2.0兩個章節標題不見了,內容被併進上一個版本區塊。根因是前兩次新增版本條目時,取代區塊把下一個版本的標題一起吃掉;其中 v2.1.0 那筆已隨 #20 合併進main。這不是本次改名造成的,但在同一份檔案上動工時順手修掉,避免 CHANGELOG 繼續失真。How
git mv更名(相似度 92%,保留檔案歷史)。m2_evo.prompt.md— 觸發清單、§2.8、§3.1、§4 停止條件、§5.1、§6 子指令對照、§6.1 Resumecopilot-instructions.md— §9 routing 表的檔案路徑、「與主流程正交」說明、Auto Mode 章節README.md— 命令表、旁支說明、auto 說明、目錄樹CHANGELOG.md— 新增 v3.0.0CHANGELOG.md開頭自訂的版本規則,「prompt 檔更名、slash command 改名」明列為破壞性變更。.evolve/、迭代分支仍是evolve/*—— 它們描述的是「回合帳本 / 進化分支」這個概念而非指令名稱;改了會讓任何進行中的回合失效,也讓已寫進.git/info/exclude的忽略規則失準。# Evolve — 自主迭代進化,evo只是縮寫,語意來源不變。/m2_evolve—— 那是當時實際發布的內容,屬史實記錄,不改寫。Impact
/m2_evolve即不存在,需改用/m2_evo;任何腳本、筆記或習慣打法都要跟著改。/m2_evo resume可直接接續。Verification
python scripts/validate.py→ 5 個 prompt file 全數通過、0 警告,指令清單已顯示/m2_evom2_evolve,剩餘命中僅存在於 CHANGELOG(v3.0.0 的改名說明 + v2.2.0 的歷史記錄),皆為刻意保留Select-String '^## ' CHANGELOG.md確認 v3.0.0 / v2.2.0 / v2.1.0 / v2.0.0 章節標題齊全origin/main(git rev-list --left-right --count origin/main...HEAD左邊為 0)git diff自檢無機密資料/m2_evo驗證 VS Code 有正確載入新指令(需同步或重載後才看得到)