# Plan-Build Tasks ## Completed ### PB-001: Establish the dedicated project boundary - Extract the executable from Zsh Setup into `plan_build.zsh`. - Remove dependencies on `~/.func` and unrelated shell helpers. - Make the executable directly runnable and safely sourceable. ### PB-002: Preserve supported workflows - Preserve standard, prompt enhancement, brainstorm, and writing-plan behavior. - Preserve architect safe-resume and archive-and-start-new modes. - Preserve EOF-terminated payload input and interactive enhanced-prompt approval. - Translate `--yolo` to Claude Code's real `--dangerously-skip-permissions` option. - Keep `--v2` rejected through the unknown-option path. ### PB-003: Canonicalize skills and documentation - Publish the standard workflow as `SKILL.md`. - Publish the architect workflow as `ARCHITECT.md`. - Remove obsolete v2-only and distribution workflow claims from the active standard skill. - Document installation, prerequisites, cache integration, compatibility, testing, and troubleshooting. ### PB-004: Add standalone regression coverage - Stub external CLIs, Claude launch, Auggie enhancement, and interactive approval. - Cover all modes, invalid combinations, preflight ordering, safe-resume/new architect prompts, and normal versus bare Git repositories. - Keep the suite network-free. ## Completed outside this repository ### ZS-001: Migrate the Zsh Setup launcher Replace the old in-repository implementation with a thin cached launcher that downloads the canonical executable and skills from the `plan-build` gist. The Zsh Setup migration now uses immutable complete release directories, a serialized atomic `current` symlink switch, and skill links through that same release. Required launcher contract: ```text zsh /plan_build.zsh "$@" ``` Required remote files: ```text https://opengist.resetrix.work/weehong/plan-build/raw/HEAD/plan_build.zsh https://opengist.resetrix.work/weehong/plan-build/raw/HEAD/SKILL.md https://opengist.resetrix.work/weehong/plan-build/raw/HEAD/ARCHITECT.md ```