From 931592c944e3e154e510f9b46c5eaa761818f242 Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Thu, 15 Jan 2026 11:15:35 -0600 Subject: [PATCH] style(agents): update subagent colors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - gsd-executor: blue → yellow - gsd-integration-checker: cyan → blue Co-Authored-By: Claude Opus 4.5 --- agents/gsd-executor.md | 2 +- agents/gsd-integration-checker.md | 27 ++++++++++++++++++++++++--- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/agents/gsd-executor.md b/agents/gsd-executor.md index d53b88a52..774830d1a 100644 --- a/agents/gsd-executor.md +++ b/agents/gsd-executor.md @@ -2,7 +2,7 @@ name: gsd-executor description: Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawned by execute-phase orchestrator or execute-plan command. tools: Read, Write, Edit, Bash, Grep, Glob -color: blue +color: yellow --- diff --git a/agents/gsd-integration-checker.md b/agents/gsd-integration-checker.md index b0ace2338..71ca1049d 100644 --- a/agents/gsd-integration-checker.md +++ b/agents/gsd-integration-checker.md @@ -2,7 +2,7 @@ name: gsd-integration-checker description: Verifies cross-phase integration and E2E flows. Checks that phases connect properly and user workflows complete end-to-end. tools: Read, Bash, Grep, Glob -color: cyan +color: blue --- @@ -30,19 +30,22 @@ A "complete" codebase with broken wiring is a broken product. ## Required Context (provided by milestone auditor) **Phase Information:** + - Phase directories in milestone scope - Key exports from each phase (from SUMMARYs) - Files created per phase **Codebase Structure:** + - `src/` or equivalent source directory - API routes location (`app/api/` or `pages/api/`) - Component locations **Expected Connections:** + - Which phases should connect to which - What each phase provides vs. consumes - + @@ -51,6 +54,7 @@ A "complete" codebase with broken wiring is a broken product. For each phase, extract what it provides and what it should consume. **From SUMMARYs, extract:** + ```bash # Key exports from each phase for summary in .planning/phases/*/*-SUMMARY.md; do @@ -60,6 +64,7 @@ done ``` **Build provides/consumes map:** + ``` Phase 1 (Auth): provides: getCurrentUser, AuthProvider, useAuth, /api/auth/* @@ -79,6 +84,7 @@ Phase 3 (Dashboard): For each phase's exports, verify they're imported and used. **Check imports:** + ```bash check_export_used() { local export_name="$1" @@ -106,6 +112,7 @@ check_export_used() { ``` **Run for key exports:** + - Auth exports (getCurrentUser, useAuth, AuthProvider) - Type exports (UserType, etc.) - Utility exports (formatDate, etc.) @@ -116,6 +123,7 @@ check_export_used() { Check that API routes have consumers. **Find all API routes:** + ```bash # Next.js App Router find src/app/api -name "route.ts" 2>/dev/null | while read route; do @@ -132,6 +140,7 @@ done ``` **Check each route has consumers:** + ```bash check_api_consumed() { local route="$1" @@ -161,6 +170,7 @@ check_api_consumed() { Check that routes requiring auth actually check auth. **Find protected route indicators:** + ```bash # Routes that should be protected (dashboard, settings, user data) protected_patterns="dashboard|settings|profile|account|user" @@ -170,6 +180,7 @@ grep -r -l "$protected_patterns" src/ --include="*.tsx" 2>/dev/null ``` **Check auth usage in protected areas:** + ```bash check_auth_protection() { local file="$1" @@ -195,6 +206,7 @@ Derive flows from milestone goals and trace through codebase. **Common flow patterns:** ### Flow: User Authentication + ```bash verify_auth_flow() { echo "=== Auth Flow ===" @@ -222,6 +234,7 @@ verify_auth_flow() { ``` ### Flow: Data Display + ```bash verify_data_flow() { local component="$1" @@ -260,6 +273,7 @@ verify_data_flow() { ``` ### Flow: Form Submission + ```bash verify_form_flow() { local form_component="$1" @@ -294,6 +308,7 @@ verify_form_flow() { Structure findings for milestone auditor. **Wiring status:** + ```yaml wiring: connected: @@ -314,6 +329,7 @@ wiring: ``` **Flow status:** + ```yaml flows: complete: @@ -361,15 +377,19 @@ Return structured report to milestone auditor: ### Detailed Findings #### Orphaned Exports + {List each with from/reason} #### Missing Connections + {List each with from/to/expected/reason} #### Broken Flows + {List each with name/broken_at/reason/missing_steps} #### Unprotected Routes + {List each with path/reason} ``` @@ -390,6 +410,7 @@ Return structured report to milestone auditor: + - [ ] Export/import map built from SUMMARYs - [ ] All key exports checked for usage - [ ] All API routes checked for consumers @@ -399,4 +420,4 @@ Return structured report to milestone auditor: - [ ] Missing connections identified - [ ] Broken flows identified with specific break points - [ ] Structured report returned to auditor - +