From 1690b53b317be8388bc2d292c9dd39b87aaa12c5 Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Mon, 12 Jan 2026 12:38:43 -0600 Subject: [PATCH] refactor(10-01): rename execute-phase.md to execute-plan.md - Preserves git history via git mv - Prepares for separation of single-plan vs multi-plan execution - execute-plan.md handles single PLAN.md execution --- .planning/ROADMAP.md | 26 +++++++++++++++++++ .planning/STATE.md | 1 + .../{execute-phase.md => execute-plan.md} | 0 3 files changed, 27 insertions(+) rename get-shit-done/workflows/{execute-phase.md => execute-plan.md} (100%) diff --git a/.planning/ROADMAP.md b/.planning/ROADMAP.md index 741459226..109f6e111 100644 --- a/.planning/ROADMAP.md +++ b/.planning/ROADMAP.md @@ -17,6 +17,7 @@ None - this is internal GSD development following existing command/workflow/temp - [ ] **Phase 1: Templates & Structure** - Create codebase map templates and folder structure - [ ] **Phase 2: Map Codebase Command** - Build /gsd:map-codebase with parallel Explore agents - [ ] **Phase 3: Integration** - Wire brownfield support into existing GSD workflows +- [ ] **Phase 10: Parallel Phase Execution** - Separate single-plan vs multi-plan execution with intelligent parallelization ## Phase Details @@ -141,6 +142,31 @@ Components: **Details:** Community contribution from OracleGreyBeard. Original command works but doesn't follow GSD patterns (no workflow delegation, inline templates, verbose steps). Refactor to match conventions, then add /gsd:plan-fix to complete the verify → fix loop. +### Phase 10: Parallel Phase Execution + +**Goal:** Implement proper parallel phase execution with clean separation between single-plan and multi-plan execution +**Depends on:** Phase 9 +**Research:** Unlikely (adapting PR #43 patterns, existing GSD conventions) +**Plans:** 4 plans + +Plans: +- [ ] 10-01: Rename execute-phase → execute-plan - Rename workflow file, update all 6+ references across commands/workflows/templates +- [ ] 10-02: Create parallel execution workflow - New `workflows/execute-phase.md` with dependency analysis, parallel spawning, orchestrator commits +- [ ] 10-03: Create execute-phase command - New `commands/gsd/execute-phase.md` + parallelization config schema in templates/config.json +- [ ] 10-04: Update agent-history schema - Extend to v1.2 with parallel_group, granularity, task_results fields + +**Details:** +Structural refactoring to separate concerns: +- `/gsd:execute-plan` executes a single PLAN.md (current behavior, ~1,700 lines) +- `/gsd:execute-phase` executes all plans in a phase with intelligent parallelization (~1,300 lines) + +Parallelization features (adapted from PR #43): +- Dependency analysis via `requires`/`provides` frontmatter + `` overlap detection +- Parallel agent spawning for independent plans (respects max_concurrent_agents) +- Orchestrator holds commits until all agents complete +- Merge conflict detection as failsafe +- Configurable via `.planning/config.json` parallelization section + ## Progress **Execution Order:** diff --git a/.planning/STATE.md b/.planning/STATE.md index 8b653e020..a2e2a8820 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -84,6 +84,7 @@ None yet. - Phase 7 added: Backfill existing summaries with frontmatter - Phase 8 added: Improve roadmap system - Phase 9 added: Integrate verify-work (community contribution from OracleGreyBeard) +- Phase 10 added: Parallel phase execution (rename workflow, create /gsd:execute-phase with parallelization) ## Project Alignment diff --git a/get-shit-done/workflows/execute-phase.md b/get-shit-done/workflows/execute-plan.md similarity index 100% rename from get-shit-done/workflows/execute-phase.md rename to get-shit-done/workflows/execute-plan.md