# 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 and prompt-enhancement 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. ### PB-005: Replace Superpowers planning with Matt Pocock's workflow - Make Matt routing the default standard workflow. - Remove `--brainstorm`, `--writing-plan`, and the Superpowers dependency. - Preserve Auggie prompt enhancement and architect modes. - Route discovery, specifications, tracer-bullet tickets, TDD, diagnosis, and wayfinding through explicit namespaced Matt skills. - Override automatic commits with review, validation, and explicit approval. ### PB-006: Add AgentMemory continuity - Require a committed stable `.agentmemory-project` identity. - Verify the shared AgentMemory server and Claude/Codex plugins before payload input. - Allow only an explicitly approved interactive degraded mode when memory is unavailable. - Pass one memory scope through Claude and inherited Codex processes. - Require project-scoped recall and one canonical `workflow_status` checkpoint in both standard and architect skills. - Add network-free tests for project identity, memory preflight outcomes, recall prompts, and child environment propagation. ## 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 ```