@hegemonart/get-design-done 1.41.5 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +1120 -1029
- package/README.md +158 -154
- package/SKILL.md +42 -42
- package/agents/README.md +53 -53
- package/agents/a11y-mapper.md +3 -3
- package/agents/component-benchmark-harvester.md +8 -8
- package/agents/component-benchmark-synthesizer.md +11 -11
- package/agents/component-taxonomy-mapper.md +5 -5
- package/agents/compose-executor.md +25 -25
- package/agents/conflict-resolver.md +8 -8
- package/agents/cost-forecaster.md +12 -12
- package/agents/decision-journal-exporter.md +5 -5
- package/agents/design-advisor.md +19 -19
- package/agents/design-assumptions-analyzer.md +16 -16
- package/agents/design-auditor.md +39 -39
- package/agents/design-authority-watcher.md +28 -28
- package/agents/design-component-generator.md +27 -27
- package/agents/design-context-builder.md +66 -66
- package/agents/design-context-checker-gate.md +5 -5
- package/agents/design-context-checker.md +20 -20
- package/agents/design-discussant.md +23 -23
- package/agents/design-doc-writer.md +12 -12
- package/agents/design-executor.md +38 -38
- package/agents/design-figma-writer.md +31 -31
- package/agents/design-fixer.md +27 -27
- package/agents/design-integration-checker-gate.md +5 -5
- package/agents/design-integration-checker.md +29 -29
- package/agents/design-paper-writer.md +14 -14
- package/agents/design-pattern-mapper.md +9 -9
- package/agents/design-pencil-writer.md +12 -12
- package/agents/design-phase-researcher.md +14 -14
- package/agents/design-plan-checker.md +13 -13
- package/agents/design-planner.md +24 -24
- package/agents/design-reflector.md +48 -48
- package/agents/design-research-synthesizer.md +21 -21
- package/agents/design-start-writer.md +7 -7
- package/agents/design-update-checker.md +8 -8
- package/agents/design-verifier-gate.md +5 -5
- package/agents/design-verifier.md +80 -80
- package/agents/ds-generator.md +14 -14
- package/agents/ds-migration-planner.md +12 -12
- package/agents/email-executor.md +26 -26
- package/agents/experiment-result-ingester.md +10 -10
- package/agents/flutter-executor.md +28 -28
- package/agents/gdd-graph-refresh.md +10 -10
- package/agents/gdd-intel-updater.md +11 -11
- package/agents/gdd-learnings-extractor.md +2 -2
- package/agents/motion-mapper.md +8 -8
- package/agents/motion-verifier.md +16 -16
- package/agents/pdf-executor.md +27 -27
- package/agents/perf-analyzer.md +20 -20
- package/agents/pr-commenter.md +24 -24
- package/agents/prototype-gate.md +29 -29
- package/agents/quality-gate-runner.md +21 -21
- package/agents/rollout-coordinator.md +8 -8
- package/agents/swift-executor.md +41 -41
- package/agents/ticket-sync-agent.md +19 -19
- package/agents/token-mapper.md +6 -6
- package/agents/user-research-synthesizer.md +13 -13
- package/agents/visual-hierarchy-mapper.md +2 -2
- package/dist/claude-code/.claude/skills/add-backlog/SKILL.md +48 -0
- package/dist/claude-code/.claude/skills/analyze-dependencies/SKILL.md +95 -0
- package/dist/claude-code/.claude/skills/apply-reflections/SKILL.md +92 -0
- package/dist/claude-code/.claude/skills/apply-reflections/apply-reflections-procedure.md +170 -0
- package/dist/claude-code/.claude/skills/audit/SKILL.md +79 -0
- package/dist/claude-code/.claude/skills/bandit-status/SKILL.md +94 -0
- package/dist/claude-code/.claude/skills/benchmark/SKILL.md +65 -0
- package/dist/claude-code/.claude/skills/bootstrap-ds/SKILL.md +43 -0
- package/dist/claude-code/.claude/skills/brief/SKILL.md +128 -0
- package/dist/claude-code/.claude/skills/budget/SKILL.md +45 -0
- package/dist/claude-code/.claude/skills/cache-manager/SKILL.md +66 -0
- package/dist/claude-code/.claude/skills/cache-manager/cache-policy.md +126 -0
- package/dist/claude-code/.claude/skills/check-update/SKILL.md +98 -0
- package/dist/claude-code/.claude/skills/compare/SKILL.md +82 -0
- package/dist/claude-code/.claude/skills/compare/compare-rubric.md +171 -0
- package/dist/claude-code/.claude/skills/complete-cycle/SKILL.md +81 -0
- package/dist/claude-code/.claude/skills/connections/SKILL.md +71 -0
- package/dist/claude-code/.claude/skills/connections/connections-onboarding.md +608 -0
- package/dist/claude-code/.claude/skills/continue/SKILL.md +24 -0
- package/dist/claude-code/.claude/skills/darkmode/SKILL.md +76 -0
- package/dist/claude-code/.claude/skills/darkmode/darkmode-audit-procedure.md +258 -0
- package/dist/claude-code/.claude/skills/debug/SKILL.md +41 -0
- package/dist/claude-code/.claude/skills/debug/debug-feedback-loops.md +119 -0
- package/dist/claude-code/.claude/skills/design/SKILL.md +99 -0
- package/dist/claude-code/.claude/skills/design/design-procedure.md +304 -0
- package/dist/claude-code/.claude/skills/discover/SKILL.md +72 -0
- package/dist/claude-code/.claude/skills/discover/discover-procedure.md +222 -0
- package/dist/claude-code/.claude/skills/discuss/SKILL.md +96 -0
- package/dist/claude-code/.claude/skills/do/SKILL.md +45 -0
- package/dist/claude-code/.claude/skills/explore/SKILL.md +105 -0
- package/dist/claude-code/.claude/skills/explore/explore-procedure.md +267 -0
- package/dist/claude-code/.claude/skills/export/SKILL.md +30 -0
- package/dist/claude-code/.claude/skills/extract-learnings/SKILL.md +98 -0
- package/dist/claude-code/.claude/skills/fast/SKILL.md +91 -0
- package/dist/claude-code/.claude/skills/figma-extract/SKILL.md +64 -0
- package/dist/claude-code/.claude/skills/figma-write/SKILL.md +39 -0
- package/dist/claude-code/.claude/skills/graphify/SKILL.md +49 -0
- package/dist/claude-code/.claude/skills/health/SKILL.md +99 -0
- package/dist/claude-code/.claude/skills/health/health-mcp-detection.md +44 -0
- package/dist/claude-code/.claude/skills/health/health-skill-length-report.md +69 -0
- package/dist/claude-code/.claude/skills/help/SKILL.md +87 -0
- package/dist/claude-code/.claude/skills/list-assumptions/SKILL.md +61 -0
- package/dist/claude-code/.claude/skills/locale/SKILL.md +51 -0
- package/dist/claude-code/.claude/skills/map/SKILL.md +89 -0
- package/dist/claude-code/.claude/skills/migrate/SKILL.md +70 -0
- package/dist/claude-code/.claude/skills/new-cycle/SKILL.md +37 -0
- package/dist/claude-code/.claude/skills/new-cycle/milestone-completeness-rubric.md +87 -0
- package/dist/claude-code/.claude/skills/new-project/SKILL.md +53 -0
- package/dist/claude-code/.claude/skills/next/SKILL.md +68 -0
- package/dist/claude-code/.claude/skills/note/SKILL.md +48 -0
- package/dist/claude-code/.claude/skills/openrouter-status/SKILL.md +86 -0
- package/dist/claude-code/.claude/skills/optimize/SKILL.md +97 -0
- package/dist/claude-code/.claude/skills/pause/SKILL.md +77 -0
- package/dist/claude-code/.claude/skills/peer-cli-add/SKILL.md +88 -0
- package/dist/claude-code/.claude/skills/peer-cli-add/peer-cli-protocol.md +161 -0
- package/dist/claude-code/.claude/skills/peer-cli-customize/SKILL.md +90 -0
- package/dist/claude-code/.claude/skills/peers/SKILL.md +96 -0
- package/dist/claude-code/.claude/skills/plan/SKILL.md +105 -0
- package/dist/claude-code/.claude/skills/plan/plan-procedure.md +278 -0
- package/dist/claude-code/.claude/skills/plant-seed/SKILL.md +48 -0
- package/dist/claude-code/.claude/skills/pr-branch/SKILL.md +32 -0
- package/dist/claude-code/.claude/skills/progress/SKILL.md +95 -0
- package/dist/claude-code/.claude/skills/quality-gate/SKILL.md +90 -0
- package/dist/claude-code/.claude/skills/quality-gate/threat-modeling.md +101 -0
- package/dist/claude-code/.claude/skills/quick/SKILL.md +44 -0
- package/dist/claude-code/.claude/skills/reapply-patches/SKILL.md +32 -0
- package/dist/claude-code/.claude/skills/recall/SKILL.md +75 -0
- package/dist/claude-code/.claude/skills/reflect/SKILL.md +85 -0
- package/dist/claude-code/.claude/skills/reflect/procedures/capability-gap-scan.md +120 -0
- package/dist/claude-code/.claude/skills/report-issue/SKILL.md +53 -0
- package/dist/claude-code/.claude/skills/report-issue/report-issue-procedure.md +120 -0
- package/dist/claude-code/.claude/skills/resume/SKILL.md +93 -0
- package/dist/claude-code/.claude/skills/review-backlog/SKILL.md +46 -0
- package/dist/claude-code/.claude/skills/review-decisions/SKILL.md +42 -0
- package/dist/claude-code/.claude/skills/roi/SKILL.md +54 -0
- package/dist/claude-code/.claude/skills/rollout-status/SKILL.md +35 -0
- package/dist/claude-code/.claude/skills/router/SKILL.md +89 -0
- package/dist/claude-code/.claude/skills/router/capability-gap-emitter.md +65 -0
- package/dist/claude-code/.claude/skills/router/router-pick-emitter.md +78 -0
- package/dist/claude-code/.claude/skills/router/router-rules.md +84 -0
- package/dist/claude-code/.claude/skills/scan/SKILL.md +92 -0
- package/dist/claude-code/.claude/skills/scan/scan-procedure.md +732 -0
- package/dist/claude-code/.claude/skills/settings/SKILL.md +87 -0
- package/dist/claude-code/.claude/skills/ship/SKILL.md +48 -0
- package/dist/claude-code/.claude/skills/sketch/SKILL.md +78 -0
- package/dist/claude-code/.claude/skills/sketch-wrap-up/SKILL.md +92 -0
- package/dist/claude-code/.claude/skills/skill-manifest/SKILL.md +79 -0
- package/dist/claude-code/.claude/skills/spike/SKILL.md +67 -0
- package/dist/claude-code/.claude/skills/spike-wrap-up/SKILL.md +86 -0
- package/dist/claude-code/.claude/skills/start/SKILL.md +67 -0
- package/dist/claude-code/.claude/skills/start/start-procedure.md +115 -0
- package/dist/claude-code/.claude/skills/stats/SKILL.md +51 -0
- package/dist/claude-code/.claude/skills/style/SKILL.md +71 -0
- package/dist/claude-code/.claude/skills/style/style-doc-procedure.md +150 -0
- package/dist/claude-code/.claude/skills/synthesize/SKILL.md +94 -0
- package/dist/claude-code/.claude/skills/timeline/SKILL.md +66 -0
- package/dist/claude-code/.claude/skills/todo/SKILL.md +64 -0
- package/dist/claude-code/.claude/skills/turn-closeout/SKILL.md +95 -0
- package/dist/claude-code/.claude/skills/undo/SKILL.md +31 -0
- package/dist/claude-code/.claude/skills/unlock-decision/SKILL.md +54 -0
- package/dist/claude-code/.claude/skills/update/SKILL.md +56 -0
- package/dist/claude-code/.claude/skills/using-gdd/SKILL.md +78 -0
- package/dist/claude-code/.claude/skills/verify/SKILL.md +113 -0
- package/dist/claude-code/.claude/skills/verify/verify-procedure.md +512 -0
- package/dist/claude-code/.claude/skills/warm-cache/SKILL.md +81 -0
- package/dist/claude-code/.claude/skills/watch-authorities/SKILL.md +82 -0
- package/dist/claude-code/.claude/skills/zoom-out/SKILL.md +26 -0
- package/package.json +8 -2
- package/reference/DEPRECATIONS.md +21 -7
- package/reference/STATE-TEMPLATE.md +26 -26
- package/reference/accessibility.md +13 -13
- package/reference/adr-format.md +13 -13
- package/reference/ai-native-tool-interface.md +5 -5
- package/reference/anti-patterns.md +9 -9
- package/reference/architecture-vocabulary.md +31 -31
- package/reference/audit-scoring.md +13 -13
- package/reference/authority-feeds.md +36 -36
- package/reference/bandit-integration.md +25 -25
- package/reference/brand-voice.md +36 -36
- package/reference/capability-gap-stage-gate.md +20 -20
- package/reference/checklists.md +26 -26
- package/reference/cli-localization.md +13 -13
- package/reference/codex-tools.md +2 -2
- package/reference/color-theory.md +28 -28
- package/reference/component-authoring.md +4 -4
- package/reference/components/README.md +13 -13
- package/reference/components/TEMPLATE.md +13 -13
- package/reference/components/accordion.md +15 -15
- package/reference/components/alert.md +25 -25
- package/reference/components/badge.md +18 -18
- package/reference/components/breadcrumbs.md +24 -24
- package/reference/components/button.md +21 -21
- package/reference/components/card.md +13 -13
- package/reference/components/checkbox.md +20 -20
- package/reference/components/chip.md +20 -20
- package/reference/components/command-palette.md +15 -15
- package/reference/components/date-picker.md +22 -22
- package/reference/components/drawer.md +13 -13
- package/reference/components/file-upload.md +22 -22
- package/reference/components/input.md +18 -18
- package/reference/components/label.md +25 -25
- package/reference/components/link.md +19 -19
- package/reference/components/list.md +17 -17
- package/reference/components/menu.md +19 -19
- package/reference/components/modal-dialog.md +16 -16
- package/reference/components/navbar.md +19 -19
- package/reference/components/pagination.md +18 -18
- package/reference/components/popover.md +12 -12
- package/reference/components/progress.md +18 -18
- package/reference/components/radio.md +17 -17
- package/reference/components/rich-text-editor.md +24 -24
- package/reference/components/select-combobox.md +16 -16
- package/reference/components/sidebar.md +15 -15
- package/reference/components/skeleton.md +20 -20
- package/reference/components/slider.md +20 -20
- package/reference/components/stepper.md +24 -24
- package/reference/components/switch.md +19 -19
- package/reference/components/table.md +21 -21
- package/reference/components/tabs.md +11 -11
- package/reference/components/toast.md +19 -19
- package/reference/components/tooltip.md +19 -19
- package/reference/components/tree.md +17 -17
- package/reference/composition.md +38 -38
- package/reference/config-schema.md +37 -37
- package/reference/context-md-format.md +9 -9
- package/reference/contrast-advanced.md +29 -29
- package/reference/conversational-ui.md +17 -17
- package/reference/cost-governance.md +14 -14
- package/reference/css-grid-layout.md +8 -8
- package/reference/cycle-handoff-preamble.md +3 -3
- package/reference/data-visualization.md +67 -67
- package/reference/debugger-philosophy.md +5 -5
- package/reference/design-system-guidance.md +21 -21
- package/reference/design-systems-catalog.md +20 -20
- package/reference/design-variants.md +11 -11
- package/reference/domains/civic-patterns.md +10 -10
- package/reference/domains/finance-patterns.md +9 -9
- package/reference/domains/gaming-patterns.md +9 -9
- package/reference/domains/healthcare-patterns.md +11 -11
- package/reference/ds-bootstrap-rubric.md +13 -13
- package/reference/email-design.md +22 -22
- package/reference/emotional-design.md +10 -10
- package/reference/error-recovery.md +11 -11
- package/reference/export-formats.md +7 -7
- package/reference/figma-sandbox.md +6 -6
- package/reference/first-principles.md +10 -10
- package/reference/form-patterns.md +26 -26
- package/reference/framer-motion-patterns.md +49 -49
- package/reference/gdd-runtime-audit.md +17 -17
- package/reference/gdd-threat-model.md +44 -44
- package/reference/gemini-tools.md +3 -3
- package/reference/gestalt.md +24 -24
- package/reference/heuristics.md +32 -32
- package/reference/i18n.md +44 -44
- package/reference/iconography.md +24 -24
- package/reference/image-optimization.md +14 -14
- package/reference/information-architecture.md +47 -47
- package/reference/intel-schema.md +1 -1
- package/reference/known-failure-modes.md +37 -37
- package/reference/meta-rules.md +5 -5
- package/reference/migrations/material-3-to-4.md +17 -17
- package/reference/migrations/mui-v6.md +16 -16
- package/reference/migrations/shadcn-v2.md +25 -25
- package/reference/migrations/tailwind-v4.md +21 -21
- package/reference/model-prices.md +3 -3
- package/reference/model-tiers.md +40 -40
- package/reference/motion-advanced.md +21 -21
- package/reference/motion-easings.md +29 -29
- package/reference/motion-interpolate.md +1 -1
- package/reference/motion-spring.md +13 -13
- package/reference/motion-transition-taxonomy.md +34 -34
- package/reference/motion.md +31 -31
- package/reference/multi-author-model.md +13 -13
- package/reference/native-platforms.md +28 -28
- package/reference/notification-routing.md +6 -6
- package/reference/onboarding-progressive-disclosure.md +32 -32
- package/reference/openrouter-tier-mapping.md +8 -8
- package/reference/palette-catalog.md +37 -37
- package/reference/parallelism-rules.md +20 -20
- package/reference/peer-cli-capabilities.md +14 -14
- package/reference/peer-protocols.md +21 -21
- package/reference/perf-budget.md +21 -21
- package/reference/performance.md +22 -22
- package/reference/platforms.md +51 -51
- package/reference/pr-review-integration.md +7 -7
- package/reference/prices/antigravity.md +3 -3
- package/reference/prices/augment.md +3 -3
- package/reference/prices/claude.md +2 -2
- package/reference/prices/cline.md +4 -4
- package/reference/prices/codebuddy.md +3 -3
- package/reference/prices/codex.md +2 -2
- package/reference/prices/copilot.md +3 -3
- package/reference/prices/cursor.md +3 -3
- package/reference/prices/gemini.md +2 -2
- package/reference/prices/kilo.md +3 -3
- package/reference/prices/opencode.md +4 -4
- package/reference/prices/qwen.md +2 -2
- package/reference/prices/trae.md +3 -3
- package/reference/prices/windsurf.md +3 -3
- package/reference/prices.openrouter.md +5 -5
- package/reference/print-design.md +36 -36
- package/reference/priority-matrix.md +2 -2
- package/reference/project-skills-guide.md +3 -3
- package/reference/proportion-systems.md +23 -23
- package/reference/pseudonymization-rules.md +30 -30
- package/reference/registry.json +7 -0
- package/reference/retrieval-contract.md +14 -14
- package/reference/review-format.md +7 -7
- package/reference/rollout-coordination.md +10 -10
- package/reference/rtl-cjk-cultural.md +39 -39
- package/reference/runtime-models.md +28 -28
- package/reference/shared-preamble.md +26 -26
- package/reference/skill-authoring-contract.md +16 -16
- package/reference/skill-placeholders.md +71 -0
- package/reference/start-interview.md +10 -10
- package/reference/style-vocabulary.md +25 -25
- package/reference/surfaces.md +4 -4
- package/reference/ticket-sync.md +9 -9
- package/reference/typography.md +64 -64
- package/reference/user-research.md +54 -54
- package/reference/variable-fonts-loading.md +15 -15
- package/reference/visual-hierarchy-layout.md +41 -41
- package/scripts/lib/build/factory.cjs +62 -0
- package/scripts/lib/build/harness-configs.cjs +64 -0
- package/scripts/lib/manifest/prose-denylist.json +1 -1
- package/sdk/cli/commands/build.ts +106 -0
- package/sdk/cli/index.js +84 -2
- package/sdk/cli/index.ts +7 -0
- package/skills/add-backlog/SKILL.md +3 -3
- package/skills/analyze-dependencies/SKILL.md +10 -10
- package/skills/apply-reflections/SKILL.md +13 -13
- package/skills/apply-reflections/apply-reflections-procedure.md +20 -20
- package/skills/audit/SKILL.md +7 -7
- package/skills/bandit-status/SKILL.md +7 -7
- package/skills/benchmark/SKILL.md +7 -7
- package/skills/bootstrap-ds/SKILL.md +10 -10
- package/skills/brief/SKILL.md +20 -20
- package/skills/budget/SKILL.md +4 -4
- package/skills/cache-manager/SKILL.md +6 -6
- package/skills/cache-manager/cache-policy.md +5 -5
- package/skills/check-update/SKILL.md +5 -5
- package/skills/compare/SKILL.md +15 -15
- package/skills/compare/compare-rubric.md +17 -17
- package/skills/complete-cycle/SKILL.md +5 -5
- package/skills/connections/SKILL.md +11 -11
- package/skills/connections/connections-onboarding.md +76 -76
- package/skills/continue/SKILL.md +2 -2
- package/skills/darkmode/SKILL.md +17 -17
- package/skills/darkmode/darkmode-audit-procedure.md +7 -7
- package/skills/debug/SKILL.md +3 -3
- package/skills/debug/debug-feedback-loops.md +12 -12
- package/skills/design/SKILL.md +12 -12
- package/skills/design/design-procedure.md +23 -23
- package/skills/discover/SKILL.md +7 -7
- package/skills/discover/discover-procedure.md +18 -18
- package/skills/discuss/SKILL.md +12 -12
- package/skills/do/SKILL.md +1 -1
- package/skills/explore/SKILL.md +21 -21
- package/skills/explore/explore-procedure.md +48 -48
- package/skills/export/SKILL.md +9 -9
- package/skills/extract-learnings/SKILL.md +5 -5
- package/skills/fast/SKILL.md +7 -7
- package/skills/figma-extract/SKILL.md +11 -11
- package/skills/figma-write/SKILL.md +6 -6
- package/skills/graphify/SKILL.md +4 -4
- package/skills/health/SKILL.md +16 -16
- package/skills/health/health-mcp-detection.md +3 -3
- package/skills/health/health-skill-length-report.md +6 -6
- package/skills/help/SKILL.md +1 -1
- package/skills/list-assumptions/SKILL.md +4 -4
- package/skills/map/SKILL.md +12 -12
- package/skills/migrate/SKILL.md +5 -5
- package/skills/new-cycle/SKILL.md +2 -2
- package/skills/new-cycle/milestone-completeness-rubric.md +16 -16
- package/skills/new-project/SKILL.md +1 -1
- package/skills/next/SKILL.md +5 -5
- package/skills/note/SKILL.md +1 -1
- package/skills/openrouter-status/SKILL.md +4 -4
- package/skills/optimize/SKILL.md +15 -15
- package/skills/pause/SKILL.md +5 -5
- package/skills/peer-cli-add/SKILL.md +11 -11
- package/skills/peer-cli-add/peer-cli-protocol.md +39 -39
- package/skills/peer-cli-customize/SKILL.md +14 -14
- package/skills/peers/SKILL.md +4 -4
- package/skills/plan/SKILL.md +13 -13
- package/skills/plan/plan-procedure.md +24 -24
- package/skills/plant-seed/SKILL.md +4 -4
- package/skills/pr-branch/SKILL.md +2 -2
- package/skills/progress/SKILL.md +15 -15
- package/skills/quality-gate/SKILL.md +22 -22
- package/skills/quality-gate/threat-modeling.md +19 -19
- package/skills/quick/SKILL.md +5 -5
- package/skills/reapply-patches/SKILL.md +7 -7
- package/skills/reflect/SKILL.md +3 -3
- package/skills/reflect/procedures/capability-gap-scan.md +11 -11
- package/skills/report-issue/SKILL.md +5 -5
- package/skills/report-issue/report-issue-procedure.md +27 -27
- package/skills/resume/SKILL.md +9 -9
- package/skills/review-backlog/SKILL.md +3 -3
- package/skills/review-decisions/SKILL.md +3 -3
- package/skills/roi/SKILL.md +5 -5
- package/skills/rollout-status/SKILL.md +4 -4
- package/skills/router/SKILL.md +11 -11
- package/skills/router/capability-gap-emitter.md +6 -6
- package/skills/router/router-pick-emitter.md +9 -9
- package/skills/router/router-rules.md +7 -7
- package/skills/scan/SKILL.md +16 -16
- package/skills/scan/scan-procedure.md +42 -42
- package/skills/settings/SKILL.md +2 -2
- package/skills/ship/SKILL.md +7 -7
- package/skills/sketch/SKILL.md +10 -10
- package/skills/sketch-wrap-up/SKILL.md +12 -12
- package/skills/skill-manifest/SKILL.md +5 -5
- package/skills/spike/SKILL.md +7 -7
- package/skills/spike-wrap-up/SKILL.md +13 -13
- package/skills/start/SKILL.md +8 -8
- package/skills/start/start-procedure.md +9 -9
- package/skills/stats/SKILL.md +5 -5
- package/skills/style/SKILL.md +12 -12
- package/skills/style/style-doc-procedure.md +12 -12
- package/skills/synthesize/SKILL.md +10 -10
- package/skills/timeline/SKILL.md +4 -4
- package/skills/todo/SKILL.md +3 -3
- package/skills/turn-closeout/SKILL.md +10 -10
- package/skills/unlock-decision/SKILL.md +3 -3
- package/skills/update/SKILL.md +9 -9
- package/skills/using-gdd/SKILL.md +17 -17
- package/skills/verify/SKILL.md +13 -13
- package/skills/verify/verify-procedure.md +34 -34
- package/skills/warm-cache/SKILL.md +8 -8
- package/skills/watch-authorities/SKILL.md +9 -9
- package/skills/zoom-out/SKILL.md +4 -4
|
@@ -9,7 +9,7 @@ last_updated: 2026-05-18
|
|
|
9
9
|
|
|
10
10
|
<!-- Procedural patterns adapted from greenpolo/cc-multi-cli (Apache 2.0). See ../NOTICE for full attribution. -->
|
|
11
11
|
|
|
12
|
-
# Peer-CLI Protocol
|
|
12
|
+
# Peer-CLI Protocol - Add + Customize Procedures
|
|
13
13
|
|
|
14
14
|
Procedural reference for the peer-CLI delegation layer. Centralizes the verification
|
|
15
15
|
ladder, adapter scaffolding shape, rewire-discipline, and Windows quirks so the three
|
|
@@ -21,31 +21,31 @@ procedure layer that sits above it.
|
|
|
21
21
|
## Verification ladder (run before any code edit when adding a peer)
|
|
22
22
|
|
|
23
23
|
When a user wants to add a brand-new peer to the capability matrix, walk these four
|
|
24
|
-
rungs in order. Stop at the first rung that fails
|
|
24
|
+
rungs in order. Stop at the first rung that fails - do not proceed to scaffold a broken
|
|
25
25
|
adapter.
|
|
26
26
|
|
|
27
|
-
### Rung 1
|
|
27
|
+
### Rung 1 - Binary on PATH
|
|
28
28
|
|
|
29
29
|
`which <peer-binary>` (POSIX) or `where <peer-binary>` (Windows). If exit non-zero, stop
|
|
30
30
|
and ask the user to install the peer first. Adapters cannot be tested without the binary.
|
|
31
31
|
|
|
32
|
-
### Rung 2
|
|
32
|
+
### Rung 2 - Handshake test
|
|
33
33
|
|
|
34
34
|
Spawn the peer with the protocol entry point:
|
|
35
35
|
|
|
36
|
-
- **ACP peers**
|
|
36
|
+
- **ACP peers** - `<peer-binary> acp` (or whatever the peer documents - Gemini uses
|
|
37
37
|
`gemini acp`; some peers use a flag).
|
|
38
|
-
- **ASP peers**
|
|
38
|
+
- **ASP peers** - `<peer-binary> app-server` (Codex convention; other ASP peers may
|
|
39
39
|
differ).
|
|
40
40
|
|
|
41
41
|
Send an `initialize` JSON-RPC message over stdin with `protocolVersion: '2025-06-18'`
|
|
42
42
|
(ACP) or `service_name: 'gdd_peer_delegation'` (ASP). Capture the reply on stdout. A
|
|
43
43
|
valid JSON-RPC response with `result.protocolVersion` (ACP) or `result.threadId` (ASP)
|
|
44
44
|
means the peer speaks the protocol. No valid reply within 5 seconds means either
|
|
45
|
-
wrong-protocol or non-standard entry point
|
|
45
|
+
wrong-protocol or non-standard entry point - stop and ask the user for the correct
|
|
46
46
|
invocation.
|
|
47
47
|
|
|
48
|
-
### Rung 3
|
|
48
|
+
### Rung 3 - Model-ID `-preview`-suffix trap
|
|
49
49
|
|
|
50
50
|
Many peers expose preview models with a `-preview` suffix (e.g., `gpt-5-preview` vs
|
|
51
51
|
`gpt-5`). The suffix drifts: today's preview is tomorrow's GA. Capture the peer's model
|
|
@@ -53,7 +53,7 @@ list (most peers expose `<peer-binary> models` or similar) and document parent n
|
|
|
53
53
|
the new entry's `provider_model_id` field so the runtime-models entry survives the
|
|
54
54
|
suffix flipping.
|
|
55
55
|
|
|
56
|
-
### Rung 4
|
|
56
|
+
### Rung 4 - Windows quirks
|
|
57
57
|
|
|
58
58
|
If the peer-binary ends in `.cmd` and the user is on Windows, confirm
|
|
59
59
|
`scripts/lib/peer-cli/spawn-cmd.cjs` will pick it up. That module handles `.cmd`
|
|
@@ -66,12 +66,12 @@ Use the existing five adapters at `../scripts/lib/peer-cli/adapters/{codex,gemin
|
|
|
66
66
|
as templates. Pick the closest match by protocol (ASP if `<protocol> = asp`, otherwise
|
|
67
67
|
ACP). Each adapter exports:
|
|
68
68
|
|
|
69
|
-
- `claims(role)`
|
|
70
|
-
- `dispatch({command, args, cwd, env}, role, text, opts)`
|
|
69
|
+
- `claims(role)` - boolean predicate against `ROLES_CLAIMED`.
|
|
70
|
+
- `dispatch({command, args, cwd, env}, role, text, opts)` - async dispatch with optional
|
|
71
71
|
`opts.onNotification` callback.
|
|
72
|
-
- `ROLES_CLAIMED`
|
|
73
|
-
- `ROLE_PREFIX`
|
|
74
|
-
- `name`, `protocol`
|
|
72
|
+
- `ROLES_CLAIMED` - array of role identifiers the peer claims.
|
|
73
|
+
- `ROLE_PREFIX` - per-role prompt prefix object (empty string when no prefix needed).
|
|
74
|
+
- `name`, `protocol` - string identifiers.
|
|
75
75
|
|
|
76
76
|
Canonical skeleton (ACP variant; for ASP swap to `createAspClient` from `asp-client.cjs`):
|
|
77
77
|
|
|
@@ -98,12 +98,12 @@ module.exports = { claims, dispatch, ROLES_CLAIMED, ROLE_PREFIX, name: '<peer-id
|
|
|
98
98
|
|
|
99
99
|
A new peer integrates cleanly with a 3-file diff plus the capability-matrix doc:
|
|
100
100
|
|
|
101
|
-
1. **`scripts/lib/peer-cli/adapters/<new-peer-id>.cjs`**
|
|
102
|
-
2. **`scripts/lib/install/runtimes.cjs`**
|
|
101
|
+
1. **`scripts/lib/peer-cli/adapters/<new-peer-id>.cjs`** - new adapter.
|
|
102
|
+
2. **`scripts/lib/install/runtimes.cjs`** - add a `peerBinary` field (platform-aware:
|
|
103
103
|
`<binary>.cmd` on Windows, plain `<binary>` elsewhere).
|
|
104
|
-
3. **`reference/peer-cli-capabilities.md`**
|
|
104
|
+
3. **`reference/peer-cli-capabilities.md`** - add a row to the capability matrix and a
|
|
105
105
|
per-peer section with the verification evidence from Rung 1–4 above.
|
|
106
|
-
4. **`scripts/lib/peer-cli/registry.cjs`**
|
|
106
|
+
4. **`scripts/lib/peer-cli/registry.cjs`** - append to `CAPABILITY_MATRIX` (and
|
|
107
107
|
`KNOWN_PEERS` if separate).
|
|
108
108
|
|
|
109
109
|
## Rewire discipline (customize)
|
|
@@ -116,46 +116,46 @@ When rewiring `delegate_to:` on a specific agent's frontmatter:
|
|
|
116
116
|
present + remove it (revert to default).
|
|
117
117
|
- Re-run `npm run validate:frontmatter` after every edit; offer to revert if it fails.
|
|
118
118
|
- The peer must also be in `.design/config.json#peer_cli.enabled_peers` for dispatch
|
|
119
|
-
to fire at runtime
|
|
119
|
+
to fire at runtime - but that's a runtime concern, not a frontmatter validation
|
|
120
120
|
concern.
|
|
121
121
|
|
|
122
122
|
## Verification gate (after any peer-CLI change)
|
|
123
123
|
|
|
124
124
|
Run, in order, until each passes:
|
|
125
125
|
|
|
126
|
-
1. `npx tsc --noEmit`
|
|
127
|
-
2. `node --test tests/peer-cli-registry.test.cjs tests/peer-cli-adapters.test.cjs`
|
|
126
|
+
1. `npx tsc --noEmit` - clean.
|
|
127
|
+
2. `node --test tests/peer-cli-registry.test.cjs tests/peer-cli-adapters.test.cjs` -
|
|
128
128
|
no regression on existing tests.
|
|
129
|
-
3. `node --test tests/reference-registry.test.cjs`
|
|
129
|
+
3. `node --test tests/reference-registry.test.cjs` - capability-matrix doc is in
|
|
130
130
|
`reference/registry.json`.
|
|
131
|
-
4. `npm run validate:frontmatter`
|
|
131
|
+
4. `npm run validate:frontmatter` - no agent's `delegate_to:` field is broken.
|
|
132
132
|
|
|
133
133
|
Any failure: surface the error and offer to revert.
|
|
134
134
|
|
|
135
135
|
## Edge cases
|
|
136
136
|
|
|
137
|
-
- **Peer speaks neither ACP nor ASP**
|
|
137
|
+
- **Peer speaks neither ACP nor ASP** - gdd v1.27 ships only those two protocols. Stop
|
|
138
138
|
and document the gap in `.design/RESEARCH.md` for a future phase.
|
|
139
|
-
- **Peer claims a role no existing peer claims**
|
|
139
|
+
- **Peer claims a role no existing peer claims** - fine, capability matrix is open. But
|
|
140
140
|
document the role in `peer-cli-capabilities.md` so future peers can compete on it.
|
|
141
|
-
- **Peer claims ALL roles** (generalist)
|
|
141
|
+
- **Peer claims ALL roles** (generalist) - accept, but flag in the per-peer section.
|
|
142
142
|
Generalist peers are usually weaker than specialist peers; the bandit will sort it
|
|
143
143
|
out via measurement.
|
|
144
|
-
- **Peer-ID collides with an existing peer**
|
|
145
|
-
- **Rewire target peer not in capability matrix**
|
|
144
|
+
- **Peer-ID collides with an existing peer** - fail. Peer-IDs must be globally unique.
|
|
145
|
+
- **Rewire target peer not in capability matrix** - direct user to `peer-cli-add` first;
|
|
146
146
|
do not allow the frontmatter edit until the peer exists in the matrix.
|
|
147
|
-
- **Rewire target role peer does not claim**
|
|
147
|
+
- **Rewire target role peer does not claim** - refuse with a list of what the peer DOES
|
|
148
148
|
claim. Suggest a closer match when obvious.
|
|
149
149
|
|
|
150
150
|
## Cross-references
|
|
151
151
|
|
|
152
|
-
- `./peer-protocols.md`
|
|
153
|
-
- `./peer-cli-capabilities.md`
|
|
154
|
-
- `../scripts/lib/peer-cli/registry.cjs` (Plan 27-05)
|
|
155
|
-
- `../scripts/lib/peer-cli/adapters/*.cjs` (Plan 27-04)
|
|
156
|
-
- `../scripts/lib/peer-cli/spawn-cmd.cjs` (Plan 27-03)
|
|
157
|
-
- `../scripts/lib/install/runtimes.cjs` (Plan 27-11)
|
|
158
|
-
- `../skills/peers/SKILL.md`
|
|
159
|
-
- `../skills/peer-cli-add/SKILL.md`
|
|
160
|
-
- `../skills/peer-cli-customize/SKILL.md`
|
|
161
|
-
- `../NOTICE`
|
|
152
|
+
- `./peer-protocols.md` - protocol-level reference (JSON-RPC framing, handshake shape).
|
|
153
|
+
- `./peer-cli-capabilities.md` - capability matrix doc (per-peer claimed roles).
|
|
154
|
+
- `../scripts/lib/peer-cli/registry.cjs` (Plan 27-05) - capability-matrix data source.
|
|
155
|
+
- `../scripts/lib/peer-cli/adapters/*.cjs` (Plan 27-04) - adapter template.
|
|
156
|
+
- `../scripts/lib/peer-cli/spawn-cmd.cjs` (Plan 27-03) - Windows `.cmd` handling.
|
|
157
|
+
- `../scripts/lib/install/runtimes.cjs` (Plan 27-11) - `peerBinary` field per runtime.
|
|
158
|
+
- `../skills/peers/SKILL.md` - discovery surface.
|
|
159
|
+
- `../skills/peer-cli-add/SKILL.md` - add-peer flow.
|
|
160
|
+
- `../skills/peer-cli-customize/SKILL.md` - rewire flow.
|
|
161
|
+
- `../NOTICE` - Apache 2.0 attribution to greenpolo/cc-multi-cli.
|
|
@@ -11,7 +11,7 @@ tools: Read, Edit, Bash, Grep
|
|
|
11
11
|
|
|
12
12
|
## Role
|
|
13
13
|
|
|
14
|
-
You help the user rewire which peer-CLI delegate handles which agent's calls. The mechanism is direct file-edits to agent frontmatter (`delegate_to:` field added in Plan 27-06)
|
|
14
|
+
You help the user rewire which peer-CLI delegate handles which agent's calls. The mechanism is direct file-edits to agent frontmatter (`delegate_to:` field added in Plan 27-06) - there is no runtime config layer. Your job is to make this safe and validatable. The rewire discipline (per-edit validation, three frontmatter cases, validator gate) lives in `./../peer-cli-add/peer-cli-protocol.md` §"Rewire discipline" so the procedure stays canonical across consumers.
|
|
15
15
|
|
|
16
16
|
## Invocation Contract
|
|
17
17
|
|
|
@@ -20,21 +20,21 @@ You help the user rewire which peer-CLI delegate handles which agent's calls. Th
|
|
|
20
20
|
|
|
21
21
|
## Procedure
|
|
22
22
|
|
|
23
|
-
### Step 1
|
|
23
|
+
### Step 1 - Show current state
|
|
24
24
|
|
|
25
25
|
Read the capability matrix from `scripts/lib/peer-cli/registry.cjs#describeCapabilities()`. Surface the 5 peers and their claimed roles to the user. Then scan `agents/*.md` and grep for `delegate_to:` frontmatter values. Render a two-column table (`Agent | delegate_to (current)`) listing every agent's current setting (or `(unset)` for absent fields).
|
|
26
26
|
|
|
27
|
-
### Step 2
|
|
27
|
+
### Step 2 - Confirm rewire intent
|
|
28
28
|
|
|
29
29
|
Accept the user's explicit `<agent-name> <new-delegate-target>` arguments OR ask: "Which agent do you want to rewire? What should `delegate_to:` become?"
|
|
30
30
|
|
|
31
31
|
Valid `<new-delegate-target>` values:
|
|
32
32
|
|
|
33
33
|
- `<peer>-<role>` from the capability matrix (e.g., `gemini-research`, `codex-execute`, `cursor-debug`, `cursor-plan`, `copilot-review`, `copilot-research`, `qwen-write`).
|
|
34
|
-
- `none`
|
|
35
|
-
- Empty / `(unset)`
|
|
34
|
+
- `none` - explicit opt-out.
|
|
35
|
+
- Empty / `(unset)` - remove the field entirely; revert to default behavior.
|
|
36
36
|
|
|
37
|
-
### Step 3
|
|
37
|
+
### Step 3 - Validate the proposed rewire
|
|
38
38
|
|
|
39
39
|
Cross-check against the capability matrix per `./../peer-cli-add/peer-cli-protocol.md` §"Rewire discipline":
|
|
40
40
|
|
|
@@ -44,7 +44,7 @@ Cross-check against the capability matrix per `./../peer-cli-add/peer-cli-protoc
|
|
|
44
44
|
|
|
45
45
|
If validation fails, surface the error and stop. Do not edit the file.
|
|
46
46
|
|
|
47
|
-
### Step 4
|
|
47
|
+
### Step 4 - Apply the edit
|
|
48
48
|
|
|
49
49
|
Use the `Edit` tool. Three cases (per `./../peer-cli-add/peer-cli-protocol.md` §"Rewire discipline"):
|
|
50
50
|
|
|
@@ -52,11 +52,11 @@ Use the `Edit` tool. Three cases (per `./../peer-cli-add/peer-cli-protocol.md`
|
|
|
52
52
|
- **Field present, user wants to change:** replace the value; preserve indentation.
|
|
53
53
|
- **Field present, user wants to remove:** delete the entire `delegate_to:` line.
|
|
54
54
|
|
|
55
|
-
### Step 5
|
|
55
|
+
### Step 5 - Re-validate
|
|
56
56
|
|
|
57
57
|
Run `npm run validate:frontmatter`. Confirm the modified agent passes. If validation fails, surface the error and offer to revert (re-run `Edit` with inverse old/new strings).
|
|
58
58
|
|
|
59
|
-
### Step 6
|
|
59
|
+
### Step 6 - Surface a diff summary
|
|
60
60
|
|
|
61
61
|
```
|
|
62
62
|
## Rewire summary
|
|
@@ -75,11 +75,11 @@ See `./../peer-cli-add/peer-cli-protocol.md` §"Edge cases" for: rewire-to-unmat
|
|
|
75
75
|
|
|
76
76
|
## Cross-references
|
|
77
77
|
|
|
78
|
-
- `./../peer-cli-add/peer-cli-protocol.md`
|
|
79
|
-
- `scripts/validate-frontmatter.ts` (Plan 27-06)
|
|
80
|
-
- `scripts/lib/peer-cli/registry.cjs` (Plan 27-05)
|
|
81
|
-
- `skills/peer-cli-add/SKILL.md`
|
|
82
|
-
- `.planning/phases/27-peer-cli-delegation/CONTEXT.md` D-06
|
|
78
|
+
- `./../peer-cli-add/peer-cli-protocol.md` - rewire discipline, three frontmatter cases, edge cases.
|
|
79
|
+
- `scripts/validate-frontmatter.ts` (Plan 27-06) - `delegate_to` validation.
|
|
80
|
+
- `scripts/lib/peer-cli/registry.cjs` (Plan 27-05) - capability matrix.
|
|
81
|
+
- `skills/peer-cli-add/SKILL.md` - for adding a NEW peer (this skill rewires among existing peers).
|
|
82
|
+
- `.planning/phases/27-peer-cli-delegation/CONTEXT.md` D-06 - decision lineage.
|
|
83
83
|
|
|
84
84
|
## Record
|
|
85
85
|
|
package/skills/peers/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gdd-peers
|
|
3
|
-
description: "Discover peer-CLI capability matrix
|
|
3
|
+
description: "Discover peer-CLI capability matrix - which of {codex, gemini, cursor, copilot, qwen} are installed, allowlisted in .design/config.json, and (if Phase 23.5 has data) their cost/quality delta vs local. Single command, no flags. Read by users investigating delegation setup."
|
|
4
4
|
argument-hint: ""
|
|
5
5
|
tools: Read, Bash
|
|
6
6
|
---
|
|
@@ -49,7 +49,7 @@ Once Phase 27.5 has fired across enough spawns, `.design/telemetry/posterior.jso
|
|
|
49
49
|
5. Require `sum(arm.count)` ≥ 3 in each slice. Else `(no data yet)`.
|
|
50
50
|
6. Render: `+X% reward` (delta > 0.01), `-X% reward` (delta < -0.01), or `~equal` (`abs(delta) < 0.01`), where `X = round(abs(delta_pct) * 100)`.
|
|
51
51
|
|
|
52
|
-
Reward is the Phase 23.5 lexicographic (correctness first, cost tiebreaker
|
|
52
|
+
Reward is the Phase 23.5 lexicographic (correctness first, cost tiebreaker - see `scripts/lib/bandit-router.cjs` `computeReward()`). Cost-only deltas live in `cost-arbitrage.cjs` (Phase 26-06).
|
|
53
53
|
|
|
54
54
|
### 5. Render the table
|
|
55
55
|
|
|
@@ -83,8 +83,8 @@ The table IS the output. No follow-up prose. Users act on it: `(opt-in disabled)
|
|
|
83
83
|
|
|
84
84
|
## Cross-references
|
|
85
85
|
|
|
86
|
-
- `./../peer-cli-add/peer-cli-protocol.md`
|
|
87
|
-
- `./reference/peer-cli-capabilities.md` (Plan 27-05)
|
|
86
|
+
- `./../peer-cli-add/peer-cli-protocol.md` - ACP/ASP handshake + adapter scaffold (procedure ref shared with peer-cli-add/customize).
|
|
87
|
+
- `./reference/peer-cli-capabilities.md` (Plan 27-05) - full capability matrix doc.
|
|
88
88
|
- `scripts/lib/peer-cli/registry.cjs` (Plan 27-05), `scripts/lib/install/runtimes.cjs` (Plan 27-11), `skills/peer-cli-customize/SKILL.md`, `skills/peer-cli-add/SKILL.md`, `.planning/phases/27-peer-cli-delegation/CONTEXT.md` D-10.
|
|
89
89
|
|
|
90
90
|
## Record
|
package/skills/plan/SKILL.md
CHANGED
|
@@ -6,7 +6,7 @@ user-invocable: true
|
|
|
6
6
|
tools: Read, Write, Bash, Glob, Task, AskUserQuestion, ToolSearch, mcp__gdd_state__get, mcp__gdd_state__transition_stage, mcp__gdd_state__add_decision, mcp__gdd_state__add_must_have, mcp__gdd_state__update_progress, mcp__gdd_state__set_status, mcp__gdd_state__add_blocker, mcp__gdd_state__checkpoint, mcp__gdd_state__probe_connections
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# Get Design Done
|
|
9
|
+
# Get Design Done - Plan
|
|
10
10
|
|
|
11
11
|
**Stage 3 of 5** in the get-design-done pipeline. Thin orchestrator. All planning intelligence lives in `agents/design-planner.md`.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Full procedure detail: `./plan-procedure.md`.
|
|
|
18
18
|
|
|
19
19
|
1. `mcp__gdd_state__transition_stage` with `to: "plan"`. Gate failure surfaces `error.context.blockers`; do not advance.
|
|
20
20
|
2. `mcp__gdd_state__get` -> snapshot `state` for `<position>`, `<connections>`, `<must_haves>`, `<blockers>`, `<decisions>`. Do not re-read STATE.md directly.
|
|
21
|
-
3. Abort only if `.design/DESIGN-CONTEXT.md` is missing
|
|
21
|
+
3. Abort only if `.design/DESIGN-CONTEXT.md` is missing - that is the true prerequisite, not STATE.md.
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
@@ -36,19 +36,19 @@ When `chromatic: available`, run change-risk scoping before writing DESIGN-PLAN.
|
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
39
|
-
## Step 1
|
|
39
|
+
## Step 1 - Optional Research (skip if `auto_mode`)
|
|
40
40
|
|
|
41
41
|
Complexity heuristic: DESIGN-CONTEXT.md `<domain>` spans 3+ scopes OR `<decisions>` count > 6 -> spawn `design-phase-researcher` -> `.design/DESIGN-RESEARCH.md` (~100 lines, ~2 min). Wait for `## RESEARCH COMPLETE`, then `update_progress` `task_progress: "1/3"`. Full prompt: `./plan-procedure.md` §Step 1.
|
|
42
42
|
|
|
43
|
-
## Step 1.5
|
|
43
|
+
## Step 1.5 - Pattern Mapping (mandatory, brownfield protection)
|
|
44
44
|
|
|
45
|
-
Spawn `design-pattern-mapper` -> `.design/DESIGN-PATTERNS.md` (classify by design concern, not by code architecture
|
|
45
|
+
Spawn `design-pattern-mapper` -> `.design/DESIGN-PATTERNS.md` (classify by design concern, not by code architecture - no controllers/services/middleware vocabulary). Wait for `## MAPPING COMPLETE`. Full prompt: `./plan-procedure.md` §Step 1.5.
|
|
46
46
|
|
|
47
|
-
## Step 1.6
|
|
47
|
+
## Step 1.6 - Assumptions Analysis (skip if `auto_mode`)
|
|
48
48
|
|
|
49
49
|
If assumptions analysis is enabled: spawn `design-assumptions-analyzer` -> surfaces hidden design assumptions with confidence + evidence. Wait for `## ANALYSIS COMPLETE`. Full prompt: `./plan-procedure.md` §Step 1.6.
|
|
50
50
|
|
|
51
|
-
## Step 1.7
|
|
51
|
+
## Step 1.7 - Synthesize pre-plan inputs (Plan 10.1-04, D-13/D-15)
|
|
52
52
|
|
|
53
53
|
If 2+ pre-plan agents ran (Step 1, 1.5, 1.6), invoke `Skill("synthesize", { outputs, directive, output_shape: "markdown" })` to merge their outputs into `.design/DESIGN-PREPLAN-BRIEF.md` (~150 lines, per-source headers preserved). Add the brief to the planner's `<required_reading>` in Step 2. If only one agent ran, skip. Full call signature + parallel-synthesizer note: `./plan-procedure.md` §Step 1.7.
|
|
54
54
|
|
|
@@ -56,11 +56,11 @@ If 2+ pre-plan agents ran (Step 1, 1.5, 1.6), invoke `Skill("synthesize", { outp
|
|
|
56
56
|
|
|
57
57
|
---
|
|
58
58
|
|
|
59
|
-
## Step 2
|
|
59
|
+
## Step 2 - Plan
|
|
60
60
|
|
|
61
61
|
Spawn `design-planner` with `<required_reading>` covering STATE.md, DESIGN-CONTEXT.md, DESIGN-PATTERNS.md, plus (conditionally) DESIGN-RESEARCH.md, DESIGN-ASSUMPTIONS.md, DESIGN-PREPLAN-BRIEF.md (preferred when 1.7 ran), all `.design/sketches/*/WINNER.md`, all `.design/spikes/*/FINDINGS.md`, and all `./.claude/skills/design-*-conventions.md` + `~/.claude/gdd/global-skills/*.md` (project-local D-XX overrides globals). Wait for `## PLANNING COMPLETE`, then `update_progress` `task_progress: "2/3"`. Full prompt + conditional include syntax: `./plan-procedure.md` §Step 2.
|
|
62
62
|
|
|
63
|
-
## Step 3
|
|
63
|
+
## Step 3 - Check
|
|
64
64
|
|
|
65
65
|
Spawn `design-plan-checker` to validate DESIGN-PLAN.md against DESIGN-CONTEXT.md across 5 dimensions: requirement coverage, task completeness, wave ordering, must-have derivation, auto-mode compliance. Wait for `## PLAN CHECK COMPLETE`, then `update_progress` `task_progress: "3/3"`. On `## PLAN CHECK RESULT: ISSUES FOUND` + BLOCKER: offer revise/accept/abort (`auto_mode`: auto-accept WARN, abort on BLOCKER). Full prompt + branching: `./plan-procedure.md` §Step 3.
|
|
66
66
|
|
|
@@ -69,9 +69,9 @@ Spawn `design-plan-checker` to validate DESIGN-PLAN.md against DESIGN-CONTEXT.md
|
|
|
69
69
|
## Stage exit
|
|
70
70
|
|
|
71
71
|
1. `mcp__gdd_state__set_status` -> `"plan_complete"`.
|
|
72
|
-
2. `mcp__gdd_state__checkpoint`
|
|
72
|
+
2. `mcp__gdd_state__checkpoint` - stamps `last_checkpoint` and finalizes the plan stage.
|
|
73
73
|
|
|
74
|
-
The next stage (design) calls `mcp__gdd_state__transition_stage` on entry
|
|
74
|
+
The next stage (design) calls `mcp__gdd_state__transition_stage` on entry - this skill does NOT issue the transition itself, preserving the stage-owned-transition discipline.
|
|
75
75
|
|
|
76
76
|
## After Completion
|
|
77
77
|
|
|
@@ -89,7 +89,7 @@ Run this final spec-quality pass over `.design/DESIGN-PLAN.md` before the plan
|
|
|
89
89
|
Do NOT transition to design (or invoke `/gdd:design`) until `.design/DESIGN-PLAN.md` is committed AND the user has approved it. If this project uses a custom `.design` location, read the artifact path from `.design/STATE.md` rather than assuming the default.
|
|
90
90
|
</HARD-GATE>
|
|
91
91
|
|
|
92
|
-
## Rationalizations
|
|
92
|
+
## Rationalizations - Thought to Reality
|
|
93
93
|
|
|
94
94
|
The reasons an agent gives to skip planning or rush DESIGN-PLAN.md, and what each one costs:
|
|
95
95
|
|
|
@@ -98,7 +98,7 @@ The reasons an agent gives to skip planning or rush DESIGN-PLAN.md, and what eac
|
|
|
98
98
|
| "This change is small, I can design straight from DESIGN-CONTEXT.md." | Plan-skipped tasks blow scope per cycle telemetry; the plan gate is for the typical case, not the exception you think you're in. |
|
|
99
99
|
| "Pattern mapping is brownfield ceremony, I'll skip it." | Step 1.5 is mandatory because an unmapped brownfield is where the executor silently re-implements an existing pattern. |
|
|
100
100
|
| "The plan-checker will just rubber-stamp it, skip the spawn." | The checker's 5 dimensions (coverage, wave order, must-have derivation) catch the gaps you can't see in your own plan. |
|
|
101
|
-
| "I'll let the planner infer wave ordering at design time." | Unordered waves serialize work that could parallelize
|
|
101
|
+
| "I'll let the planner infer wave ordering at design time." | Unordered waves serialize work that could parallelize - or worse, run dependent tasks concurrently and corrupt the tree. |
|
|
102
102
|
| "Research is overkill for this scope." | The complexity heuristic exists precisely because agents under-estimate scope; skipping research on a 3+-scope domain guarantees a mid-design surprise. |
|
|
103
103
|
| "I can record decisions in DESIGN-PLAN.md prose instead of D-XX." | Prose decisions never reach STATE.md, so verify's integration-checker can't trace them and flags them orphaned. |
|
|
104
104
|
|
|
@@ -7,8 +7,8 @@ tags: [plan, procedure, extracted, pipeline-stage, research, planner, checker]
|
|
|
7
7
|
last_updated: 2026-05-18
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
Source: extracted from `skills/plan/SKILL.md` (Phase 28.5 rework
|
|
11
|
-
The skill's
|
|
10
|
+
Source: extracted from `skills/plan/SKILL.md` (Phase 28.5 rework - D-10 extract-then-link).
|
|
11
|
+
The skill's essential workflow stays in `../skills/plan/SKILL.md`; this file holds the
|
|
12
12
|
detail the agent reaches for when executing a specific step (agent spawn prompts, chromatic
|
|
13
13
|
scoping, synthesizer wiring, research-synthesis persistence, exploration artifact globbing).
|
|
14
14
|
|
|
@@ -16,7 +16,7 @@ scoping, synthesizer wiring, research-synthesis persistence, exploration artifac
|
|
|
16
16
|
|
|
17
17
|
Detailed procedure for the get-design-done `plan` Stage 3 orchestrator. Companion to
|
|
18
18
|
`../skills/plan/SKILL.md`. Read this file when executing a specific plan step; the
|
|
19
|
-
SKILL.md keeps the
|
|
19
|
+
SKILL.md keeps the essential workflow + decision tree, this file holds the deep
|
|
20
20
|
agent prompts and pre-plan research wiring.
|
|
21
21
|
|
|
22
22
|
---
|
|
@@ -27,7 +27,7 @@ agent prompts and pre-plan research wiring.
|
|
|
27
27
|
- Gate failure surfaces `error.context.blockers` to the user; do not advance.
|
|
28
28
|
2. `mcp__gdd_state__get` -> snapshot `state`. Use this snapshot for `<position>`, `<connections>`, `<must_haves>`, `<blockers>`, `<decisions>` in the current stage; do not re-read STATE.md directly.
|
|
29
29
|
|
|
30
|
-
Abort with a clear error only if the user is trying to plan without DESIGN-CONTEXT.md
|
|
30
|
+
Abort with a clear error only if the user is trying to plan without DESIGN-CONTEXT.md - that is the true prerequisite, not STATE.md.
|
|
31
31
|
|
|
32
32
|
## Flag Parsing
|
|
33
33
|
|
|
@@ -50,32 +50,32 @@ After the parallelism decision is made:
|
|
|
50
50
|
|
|
51
51
|
Run at stage entry, after reading STATE.md:
|
|
52
52
|
|
|
53
|
-
Step C1
|
|
54
|
-
Bash: command -v chromatic 2>/dev/null || npx chromatic
|
|
53
|
+
Step C1 - CLI presence:
|
|
54
|
+
Bash: command -v chromatic 2>/dev/null || npx chromatic `--version` 2>/dev/null
|
|
55
55
|
-> found -> proceed to Step C2
|
|
56
56
|
-> not found -> chromatic: not_configured (skip all Chromatic steps)
|
|
57
57
|
|
|
58
|
-
Step C2
|
|
58
|
+
Step C2 - Token check:
|
|
59
59
|
Bash: test -n "${CHROMATIC_PROJECT_TOKEN}"
|
|
60
60
|
-> true -> chromatic: available
|
|
61
61
|
-> false -> chromatic: unavailable
|
|
62
62
|
|
|
63
63
|
Also check: if storybook: not_configured -> chromatic effectively unavailable (emit note, do not run).
|
|
64
64
|
|
|
65
|
-
Write chromatic status to STATE.md `<connections>` via `mcp__gdd_state__probe_connections`
|
|
65
|
+
Write chromatic status to STATE.md `<connections>` via `mcp__gdd_state__probe_connections` - pass the single-entry probe result (`[{ name: "chromatic", status: "<verdict>" }]`). Do not edit `<connections>` directly.
|
|
66
66
|
|
|
67
67
|
## Chromatic Change-Risk Scoping (when chromatic: available)
|
|
68
68
|
|
|
69
69
|
Before writing DESIGN-PLAN.md, if chromatic: available:
|
|
70
70
|
1. Identify token/component files to be changed (from DESIGN-CONTEXT.md scope)
|
|
71
|
-
2. Run: Bash: npx chromatic
|
|
72
|
-
3. Parse output
|
|
71
|
+
2. Run: Bash: npx chromatic `--project-token` $CHROMATIC_PROJECT_TOKEN `--trace-changed=expanded` `--dry-run` 2>&1
|
|
72
|
+
3. Parse output - count story files that depend on changed source files
|
|
73
73
|
4. Pass story count to design-planner.md (see design-planner.md Chromatic Change-Risk section)
|
|
74
74
|
If unavailable: design-planner proceeds without story-count annotation.
|
|
75
75
|
|
|
76
76
|
---
|
|
77
77
|
|
|
78
|
-
## Step 1
|
|
78
|
+
## Step 1 - Optional Research (skip if auto_mode)
|
|
79
79
|
|
|
80
80
|
Complexity heuristic: if DESIGN-CONTEXT.md `<domain>` spans 3+ scopes OR `<decisions>` count > 6 -> spawn design-phase-researcher. Otherwise skip.
|
|
81
81
|
|
|
@@ -100,7 +100,7 @@ Emit `## RESEARCH COMPLETE` when done.
|
|
|
100
100
|
|
|
101
101
|
Wait for `## RESEARCH COMPLETE`. Call `mcp__gdd_state__update_progress` with `task_progress: "1/3"` and a short `status` summary.
|
|
102
102
|
|
|
103
|
-
## Step 1.5
|
|
103
|
+
## Step 1.5 - Pattern Mapping (mandatory, brownfield protection)
|
|
104
104
|
|
|
105
105
|
```
|
|
106
106
|
Task("design-pattern-mapper", """
|
|
@@ -122,7 +122,7 @@ Emit `## MAPPING COMPLETE` when done.
|
|
|
122
122
|
|
|
123
123
|
Wait for `## MAPPING COMPLETE`. Call `mcp__gdd_state__update_progress` with `task_progress: "1/3"` and a short `status` summary.
|
|
124
124
|
|
|
125
|
-
## Step 1.6
|
|
125
|
+
## Step 1.6 - Assumptions Analysis (optional, same flag as research)
|
|
126
126
|
|
|
127
127
|
If assumptions analysis enabled (skip if auto_mode):
|
|
128
128
|
|
|
@@ -143,7 +143,7 @@ Emit `## ANALYSIS COMPLETE` when done.
|
|
|
143
143
|
|
|
144
144
|
Wait for `## ANALYSIS COMPLETE`.
|
|
145
145
|
|
|
146
|
-
## Step 1.7
|
|
146
|
+
## Step 1.7 - Synthesize pre-plan research inputs (Plan 10.1-04, D-13/D-15)
|
|
147
147
|
|
|
148
148
|
If 2+ of the pre-plan research agents ran (`design-phase-researcher` Step 1, `design-pattern-mapper` Step 1.5, `design-assumptions-analyzer` Step 1.6), invoke synthesize to merge their outputs into a single compact brief. If only one ran, skip this step.
|
|
149
149
|
|
|
@@ -157,7 +157,7 @@ If 2+ of the pre-plan research agents ran (`design-phase-researcher` Step 1, `de
|
|
|
157
157
|
output_shape: "markdown"
|
|
158
158
|
})
|
|
159
159
|
|
|
160
|
-
Wait for `## SYNTHESIS COMPLETE`. Write to `.design/DESIGN-PREPLAN-BRIEF.md` (overwrite if present). Add `@.design/DESIGN-PREPLAN-BRIEF.md` to the planner's `<required_reading>` in Step 2
|
|
160
|
+
Wait for `## SYNTHESIS COMPLETE`. Write to `.design/DESIGN-PREPLAN-BRIEF.md` (overwrite if present). Add `@.design/DESIGN-PREPLAN-BRIEF.md` to the planner's `<required_reading>` in Step 2 - individual files remain on disk for drill-down.
|
|
161
161
|
|
|
162
162
|
**Parallel synthesizer note (future):** if a future plan variant spawns N parallel phase-researchers (e.g., one per project-type family), wire synthesize the same way as `skills/map/` Step 3.5.
|
|
163
163
|
|
|
@@ -173,7 +173,7 @@ For each M-XX must-have the synthesizer produces:
|
|
|
173
173
|
|
|
174
174
|
Issue these sequentially. Each call is event-emitting and lockfile-safe. Parallel issuance would serialize on the STATE.md lockfile with no throughput gain.
|
|
175
175
|
|
|
176
|
-
## Step 2
|
|
176
|
+
## Step 2 - Plan
|
|
177
177
|
|
|
178
178
|
```
|
|
179
179
|
Task("design-planner", """
|
|
@@ -208,7 +208,7 @@ Emit `## PLANNING COMPLETE` when done.
|
|
|
208
208
|
|
|
209
209
|
Wait for `## PLANNING COMPLETE`. Call `mcp__gdd_state__update_progress` with `task_progress: "2/3"` and a short `status` summary.
|
|
210
210
|
|
|
211
|
-
## Step 3
|
|
211
|
+
## Step 3 - Check
|
|
212
212
|
|
|
213
213
|
```
|
|
214
214
|
Task("design-plan-checker", """
|
|
@@ -235,7 +235,7 @@ Emit `## PLAN CHECK COMPLETE` when done.
|
|
|
235
235
|
Wait for `## PLAN CHECK COMPLETE`. Call `mcp__gdd_state__update_progress` with `task_progress: "3/3"` and a short `status` summary.
|
|
236
236
|
|
|
237
237
|
If `## PLAN CHECK RESULT: ISSUES FOUND` and any BLOCKER issues:
|
|
238
|
-
- Present issues to user and offer: (a) revise plan now
|
|
238
|
+
- Present issues to user and offer: (a) revise plan now - re-spawn design-planner with issue list, (b) accept and proceed, (c) abort.
|
|
239
239
|
- If auto_mode: auto-accept WARNING issues, abort on BLOCKER issues.
|
|
240
240
|
|
|
241
241
|
## Stage exit
|
|
@@ -243,7 +243,7 @@ If `## PLAN CHECK RESULT: ISSUES FOUND` and any BLOCKER issues:
|
|
|
243
243
|
1. Call `mcp__gdd_state__set_status` with `status: "plan_complete"`.
|
|
244
244
|
2. Call `mcp__gdd_state__checkpoint` to stamp `last_checkpoint` and finalize the plan stage.
|
|
245
245
|
|
|
246
|
-
The next stage (design) calls `mcp__gdd_state__transition_stage` on entry
|
|
246
|
+
The next stage (design) calls `mcp__gdd_state__transition_stage` on entry - this skill does NOT issue the transition itself, preserving the stage-owned-transition discipline established by brief->explore and explore->plan.
|
|
247
247
|
|
|
248
248
|
## After Completion
|
|
249
249
|
|
|
@@ -257,13 +257,13 @@ Print user-facing summary:
|
|
|
257
257
|
## Exploration artifacts & project-local conventions
|
|
258
258
|
|
|
259
259
|
When building the planner spawn prompt, also glob for:
|
|
260
|
-
- `.design/sketches/*/WINNER.md`
|
|
261
|
-
- `.design/spikes/*/FINDINGS.md`
|
|
262
|
-
- `./.claude/skills/design-*-conventions.md`
|
|
260
|
+
- `.design/sketches/*/WINNER.md` - winning sketch rationale (informs directional tasks)
|
|
261
|
+
- `.design/spikes/*/FINDINGS.md` - spike verdicts (inform task feasibility)
|
|
262
|
+
- `./.claude/skills/design-*-conventions.md` - project-local design conventions
|
|
263
263
|
|
|
264
264
|
Include each matching file in `<files_to_read>` / `<required_reading>` so the planner sees them when creating tasks. Spike findings from `.design/spikes/` inform task feasibility; sketch winners inform directional choice; project-local conventions override defaults.
|
|
265
265
|
|
|
266
|
-
##
|
|
266
|
+
## `--research` mode (removed)
|
|
267
267
|
|
|
268
268
|
V2-04 deferred the `--research` flag. Rationale: complexity of an additional
|
|
269
269
|
agent spawn + Context7 integration outweighs the benefit of discover-stage
|
|
@@ -274,5 +274,5 @@ The optional research step that already exists (Step 1, triggered by complexity
|
|
|
274
274
|
heuristic: 3+ domain scopes OR 6+ decisions) covers the core use case without
|
|
275
275
|
a separate CLI flag.
|
|
276
276
|
|
|
277
|
-
If
|
|
277
|
+
If `--research` is reintroduced in a future version, define its scope in
|
|
278
278
|
ROADMAP.md V2+ and update this section.
|
|
@@ -10,12 +10,12 @@ disable-model-invocation: true
|
|
|
10
10
|
|
|
11
11
|
**Role:** Capture an idea that is too early to act on now but should surface when a future condition is met. Backing store: `.design/SEEDS.md`.
|
|
12
12
|
|
|
13
|
-
## Step 1
|
|
13
|
+
## Step 1 - Gather inputs
|
|
14
14
|
|
|
15
15
|
- `<text>`: free-text idea. If empty, ask the user: "What's the seed idea?"
|
|
16
16
|
- `--trigger <condition>`: the surfacing condition. If missing, ask: "What trigger condition should surface this idea? (e.g., 'when we add dark mode', 'when the nav component is redesigned', 'at next cycle start')"
|
|
17
17
|
|
|
18
|
-
## Step 2
|
|
18
|
+
## Step 2 - Append to .design/SEEDS.md
|
|
19
19
|
|
|
20
20
|
Create the file with `# Design Seeds` header if missing. Append:
|
|
21
21
|
|
|
@@ -30,11 +30,11 @@ Create the file with `# Design Seeds` header if missing. Append:
|
|
|
30
30
|
---
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
## Step 3
|
|
33
|
+
## Step 3 - Surfacing contract
|
|
34
34
|
|
|
35
35
|
Seeds are surfaced automatically by `/gdd:progress` and `/gdd:health`. Those commands do a keyword match of each seed's trigger text against current STATE.md + `.design/CYCLES.md` content and print any matches as `Seed ready to germinate: <text>`.
|
|
36
36
|
|
|
37
|
-
This skill does NOT surface seeds itself
|
|
37
|
+
This skill does NOT surface seeds itself - it only plants them.
|
|
38
38
|
|
|
39
39
|
## Output
|
|
40
40
|
|
|
@@ -26,7 +26,7 @@ Produces a branch that contains only code changes (under `src/`) so reviewers ar
|
|
|
26
26
|
## Do Not
|
|
27
27
|
|
|
28
28
|
- Do not rewrite history on the original branch.
|
|
29
|
-
- Do not include `.design/` or `.planning/` paths
|
|
30
|
-
- Do not push the branch automatically
|
|
29
|
+
- Do not include `.design/` or `.planning/` paths - if a mixed commit contains them, the cherry-pick carries them through, but reviewers are warned.
|
|
30
|
+
- Do not push the branch automatically - let `/gdd:ship` or the user push.
|
|
31
31
|
|
|
32
32
|
## PR-BRANCH COMPLETE
|
package/skills/progress/SKILL.md
CHANGED
|
@@ -11,9 +11,9 @@ tools: Read, Bash, Grep, Glob, mcp__gdd_state__get, mcp__gdd_status, mcp__gdd_ph
|
|
|
11
11
|
|
|
12
12
|
**Role:** Show current position in the pipeline and recommend the next action. With `--forensic`, run a 6-check integrity audit.
|
|
13
13
|
|
|
14
|
-
## Step 1
|
|
14
|
+
## Step 1 - Read state
|
|
15
15
|
|
|
16
|
-
Two paths
|
|
16
|
+
Two paths - MCP preferred when available, file-read fallback otherwise.
|
|
17
17
|
|
|
18
18
|
### MCP path (preferred)
|
|
19
19
|
|
|
@@ -23,19 +23,19 @@ When the harness exposes `mcp__gdd_status` (Phase 27.7+, registered via `npx @he
|
|
|
23
23
|
2. If you need `stage` / `task_progress` for the output line, call `mcp__gdd_phase_current` (no args). Returns `{phase, stage, task_progress, status}`.
|
|
24
24
|
3. Skip to Step 2.
|
|
25
25
|
|
|
26
|
-
This path loads the full priming context in 1–2 MCP calls (~3s, ~32k tokens
|
|
26
|
+
This path loads the full priming context in 1–2 MCP calls (~3s, ~32k tokens - Storybloq benchmark).
|
|
27
27
|
|
|
28
28
|
### File-read path (fallback)
|
|
29
29
|
|
|
30
30
|
When MCP tools are not available, fall back to the legacy flow:
|
|
31
31
|
|
|
32
32
|
1. Call `mcp__gdd_state__get` if exposed (Phase 20 STATE.md mutator MCP) → parsed state object. Otherwise, `Read .design/STATE.md` and parse the frontmatter + `<position>`, `<decisions>`, `<plans>` sections.
|
|
33
|
-
2. Extract: `stage`, `cycle`, `last_checkpoint`, `task_progress`, `status`, `decisions.length`, open todos from `.design/TODO.md` (count unchecked `- [ ]`
|
|
33
|
+
2. Extract: `stage`, `cycle`, `last_checkpoint`, `task_progress`, `status`, `decisions.length`, open todos from `.design/TODO.md` (count unchecked `- [ ]` - outside the MCP catalog, so `Read` is still used).
|
|
34
34
|
3. If STATE.md is missing, print: "No pipeline state. Run `/gdd:brief` first." and stop.
|
|
35
35
|
|
|
36
|
-
This path loads the same context in 5–10 file reads (~100s, ~46.5k tokens
|
|
36
|
+
This path loads the same context in 5–10 file reads (~100s, ~46.5k tokens - file-reading baseline).
|
|
37
37
|
|
|
38
|
-
## Step 2
|
|
38
|
+
## Step 2 - Default output
|
|
39
39
|
|
|
40
40
|
```
|
|
41
41
|
━━━ Pipeline state ━━━
|
|
@@ -52,16 +52,16 @@ Recommend next stage via the same logic as `/gdd:next` (route by which artifacts
|
|
|
52
52
|
|
|
53
53
|
After the pipeline state block, if every `<connections>` entry from the snapshot is `not_configured` AND `.design/config.json > connections_onboarding` is absent, append once per session (transient marker `.design/.connections-nudge-shown`): `Tip: run /gdd:connections to see what integrations can plug in (Figma, Storybook, Chromatic, etc.).`
|
|
54
54
|
|
|
55
|
-
## Step 3
|
|
55
|
+
## Step 3 - Forensic audit (only if `--forensic`)
|
|
56
56
|
|
|
57
57
|
Run these six checks and print PASS/WARN/FAIL per check:
|
|
58
58
|
|
|
59
|
-
1. **Stale artifacts**
|
|
60
|
-
2. **Missing transitions**
|
|
61
|
-
3. **Token drift**
|
|
62
|
-
4. **Aged DESIGN-DEBT**
|
|
63
|
-
5. **Cycle alignment**
|
|
64
|
-
6. **Connection status**
|
|
59
|
+
1. **Stale artifacts** - compare mtime of `.design/DESIGN.md` against most recent file under `src/` via `ls -lt`. WARN if DESIGN.md is older by >7 days.
|
|
60
|
+
2. **Missing transitions** - `stage` from the `mcp__gdd_state__get` snapshot vs artifacts present. e.g. stage=`plan` requires DESIGN-CONTEXT.md. FAIL if expected artifact missing.
|
|
61
|
+
3. **Token drift** - `wc -c .design/DESIGN.md .design/DESIGN-CONTEXT.md`; tokens ≈ bytes/4. WARN if combined >50000 tokens.
|
|
62
|
+
4. **Aged DESIGN-DEBT** - read `.design/DESIGN-DEBT.md`; any item whose line predates HEAD by >14 days (check `git blame` or file mtime fallback) → WARN.
|
|
63
|
+
5. **Cycle alignment** - if `cycle` from the snapshot is set but `.design/CYCLES.md` has no matching heading → FAIL.
|
|
64
|
+
6. **Connection status** - re-probe figma/refero via ToolSearch; compare to the `<connections>` field in the snapshot. WARN on mismatch.
|
|
65
65
|
|
|
66
66
|
Also scan `.design/SEEDS.md` (if present) for seeds whose trigger keywords match the snapshot or CYCLES.md content; list them as "Seed ready to germinate: <text>".
|
|
67
67
|
|
|
@@ -78,7 +78,7 @@ Seeds ready: 0
|
|
|
78
78
|
━━━━━━━━━━━━━━━━━━━━━━
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
## Step 4
|
|
81
|
+
## Step 4 - Update notice (safe-window surface)
|
|
82
82
|
|
|
83
83
|
After printing the pipeline state, emit the plugin-update banner if one is present. This file is written by `hooks/update-check.sh` subject to the state-machine guard (mid-pipeline stages suppress it) and per-version dismissal.
|
|
84
84
|
|
|
@@ -90,6 +90,6 @@ No-op when: no new release exists, state-machine guard is active (stage in plan|
|
|
|
90
90
|
|
|
91
91
|
## Do Not
|
|
92
92
|
|
|
93
|
-
- Do not mutate STATE.md
|
|
93
|
+
- Do not mutate STATE.md - this skill is read-only. Only `mcp__gdd_state__get` is permitted.
|
|
94
94
|
|
|
95
95
|
## PROGRESS COMPLETE
|