ruby-anything go [-- <start command>] |
把遷移推進到下一個階段,並寫出 rails/port/TASK.md |
ruby-anything status [<repo>] [--json] |
遷移停在哪裡:階段、下一步、未完成的單元(唯讀;在新工作階段中先執行它) |
ruby-anything analyze <repo> |
規劃:路由、模板、依波次排列的函式、相依套件、決策 |
ruby-anything bridge <repo> <unit> |
在 app/services 中為某個函式產生 Ruby 骨架 |
ruby-anything record <repo> <unit> |
用邊界案例、--inputs、--from-tests -- <test cmd>、--pin-clock 錄製原版函式 |
ruby-anything diff <repo> <unit> |
把案例對 Ruby 移植版重播(必須是 N/N) |
ruby-anything gate <repo> <unit> | --all | --app |
完成的定義就是 gate 通過 |
ruby-anything rules <repo> [--add "<rule>"] |
你修正過的行為,之後的每個部分都會遵守 |
ruby-anything drift <repo> |
原版在錄製之後是否有變動? |
ruby-anything app record <repo> --http -- <start command> |
透過 HTTP 錄製整個原版(副作用用 --effect-env、--db-dump) |
ruby-anything app record <repo> --cli --inputs cli.jsonl -- <command> |
錄製 CLI 工具 |
ruby-anything app front-door <repo> |
建立會代理尚未移植路由的 Rails 應用程式 |
ruby-anything app wire <repo> <unit> --route "GET /path/:id" |
把一個路由交給 Rails(CLI 則用 --command <name>) |
ruby-anything app replay <repo> |
透過 Rails 重播每個 HTTP 案例(--original、--case) |
ruby-anything app status <repo> |
回退率、已 wire 的路由、已完成的單元 |
ruby-anything app lift <repo> |
在不再有任何回退時移除代理 |
ruby-anything setup | doctor | mcp |
為代理安裝、檢查執行環境、MCP 伺服器 |