@hegemonart/get-design-done 1.42.0 → 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 +1080 -1038
- package/README.md +157 -155
- 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 +3 -3
- package/dist/claude-code/.claude/skills/analyze-dependencies/SKILL.md +10 -10
- package/dist/claude-code/.claude/skills/apply-reflections/SKILL.md +13 -13
- package/dist/claude-code/.claude/skills/apply-reflections/apply-reflections-procedure.md +20 -20
- package/dist/claude-code/.claude/skills/audit/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/bandit-status/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/benchmark/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/bootstrap-ds/SKILL.md +10 -10
- package/dist/claude-code/.claude/skills/brief/SKILL.md +20 -20
- package/dist/claude-code/.claude/skills/budget/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/cache-manager/SKILL.md +6 -6
- package/dist/claude-code/.claude/skills/cache-manager/cache-policy.md +5 -5
- package/dist/claude-code/.claude/skills/check-update/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/compare/SKILL.md +15 -15
- package/dist/claude-code/.claude/skills/compare/compare-rubric.md +17 -17
- package/dist/claude-code/.claude/skills/complete-cycle/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/connections/SKILL.md +11 -11
- package/dist/claude-code/.claude/skills/connections/connections-onboarding.md +76 -76
- package/dist/claude-code/.claude/skills/continue/SKILL.md +2 -2
- package/dist/claude-code/.claude/skills/darkmode/SKILL.md +17 -17
- package/dist/claude-code/.claude/skills/darkmode/darkmode-audit-procedure.md +7 -7
- package/dist/claude-code/.claude/skills/debug/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/debug/debug-feedback-loops.md +12 -12
- package/dist/claude-code/.claude/skills/design/SKILL.md +12 -12
- package/dist/claude-code/.claude/skills/design/design-procedure.md +23 -23
- package/dist/claude-code/.claude/skills/discover/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/discover/discover-procedure.md +18 -18
- package/dist/claude-code/.claude/skills/discuss/SKILL.md +12 -12
- package/dist/claude-code/.claude/skills/do/SKILL.md +1 -1
- package/dist/claude-code/.claude/skills/explore/SKILL.md +21 -21
- package/dist/claude-code/.claude/skills/explore/explore-procedure.md +48 -48
- package/dist/claude-code/.claude/skills/export/SKILL.md +9 -9
- package/dist/claude-code/.claude/skills/extract-learnings/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/fast/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/figma-extract/SKILL.md +11 -11
- package/dist/claude-code/.claude/skills/figma-write/SKILL.md +6 -6
- package/dist/claude-code/.claude/skills/graphify/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/health/SKILL.md +16 -16
- package/dist/claude-code/.claude/skills/health/health-mcp-detection.md +3 -3
- package/dist/claude-code/.claude/skills/health/health-skill-length-report.md +6 -6
- package/dist/claude-code/.claude/skills/help/SKILL.md +1 -1
- package/dist/claude-code/.claude/skills/list-assumptions/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/map/SKILL.md +12 -12
- package/dist/claude-code/.claude/skills/migrate/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/new-cycle/SKILL.md +2 -2
- package/dist/claude-code/.claude/skills/new-cycle/milestone-completeness-rubric.md +16 -16
- package/dist/claude-code/.claude/skills/new-project/SKILL.md +1 -1
- package/dist/claude-code/.claude/skills/next/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/note/SKILL.md +1 -1
- package/dist/claude-code/.claude/skills/openrouter-status/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/optimize/SKILL.md +15 -15
- package/dist/claude-code/.claude/skills/pause/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/peer-cli-add/SKILL.md +11 -11
- package/dist/claude-code/.claude/skills/peer-cli-add/peer-cli-protocol.md +39 -39
- package/dist/claude-code/.claude/skills/peer-cli-customize/SKILL.md +14 -14
- package/dist/claude-code/.claude/skills/peers/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/plan/SKILL.md +13 -13
- package/dist/claude-code/.claude/skills/plan/plan-procedure.md +24 -24
- package/dist/claude-code/.claude/skills/plant-seed/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/pr-branch/SKILL.md +2 -2
- package/dist/claude-code/.claude/skills/progress/SKILL.md +15 -15
- package/dist/claude-code/.claude/skills/quality-gate/SKILL.md +22 -22
- package/dist/claude-code/.claude/skills/quality-gate/threat-modeling.md +19 -19
- package/dist/claude-code/.claude/skills/quick/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/reapply-patches/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/reflect/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/reflect/procedures/capability-gap-scan.md +11 -11
- package/dist/claude-code/.claude/skills/report-issue/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/report-issue/report-issue-procedure.md +27 -27
- package/dist/claude-code/.claude/skills/resume/SKILL.md +9 -9
- package/dist/claude-code/.claude/skills/review-backlog/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/review-decisions/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/roi/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/rollout-status/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/router/SKILL.md +11 -11
- package/dist/claude-code/.claude/skills/router/capability-gap-emitter.md +6 -6
- package/dist/claude-code/.claude/skills/router/router-pick-emitter.md +9 -9
- package/dist/claude-code/.claude/skills/router/router-rules.md +7 -7
- package/dist/claude-code/.claude/skills/scan/SKILL.md +16 -16
- package/dist/claude-code/.claude/skills/scan/scan-procedure.md +42 -42
- package/dist/claude-code/.claude/skills/settings/SKILL.md +2 -2
- package/dist/claude-code/.claude/skills/ship/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/sketch/SKILL.md +10 -10
- package/dist/claude-code/.claude/skills/sketch-wrap-up/SKILL.md +12 -12
- package/dist/claude-code/.claude/skills/skill-manifest/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/spike/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/spike-wrap-up/SKILL.md +13 -13
- package/dist/claude-code/.claude/skills/start/SKILL.md +8 -8
- package/dist/claude-code/.claude/skills/start/start-procedure.md +9 -9
- package/dist/claude-code/.claude/skills/stats/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/style/SKILL.md +12 -12
- package/dist/claude-code/.claude/skills/style/style-doc-procedure.md +12 -12
- package/dist/claude-code/.claude/skills/synthesize/SKILL.md +10 -10
- package/dist/claude-code/.claude/skills/timeline/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/todo/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/turn-closeout/SKILL.md +10 -10
- package/dist/claude-code/.claude/skills/unlock-decision/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/update/SKILL.md +9 -9
- package/dist/claude-code/.claude/skills/using-gdd/SKILL.md +17 -17
- package/dist/claude-code/.claude/skills/verify/SKILL.md +13 -13
- package/dist/claude-code/.claude/skills/verify/verify-procedure.md +34 -34
- package/dist/claude-code/.claude/skills/warm-cache/SKILL.md +8 -8
- package/dist/claude-code/.claude/skills/watch-authorities/SKILL.md +9 -9
- package/dist/claude-code/.claude/skills/zoom-out/SKILL.md +4 -4
- package/package.json +5 -2
- package/reference/DEPRECATIONS.md +10 -10
- 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/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 +3 -3
- 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/manifest/prose-denylist.json +1 -1
- 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
package/CHANGELOG.md
CHANGED
|
@@ -4,9 +4,51 @@ All notable changes to get-design-done are documented here. Versions follow [sem
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [1.43.0] - 2026-06-02
|
|
8
|
+
|
|
9
|
+
### Phase 43 - Editorial Quality Floor
|
|
10
|
+
|
|
11
|
+
Get Design Done audits design quality but never held its own prose to the same bar. Phase 43 ships a
|
|
12
|
+
build-time editorial lint that fails CI on em dashes, prose double hyphens, and AI-prose tells in the
|
|
13
|
+
project's own documentation. No new runtime dependency, no new egress.
|
|
14
|
+
|
|
15
|
+
### Breaking changes
|
|
16
|
+
|
|
17
|
+
- **Contributors must keep prose clean of em dashes, prose double hyphens, and the AI-tell denylist.**
|
|
18
|
+
`npm run lint:prose` is now a CI gate over `README.md`, `README.*.md`, `SKILL.md`, `source/skills/**`,
|
|
19
|
+
`agents/**`, `CHANGELOG.md`, and `reference/**` (bodies AND frontmatter `description` fields). Put CLI
|
|
20
|
+
flags in code spans; replace an em dash with a comma, colon, parentheses, or a spaced hyphen; wrap a
|
|
21
|
+
genuine quote in a `prose-lint-disable` block. See `STYLE.md` and `CONTRIBUTING.md`. The one-time purge
|
|
22
|
+
rewrote roughly 6700 em dashes plus tells across the existing corpus, so CI starts green.
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- **`scripts/lint-prose.cjs`** (maintainer, `npm run lint:prose`) - dep-free editorial linter reading the
|
|
27
|
+
shared denylist at `scripts/lib/manifest/prose-denylist.json` (the Phase 41.5 SoT). Skips fenced code
|
|
28
|
+
(any indent, nested), inline code (per-line, stray-tick-safe), frontmatter, HTML comments,
|
|
29
|
+
`prose-lint-disable` blocks, and Cyrillic-majority files. The double-hyphen rule uses an exactly-two
|
|
30
|
+
guard so structural `---` (tables, rules, frontmatter) never trips.
|
|
31
|
+
- **`STYLE.md`** at repo root, generated from the denylist by `scripts/generate-style-md.cjs`
|
|
32
|
+
(`npm run build:style`; CI drift-gated via `build:style:check`).
|
|
33
|
+
- **Frontmatter description denylist** (SC#7): `lint:prose` also checks skill and agent `description`
|
|
34
|
+
fields for em dashes and tells (the `--` flag token is exempt there, since descriptions name flags).
|
|
35
|
+
- **`CONTRIBUTING.md`** editorial-style section; regression fixtures at `test/fixtures/baselines/phase-43/`
|
|
36
|
+
(clean, violations, Cyrillic-skip).
|
|
37
|
+
|
|
38
|
+
### Notes
|
|
39
|
+
|
|
40
|
+
- 6-manifest lockstep at **v1.43.0** + `OFF_CADENCE_VERSIONS.add('1.43.0')` + 37 `manifests-version.txt`
|
|
41
|
+
baselines forward-propagated 1.42.0 -> 1.43.0.
|
|
42
|
+
- The purge changed skill/agent prose, so 18 snapshot/assertion fixtures were reconciled (regenerated
|
|
43
|
+
byte-for-byte SKILL.md baselines + hyphenated em-dash literals in 7 baseline tests). `lint-prose.cjs`
|
|
44
|
+
and `generate-style-md.cjs` are maintainer-only (not shipped); `STYLE.md` is contributor-facing (not in
|
|
45
|
+
the npm tarball). Tarball file list unchanged.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
7
49
|
## [1.42.0] - 2026-06-02
|
|
8
50
|
|
|
9
|
-
### Phase 42
|
|
51
|
+
### Phase 42 - Multi-Harness Source Compilation
|
|
10
52
|
|
|
11
53
|
One skill source, N provider bundles. The README advertised 14 harnesses but every skill hard-coded
|
|
12
54
|
Claude syntax (`/gdd:`…). Phase 42 authors each skill **once** in `source/skills/` with placeholders and
|
|
@@ -20,26 +62,26 @@ compiles per-harness bundles via a pure transformer factory that reads the Phase
|
|
|
20
62
|
tree is regenerated from it for the Claude-Code default, and CI's `npm run build:skills:check` fails on
|
|
21
63
|
any drift. **Contributors must edit `source/skills/`, never `skills/` directly**, then run
|
|
22
64
|
`npm run build:skills` and commit the regenerated `skills/` + `dist/claude-code/`. The plugin contract is
|
|
23
|
-
unchanged
|
|
65
|
+
unchanged - `.claude-plugin/plugin.json` still loads `./skills/`, now produced from `source/skills/`.
|
|
24
66
|
See `reference/DEPRECATIONS.md` → Authoring surfaces and `reference/skill-placeholders.md`.
|
|
25
67
|
|
|
26
68
|
### Added
|
|
27
69
|
|
|
28
|
-
- **`source/skills/`**
|
|
70
|
+
- **`source/skills/`** - all 83 skills (107 `.md`) authored once with placeholders. `/gdd:` →
|
|
29
71
|
`{{command_prefix}}` is a pure string inverse, so the Claude compile reproduces `skills/` byte-for-byte.
|
|
30
|
-
- **`scripts/lib/build/factory.cjs`**
|
|
72
|
+
- **`scripts/lib/build/factory.cjs`** - the pure `compile(text, config)` transformer (no I/O): the four
|
|
31
73
|
placeholders, `<!-- harness-only: a,b -->` blocks, and `\{{…}}` escapes.
|
|
32
|
-
- **`scripts/lib/build/harness-configs.cjs`**
|
|
74
|
+
- **`scripts/lib/build/harness-configs.cjs`** - per-harness substitutions layered over
|
|
33
75
|
`scripts/lib/manifest/harnesses.json` (41.5). 14 records; `codex` is the flat-prefix (`/gdd-`) outlier.
|
|
34
76
|
Adding a 15th harness = one manifest entry plus an optional override row.
|
|
35
|
-
- **`scripts/build-skills.cjs`** (`npm run build:skills`, `build:skills:check`)
|
|
77
|
+
- **`scripts/build-skills.cjs`** (`npm run build:skills`, `build:skills:check`) - orchestrator with
|
|
36
78
|
`--harness`, `--check` (drift gate), and `--zip`. Writes `dist/<bundle>/<configDir>/skills/…` and
|
|
37
79
|
regenerates `skills/` in place. Idempotent + byte-stable.
|
|
38
|
-
- **`dist/claude-code/`**
|
|
80
|
+
- **`dist/claude-code/`** - the default Claude-Code bundle, committed + shipped in the npm tarball (other
|
|
39
81
|
per-harness bundles stay build-only artifacts; `--zip` packages them for releases).
|
|
40
|
-
- **`gdd-sdk build skills [--harness <id>] [--zip] [--check]`**
|
|
82
|
+
- **`gdd-sdk build skills [--harness <id>] [--zip] [--check]`** - SDK CLI surface (operates in a repo clone
|
|
41
83
|
where `source/skills/` is present; the orchestrator + source are dev-only, not shipped).
|
|
42
|
-
- **`reference/skill-placeholders.md`**
|
|
84
|
+
- **`reference/skill-placeholders.md`** - the placeholder catalogue + per-harness substitution table +
|
|
43
85
|
escape and harness-only rules.
|
|
44
86
|
|
|
45
87
|
### Notes
|
|
@@ -55,29 +97,29 @@ compiles per-harness bundles via a pure transformer factory that reads the Phase
|
|
|
55
97
|
|
|
56
98
|
## [1.41.5] - 2026-06-02
|
|
57
99
|
|
|
58
|
-
### Phase 41.5
|
|
100
|
+
### Phase 41.5 - SoT Manifest Consolidation
|
|
59
101
|
|
|
60
102
|
A 2026-05-16 audit found Phase 42/44/45/47 each scoping its own "single source of truth" in a different
|
|
61
|
-
corner
|
|
103
|
+
corner - four formats, four schemas, four CI drift gates. 41.5 lands **one** root, **one** schema
|
|
62
104
|
directory, **one** validator, **before** those phases plan their work. **No new runtime dependency, no
|
|
63
105
|
new egress.**
|
|
64
106
|
|
|
65
107
|
### Added
|
|
66
108
|
|
|
67
|
-
- **`scripts/lib/manifest/`**
|
|
68
|
-
- `loader.cjs`
|
|
109
|
+
- **`scripts/lib/manifest/`** - the cross-phase SoT root:
|
|
110
|
+
- `loader.cjs` - the one shared reader; a missing/unparseable file returns an empty fallback + a
|
|
69
111
|
one-line warning (never throws), with a file-mtime cache. Dep-free.
|
|
70
|
-
- `index.cjs`
|
|
71
|
-
- `harnesses.json` (+ `.cjs` view)
|
|
72
|
-
the capability matrix, as views of this one record). `skills.json`
|
|
73
|
-
47 enriches). `prose-denylist.json`
|
|
74
|
-
- `schemas/*.schema.json`
|
|
75
|
-
- **`scripts/validate-manifest.cjs`** (`npm run validate:manifest`)
|
|
112
|
+
- `index.cjs` - typed readers `readHarnesses()` / `readSkills()` / `readProseDenylist()`.
|
|
113
|
+
- `harnesses.json` (+ `.cjs` view) - the 14 canonical runtimes (Phase 42 adds build config, Phase 45
|
|
114
|
+
the capability matrix, as views of this one record). `skills.json` - the 83 live skill names (Phase
|
|
115
|
+
47 enriches). `prose-denylist.json` - the AI-tell denylist + em-dash/`--` markers (Phase 43/44 consume).
|
|
116
|
+
- `schemas/*.schema.json` - one JSON Schema per manifest. `README.md` - the contract + migration note.
|
|
117
|
+
- **`scripts/validate-manifest.cjs`** (`npm run validate:manifest`) - the single ajv CI gate that
|
|
76
118
|
replaces the four per-file drift gates 43/44/45/47 would each have shipped.
|
|
77
119
|
|
|
78
120
|
### Notes
|
|
79
121
|
|
|
80
|
-
- **No new runtime dependency**
|
|
122
|
+
- **No new runtime dependency** - the shipped `loader.cjs`/`index.cjs` are dep-free; `validate-manifest.cjs`
|
|
81
123
|
uses the already-present `ajv` and is maintainer-only (not shipped, like `lint-changelog.cjs`).
|
|
82
124
|
- 6-manifest lockstep at **v1.41.5** + `OFF_CADENCE_VERSIONS.add('1.41.5')` + the 36 live-pinned
|
|
83
125
|
`manifests-version.txt` baselines forward-propagated 1.41.0 → 1.41.5.
|
|
@@ -87,44 +129,44 @@ new egress.**
|
|
|
87
129
|
|
|
88
130
|
## [1.41.0] - 2026-06-02
|
|
89
131
|
|
|
90
|
-
### Phase 41
|
|
132
|
+
### Phase 41 - Deterministic Anti-Pattern CLI (`gdd-detect`)
|
|
91
133
|
|
|
92
134
|
GDD's BAN-NN anti-pattern catalogue was consumable only by spawning a Claude session through
|
|
93
|
-
`design-auditor`
|
|
135
|
+
`design-auditor` - no fast CI gate, no pre-commit hook, no zero-LLM regression check. 41 ships
|
|
94
136
|
**`gdd-detect`**: a **dep-free, offline** Node CLI that scans HTML/CSS/JSX for the 11 statically-
|
|
95
137
|
detectable BAN rules and emits JSON or human findings, each linked to its catalogue paragraph.
|
|
96
138
|
(Inspired by `pbakaus/impeccable`.) **No new runtime dependency, no new egress.**
|
|
97
139
|
|
|
98
140
|
### Breaking changes
|
|
99
141
|
|
|
100
|
-
**None.** `gdd-detect` is purely additive
|
|
142
|
+
**None.** `gdd-detect` is purely additive - a new `bin` entry + a new `lint:design` script + new
|
|
101
143
|
`scripts/lib/detect/` modules. Nothing existing changes behavior; `design-auditor` swaps its inline
|
|
102
144
|
BAN greps for a `gdd-detect --json` call (same findings, deterministic). Upgrading from v1.40.5 is a no-op for existing workflows.
|
|
103
145
|
|
|
104
146
|
### Added
|
|
105
147
|
|
|
106
|
-
- **`bin/gdd-detect`** (`gdd-detect <path> [--json] [--fast] [--rule BAN-NN] [--puppeteer]`)
|
|
148
|
+
- **`bin/gdd-detect`** (`gdd-detect <path> [--json] [--fast] [--rule BAN-NN] [--puppeteer]`) - exit
|
|
107
149
|
`0` clean / `2` findings / `1` invocation error. Recursive scan of HTML/CSS/JSX/TSX.
|
|
108
|
-
- **`scripts/lib/detect/`**
|
|
150
|
+
- **`scripts/lib/detect/`** - a pure, dep-free engine + `rule-schema.json` + 11 per-rule matchers
|
|
109
151
|
(`rules/ban-NN.cjs`) ported verbatim from the catalogue's own `**Grep**` patterns
|
|
110
152
|
(BAN-01/02/03/05/06/07/08/09/11/12/13). BAN-04 + BAN-10 are subjective (matcher-exempt).
|
|
111
|
-
- **`scripts/sync-rule-catalogue.cjs`**
|
|
153
|
+
- **`scripts/sync-rule-catalogue.cjs`** - bidirectional parity gate: every rule ↔ a `### BAN-NN:`
|
|
112
154
|
heading + a `bdId: BAN-NN` marker; no orphans; no un-ported detectable rule.
|
|
113
|
-
- **`scripts/hooks/pre-commit-detect.sh`**
|
|
155
|
+
- **`scripts/hooks/pre-commit-detect.sh`** - opt-in pre-commit scaffold.
|
|
114
156
|
- **`lint:design`** npm script + `sync:rule-catalogue` npm script.
|
|
115
157
|
|
|
116
158
|
### Changed
|
|
117
159
|
|
|
118
|
-
- **`reference/anti-patterns.md`**
|
|
119
|
-
- **`agents/design-auditor.md`**
|
|
120
|
-
- **`skills/quality-gate/SKILL.md`**
|
|
160
|
+
- **`reference/anti-patterns.md`** - `bdId: BAN-NN` markers under every BAN heading.
|
|
161
|
+
- **`agents/design-auditor.md`** - Pillar-7 inline BAN greps replaced by one `gdd-detect --json` call.
|
|
162
|
+
- **`skills/quality-gate/SKILL.md`** - `lint:design` added to the Phase-25 auto-detect linter allowlist.
|
|
121
163
|
|
|
122
164
|
### Notes
|
|
123
165
|
|
|
124
166
|
- **Two execution paths**: regex-fast (the dep-free default) and DOM-aware (`jsdom`, a soft
|
|
125
|
-
`try-require` optional
|
|
167
|
+
`try-require` optional - **not** a `package.json` dependency); `--fast` forces regex; absent jsdom
|
|
126
168
|
falls back with a one-line warning. A `http(s)://` path needs `--puppeteer` (also soft-optional) and
|
|
127
|
-
prints a clear install message otherwise
|
|
169
|
+
prints a clear install message otherwise - never a stack trace. The CLI is **offline by default** (a
|
|
128
170
|
static network-isolation test fails the build on any network primitive in the detect tree).
|
|
129
171
|
- 6-manifest lockstep at **v1.41.0** + `OFF_CADENCE_VERSIONS.add('1.41.0')` (minor) + the 35 live-pinned
|
|
130
172
|
`manifests-version.txt` baselines forward-propagated 1.40.5 → 1.41.0.
|
|
@@ -135,29 +177,29 @@ BAN greps for a `gdd-detect --json` call (same findings, deterministic). Upgradi
|
|
|
135
177
|
|
|
136
178
|
## [1.40.5] - 2026-06-01
|
|
137
179
|
|
|
138
|
-
### Phase 40.5
|
|
180
|
+
### Phase 40.5 - GDD CLI Localization
|
|
139
181
|
|
|
140
182
|
GDD's README is multilingual, but the CLI talked English. 40.5 adds locale resolution + per-locale
|
|
141
|
-
message tables for the highest-traffic surface
|
|
183
|
+
message tables for the highest-traffic surface - `--help`, common error messages, and skill prompt
|
|
142
184
|
headers. English is always the final fallback, so a partial locale never breaks the CLI. **No new
|
|
143
185
|
runtime dependency, no new egress.**
|
|
144
186
|
|
|
145
187
|
### Added
|
|
146
188
|
|
|
147
|
-
- **`scripts/lib/i18n/index.cjs`**
|
|
148
|
-
- **`scripts/lib/i18n/messages/{en,ru,uk,de,fr,zh,ja}.json`**
|
|
149
|
-
- **`skills/locale/SKILL.md`** (`/gdd:locale [<code>]`)
|
|
150
|
-
- **`reference/cli-localization.md`**
|
|
189
|
+
- **`scripts/lib/i18n/index.cjs`** - locale resolver: `resolveLocale` (`config.locale` > env `LANG`/`LC_ALL` > `en`), `fallbackChain` (`locale → base → en`), `translate` (chain walk; a missing key returns the key, never throws), `descriptionFor` (`description_i18n` || English). Pure functions + a thin `loadTable` reader.
|
|
190
|
+
- **`scripts/lib/i18n/messages/{en,ru,uk,de,fr,zh,ja}.json`** - flat message tables. `en` is the complete source (24 keys: `help.*`/`error.*`/`prompt.*`/`status.*`), `ru` a full translation, `uk`/`de`/`fr`/`zh`/`ja` placeholders (a `_meta` marker + a starter subset) that fall back to English.
|
|
191
|
+
- **`skills/locale/SKILL.md`** (`/gdd:locale [<code>]`) - inspect the resolved locale + per-locale coverage, or set `.design/config.json#locale`.
|
|
192
|
+
- **`reference/cli-localization.md`** - the resolver contract + the add-a-locale contribution path (translate the table, add a `NOTICE` translator credit, open a PR; warn-only completeness). Registered. Distinct from `reference/i18n.md` (which covers *user-design* i18n).
|
|
151
193
|
|
|
152
194
|
### Changed
|
|
153
195
|
|
|
154
|
-
- **`reference/schemas/config.schema.json`**
|
|
155
|
-
- **`agents/README.md`**
|
|
196
|
+
- **`reference/schemas/config.schema.json`** - + `locale` (enum en/ru/uk/de/fr/zh/ja); `generated.d.ts` regenerated.
|
|
197
|
+
- **`agents/README.md`** - document the opt-in `description_i18n` frontmatter field (falls back to the English `description`; backward-compatible - the 28.5 contract validates it only when present).
|
|
156
198
|
|
|
157
199
|
### Notes
|
|
158
200
|
|
|
159
201
|
- **No new runtime dependency, no new egress.** Pure resolver + JSON tables + docs.
|
|
160
|
-
- The completeness gate is **warn-only**
|
|
202
|
+
- The completeness gate is **warn-only** - only `en` + `ru` are full; the five placeholder locales rely on the English fallback and are never required to be 100%.
|
|
161
203
|
- 6-manifest lockstep at **v1.40.5** + `OFF_CADENCE_VERSIONS.add('1.40.5')` + the 34 live-pinned `manifests-version.txt` baselines forward-propagated 1.40.0 → 1.40.5.
|
|
162
204
|
- Inventory relock: registry-diff 159 → 160 (+`cli-localization`), skill-list 82 → 83 (+`locale`), skill-length-distribution relocked, tarball golden 721 → 731 (+10). No agent/event deltas. Root `SKILL.md` command table += `locale`.
|
|
163
205
|
|
|
@@ -165,9 +207,9 @@ runtime dependency, no new egress.**
|
|
|
165
207
|
|
|
166
208
|
## [1.40.0] - 2026-06-01
|
|
167
209
|
|
|
168
|
-
### Phase 40
|
|
210
|
+
### Phase 40 - Team Collaboration Mode
|
|
169
211
|
|
|
170
|
-
The largest architectural phase: GDD's single-operator baseline (Phase 20 lockfile + atomic STATE.md) now extends to **multiple developers**. Multi-writer STATE.md merges per-section, decisions are attributed + reviewed through an async queue with hard locks, a conflict-resolver reconciles parallel branches, decisions export to a read-only shared journal, and per-section permissions + sectional handoff gate who writes what. Everything is **git-native + advisory**
|
|
212
|
+
The largest architectural phase: GDD's single-operator baseline (Phase 20 lockfile + atomic STATE.md) now extends to **multiple developers**. Multi-writer STATE.md merges per-section, decisions are attributed + reviewed through an async queue with hard locks, a conflict-resolver reconciles parallel branches, decisions export to a read-only shared journal, and per-section permissions + sectional handoff gate who writes what. Everything is **git-native + advisory** - no server, no live multiplayer, no SSO. **No new runtime dependency, no new egress.**
|
|
171
213
|
|
|
172
214
|
### Breaking changes
|
|
173
215
|
|
|
@@ -175,22 +217,22 @@ The largest architectural phase: GDD's single-operator baseline (Phase 20 lockfi
|
|
|
175
217
|
|
|
176
218
|
### Added
|
|
177
219
|
|
|
178
|
-
- **`reference/multi-author-model.md`**
|
|
179
|
-
- **`scripts/lib/collab/`**
|
|
180
|
-
- **`agents/conflict-resolver.md`**
|
|
181
|
-
- **`agents/decision-journal-exporter.md`**
|
|
220
|
+
- **`reference/multi-author-model.md`** - the team-collaboration contract (merge model, attribution, review queue + locks, lock policy, sectional handoff, permissions, journal export + PR threading, opt-in sync). Registered.
|
|
221
|
+
- **`scripts/lib/collab/`** - 7 pure, dep-free cores: `attribution` (decision `[author= co-author=]` suffix), `section-merge` (git-merge-driver per-section semantic merge - union by D-id, conflict only on same-id divergence), `lock-policy` (team-mode advisory-lock backoff), `review-queue` (proposed→reviewing→approved→locked + audited unlock), `cycle-mode` (sectional handoff stage gate), `permissions` (per-section `can()`), `sync-backend` (git/s3/git-lfs selector).
|
|
222
|
+
- **`agents/conflict-resolver.md`** - three-way STATE.md merge, per-section + human-confirmed; never auto-picks or drops a decision.
|
|
223
|
+
- **`agents/decision-journal-exporter.md`** - `<decisions>` → `pseudonymize` → read-only Notion/Confluence on cycle close (write-only; degrades to local markdown).
|
|
182
224
|
- **`skills/review-decisions/SKILL.md`** (`/gdd:review-decisions`) + **`skills/unlock-decision/SKILL.md`** (`/gdd:unlock-decision <id> --approver`, the only audited escape from a hard lock).
|
|
183
225
|
|
|
184
226
|
### Changed
|
|
185
227
|
|
|
186
|
-
- **`reference/schemas/config.schema.json`**
|
|
187
|
-
- **`reference/STATE-TEMPLATE.md`**
|
|
188
|
-
- **`agents/design-reflector.md`**
|
|
189
|
-
- **`agents/pr-commenter.md`**
|
|
228
|
+
- **`reference/schemas/config.schema.json`** - + `gdd_cycle_mode` (designer|dev|full) + `permissions` + `collab` (multi_writer_enabled / lock_timeout_ms / sync_backend); `generated.d.ts` regenerated.
|
|
229
|
+
- **`reference/STATE-TEMPLATE.md`** - document the optional decision attribution suffix.
|
|
230
|
+
- **`agents/design-reflector.md`** - a "Per-author patterns" note (reads attribution).
|
|
231
|
+
- **`agents/pr-commenter.md`** - thread PR comments on `D-XX` decisions (team-mode).
|
|
190
232
|
|
|
191
233
|
### Notes
|
|
192
234
|
|
|
193
|
-
- **No new runtime dependency, no new egress**
|
|
235
|
+
- **No new runtime dependency, no new egress** - 7 pure cores + reference/agent/skill prose + an additive config-schema; the live S3/git-LFS sync client is explicitly out of scope (the selector ships, the backend is pluggable).
|
|
194
236
|
- 6-manifest lockstep at **v1.40.0** + `OFF_CADENCE_VERSIONS.add('1.40.0')` (a minor bump) + the 33 live-pinned `manifests-version.txt` baselines forward-propagated 1.39.5 → 1.40.0.
|
|
195
237
|
- Inventory relock: registry-diff 158 → 159 (+`multi-author-model`), skill-list 80 → 82 (+`review-decisions`, +`unlock-decision`), agent-list +`conflict-resolver` +`decision-journal-exporter` + both frontmatter-snapshots, skill-length-distribution relocked, tarball golden 709 → 721 (+12). Root `SKILL.md` command table += both skills.
|
|
196
238
|
|
|
@@ -198,13 +240,13 @@ The largest architectural phase: GDD's single-operator baseline (Phase 20 lockfi
|
|
|
198
240
|
|
|
199
241
|
## [1.39.5] - 2026-06-01
|
|
200
242
|
|
|
201
|
-
### Phase 39.5
|
|
243
|
+
### Phase 39.5 - GDD Self-Migration Tooling
|
|
202
244
|
|
|
203
245
|
GDD migrates *user* design systems (39.1) but had no systematic story for **its own** breaking
|
|
204
|
-
changes
|
|
246
|
+
changes - Phase 31.5 moved `scripts/lib/**` → `sdk/**` with ad-hoc shims. 39.5 formalizes it: a
|
|
205
247
|
machine-readable deprecation registry, a version-aware reader, a `/gdd:migrate` skill, a post-update
|
|
206
248
|
advisory, and two CI gates (a completeness check + a CHANGELOG Breaking-changes linter). **No new
|
|
207
|
-
runtime dependency, no new egress**
|
|
249
|
+
runtime dependency, no new egress** - two pure helpers + a docs/skill surface.
|
|
208
250
|
|
|
209
251
|
### Breaking changes
|
|
210
252
|
|
|
@@ -213,22 +255,22 @@ None. (This release *adds* the deprecation machinery; it removes nothing. The hi
|
|
|
213
255
|
|
|
214
256
|
### Added
|
|
215
257
|
|
|
216
|
-
- **`reference/DEPRECATIONS.md`**
|
|
258
|
+
- **`reference/DEPRECATIONS.md`** - a `## Path migrations (machine-readable)` table
|
|
217
259
|
(`Since · Removed in · Old · New · Migration hint`) + status semantics, backfilled with the 10
|
|
218
260
|
verified Phase 31.5 → `sdk/` removals (all confirmed gone from the tree).
|
|
219
|
-
- **`scripts/lib/deprecation-registry.cjs`**
|
|
261
|
+
- **`scripts/lib/deprecation-registry.cjs`** - pure, dep-free reader: `compareVersions`,
|
|
220
262
|
`parseDeprecations` (markdown-table parser), `classify` (pending/deprecated/removed by version),
|
|
221
263
|
`checkReference`.
|
|
222
|
-
- **`skills/migrate/SKILL.md`** (`/gdd:migrate [--yes] [--dry-run]`)
|
|
264
|
+
- **`skills/migrate/SKILL.md`** (`/gdd:migrate [--yes] [--dry-run]`) - scans a project's references for
|
|
223
265
|
paths deprecated/removed at the installed version and **previews a diff** before rewriting. Preview-first.
|
|
224
|
-
- **`scripts/lint-changelog.cjs`** (`npm run lint:changelog`)
|
|
266
|
+
- **`scripts/lint-changelog.cjs`** (`npm run lint:changelog`) - every `## [x.y.0]` minor at/after the
|
|
225
267
|
1.39.0 floor must declare a `### Breaking changes` section; historical minors are grandfathered.
|
|
226
|
-
- **`test/suite/deprecation-completeness.test.cjs`**
|
|
268
|
+
- **`test/suite/deprecation-completeness.test.cjs`** - the SC#4 gate: every `removed` entry's old path
|
|
227
269
|
is gone + its replacement exists; every `deprecated` entry still has a shim. No orphan entries.
|
|
228
270
|
|
|
229
271
|
### Changed
|
|
230
272
|
|
|
231
|
-
- **`skills/update/SKILL.md`**
|
|
273
|
+
- **`skills/update/SKILL.md`** - a post-update step that reports deprecations crossing into
|
|
232
274
|
`deprecated`/`removed` over the upgrade window and points the user at `/gdd:migrate`.
|
|
233
275
|
|
|
234
276
|
### Notes
|
|
@@ -244,29 +286,29 @@ None. (This release *adds* the deprecation machinery; it removes nothing. The hi
|
|
|
244
286
|
|
|
245
287
|
## [1.39.2] - 2026-06-01
|
|
246
288
|
|
|
247
|
-
### Phase 39.2
|
|
289
|
+
### Phase 39.2 - Long-Horizon Cost Governance
|
|
248
290
|
|
|
249
|
-
Closes the split Phase 39 (39.1 shipped DS migration). Phase 10.1 per-task caps + Phase 26 per-runtime telemetry track *cost*
|
|
291
|
+
Closes the split Phase 39 (39.1 shipped DS migration). Phase 10.1 per-task caps + Phase 26 per-runtime telemetry track *cost* - none **forecast** it, cap it at the *project* level, or show whether the spend actually *shipped* anything. 39.2 adds a per-cycle spend **forecast**, a **`project_cap`** hard-halt, and an **ROI dashboard**. **No new runtime dependency, no new egress** - three pure helpers + an additive, disabled-by-default branch on the existing budget-enforcer hook.
|
|
250
292
|
|
|
251
293
|
### Added
|
|
252
294
|
|
|
253
|
-
- **`scripts/lib/budget/cost-forecast.cjs`**
|
|
254
|
-
- **`scripts/lib/budget/roi.cjs`**
|
|
255
|
-
- **`scripts/lib/budget/project-cap.cjs`**
|
|
256
|
-
- **`agents/cost-forecaster.md`**
|
|
257
|
-
- **`skills/budget/SKILL.md`** (`/gdd:budget [--cycles N] [--scenario …]`)
|
|
258
|
-
- **`skills/roi/SKILL.md`** (`/gdd:roi [--since <date>] [--window-days 14]`)
|
|
259
|
-
- **`reference/cost-governance.md`**
|
|
295
|
+
- **`scripts/lib/budget/cost-forecast.cjs`** - pure, dep-free per-cycle forecast: `forecast()` (best/typical/worst from the mean ± k·σ of historical per-cycle rates) + `cyclesToCap()` ("hit your cap in Y cycles"). Deterministic.
|
|
296
|
+
- **`scripts/lib/budget/roi.cjs`** - pure ROI join: `computeRoi()` (per-cycle cost ⋈ shipped/reverted commits → cost-per-shipped-commit + stick rate) + `roiTableMarkdown()`.
|
|
297
|
+
- **`scripts/lib/budget/project-cap.cjs`** - pure cap classifier: `classifyProjectBudget(spend, cap)` → `ok`/`warn-50`/`warn-80`/`halt`; **disabled when `cap ≤ 0`** (the non-breaking default).
|
|
298
|
+
- **`agents/cost-forecaster.md`** - groups `costs.jsonl` by cycle, runs the model, supports `--scenario best|typical|worst`, emits a `budget_forecast` event. Report-only (sonnet, size_budget M).
|
|
299
|
+
- **`skills/budget/SKILL.md`** (`/gdd:budget [--cycles N] [--scenario …]`) - forecast + "at the current rate you'll hit your $X project cap in Y cycles."
|
|
300
|
+
- **`skills/roi/SKILL.md`** (`/gdd:roi [--since <date>] [--window-days 14]`) - the ROI table; "shipped" = a commit surviving ≥ 14 days (catches revert-after-bug-discovery).
|
|
301
|
+
- **`reference/cost-governance.md`** - the contract (forecast model, `project_cap` semantics, ROI signal, events). Registered.
|
|
260
302
|
|
|
261
303
|
### Changed
|
|
262
304
|
|
|
263
|
-
- **`hooks/budget-enforcer.ts`**
|
|
264
|
-
- **`reference/schemas/budget.schema.json`**
|
|
265
|
-
- **`reference/schemas/events.schema.json`**
|
|
305
|
+
- **`hooks/budget-enforcer.ts`** - an **additive** `project_cap` branch (delegates the threshold math to `project-cap.cjs`): warns at 50% + 80%, hard-halts at 100% under `enforce`. **Disabled by default** (`project_cap_usd: 0`) so existing users see zero behavior change. **Graceful** - it blocks the *next* PreToolUse:Agent spawn, letting the current stage finish.
|
|
306
|
+
- **`reference/schemas/budget.schema.json`** - + `project_cap_usd` (≥ 0; 0/absent = disabled) + `project_cap_enforcement_mode` (enforce|warn|log).
|
|
307
|
+
- **`reference/schemas/events.schema.json`** - free-form `type` seed += `budget_forecast` / `project_cap_warning` / `project_cap_halt` (schema-seed only; `KNOWN_EVENT_TYPES` count unchanged).
|
|
266
308
|
|
|
267
309
|
### Notes
|
|
268
310
|
|
|
269
|
-
- **No new runtime dependency, no new egress**
|
|
311
|
+
- **No new runtime dependency, no new egress** - three pure text/arithmetic helpers + a local `package.json`/`costs.jsonl` read; the hook only ever *blocks*, never spends.
|
|
270
312
|
- 6-manifest lockstep at **v1.39.2** + `OFF_CADENCE_VERSIONS.add('1.39.2')` + the 31 live-pinned `manifests-version.txt` baselines forward-propagated 1.39.1 → 1.39.2.
|
|
271
313
|
- Inventory relock: registry-diff 157 → 158 (+`cost-governance`), skill-list 77 → 79 (+`budget`, +`roi`), agent-list +`cost-forecaster` + both frontmatter-snapshots, event-schema-snapshot sha256 re-locked (the seed-list edit, LF-normalized), tarball golden 700 → 707 (+7). Root `SKILL.md` command table += `budget` + `roi`.
|
|
272
314
|
|
|
@@ -274,20 +316,20 @@ Closes the split Phase 39 (39.1 shipped DS migration). Phase 10.1 per-task caps
|
|
|
274
316
|
|
|
275
317
|
## [1.39.1] - 2026-06-01
|
|
276
318
|
|
|
277
|
-
### Phase 39.1
|
|
319
|
+
### Phase 39.1 - DS Migration Workflows
|
|
278
320
|
|
|
279
|
-
Opens the v1.39.x arc and the first half of the split Phase 39. When a design system ships a breaking major (shadcn/ui v1→v2, Tailwind v3→v4, MUI v5→v6, Material 2/3 token rename), GDD can now read the in-repo `package.json`, detect the version skew, consult a curated rule library, and produce an **impact-scored, proposal-only migration plan** with codemod scaffolds. Nothing runs automatically and no codemod engine is bundled
|
|
321
|
+
Opens the v1.39.x arc and the first half of the split Phase 39. When a design system ships a breaking major (shadcn/ui v1→v2, Tailwind v3→v4, MUI v5→v6, Material 2/3 token rename), GDD can now read the in-repo `package.json`, detect the version skew, consult a curated rule library, and produce an **impact-scored, proposal-only migration plan** with codemod scaffolds. Nothing runs automatically and no codemod engine is bundled - `codemod-gen` emits jscodeshift/ast-grep template **text** the developer reviews and runs themselves. **No new runtime dependency, no new egress.**
|
|
280
322
|
|
|
281
323
|
### Added
|
|
282
324
|
|
|
283
|
-
- **`reference/migrations/{shadcn-v2,tailwind-v4,mui-v6,material-3-to-4}.md`**
|
|
284
|
-
- **`scripts/lib/migration/codemod-gen.cjs`**
|
|
285
|
-
- **`agents/ds-migration-planner.md`**
|
|
286
|
-
- **`agents/design-verifier.md`**
|
|
325
|
+
- **`reference/migrations/{shadcn-v2,tailwind-v4,mui-v6,material-3-to-4}.md`** - 4 curated rule libraries. Each carries `## Detection` (package.json dep + version), a `## Migration rules` table (Rule ID · Kind · From → To · Note, where Kind ∈ `rename-class`/`rename-prop`/`remove-component`/`token-rename`/`new-default`), and `## Impact notes`. Grounded in the official upstream migration guides (Tailwind v4 browser baseline, MUI Grid2/`experimental_` removal, Material M2→M3 `--mdc-*` → `--md-sys-*` tokens). Registered.
|
|
326
|
+
- **`scripts/lib/migration/codemod-gen.cjs`** - pure, dep-free `emitCodemod(rule, { engine: 'jscodeshift' | 'ast-grep' })` → `{ ruleId, engine, kind, template }`. One template per rule kind; deterministic. Emits template **text only** - it never imports or runs jscodeshift/ast-grep.
|
|
327
|
+
- **`agents/ds-migration-planner.md`** - detects the DS + version from `package.json`, consults `reference/migrations/<ds>.md`, scores each affected component (visual-delta × usage × tests-affected), and emits codemod scaffolds to `.design/migration/` via `codemod-gen`. **Proposal-only**; long-tail DS fall back to a generic template.
|
|
328
|
+
- **`agents/design-verifier.md`** - an in-place note (net-zero, stays at the 700-line cap): when a DS migration is in flight, the verifier also asserts the migration preserved the contract (visual-diff within threshold, component API surface unchanged, tests pass) and treats an unmigrated high-impact rule as a gap.
|
|
287
329
|
|
|
288
330
|
### Notes
|
|
289
331
|
|
|
290
|
-
- **No new runtime dependency, no new egress**
|
|
332
|
+
- **No new runtime dependency, no new egress** - `codemod-gen` is a pure text emitter; version detection is a local `package.json` read.
|
|
291
333
|
- 6-manifest lockstep at **v1.39.1** + `OFF_CADENCE_VERSIONS.add('1.39.1')` + the 30 live-pinned `manifests-version.txt` baselines forward-propagated 1.38.5 → 1.39.1.
|
|
292
334
|
- Inventory relock: registry-diff 153 → 157 (+4 rule libraries), agent-list +`ds-migration-planner` + both frontmatter-snapshots, tarball golden 694 → 700 (+6: 4 rule libraries + `codemod-gen.cjs` + `ds-migration-planner.md`). No skill/connection deltas.
|
|
293
335
|
|
|
@@ -295,21 +337,21 @@ Opens the v1.39.x arc and the first half of the split Phase 39. When a design sy
|
|
|
295
337
|
|
|
296
338
|
## [1.38.5] - 2026-06-01
|
|
297
339
|
|
|
298
|
-
### Phase 38.5
|
|
340
|
+
### Phase 38.5 - Deployment Coordination Loop
|
|
299
341
|
|
|
300
|
-
Bridges the gap between `/gdd:verify` passing and the design **actually being live**. `/gdd:ship` ends at "PR merged"; the post-merge journey (staging → canary % → 100% rollout) was invisible. 38.5 reads the feature-flag service (Phase 38's LaunchDarkly/Statsig/GrowthBook connections), tracks per-cycle rollout %, and weights the `design_arms` posterior by how widely a variant actually deployed. **No new runtime dependency, no new egress** (pure classifier + the Phase-38 read-only connections). **Read-only**
|
|
342
|
+
Bridges the gap between `/gdd:verify` passing and the design **actually being live**. `/gdd:ship` ends at "PR merged"; the post-merge journey (staging → canary % → 100% rollout) was invisible. 38.5 reads the feature-flag service (Phase 38's LaunchDarkly/Statsig/GrowthBook connections), tracks per-cycle rollout %, and weights the `design_arms` posterior by how widely a variant actually deployed. **No new runtime dependency, no new egress** (pure classifier + the Phase-38 read-only connections). **Read-only** - GDD reports + notifies; it never advances or rolls back.
|
|
301
343
|
|
|
302
344
|
### Added
|
|
303
345
|
|
|
304
|
-
- **`scripts/lib/rollout/rollout-status.cjs`**
|
|
305
|
-
- **`agents/rollout-coordinator.md`**
|
|
306
|
-
- **`skills/rollout-status/SKILL.md`** (`/gdd:rollout-status [<cycle>] [--all] [--stuck]`)
|
|
307
|
-
- **`reference/rollout-coordination.md`**
|
|
308
|
-
- **`reference/schemas/events.schema.json`**
|
|
346
|
+
- **`scripts/lib/rollout/rollout-status.cjs`** - pure, dep-free classifier: `classifyRollout` (`unrolled`/`staging-only`/`canary-N%`/`prod-100%`), `deployedPct`, `isStuck` (default 14 days), `deployedWeight` (linear). Deterministic.
|
|
347
|
+
- **`agents/rollout-coordinator.md`** - reads the flag service → classifies → writes `STATE.md <rollout_status>` → emits `rollout_*`/`verify_outcome` events → folds the outcome into `design_arms` weighted by `deployedPct` (a 10%-rolled variant counts 0.1; a 100% one counts 1.0). Read-only, notify-on-stuck.
|
|
348
|
+
- **`skills/rollout-status/SKILL.md`** (`/gdd:rollout-status [<cycle>] [--all] [--stuck]`) - reports rollout state + surfaces stuck rollouts.
|
|
349
|
+
- **`reference/rollout-coordination.md`** - the `<rollout_status>` schema + state transitions + the deployed_pct weighting + the events. Registered.
|
|
350
|
+
- **`reference/schemas/events.schema.json`** - the free-form `type` seed list gains `verify_outcome` / `rollout_started` / `rollout_advanced` / `rollout_stuck` (Phase 22 extension).
|
|
309
351
|
|
|
310
352
|
### Notes
|
|
311
353
|
|
|
312
|
-
- **No new runtime dependency, no new egress**
|
|
354
|
+
- **No new runtime dependency, no new egress** - pure classifier; the flag-service reads reuse Phase 38's read-only connections.
|
|
313
355
|
- 6-manifest lockstep at **v1.38.5** + `OFF_CADENCE_VERSIONS.add('1.38.5')` + the 29 live-pinned `manifests-version.txt` baselines forward-propagated 1.38.0 → 1.38.5.
|
|
314
356
|
- Inventory relock: skill-list 76 → 77 (+`rollout-status`), agent-list 52 → 53 (+`rollout-coordinator`) + both frontmatter-snapshots, registry-diff 152 → 153, tarball golden 690 → 694 (+4), and the phase-20 `event-schema-snapshot.json` sha256 re-locked (the seed-list edit). Root `SKILL.md` command table + `command-count-sync` updated.
|
|
315
357
|
|
|
@@ -317,22 +359,22 @@ Bridges the gap between `/gdd:verify` passing and the design **actually being li
|
|
|
317
359
|
|
|
318
360
|
## [1.38.0] - 2026-06-01
|
|
319
361
|
|
|
320
|
-
### Phase 38
|
|
362
|
+
### Phase 38 - Outcome-Driven Adaptation (A/B Variants + Inbound User-Research Signals)
|
|
321
363
|
|
|
322
|
-
Closes the external-outcome loop. The bandit's reward was **internal** (lint/test/visual pass-fail); it couldn't learn "which design pattern wins with **users**" because user-outcome signals never entered the system. Phase 38 adds two external signal sources
|
|
364
|
+
Closes the external-outcome loop. The bandit's reward was **internal** (lint/test/visual pass-fail); it couldn't learn "which design pattern wins with **users**" because user-outcome signals never entered the system. Phase 38 adds two external signal sources - **A/B experiments** + **user research** - feeding a new `design_arms` posterior + the brief/verify loop. **No new runtime dependency** (a pure Beta-posterior store + injectable `fetch`; the platforms are opt-in, read-only).
|
|
323
365
|
|
|
324
366
|
### Added
|
|
325
367
|
|
|
326
|
-
- **`scripts/lib/ds-arms/design-arms-store.cjs`**
|
|
327
|
-
- **`reference/design-variants.md`** + **`design` `--variants N`**
|
|
328
|
-
- **`connections/launchdarkly.md` + `statsig.md` + `growthbook.md`**
|
|
329
|
-
- **`connections/usertesting.md` + `maze.md` + `hotjar.md`** + **`agents/user-research-synthesizer.md`**
|
|
330
|
-
- **Verify cross-check**
|
|
368
|
+
- **`scripts/lib/ds-arms/design-arms-store.cjs`** - a pure `design_arms` posterior class, **distinct from the routing bandit** (`bandit-router.cjs`). Keyed by `(component_type, variant_pattern_hash)` (inline FNV-1a - no `crypto`), conservative **Beta(2, 8)** prior (mean 0.2 - a pattern earns trust from real outcomes). `variantKey` / `pull` / `observe` / `all`; atomic persist to `.design/telemetry/design-arms.json`. node-builtins only.
|
|
369
|
+
- **`reference/design-variants.md`** + **`design` `--variants N`** - N competing, hypothesis-tagged variants (`<variant id component pattern hypothesis>`, default N=2); the design stage consults the posterior to bias generation - **advisory, never directive (the user always wins, D-03)**. Registered.
|
|
370
|
+
- **`connections/launchdarkly.md` + `statsig.md` + `growthbook.md`** - A/B **experiment-source** connections (read-only; never run experiments - D-04). **`agents/experiment-result-ingester.md`** maps variant→outcome by the primary metric + significance → `observe()` into `design_arms` → `experiment_result` event.
|
|
371
|
+
- **`connections/usertesting.md` + `maze.md` + `hotjar.md`** + **`agents/user-research-synthesizer.md`** - user-research sources (read-only, indexed insights). **PII guard (D-05): every payload routes through `scripts/lib/pseudonymize.cjs` BEFORE any agent context** - enforced by `test/suite/phase-38-pii-guard.test.cjs`. Synthesizes ranked findings (finding · frequency · severity) into the brief **`<prior-research>`** block.
|
|
372
|
+
- **Verify cross-check** - `design-verifier` asserts each `<prior-research>` finding is addressed or explicitly deferred (unaddressed `critical`/`serious` = a gap).
|
|
331
373
|
|
|
332
374
|
### Notes
|
|
333
375
|
|
|
334
|
-
- **No new runtime dependency, no new egress**
|
|
335
|
-
- The 6 outcome connections are **Active-table + onboarding entries** (27 → 33 onboarded), NOT pipeline-stage capability-matrix rows
|
|
376
|
+
- **No new runtime dependency, no new egress** - pure Beta store + injectable `fetchImpl` (hermetic tests); the A/B + research platforms are opt-in user-connected MCP/API, read-only.
|
|
377
|
+
- The 6 outcome connections are **Active-table + onboarding entries** (27 → 33 onboarded), NOT pipeline-stage capability-matrix rows - outcome-ingest is post-pipeline (the Notion export-only precedent), so it does not occupy a stage column.
|
|
336
378
|
- 6-manifest lockstep at **v1.38.0** + `OFF_CADENCE_VERSIONS.add('1.38.0')` + the 28 live-pinned `manifests-version.txt` baselines forward-propagated 1.37.2 → 1.38.0.
|
|
337
379
|
- Inventory relock: connection-list 35 → 41 (+6), phase-20 agent-list 50 → 52 (+`experiment-result-ingester` + `user-research-synthesizer`) + both frontmatter-snapshots, registry-diff 151 → 152 (+`design-variants`), tarball golden 680 → 690 (+10). `design-verifier` augmented in place (stays at the 700 cap).
|
|
338
380
|
|
|
@@ -340,16 +382,16 @@ Closes the external-outcome loop. The bandit's reward was **internal** (lint/tes
|
|
|
340
382
|
|
|
341
383
|
## [1.37.2] - 2026-06-01
|
|
342
384
|
|
|
343
|
-
### Phase 37.2
|
|
385
|
+
### Phase 37.2 - Greenfield Design-System Bootstrap (`/gdd:bootstrap-ds`) - completes Phase 37
|
|
344
386
|
|
|
345
|
-
Second and **FINAL** sub-phase of the split **Phase 37**
|
|
387
|
+
Second and **FINAL** sub-phase of the split **Phase 37** - completing it marks the **parent Phase 37 COMPLETE** (AI-Native Tools Wave 2 + Greenfield DS Bootstrap). Closes the greenfield gap: GDD assumed a design system already existed (in code or Figma) - a brand-new project has none. `/gdd:bootstrap-ds` turns a brand input into a coherent token system + proof components. **No new runtime dependency** - the token math emits native CSS `oklch()` (no color-conversion library).
|
|
346
388
|
|
|
347
389
|
### Added
|
|
348
390
|
|
|
349
|
-
- **`scripts/lib/ds/token-scale.cjs`**
|
|
350
|
-
- **`reference/ds-bootstrap-rubric.md`**
|
|
351
|
-
- **`agents/ds-generator.md`**
|
|
352
|
-
- **`skills/bootstrap-ds/SKILL.md`** (`/gdd:bootstrap-ds`)
|
|
391
|
+
- **`scripts/lib/ds/token-scale.cjs`** - a pure, dependency-free (zero `require`) token generator. `oklchScale(primary)` → 9 tint/shade stops as native CSS `oklch()`, anchored at the primary, lightness interpolated toward white/black, chroma damped at the extremes (no OKLab→sRGB conversion, no color library); `typeScale` (modular), `spacingScale` (4pt/8pt), `radiusScale`. Deterministic.
|
|
392
|
+
- **`reference/ds-bootstrap-rubric.md`** - greenfield emission rules: primary → 9 tints; **never more than 2 brand colors**; neutrals + semantic colors; type ratios 1.2/1.25/1.333; 4pt/8pt spacing; radius + motion defaults; the 3 variants; role-named CSS-custom-property emission + framework mapping; proof scaffolding. Registered (`type: heuristic`, `phase: 37.2`; 150 → 151).
|
|
393
|
+
- **`agents/ds-generator.md`** - brand-input → token system via `token-scale.cjs` + the rubric + `color-theory.md`. Emits **3 variants** (conservative / balanced / bold), the user picks one, then scaffolds **button / input / card** in the detected framework (web default; native via Phase 34). Never invents a brand; never overwrites an existing DS; proposal→confirm.
|
|
394
|
+
- **`skills/bootstrap-ds/SKILL.md`** (`/gdd:bootstrap-ds`) - brand-input intake (primary + secondary + tone tags + target framework) → `ds-generator`. 43 lines (≤100 Phase-28.5 contract).
|
|
353
395
|
|
|
354
396
|
### Notes
|
|
355
397
|
|
|
@@ -362,20 +404,20 @@ Second and **FINAL** sub-phase of the split **Phase 37** — completing it marks
|
|
|
362
404
|
|
|
363
405
|
## [1.37.1] - 2026-06-01
|
|
364
406
|
|
|
365
|
-
### Phase 37.1
|
|
407
|
+
### Phase 37.1 - AI-Native Tools Wave 2 (Framer + Penpot + Webflow + v0.dev + Plasmic + Builder.io)
|
|
366
408
|
|
|
367
|
-
First sub-phase of the split **Phase 37**. Schedules Phase 14's explicit backlog: six AI-native design tools, each under the existing connection capability contract (canvas | generator | shared probe). **No new runtime dependency, no new egress**
|
|
409
|
+
First sub-phase of the split **Phase 37**. Schedules Phase 14's explicit backlog: six AI-native design tools, each under the existing connection capability contract (canvas | generator | shared probe). **No new runtime dependency, no new egress** - each tool is an opt-in user-connected MCP/API, probed via ToolSearch/env; absent → degrade-to-code-only.
|
|
368
410
|
|
|
369
411
|
### Added
|
|
370
412
|
|
|
371
|
-
- **`connections/framer.md`** + **`penpot.md`** + **`webflow.md`**
|
|
372
|
-
- **`connections/v0-dev.md`** + **`plasmic.md`** + **`builder-io.md`**
|
|
373
|
-
- **`agents/design-component-generator.md`**
|
|
374
|
-
- **`connections/connections.md`** + onboarding
|
|
413
|
+
- **`connections/framer.md`** + **`penpot.md`** + **`webflow.md`** - canvas-category specs. Framer (read frames + write proposals), Penpot (open-source Figma alt; self-hosted-vs-cloud probe), Webflow (read site structure as a design-adaptation source - not CMS authoring). Contribute at the **design** stage.
|
|
414
|
+
- **`connections/v0-dev.md`** + **`plasmic.md`** + **`builder-io.md`** - generator-category specs. v0.dev (MCP-first → REST + `V0_API_KEY`), Plasmic (dual: canvas read + code emission), Builder.io Visual Copilot (pull-only this phase). Drive the **generator** stage.
|
|
415
|
+
- **`agents/design-component-generator.md`** - Step-0 detection + `--tool` flag extended to `v0|plasmic|builder-io`, plus compact `<!-- impl: v0 -->` / `<!-- impl: plasmic -->` / `<!-- impl: builder-io -->` sections that cross-link to the connection specs (231 → 259, under the LARGE budget). Priority: magic-patterns > 21st.dev > v0 > plasmic > builder-io; `--tool` overrides.
|
|
416
|
+
- **`connections/connections.md`** + onboarding - 21 → 27 onboarded (6 Active rows + 6 capability-matrix rows: framer/penpot → canvas, webflow/v0/builder-io → generator, **Plasmic → canvas + generator dual**; probes + value-prop + setup matrix).
|
|
375
417
|
|
|
376
418
|
### Notes
|
|
377
419
|
|
|
378
|
-
- **No new runtime dependency, no new egress**
|
|
420
|
+
- **No new runtime dependency, no new egress** - opt-in MCP/API connections; the generator never writes to `src/` without proposal→confirm.
|
|
379
421
|
- 6-manifest lockstep at **v1.37.1** + `OFF_CADENCE_VERSIONS.add('1.37.1')` + the 26 live-pinned `manifests-version.txt` baselines forward-propagated 1.36.3 → 1.37.1 (opens the v1.37.x arc).
|
|
380
422
|
- Inventory relock: connection-list 29 → 35 (+6), onboarding → 27, tarball golden 670 → 676 (+6). Registry unchanged (no `reference/` doc); no new skill/agent dir (the generator agent pre-exists).
|
|
381
423
|
|
|
@@ -383,38 +425,38 @@ First sub-phase of the split **Phase 37**. Schedules Phase 14's explicit backlog
|
|
|
383
425
|
|
|
384
426
|
## [1.36.3] - 2026-06-01
|
|
385
427
|
|
|
386
|
-
### Phase 36.3
|
|
428
|
+
### Phase 36.3 - Knowledge Tier-3: Conversational UI - completes Phase 36
|
|
387
429
|
|
|
388
|
-
Third and **FINAL** sub-phase of the split **Phase 36 (Knowledge Tier 3)**
|
|
430
|
+
Third and **FINAL** sub-phase of the split **Phase 36 (Knowledge Tier 3)** - completing it marks the **parent Phase 36 COMPLETE** (domain packs 36.1 + motion-tool verification 36.2 + conversational UI 36.3 all shipped). Conversational UI was zero-coverage even though it's a real surface (chatbot empty-states, voice flow design, prompt-as-UX). **No new pillar, no new runtime dependency, no new egress** (reference markdown + an agent-prompt enum addition).
|
|
389
431
|
|
|
390
432
|
### Added
|
|
391
433
|
|
|
392
|
-
- **`reference/conversational-ui.md`**
|
|
393
|
-
- **`agents/design-context-builder.md`**
|
|
434
|
+
- **`reference/conversational-ui.md`** - voice-flow patterns (no-input / no-match reprompts, confirmation, human handoff), multi-turn dialogue (context carryover, slot-filling, repair), prompt-as-UX (the assistant persona/tone/boundaries as a versioned design artifact), chatbot empty-states + suggested replies, voice-first onboarding, and error recovery + accessibility (transcripts/captions). Carries a `## Detection signals` section + an `## Audit checklist`. Registered in `reference/registry.json` (`type: heuristic`, `phase: 36.3`; 149 → 150). CLI/REPL UX is out of scope this phase.
|
|
435
|
+
- **`agents/design-context-builder.md`** - Step 0E gains a **7th** project type `conversational` (enum 6 → 7). It routes to `design-executor` (a chat widget / voice-app card is still rendered code) **and loads `reference/conversational-ui.md`** for the interaction patterns. Detection from brief keywords (chatbot, voice, assistant, conversational) + `package.json` deps (`botpress`, `rasa`, `dialogflow`, `actions-on-google`, `ask-sdk-core`, `botframework`). The first six project types remain the Phase-34 rendered-output set; `conversational` is the Phase-36.3 interaction-surface type on the same axis.
|
|
394
436
|
|
|
395
437
|
### Notes
|
|
396
438
|
|
|
397
439
|
- **No new runtime dependency, no new egress.** Detection is the agent matching keywords/deps; no code, no network.
|
|
398
440
|
- 6-manifest lockstep at **v1.36.3** + `OFF_CADENCE_VERSIONS.add('1.36.3')` + the 25 live-pinned `manifests-version.txt` baselines forward-propagated 1.36.2 → 1.36.3.
|
|
399
441
|
- Inventory relock: registry-diff 149 → 150, tarball golden 669 → 670 (+`reference/conversational-ui.md`). No new connection/skill/agent dir. `design-verifier.md` deliberately untouched (it is at its 700-line cap; conversational verify rides the normal web path).
|
|
400
|
-
- **This completes the parent Phase 36 (Knowledge Tier 3)
|
|
442
|
+
- **This completes the parent Phase 36 (Knowledge Tier 3) - domain packs + motion-tool verification + conversational UI.**
|
|
401
443
|
|
|
402
444
|
---
|
|
403
445
|
|
|
404
446
|
## [1.36.2] - 2026-06-01
|
|
405
447
|
|
|
406
|
-
### Phase 36.2
|
|
448
|
+
### Phase 36.2 - Knowledge Tier-3: Motion-Tool Verification (Lottie + Rive)
|
|
407
449
|
|
|
408
|
-
Second sub-phase of the split **Phase 36**. Motion existed as a *principle* (Phase 18) but not as a *verifiable artifact*
|
|
450
|
+
Second sub-phase of the split **Phase 36**. Motion existed as a *principle* (Phase 18) but not as a *verifiable artifact* - Lottie/Rive ship animation exports + state machines and GDD never opened them. 36.2 adds a pure motion validator + two optional connections + a verify-time agent. **No new runtime dependency, no new egress** (pure `JSON.parse` + file checks; the Lottie player / Rive runtime are opt-in). Every motion finding is a **warning, never a blocker** (motion is creative, not contractually broken).
|
|
409
451
|
|
|
410
452
|
### Added
|
|
411
453
|
|
|
412
|
-
- **`scripts/lib/motion/validate-motion.cjs`**
|
|
413
|
-
- **`connections/lottie.md`**
|
|
414
|
-
- **`connections/rive.md`**
|
|
415
|
-
- **`agents/motion-verifier.md`**
|
|
416
|
-
- **`agents/design-verifier.md`**
|
|
417
|
-
- **`connections/connections.md`** + onboarding
|
|
454
|
+
- **`scripts/lib/motion/validate-motion.cjs`** - a pure, dependency-free (zero `require`) motion validator. `validateLottie(json, {bytes, budgetBytes})` checks frame-rate sanity, non-positive duration, layer count, embedded-asset bloat, and the perf budget (rules `MO-PARSE/FR/DUR/LAYERS/IMG/BUDGET`); `motionBudget` is the shared byte-cap check; `riveHeader` is the `.riv` magic-byte sanity. Deterministic.
|
|
455
|
+
- **`connections/lottie.md`** - file-probe connection for Lottie JSON exports; static floor = `validateLottie`; the live player is opt-in; degrade-to-static → code-only.
|
|
456
|
+
- **`connections/rive.md`** - file-probe connection for Rive `.riv` exports. `.riv` is binary, so the deep state-machine graph (unreachable states, no-exit loops) needs the opt-in Rive runtime; the pure-JS floor is size + the `RIVE` header + a manual-review advisory.
|
|
457
|
+
- **`agents/motion-verifier.md`** - at verify time, discovers Lottie/Rive exports, runs `validate-motion.cjs`, enforces a perf budget (`motion_budget_kb`, fallback 200 KB), and WARNs. Reads-only.
|
|
458
|
+
- **`agents/design-verifier.md`** - Phase 4E motion hook (gate on exports → delegate to `motion-verifier` → degrade-to-noop).
|
|
459
|
+
- **`connections/connections.md`** + onboarding - 19 → 21 (Lottie + Rive Active rows, `verify` capability-matrix entries, file probes, value-prop + setup matrix).
|
|
418
460
|
|
|
419
461
|
### Notes
|
|
420
462
|
|
|
@@ -426,23 +468,23 @@ Second sub-phase of the split **Phase 36**. Motion existed as a *principle* (Pha
|
|
|
426
468
|
|
|
427
469
|
## [1.36.1] - 2026-06-01
|
|
428
470
|
|
|
429
|
-
### Phase 36.1
|
|
471
|
+
### Phase 36.1 - Knowledge Tier-3: Domain Packs (finance + healthcare + gaming + civic)
|
|
430
472
|
|
|
431
|
-
First sub-phase of the split **Phase 36 (Knowledge Tier 3)**. Adds four industry-specific design-pattern reference packs and wires **domain detection** into the pipeline
|
|
473
|
+
First sub-phase of the split **Phase 36 (Knowledge Tier 3)**. Adds four industry-specific design-pattern reference packs and wires **domain detection** into the pipeline - closing the industry-lens gap (GDD shipped 18 generic design systems + foundational Tier-2, but no domain-specific patterns). Finance and healthcare especially carry regulatory constraints (PCI-DSS, MiFID II, HIPAA, Section 508) that bleed into UI. **No new pillar, no breaking scoring change, no new runtime dependency, no new egress** - pure reference markdown + agent-prompt edits; detection is keyword/dep matching done by the agent.
|
|
432
474
|
|
|
433
475
|
### Added
|
|
434
476
|
|
|
435
|
-
- **`reference/domains/finance-patterns.md`**
|
|
436
|
-
- **`reference/domains/healthcare-patterns.md`**
|
|
437
|
-
- **`reference/domains/gaming-patterns.md`**
|
|
438
|
-
- **`reference/domains/civic-patterns.md`**
|
|
439
|
-
- **`agents/design-context-builder.md`**
|
|
440
|
-
- **`agents/design-auditor.md`**
|
|
477
|
+
- **`reference/domains/finance-patterns.md`** - data-table density (tabular-nums, right-aligned numerics), trading-interface conventions (gain/loss never color-alone), regulatory disclosure placement (Reg-T, MiFID II cost & charges), PCI-DSS PAN masking, number-formatting precision, real-time data states.
|
|
478
|
+
- **`reference/domains/healthcare-patterns.md`** - HIPAA-aware PHI isolation (no PHI in URLs/logs/analytics), idle auto-logout, audit-trail-as-UI, MyChart-class flows, WCAG 2.1 AAA, medical-data visualization. Surfaces risk; does **not** certify compliance.
|
|
479
|
+
- **`reference/domains/gaming-patterns.md`** - HUD/diegetic UI taxonomy, vestibular + photosensitive safety (≤3 flashes/sec, reduced-motion + in-game toggles), ESRB/PEGI age-gates, input-model adaptation (controller/touch/KBM), TV-safe area.
|
|
480
|
+
- **`reference/domains/civic-patterns.md`** - Section 508 + WCAG 2.1 AA hard floor, multi-language gov forms (EN/ES/zh-Hans), Plain Writing Act (grade 6-8), USWDS, session-timeout warnings, one-thing-per-page forms.
|
|
481
|
+
- **`agents/design-context-builder.md`** - new **Step 0F (Domain Detection)**: a dispatcher table (keywords + `package.json` deps → pack) + the confidence rule (≥2 signals or any dep match → auto-apply; 1 weak keyword → suggest; none → skip) + a `<domain>` line in DESIGN-CONTEXT.md. Orthogonal to project-type.
|
|
482
|
+
- **`agents/design-auditor.md`** - **domain checklist addendum**: when a `<domain>` is active, also run that pack's `## Audit checklist` and fold findings into the relevant pillar (additive - never replaces the 7-pillar scoring).
|
|
441
483
|
- All four packs **registered** in `reference/registry.json` (`type: heuristic`, `phase: 36.1`); 145 → 149 entries.
|
|
442
484
|
|
|
443
485
|
### Notes
|
|
444
486
|
|
|
445
|
-
- **No new runtime dependency, no new egress.** Detection is the agent matching a small embedded signal table
|
|
487
|
+
- **No new runtime dependency, no new egress.** Detection is the agent matching a small embedded signal table - no code, no network.
|
|
446
488
|
- 6-manifest lockstep at **v1.36.1** + `OFF_CADENCE_VERSIONS.add('1.36.1')` + the 23 live-pinned `manifests-version.txt` baselines forward-propagated 1.35.5 → 1.36.1 (opens the v1.36.x arc).
|
|
447
489
|
- The 31.5 tarball golden was regenerated as a reviewed delta: **+4** (the four domain packs), zero removals (661 → 665).
|
|
448
490
|
|
|
@@ -450,20 +492,20 @@ First sub-phase of the split **Phase 36 (Knowledge Tier 3)**. Adds four industry
|
|
|
450
492
|
|
|
451
493
|
## [1.35.5] - 2026-06-01
|
|
452
494
|
|
|
453
|
-
### Phase 35.5
|
|
495
|
+
### Phase 35.5 - Design-Artifact Export (`/gdd:export`)
|
|
454
496
|
|
|
455
|
-
Closes the gap that a completed cycle's design output (`EXPERIENCE.md`, `DESIGN.md`, `DESIGN-VERIFICATION.md`, the decision log, screenshots) lives only in the repo
|
|
497
|
+
Closes the gap that a completed cycle's design output (`EXPERIENCE.md`, `DESIGN.md`, `DESIGN-VERIFICATION.md`, the decision log, screenshots) lives only in the repo - stakeholders not in code can't consume it. `/gdd:export <cycle> --format html|pdf|notion` packages it into a shareable artifact. **No new runtime dependency** (D-02): `build-html.cjs` is a pure, dep-free assembler; the PDF format is the same HTML plus Paged.js-compatible `@page` print CSS that the user renders (GDD ships **no** PDF runtime); Notion is written via the Notion MCP. Every artifact is **redacted** (mandatory `scripts/lib/redact.cjs`); `--pseudonymize` masks git identity / paths / hostname for external sharing; `--pr` posts the HTML preview as a PR comment via `pr-commenter`.
|
|
456
498
|
|
|
457
499
|
### Added
|
|
458
500
|
|
|
459
|
-
- **`scripts/lib/export/build-html.cjs`**
|
|
460
|
-
- **`skills/export/SKILL.md`** (`/gdd:export`)
|
|
461
|
-
- **`connections/notion.md`**
|
|
462
|
-
- **`reference/export-formats.md`**
|
|
501
|
+
- **`scripts/lib/export/build-html.cjs`** - a pure, dependency-free self-contained HTML assembler: inline `<style>`, base64-embedded screenshots, **zero external resource references**, a minimal deterministic markdown→HTML subset. `print: true` adds the Paged.js `@page` print CSS for the PDF format. Same input → byte-identical output.
|
|
502
|
+
- **`skills/export/SKILL.md`** (`/gdd:export`) - resolves the cycle, reads the design source set, redacts always (+ pseudonymizes on `--pseudonymize`), renders html/pdf via `build-html` or a Notion page via the MCP, and hands the HTML to `pr-commenter` on `--pr`.
|
|
503
|
+
- **`connections/notion.md`** - Notion MCP write-path (`mcp__notion__*`, ToolSearch probe, redact, `GDD_DISABLE_NOTION` kill-switch, degrade-to-HTML). Onboarded 18 → 19 - **export-only** (not a pipeline stage; no capability-matrix column).
|
|
504
|
+
- **`reference/export-formats.md`** - the `/gdd:export` contract (source set, the three formats, redact + `--pseudonymize`, the `--pr` hand-off, the self-contained guarantee); registered in `reference/registry.json`.
|
|
463
505
|
|
|
464
506
|
### Notes
|
|
465
507
|
|
|
466
|
-
- **No new runtime dependency** (D-02) and **no new egress** (`scan:outbound` unchanged
|
|
508
|
+
- **No new runtime dependency** (D-02) and **no new egress** (`scan:outbound` unchanged - Notion is written via MCP tools, not raw HTTP).
|
|
467
509
|
- 6-manifest lockstep at **v1.35.5** + `OFF_CADENCE_VERSIONS.add('1.35.5')` + the 22 live-pinned `manifests-version.txt` baselines forward-propagated 1.35.3 → 1.35.5 (1.35.4 not used).
|
|
468
510
|
- The 31.5 tarball golden was regenerated as a reviewed delta: **+4** (`scripts/lib/export/build-html.cjs`, `skills/export/SKILL.md`, `connections/notion.md`, `reference/export-formats.md`), zero removals (657 → 661).
|
|
469
511
|
|
|
@@ -471,39 +513,39 @@ Closes the gap that a completed cycle's design output (`EXPERIENCE.md`, `DESIGN.
|
|
|
471
513
|
|
|
472
514
|
## [1.35.3] - 2026-06-01
|
|
473
515
|
|
|
474
|
-
### Phase 35.3
|
|
516
|
+
### Phase 35.3 - Team Surfaces: Ticket Sync (Linear + Jira) - completes Phase 35
|
|
475
517
|
|
|
476
|
-
Third and **FINAL** sub-phase of the split **Phase 35 (Team Surfaces Layer)**
|
|
518
|
+
Third and **FINAL** sub-phase of the split **Phase 35 (Team Surfaces Layer)** - completing it marks the **parent Phase 35 COMPLETE** (PR-inline 35.1 + Notification 35.2 + Ticket-sync 35.3 all shipped). Wires GDD ↔ Linear/Jira bidirectionally: it reads a linked ticket's comments as cycle context (via the decision-injector) and, on cycle completion, transitions the ticket + posts a redacted summary. **MCP-based** (`mcp__linear__*` / `mcp__atlassian__*`) - no bundled SDK, no new outbound egress. Every outbound body is redacted; per-system kill-switches + degrade-to-noop guarantee ticket-sync never gates the cycle.
|
|
477
519
|
|
|
478
520
|
### Added
|
|
479
521
|
|
|
480
|
-
- **`connections/linear.md` + `connections/jira.md`**
|
|
481
|
-
- **`agents/ticket-sync-agent.md`**
|
|
482
|
-
- **`reference/ticket-sync.md`**
|
|
483
|
-
- **`connections/connections.md`**
|
|
522
|
+
- **`connections/linear.md` + `connections/jira.md`** - MCP-based bidirectional ticket-sync connections (Linear MCP / Atlassian MCP; ToolSearch probe, redact + kill-switch + degrade-to-noop). Onboarded 16 → 18.
|
|
523
|
+
- **`agents/ticket-sync-agent.md`** - reads linked-ticket comments on `.design/**.md` open (decision-injector), maintains the STATE `<ticket_links>` block, and on cycle completion transitions the ticket + posts a **redacted** summary via the MCP tools. `size_budget: M`, `## Record`; tracker-wins conflict resolution.
|
|
524
|
+
- **`reference/ticket-sync.md`** - the `<ticket_links>` schema + read/write flow + the default status-transition map + redact + kill-switch contract; registered in `reference/registry.json`.
|
|
525
|
+
- **`connections/connections.md`** - a **ticket-sync** capability-matrix column + Linear/Jira rows + ToolSearch probes.
|
|
484
526
|
|
|
485
527
|
### Notes
|
|
486
528
|
|
|
487
|
-
- **No new runtime dependency** (MCP tools, no Linear/Jira SDK) and **no new egress** (`scan:outbound` unchanged
|
|
529
|
+
- **No new runtime dependency** (MCP tools, no Linear/Jira SDK) and **no new egress** (`scan:outbound` unchanged - GDD calls MCP tools, not raw HTTP). Per-system kill-switch `GDD_DISABLE_LINEAR` / `GDD_DISABLE_JIRA`.
|
|
488
530
|
- 6-manifest lockstep at **v1.35.3** + `OFF_CADENCE_VERSIONS.add('1.35.3')` + the 21 live-pinned `manifests-version.txt` baselines forward-propagated 1.35.2 → 1.35.3.
|
|
489
531
|
- The 31.5 tarball golden was regenerated as a reviewed delta: **+4** (`connections/linear.md`, `connections/jira.md`, `agents/ticket-sync-agent.md`, `reference/ticket-sync.md`), zero removals.
|
|
490
|
-
- **This completes the parent Phase 35 (Team Surfaces Layer)
|
|
532
|
+
- **This completes the parent Phase 35 (Team Surfaces Layer) - PR inline + notifications + ticket sync.**
|
|
491
533
|
|
|
492
534
|
---
|
|
493
535
|
|
|
494
536
|
## [1.35.2] - 2026-06-01
|
|
495
537
|
|
|
496
|
-
### Phase 35.2
|
|
538
|
+
### Phase 35.2 - Team Surfaces: Notification Backplane (Slack + Discord)
|
|
497
539
|
|
|
498
|
-
Second sub-phase of the split **Phase 35**. Routes GDD pipeline events (verify-fail, audit-pass, ship) to **Slack + Discord** via incoming webhooks, so a non-GDD-running teammate is alerted in the channel they watch. **No new runtime dependency**
|
|
540
|
+
Second sub-phase of the split **Phase 35**. Routes GDD pipeline events (verify-fail, audit-pass, ship) to **Slack + Discord** via incoming webhooks, so a non-GDD-running teammate is alerted in the channel they watch. **No new runtime dependency** - the dispatcher POSTs via an injectable `fetchImpl` (default global `fetch`; no `@slack/*` / `discord.js` SDK). Every outbound body is **redacted** at a single chokepoint; per-channel kill-switches + degrade-to-noop guarantee notification delivery never blocks the pipeline. A decimal on the v1.35.x arc. The parent Phase 35 stays open (35.3 Ticket Sync remains).
|
|
499
541
|
|
|
500
542
|
### Added
|
|
501
543
|
|
|
502
|
-
- **`connections/slack.md` + `connections/discord.md`**
|
|
503
|
-
- **`scripts/lib/notify/dispatch.cjs`**
|
|
504
|
-
- **`reference/notification-routing.md`**
|
|
505
|
-
- **`connections/connections.md`**
|
|
506
|
-
- **Privacy guard**
|
|
544
|
+
- **`connections/slack.md` + `connections/discord.md`** - incoming-webhook notification specs (`SLACK_WEBHOOK_URL` / `DISCORD_WEBHOOK_URL` env; env-presence probe; redact + kill-switch + degrade-to-noop).
|
|
545
|
+
- **`scripts/lib/notify/dispatch.cjs`** - `dispatch(event, {fetchImpl, config, env})`: resolves event→channel routing, builds the **redacted** payload (single chokepoint), honors per-channel kill-switches, POSTs via an **injectable fetchImpl** (no Slack/Discord SDK), and **degrades-to-noop** (missing URL / disabled / error never throws). Allowlisted under the Phase-33.5 outbound gate (`scripts/lib/notify/**`); `scan:outbound` 0 findings.
|
|
546
|
+
- **`reference/notification-routing.md`** - event→channel routing contract + the redact chokepoint + kill-switches; registered in `reference/registry.json`.
|
|
547
|
+
- **`connections/connections.md`** - a **notify** capability-matrix column + Slack/Discord rows + env-based probes; onboarded 14 → 16.
|
|
548
|
+
- **Privacy guard** - `test/suite/notify-privacy-guard.test.cjs` asserts no `scripts/lib/notify/*.cjs` builds an outbound body without `redact` (SC#5).
|
|
507
549
|
|
|
508
550
|
### Notes
|
|
509
551
|
|
|
@@ -515,20 +557,20 @@ Second sub-phase of the split **Phase 35**. Routes GDD pipeline events (verify-f
|
|
|
515
557
|
|
|
516
558
|
## [1.35.1] - 2026-06-01
|
|
517
559
|
|
|
518
|
-
### Phase 35.1
|
|
560
|
+
### Phase 35.1 - Team Surfaces: PR Inline Integration
|
|
519
561
|
|
|
520
|
-
First sub-phase of the split **Phase 35 (Team Surfaces Layer)**. Makes GDD's verify/audit output visible **inline on the pull request**
|
|
562
|
+
First sub-phase of the split **Phase 35 (Team Surfaces Layer)**. Makes GDD's verify/audit output visible **inline on the pull request** - the surface a non-GDD-running teammate actually watches. After `/gdd:ship` creates the PR, the new `pr-commenter` agent posts inline review comments on changed lines, attaches Preview/Chromatic before-after screenshot pairs, and registers a `gdd/design-review` status check (audit pillar scores + verify pass/fail + a11y). **No new runtime dependency** - `gh` is the outbound channel (the `/gdd:ship` + `/gdd:report-issue` precedent); every outbound body is redacted; a `GDD_DISABLE_PR_COMMENTER` kill-switch + degrade-to-noop guarantee the agent never fails the ship. Opens the v1.35.x arc (CHANGELOG-only decimal). The parent Phase 35 stays open (35.2 Notification Backplane + 35.3 Ticket Sync remain).
|
|
521
563
|
|
|
522
564
|
### Added
|
|
523
565
|
|
|
524
566
|
- **`agents/pr-commenter.md` (inline PR review + status check, D-02/D-03).** A single-shot post-ship agent: posts inline review comments via `gh api .../pulls/{n}/comments` (selector-specific WCAG/verify findings on changed lines), attaches Preview (Phase 8) / Chromatic (Phase 25) before-after screenshot pairs when present, and registers the `gdd/design-review` check-run via `gh api .../check-runs` carrying audit pillar scores + verify pass/fail + a11y result. `size_budget: M`, `## Record`.
|
|
525
|
-
- **`reference/pr-review-integration.md` (the gh contract, registered).** The authoritative `gh`-CLI shapes the agent posts against
|
|
526
|
-
- **`/gdd:ship` wiring (D-06).** `skills/ship/SKILL.md` Step 6.5 spawns `pr-commenter` (via `Task`) after `gh pr create`
|
|
567
|
+
- **`reference/pr-review-integration.md` (the gh contract, registered).** The authoritative `gh`-CLI shapes the agent posts against - inline-comment payload, summary review, the `gdd/design-review` check-run, screenshot-pair attachment, mandatory `redact.cjs`, the kill-switch, and the consent-driven branch-protection setup (`scripts/apply-branch-protection.sh`; GDD registers the check, never force-edits protection). Registered in `reference/registry.json`.
|
|
568
|
+
- **`/gdd:ship` wiring (D-06).** `skills/ship/SKILL.md` Step 6.5 spawns `pr-commenter` (via `Task`) after `gh pr create` - degrade-to-noop, never blocks the ship success path.
|
|
527
569
|
- **Regression baseline.** `test/fixtures/baselines/phase-35-1/` + `test/suite/phase-35-1-baseline.test.cjs` (version-agnostic); plus structural + ship-wiring tests (`pr-commenter-static`, `ship-pr-commenter-wiring`).
|
|
528
570
|
|
|
529
571
|
### Notes
|
|
530
572
|
|
|
531
|
-
- **No new runtime dependency**
|
|
573
|
+
- **No new runtime dependency** - `gh` only (no `@octokit`/GitHub SDK); every outbound body routes through `scripts/lib/redact.cjs`; per-surface kill-switch `GDD_DISABLE_PR_COMMENTER` mirrors Phase 30.
|
|
532
574
|
- The 31.5 tarball golden was regenerated as a reviewed delta: **+2** (`agents/pr-commenter.md`, `reference/pr-review-integration.md`), zero removals.
|
|
533
575
|
- 6-manifest lockstep at **v1.35.1**. Version-sync hygiene upfront (D-09): `OFF_CADENCE_VERSIONS.add('1.35.1')` + the 19 live-pinned `manifests-version.txt` baselines forward-propagated 1.34.4 → 1.35.1.
|
|
534
576
|
|
|
@@ -536,20 +578,20 @@ First sub-phase of the split **Phase 35 (Team Surfaces Layer)**. Makes GDD's ver
|
|
|
536
578
|
|
|
537
579
|
## [1.34.4] - 2026-06-01
|
|
538
580
|
|
|
539
|
-
### Phase 34.4
|
|
581
|
+
### Phase 34.4 - Lazyweb + Mobbin Research Connections (recovered)
|
|
540
582
|
|
|
541
|
-
Adds **two visual-reference MCP connections** to the discover stage
|
|
583
|
+
Adds **two visual-reference MCP connections** to the discover stage - **Lazyweb** (free) and **Mobbin** (paid) - modeled on the existing Refero/Pinterest connection contract. Purely additive: no new pipeline stage, no new artifact, no new audit pillar; **no new runtime dependency** (both are optional user-installed MCPs, documented in their spec, never pre-declared in the plugin manifest - the Refero precedent). Recovered from a stranded Phase 30.5 fork (authored 2026-05-04 → expanded 2026-05-16) that never reached the canonical roadmap because `.planning/` is gitignored and a parallel session reused the 30.5 slot. A decimal release on the v1.34.x arc (CHANGELOG-only, D-02).
|
|
542
584
|
|
|
543
585
|
### Added
|
|
544
586
|
|
|
545
|
-
- **`connections/lazyweb.md`
|
|
546
|
-
- **`connections/mobbin.md`
|
|
547
|
-
- **Cost-aware discover tier order (D-01).** Reference sources now resolve **Lazyweb (free, tried first) → Mobbin / Refero (paid, whichever is bound + subscribed) → Pinterest → awesome-design-md → WebFetch**
|
|
587
|
+
- **`connections/lazyweb.md` - free reference MCP (discover Tier 1, D-01).** Free bearer-token Streamable-HTTP MCP at `https://www.lazyweb.com/mcp` (`lazyweb_search` + `lazyweb_health`); 250k+ real app screens for pricing pages, onboarding flows, redesign comparisons, UI benchmarking. Copy-command setup (token at `~/.lazyweb/lazyweb_mcp_token`, then `claude plugin install lazyweb@lazyweb`) - **no auto-run** (the token write is a user-consent step). ToolSearch-only probe.
|
|
588
|
+
- **`connections/mobbin.md` - curated mobile/flow reference MCP (discover Tier 2, D-01).** HTTP MCP at `https://api.mobbin.com/mcp` (`claude mcp add mobbin --transport http https://api.mobbin.com/mcp`, auto-run-safe - OAuth on first call, requires an active Mobbin subscription); 600k+ screens / 130k+ flows for mobile + flow-level references. ToolSearch-only probe.
|
|
589
|
+
- **Cost-aware discover tier order (D-01).** Reference sources now resolve **Lazyweb (free, tried first) → Mobbin / Refero (paid, whichever is bound + subscribed) → Pinterest → awesome-design-md → WebFetch** - try the zero-cost source before any paid one. Wired through `connections/connections.md` (table + Capability Matrix + probe pattern, onboarded 12 → 14), `skills/discover/discover-procedure.md` (probes D/E), `skills/connections/` (`/gdd:connections` wizard + onboarding reference), and `agents/design-context-builder.md` (Area 5 rewrite + `tools` frontmatter).
|
|
548
590
|
- **Regression baseline.** `test/fixtures/baselines/phase-34-4/` (onboarded-connections snapshot + `manifests-version.txt`=1.34.4) pinned by `test/suite/phase-34-4-baseline.test.cjs`.
|
|
549
591
|
|
|
550
592
|
### Notes
|
|
551
593
|
|
|
552
|
-
- **No new runtime dependency**
|
|
594
|
+
- **No new runtime dependency** - both connections are optional user-installed MCPs (Refero precedent); neither is declared in `.claude-plugin/plugin.json`. Discover-stage only - no scan/plan/design/verify integration.
|
|
553
595
|
- The 31.5 tarball golden (`test/fixtures/baselines/phase-31-5/tarball-manifest.txt`) was regenerated as a reviewed delta: **+2** newly-shipped files (`connections/lazyweb.md`, `connections/mobbin.md`), zero removals. Tests are not shipped.
|
|
554
596
|
- 6-manifest lockstep at **v1.34.4** (`package.json` + `package-lock.json` (root + `packages.""`) + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` (metadata.version + plugins[0].version) + `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json`). Version-sync hygiene upfront (D-09): `OFF_CADENCE_VERSIONS.add('1.34.4')` + the 18 live-pinned `manifests-version.txt` baselines forward-propagated 1.34.3 → 1.34.4.
|
|
555
597
|
- **Provenance:** recovered from the `thirsty-curran` worktree's stranded `.planning` fork during a roadmap-reconciliation audit; the contiguity renumber (Phase 36→35 …, 2026-06-01) is unrelated and concurrent.
|
|
@@ -558,63 +600,63 @@ Adds **two visual-reference MCP connections** to the discover stage — **Lazywe
|
|
|
558
600
|
|
|
559
601
|
## [1.34.3] - 2026-05-31
|
|
560
602
|
|
|
561
|
-
### Phase 34.3
|
|
603
|
+
### Phase 34.3 - Non-Web Output Layer: Print/PDF
|
|
562
604
|
|
|
563
|
-
Third and **FINAL** sub-phase of the split Phase 34 (Non-Web Output Layer)
|
|
605
|
+
Third and **FINAL** sub-phase of the split Phase 34 (Non-Web Output Layer) - **completing it completes the parent Phase 34** (native 34.1 + email 34.2 + print 34.3 all shipped). Adds **print/PDF output** - a dedicated executor that generates print-ready HTML/CSS honoring the real production constraints (`@page` box model, bleed + crop marks, CMYK color-space awareness, font embedding, 300dpi raster fallback) that screen-RGB web HTML ignores - behind the same project-type detector that routes native (34.1) and email (34.2). Print generation is **opt-in via project-type detection - web remains the default**. A decimal release on the v1.34.x arc (CHANGELOG-only, D-01); **no new runtime dependency** - the executor generates the print HTML/CSS as an agent-prompt and the plugin checks it with a deterministic static validator, no `pdfkit`/`paged`/`puppeteer`/`playwright` runtime (D-02/D-10). Print is the final Phase-34 output type - the project-type seam is now **closed**. 4 plans across Waves A–C.
|
|
564
606
|
|
|
565
607
|
### Added
|
|
566
608
|
|
|
567
|
-
- **Print-constraint catalogue + static validator (no `pdfkit`/`paged` dependency, D-02/D-03).** `reference/print-design.md`
|
|
568
|
-
- **`pdf-executor` agent (Paged.js-compatible HTML/CSS + PDFKit fallback, D-02/D-04).** `agents/pdf-executor.md`
|
|
569
|
-
- **`print-renderer` connection (optional render-test, degrade-to-static-validator, D-03).** `connections/print-renderer.md`
|
|
570
|
-
- **`design-context-builder` `print` project-type route (seam CLOSED) + `design-verifier` consolidated non-web verify (D-06/D-07).** The context-builder appends the `print` enum + the `pdf-executor` route at the 34.1/34.2 seam and **closes the seam**
|
|
571
|
-
- **Regression baseline.** `test/fixtures/baselines/phase-34-3/` freezes the print surface
|
|
609
|
+
- **Print-constraint catalogue + static validator (no `pdfkit`/`paged` dependency, D-02/D-03).** `reference/print-design.md` - the authoritative print-constraint catalogue (`@page` size/margin/marks - the print box model, bleed box + crop/registration marks, CMYK color-space awareness, font embedding/outlining, 300dpi raster fallback, and the on-press guidance the render-test verifies), registered in `reference/registry.json`. `scripts/lib/print/validate-print-css.cjs` - a pure, deterministic static checker (zero `require`, no fs/network/pdfkit/paged) that flags the statically-verifiable subset: `PR-PAGE-01` (an `@page` rule present), `PR-BLEED-01` (a bleed box / crop-marks signal), `PR-CMYK-01` (a CMYK-awareness signal), `PR-FONT-01` (a font-embed signal), `PR-DPI-01` (a 300dpi raster-fallback signal) - returning `{ ok, violations:[{ rule, detail }] }`.
|
|
610
|
+
- **`pdf-executor` agent (Paged.js-compatible HTML/CSS + PDFKit fallback, D-02/D-04).** `agents/pdf-executor.md` - generates **print-ready output per task**: Paged.js-compatible print HTML/CSS (`@page` size/margin/marks, bleed, CMYK-aware color notes, font embedding, 300dpi raster fallback) against the `reference/print-design.md` catalogue, with PDFKit-fallback notes for Chrome-less runtimes, run through the static validator as its own self-check. It is an agent-prompt (like `design-executor`/`email-executor`), **not** a compiler - no running headless Chrome, no PDFKit, no network is required to produce the print HTML/CSS. Carries a `## Record` section from the start (the record-contract lesson) and an honest `size_budget`.
|
|
611
|
+
- **`print-renderer` connection (optional render-test, degrade-to-static-validator, D-03).** `connections/print-renderer.md` - Paged.js-via-headless-Chrome (or PDFKit on Chrome-less runtimes) rendered PDF/page evidence for the verify stage when present, mirroring `connections/preview.md`. **Never hard-required**: when absent the verify stage degrades to the static print-CSS validator / code-only structural audit. Added to the `connections/connections.md` index + Capability Matrix in this closeout.
|
|
612
|
+
- **`design-context-builder` `print` project-type route (seam CLOSED) + `design-verifier` consolidated non-web verify (D-06/D-07).** The context-builder appends the `print` enum + the `pdf-executor` route at the 34.1/34.2 seam and **closes the seam** - print is the final Phase-34 output type. The verifier gains the print-verify branch by **consolidating** the native + email + print non-web verify branches into ONE delegated "Non-Web Verify" section (routing by `<project_type>` to native-platforms.md / email-design.md / print-design.md + the matching validator) - a net line-reduction that keeps the verifier within its ≤700-line budget.
|
|
613
|
+
- **Regression baseline.** `test/fixtures/baselines/phase-34-3/` freezes the print surface - a valid print fixture (`print-good.css`), a validator golden (`validator-golden.json`, the recorded `validatePrintCss` output for a passing + a failing fixture, proving the rule-output shape is frozen), and `manifests-version.txt`=1.34.3 - pinned by `test/suite/phase-34-3-baseline.test.cjs` so a future change cannot silently break the validator or its verdict shape.
|
|
572
614
|
|
|
573
615
|
### Notes
|
|
574
616
|
|
|
575
617
|
- All Phase 34.3 tests are hermetic (D-10): the static print-CSS validator is a pure string→verdict function (fixture CSS → constraint checks, no network/headless-Chrome/PDFKit), the pdf-executor is validated **structurally** (frontmatter + catalogue reference + validator reference + presence), and the default `npm test` invokes **no** headless Chrome / PDFKit and pulls in **no** `pdfkit`/`paged`/`puppeteer`/`playwright` runtime. Rendered PDF/page verification is the opt-in degraded-mode path (D-03).
|
|
576
618
|
- The 31.5 tarball golden (`test/fixtures/baselines/phase-31-5/tarball-manifest.txt`) was regenerated as a reviewed delta: **+4** newly-shipped files (`agents/pdf-executor.md`, `connections/print-renderer.md`, `reference/print-design.md`, `scripts/lib/print/validate-print-css.cjs`), zero removals. Tests are not shipped.
|
|
577
|
-
- 6-manifest lockstep at **v1.34.3** (`package.json` + `package-lock.json` (root + `packages.""`) + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` (metadata.version + plugins[0].version) + `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json`); marketplace `plugins[0].keywords` + plugin keywords gain `print`/`pdf`. Version-sync hygiene done upfront (D-09): `OFF_CADENCE_VERSIONS.add('1.34.3')` + the 17 live-pinned `manifests-version.txt` baselines forward-propagated 1.34.2 → 1.34.3 (phase-34-2, the prior closeout's own baseline, joined the set). **This completes the parent Phase 34 (Non-Web Output Layer
|
|
619
|
+
- 6-manifest lockstep at **v1.34.3** (`package.json` + `package-lock.json` (root + `packages.""`) + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` (metadata.version + plugins[0].version) + `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json`); marketplace `plugins[0].keywords` + plugin keywords gain `print`/`pdf`. Version-sync hygiene done upfront (D-09): `OFF_CADENCE_VERSIONS.add('1.34.3')` + the 17 live-pinned `manifests-version.txt` baselines forward-propagated 1.34.2 → 1.34.3 (phase-34-2, the prior closeout's own baseline, joined the set). **This completes the parent Phase 34 (Non-Web Output Layer - native + email + print).**
|
|
578
620
|
|
|
579
621
|
---
|
|
580
622
|
|
|
581
623
|
## [1.34.2] - 2026-05-31
|
|
582
624
|
|
|
583
|
-
### Phase 34.2
|
|
625
|
+
### Phase 34.2 - Non-Web Output Layer: Email
|
|
584
626
|
|
|
585
|
-
Second sub-phase of the split Phase 34 (Non-Web Output Layer). Adds **email-template output**
|
|
627
|
+
Second sub-phase of the split Phase 34 (Non-Web Output Layer). Adds **email-template output** - a dedicated executor that generates email honoring the real client constraints (table-based layout, inline styles, MSO conditional comments for Outlook's Word engine, dark-mode `color-scheme` handling, and the top-20-client quirks) that modern web HTML/CSS breaks on - behind the same project-type detector that routes native (34.1). Email generation is **opt-in via project-type detection - web remains the default**. A decimal release on the v1.34.x arc (CHANGELOG-only, D-01); **no new runtime dependency** - the executor generates the email as an agent-prompt and the plugin checks it with a deterministic static validator, no `mjml` runtime (D-02/D-10). Native (Phase 34.1) shipped; Print/PDF (Phase 34.3) is the next sub-phase, out of 34.2 (D-07). 4 plans across Waves A–C.
|
|
586
628
|
|
|
587
629
|
### Added
|
|
588
630
|
|
|
589
|
-
- **Email-constraint catalogue + static validator (no `mjml` dependency, D-02/D-03).** `reference/email-design.md`
|
|
590
|
-
- **`email-executor` agent (MJML canonical + derived HTML, D-02/D-04).** `agents/email-executor.md`
|
|
591
|
-
- **`litmus` connection (optional render-test, degrade-to-static-validator, D-03).** `connections/litmus.md`
|
|
631
|
+
- **Email-constraint catalogue + static validator (no `mjml` dependency, D-02/D-03).** `reference/email-design.md` - the authoritative email-constraint catalogue (~30 catalogued constraints: table-based layout, inline styles, MSO conditional comments, dark-mode `color-scheme`, ~600px width, image/alt rules, and the top-20-client quirks), registered in `reference/registry.json`. `scripts/lib/email/validate-email-html.cjs` - a pure, deterministic static checker (zero `require`, no fs/network/mjml) that flags the statically-verifiable subset: `EM-LAYOUT-01` (no flexbox/grid/`position`), `EM-STYLE-01` (no `<style>` as the primary styling mechanism; a small `@media`-only block is tolerated), `EM-MSO-01` (an MSO conditional comment in a full email), `EM-DARK-01` (a `color-scheme` signal present) - returning `{ ok, violations:[{ rule, detail }] }`.
|
|
632
|
+
- **`email-executor` agent (MJML canonical + derived HTML, D-02/D-04).** `agents/email-executor.md` - generates **one email template per task**: an MJML source (the canonical artifact) plus the equivalent derived HTML, generated against the `reference/email-design.md` catalogue and run through the static validator as its own self-check. It is an agent-prompt (like `design-executor`/`flutter-executor`), **not** a compiler - no running `mjml`, no Litmus account, no network is required to produce the email. Carries a `## Record` section from the start (the record-contract lesson) and an honest `size_budget`.
|
|
633
|
+
- **`litmus` connection (optional render-test, degrade-to-static-validator, D-03).** `connections/litmus.md` - cross-client rendered screenshots (Email-on-Acid is the documented alternative) for the verify stage when present, mirroring `connections/chromatic.md`. **Never hard-required**: when absent the verify stage degrades to the static email-HTML validator / code-only structural audit. Added to the `connections/connections.md` index + Capability Matrix in this closeout.
|
|
592
634
|
- **`design-context-builder` `email` project-type route + `design-verifier` email-verify branch (delegated, D-06/D-09).** The context-builder appends the `email` enum + the `email-executor` route at the 34.1 seam (the seam is left open for 34.3/print). The verifier gains an email-verify branch by **delegation** to `reference/email-design.md` (the verifier stayed within its ≤700-line budget).
|
|
593
|
-
- **Regression baseline.** `test/fixtures/baselines/phase-34-2/` freezes the email surface
|
|
635
|
+
- **Regression baseline.** `test/fixtures/baselines/phase-34-2/` freezes the email surface - a valid email fixture (`email-good.html`), a validator golden (`validator-golden.json`, the recorded `validateEmailHtml` output for a passing + a failing fixture, proving the rule-output shape is frozen), and `manifests-version.txt`=1.34.2 - pinned by `test/suite/phase-34-2-baseline.test.cjs` so a future change cannot silently break the validator or its verdict shape.
|
|
594
636
|
|
|
595
637
|
### Notes
|
|
596
638
|
|
|
597
639
|
- All Phase 34.2 tests are hermetic (D-10): the static email-HTML validator is a pure string→verdict function (fixture HTML → constraint checks, no network/mjml), the email-executor is validated **structurally** (frontmatter + catalogue reference + validator reference + presence), and the default `npm test` invokes **no** Litmus/Email-on-Acid and pulls in **no** `mjml` runtime. Rendered cross-client verification is the opt-in degraded-mode path (D-03).
|
|
598
|
-
- The 31.5 tarball golden (`test/fixtures/baselines/phase-31-5/tarball-manifest.txt`) was regenerated as a reviewed delta: **+2** newly-shipped files (`agents/email-executor.md`, `connections/litmus.md`), zero removals (641 paths). The other two new email files (`reference/email-design.md`, `scripts/lib/email/validate-email-html.cjs`) were already in the golden from their Wave-A (34.2-01) commit
|
|
640
|
+
- The 31.5 tarball golden (`test/fixtures/baselines/phase-31-5/tarball-manifest.txt`) was regenerated as a reviewed delta: **+2** newly-shipped files (`agents/email-executor.md`, `connections/litmus.md`), zero removals (641 paths). The other two new email files (`reference/email-design.md`, `scripts/lib/email/validate-email-html.cjs`) were already in the golden from their Wave-A (34.2-01) commit - so the four new shipped files net to a +2 line-delta on the golden.
|
|
599
641
|
- 6-manifest lockstep at **v1.34.2** (`package.json` + `package-lock.json` (root + `packages.""`) + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` (metadata.version + plugins[0].version) + `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json`); marketplace `plugins[0].keywords` + plugin keywords gain `email`. Version-sync hygiene done upfront (D-08): `OFF_CADENCE_VERSIONS.add('1.34.2')` + the 16 live-pinned `manifests-version.txt` baselines forward-propagated 1.34.1 → 1.34.2 (phase-34-1, the prior closeout's own baseline, joined the set).
|
|
600
642
|
|
|
601
643
|
---
|
|
602
644
|
|
|
603
645
|
## [1.34.1] - 2026-05-31
|
|
604
646
|
|
|
605
|
-
### Phase 34.1
|
|
647
|
+
### Phase 34.1 - Non-Web Output Layer: Native Mobile
|
|
606
648
|
|
|
607
|
-
First sub-phase of the split Phase 34 (Non-Web Output Layer). Crosses GDD past web-only generation into **native mobile**
|
|
649
|
+
First sub-phase of the split Phase 34 (Non-Web Output Layer). Crosses GDD past web-only generation into **native mobile** - SwiftUI, Jetpack Compose, and Flutter - fed by a shared **token-bridge** that maps the canonical CSS-token form (Phase 23) deterministically onto each platform's theme primitives, behind a **project-type detector** that routes the brief to the matching native executor. Phase 19 shipped platform *references* (iOS/Android conventions) but zero generators; 34.1 adds the generators. Native generation is **opt-in via project-type detection - web remains the default**. A decimal release on the v1.34.x arc (CHANGELOG-only, D-01); no new runtime dependency (the emitters extend the existing Phase-23 token engine, D-02). Email (Phase 34.2) and Print/PDF (Phase 34.3) are separate sub-phases, out of 34.1 (D-07). 6 plans across Waves A–C.
|
|
608
650
|
|
|
609
651
|
### Added
|
|
610
652
|
|
|
611
|
-
- **Native token-bridge (extends the Phase-23 token engine, D-02).** `reference/native-platforms.md` (the canonical CSS-token → native-theme bridge spec + the precision contract, registered in `reference/registry.json`) plus three new emitters on the `scripts/lib/design-tokens/` facade
|
|
612
|
-
- **`swift-executor` agent (SwiftUI).** `agents/swift-executor.md`
|
|
613
|
-
- **`compose-executor` agent (Jetpack Compose, Material 3).** `agents/compose-executor.md`
|
|
614
|
-
- **`flutter-executor` agent (multi-target Material 3 + Cupertino).** `agents/flutter-executor.md`
|
|
653
|
+
- **Native token-bridge (extends the Phase-23 token engine, D-02).** `reference/native-platforms.md` (the canonical CSS-token → native-theme bridge spec + the precision contract, registered in `reference/registry.json`) plus three new emitters on the `scripts/lib/design-tokens/` facade - `swift.cjs` / `compose.cjs` / `flutter.cjs` (with a shared `_native-shared.cjs`) - that map a canonical token (`#3B82F6`, `16px`, `Inter`) onto SwiftUI `Color`/`CGFloat`/`Font`, Compose `Color`/`Shapes`/`Typography`/`MaterialTheme`, and Flutter `ThemeData`/`ColorScheme`/`TextTheme`. The bridge is **deterministic and round-trippable**: each emitter has a symmetric re-extractor, and the documented precision contract is colour 8-bit-per-channel exact (`#RGB`→`#RRGGBB`), integer pt/dp (logical-px double for Flutter), and typography string pass-through; non-mappable `var()`/`calc()` values pass through verbatim and are excluded from the identity set. The facade re-exports `emitSwift`/`emitCompose`/`emitFlutter` + `reextractSwift`/`reextractCompose`/`reextractFlutter` (the Phase-23 readers are untouched).
|
|
654
|
+
- **`swift-executor` agent (SwiftUI).** `agents/swift-executor.md` - generates compilable SwiftUI views per `reference/platforms.md` iOS conventions (NavigationStack/TabView, safe areas, gesture reservations, SF Pro Dynamic Type) while consuming the token-bridge (`emitSwift`) for all `Color`/`Font`/`CGFloat`; it never hand-authors hex→Color math.
|
|
655
|
+
- **`compose-executor` agent (Jetpack Compose, Material 3).** `agents/compose-executor.md` - generates Material 3 composables in Kotlin per the Android conventions (edge-to-edge + inset handling, the back-gesture reservation, the Material 3 `sp` type scale), consuming `emitCompose` for the `Color`/`Shapes`/`Typography`/`MaterialTheme` mapping.
|
|
656
|
+
- **`flutter-executor` agent (multi-target Material 3 + Cupertino).** `agents/flutter-executor.md` - the one cross-platform executor: a single Dart codebase that adapts the **theme per target** (Material 3 for web/Android, Cupertino for iOS) from one bridge output (`emitFlutter` → `ThemeData`/`ColorScheme`/`TextTheme`).
|
|
615
657
|
- **`xcode-simulator` + `android-emulator` connections (optional, degrade-to-code-only, D-03).** `connections/xcode-simulator.md` (macOS/`simctl`) and `connections/android-emulator.md` (`adb`/`emulator`) provide *rendered* native evidence for the verify stage when present, mirroring `connections/preview.md`. They are **never hard-required**: when absent the verify stage degrades to a code-only structural audit and the executors still produce compilable code with no simulator. Both are added to the `connections/connections.md` index + Capability Matrix in this closeout.
|
|
616
|
-
- **`design-verifier` native no-DOM branch + `design-context-builder` project-type routing (D-06).** The verifier gains a native verification branch (snapshot-diff when a simulator/emulator + screenshots are available, else code-only structural audit); the context-builder detects `web` (default) / `native-ios` / `native-android` / `flutter` from the brief + `package.json`/`pubspec.yaml`/`*.xcodeproj` presence and routes to the matching executor. The detector is left **extensible**
|
|
617
|
-
- **Regression baseline.** `test/fixtures/baselines/phase-34-1/` freezes the native surface
|
|
658
|
+
- **`design-verifier` native no-DOM branch + `design-context-builder` project-type routing (D-06).** The verifier gains a native verification branch (snapshot-diff when a simulator/emulator + screenshots are available, else code-only structural audit); the context-builder detects `web` (default) / `native-ios` / `native-android` / `flutter` from the brief + `package.json`/`pubspec.yaml`/`*.xcodeproj` presence and routes to the matching executor. The detector is left **extensible** - `email`/`print` enum values are added by 34.2/34.3, not 34.1.
|
|
659
|
+
- **Regression baseline.** `test/fixtures/baselines/phase-34-1/` freezes the native surface - one byte-equal native-theme fixture per platform (`swift`/`compose`/`flutter-theme.txt`, the emitter output over the canonical token map), a token-bridge round-trip snapshot (`token-bridge-roundtrip.json`, the input + per-emitter re-extraction proving identity-within-precision), and `manifests-version.txt`=1.34.1 - pinned by `test/suite/phase-34-1-baseline.test.cjs` so a future change cannot silently break an emitter or the precision contract.
|
|
618
660
|
|
|
619
661
|
### Notes
|
|
620
662
|
|
|
@@ -626,22 +668,22 @@ First sub-phase of the split Phase 34 (Non-Web Output Layer). Crosses GDD past w
|
|
|
626
668
|
|
|
627
669
|
## [1.33.6] - 2026-05-31
|
|
628
670
|
|
|
629
|
-
### Phase 33.6
|
|
671
|
+
### Phase 33.6 - OpenRouter Provider Adapter
|
|
630
672
|
|
|
631
|
-
Adds **OpenRouter** as a tier-resolver provider so users can route any agent's tier (`opus`/`sonnet`/`haiku`) through OpenRouter's aggregator catalog (one API key → Claude/GPT/Llama/Gemini/DeepSeek) **alongside** native provider auth. This introduces the plugin's **first plugin-side outbound REST client**
|
|
673
|
+
Adds **OpenRouter** as a tier-resolver provider so users can route any agent's tier (`opus`/`sonnet`/`haiku`) through OpenRouter's aggregator catalog (one API key → Claude/GPT/Llama/Gemini/DeepSeek) **alongside** native provider auth. This introduces the plugin's **first plugin-side outbound REST client** - it lands under the Phase-33.5 audited outbound baseline (the catalog-fetcher's egress is explicitly allowlisted, the outbound CI gate stays green). A decimal release on the v1.33.x arc (CHANGELOG-only, D-01); no new runtime dependency (Node built-in `fetch` only, D-10). OpenRouter is **opt-in alongside** native auth, never OpenRouter-only (D-08).
|
|
632
674
|
|
|
633
675
|
### Added
|
|
634
676
|
|
|
635
|
-
- **Dynamic OpenRouter catalog fetcher.** `scripts/lib/openrouter/catalog-fetcher.cjs` fetches `https://openrouter.ai/api/v1/models`, maps it into the cache shape, and writes it ATOMICALLY to `.design/cache/openrouter-models.json` (gitignored runtime artifact) with a **24h TTL** skip-if-fresh (D-02, configurable via `.design/config.json#openrouter_catalog_ttl_hours`). The fetch is gated behind an **injectable `fetchImpl`** (default global `fetch`) so the entire default test suite is hermetic
|
|
636
|
-
- **OpenRouter tier-resolver adapter.** `scripts/lib/tier-resolver-openrouter.cjs`
|
|
637
|
-
- **OpenRouter connection + status skill.** `connections/openrouter.md` (the Phase-14 connection spec
|
|
638
|
-
- **Optional `cost.update` provider tag (back-compat).** The `cost.update` event payload gains an OPTIONAL `provider` field, set to `'openrouter'` when the adapter resolved the model; absent otherwise. Additive
|
|
639
|
-
- **OpenRouter price sub-table + catalog-drift watch.** `reference/prices.openrouter.md` (a catalog-derived view; the dynamic catalog stays the source of truth) and an authority-watcher catalog-drift classifier (`diffOpenRouterCatalog`) that surfaces deprecated/withdrawn models matching `openrouter_tier_overrides` (noise-controlled
|
|
640
|
-
- **Regression baseline.** `test/fixtures/baselines/phase-33-6/` freezes the OpenRouter surface
|
|
677
|
+
- **Dynamic OpenRouter catalog fetcher.** `scripts/lib/openrouter/catalog-fetcher.cjs` fetches `https://openrouter.ai/api/v1/models`, maps it into the cache shape, and writes it ATOMICALLY to `.design/cache/openrouter-models.json` (gitignored runtime artifact) with a **24h TTL** skip-if-fresh (D-02, configurable via `.design/config.json#openrouter_catalog_ttl_hours`). The fetch is gated behind an **injectable `fetchImpl`** (default global `fetch`) so the entire default test suite is hermetic - no live network in `npm test` (D-07) - and uses the `sdk/primitives` jittered-backoff + error-classifier + `rate-guard` for bounded transient/rate-limit retry. The `fetch(` egress is allowlisted via `scripts/lib/openrouter/**` in `scripts/security/outbound-allowlist.json`, with a matching egress entry in `reference/gdd-threat-model.md` (D-06). The `OPENROUTER_API_KEY` is sent only as an `Authorization: Bearer` header and is never persisted to the cache.
|
|
678
|
+
- **OpenRouter tier-resolver adapter.** `scripts/lib/tier-resolver-openrouter.cjs` - `resolve(tier) → openrouter-model-id | null` - maps GDD's `opus`/`sonnet`/`haiku` vocabulary (D-04) onto a concrete catalog id via a deterministic closed-vs-open + completion-price heuristic (opus = top closed, sonnet = mid/top-open, haiku = cheap open), with a `.design/config.json#openrouter_tier_overrides` escape hatch that wins verbatim (D-03). Never throws; an absent key / missing cache / unknown tier degrades to `null` so the caller falls back to the native provider via the existing Phase-26 tier-resolver chain (graceful-degrade - D-08). `reference/openrouter-tier-mapping.md` documents the heuristic and is registered in `reference/registry.json` in the same plan that created it (D-11).
|
|
679
|
+
- **OpenRouter connection + status skill.** `connections/openrouter.md` (the Phase-14 connection spec - Setup / Probe Pattern / Tools / Pipeline Integration / Fallback Behavior) and the `/gdd:openrouter-status` skill (`skills/openrouter-status/SKILL.md`) report catalog freshness, the resolved tier→model mapping, and override state.
|
|
680
|
+
- **Optional `cost.update` provider tag (back-compat).** The `cost.update` event payload gains an OPTIONAL `provider` field, set to `'openrouter'` when the adapter resolved the model; absent otherwise. Additive - the events JSON schema is unchanged, so existing consumers are unaffected.
|
|
681
|
+
- **OpenRouter price sub-table + catalog-drift watch.** `reference/prices.openrouter.md` (a catalog-derived view; the dynamic catalog stays the source of truth) and an authority-watcher catalog-drift classifier (`diffOpenRouterCatalog`) that surfaces deprecated/withdrawn models matching `openrouter_tier_overrides` (noise-controlled - new-model / pricing-change are classified but not surfaced).
|
|
682
|
+
- **Regression baseline.** `test/fixtures/baselines/phase-33-6/` freezes the OpenRouter surface - a golden tier-resolution snapshot (the `opus`/`sonnet`/`haiku` ids the adapter resolves from the shared fixture catalog) plus encoded TTL / fallback-no-key / drift-on-synthetic-deprecation expectations - pinned by `test/suite/phase-33-6-baseline.test.cjs` so a future change cannot silently undo the heuristic, the TTL, the graceful-degrade, or the drift classifier.
|
|
641
683
|
|
|
642
684
|
### Notes
|
|
643
685
|
|
|
644
|
-
- **OpenRouter is a tier-RESOLUTION-layer adapter, not an install-registry runtime (D-12).** SC#5's "runtimes.cjs extension" wording is reinterpreted: `scripts/lib/install/runtimes.cjs` is the Phase-24-locked install matrix (how to install GDD *into* a runtime; guarded at exactly 16 entries)
|
|
686
|
+
- **OpenRouter is a tier-RESOLUTION-layer adapter, not an install-registry runtime (D-12).** SC#5's "runtimes.cjs extension" wording is reinterpreted: `scripts/lib/install/runtimes.cjs` is the Phase-24-locked install matrix (how to install GDD *into* a runtime; guarded at exactly 16 entries) - you don't install GDD "into" OpenRouter. OpenRouter lives only in the tier-resolution adapter (`scripts/lib/tier-resolver-openrouter.cjs`), which reads the dynamic catalog rather than the install registry, so it fully delivers SC#5's intent without polluting or weakening the Phase-24 install lock. `install/runtimes.cjs` and its 16-count guard are preserved intact.
|
|
645
687
|
- All Phase 33.6 tests are hermetic (injected stub fetch + a fixture catalog; no network, no real `OPENROUTER_API_KEY`), so the default `npm test` stays green (D-07), and `npm run scan:outbound` stays green with the OpenRouter egress allowlisted (D-06).
|
|
646
688
|
- The 31.5 tarball golden (`test/fixtures/baselines/phase-31-5/tarball-manifest.txt`) was regenerated as a reviewed delta: **+6** shipped OpenRouter files (`connections/openrouter.md`, `reference/openrouter-tier-mapping.md`, `reference/prices.openrouter.md`, `scripts/lib/openrouter/catalog-fetcher.cjs`, `scripts/lib/tier-resolver-openrouter.cjs`, `skills/openrouter-status/SKILL.md`), zero removals (627 paths).
|
|
647
689
|
- 6-manifest lockstep at **v1.33.6** (`package.json` + `package-lock.json` (root + `packages.""`) + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` (metadata.version + plugins[0].version) + `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json`). Version-sync hygiene done upfront (D-09): `OFF_CADENCE_VERSIONS.add('1.33.6')` + the 14 live-pinned `manifests-version.txt` baselines forward-propagated 1.33.5 → 1.33.6.
|
|
@@ -650,9 +692,9 @@ Adds **OpenRouter** as a tier-resolver provider so users can route any agent's t
|
|
|
650
692
|
|
|
651
693
|
## [1.33.5] - 2026-05-31
|
|
652
694
|
|
|
653
|
-
### Phase 33.5
|
|
695
|
+
### Phase 33.5 - GDD Runtime Security Hardening
|
|
654
696
|
|
|
655
|
-
Audits and hardens GDD's **own** runtime attack surface
|
|
697
|
+
Audits and hardens GDD's **own** runtime attack surface - the multi-MCP-server, peer-CLI-spawning, WebSocket-transport-emitting SDK that grew across Phases 20–27 without a formalized security model. Phase 14.5 ships a safety floor for *user code being audited*; this phase is the equivalent for GDD's *own* runtime. Ships a STRIDE threat model + static runtime audit, an outbound-network CI gate, WebSocket bind hardening, gdd-state MCP input validation, peer-CLI env sandboxing, a secret-scan extension + fuzz, a published disclosure policy, and a regression baseline. A decimal release on the v1.33.x arc (CHANGELOG-only, D-01); no new runtime dependency (built-ins only, D-12). 6 plans across Waves A–C.
|
|
656
698
|
|
|
657
699
|
### Added
|
|
658
700
|
|
|
@@ -661,13 +703,13 @@ Audits and hardens GDD's **own** runtime attack surface — the multi-MCP-server
|
|
|
661
703
|
- **WebSocket localhost-default bind + timing-safe token.** `scripts/lib/transports/ws.cjs` now defaults its bind host to **127.0.0.1** (was the implicit `0.0.0.0` all-interfaces bind); a remote bind is opt-in via `.design/config.json` `event_stream.bind_host` or the `GDD_WS_BIND_HOST` env override, and `scripts/scan-ws-bind.cjs` gates that the default config would never bind `0.0.0.0`. The Bearer-token compare is upgraded to `crypto.timingSafeEqual` (was `!==`, timing-unsafe); the existing ≥8-char-token rule is retained (D-04).
|
|
662
704
|
- **gdd-state MCP input validation.** `sdk/mcp/gdd-state/tools/shared.ts` gains a `resolveStatePath()` path-traversal guard (rejects `..`-escape / absolute-outside / best-effort symlink-escape on the `GDD_STATE_PATH` override) and an `assertInputWithinLimits()` payload cap (64 KiB input / 8192-char string / depth-32 JSON-bomb guard) wired into all 11 tool handlers; the 11 tool input schemas are tightened with `maxLength`/`maxItems` (and already carried `additionalProperties:false`) (D-08).
|
|
663
705
|
- **Peer-CLI env sandbox (allowlist-forward / default-deny).** A shared `scripts/lib/peer-cli/sanitize-env.cjs` helper builds the spawned child's environment from an OS-essential baseline **plus** an explicit allowlist read from `.design/config.json` `peer_cli.env_allowlist`, applied to both the acp and asp clients. GDD's `ANTHROPIC_API_KEY` / `GH_TOKEN` / `GDD_*` and anything secret-shaped are never forwarded to a spawned peer unless explicitly allowlisted (D-03).
|
|
664
|
-
- **Secret-scan extension + fuzz.** `scripts/lib/redact.cjs` adds three modern token formats
|
|
706
|
+
- **Secret-scan extension + fuzz.** `scripts/lib/redact.cjs` adds three modern token formats - Gemini/GCP `AIza…`, GitHub fine-grained `github_pat_…`, and GitHub server/oauth/user/refresh `gh[sour]_…` - bringing the redaction set to **11 patterns**, with a synthetic-secret fuzz test asserting zero leak per provider format (D-07). The existing PEM/JWT/anthropic/stripe/slack/`ghp_`/AWS/`sk-` patterns are retained.
|
|
665
707
|
- **`SECURITY.md` disclosure policy.** A repo-root `SECURITY.md` documents the supported-versions stance and routes vulnerability reports through **GitHub private security advisories** (the repo Security tab → "Report a vulnerability"); it publishes no email / no PII (D-02) and notes that enabling private vulnerability reporting is a one-line repo setting the maintainer must toggle (D-11).
|
|
666
|
-
- **Regression baseline.** `test/fixtures/baselines/phase-33-5/` freezes the hardened surface
|
|
708
|
+
- **Regression baseline.** `test/fixtures/baselines/phase-33-5/` freezes the hardened surface - a STRIDE-checklist snapshot, a hardening-surface invariant manifest (ws default host, redact pattern count, sanitize-env module + allowlist key, 11 gdd-state schemas, allowlist/threat-model/audit paths), and a synthetic secret-fuzz corpus - pinned by `test/suite/phase-33-5-baseline.test.cjs` so a future change cannot silently undo a hardened surface.
|
|
667
709
|
|
|
668
710
|
### Notes
|
|
669
711
|
|
|
670
|
-
- **WebSocket event-stream now binds `127.0.0.1` by default (was `0.0.0.0`).** Opt into a remote bind via `.design/config.json` `event_stream.bind_host` or the `GDD_WS_BIND_HOST` env override. This is **not marked BREAKING**
|
|
712
|
+
- **WebSocket event-stream now binds `127.0.0.1` by default (was `0.0.0.0`).** Opt into a remote bind via `.design/config.json` `event_stream.bind_host` or the `GDD_WS_BIND_HOST` env override. This is **not marked BREAKING** - the event stream is a token-gated observability surface (Bearer auth ships on every upgrade), and the safe-by-default localhost bind only restricts an unintended off-box exposure; the opt-in escape hatch preserves the remote-bind workflow for anyone who relied on it.
|
|
671
713
|
- All Phase 33.5 tests are hermetic (no network, no live peer; the WS test binds ephemeral localhost; the outbound + bind gates are static scans), so the default `npm test` stays green (D-10).
|
|
672
714
|
- 6-manifest lockstep at **v1.33.5** (`package.json` + `package-lock.json` (root + `packages.""`) + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` (metadata.version + plugins[0].version) + `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json`). Version-sync hygiene done upfront (D-09): `OFF_CADENCE_VERSIONS.add('1.33.5')` + the 13 live-pinned `manifests-version.txt` baselines forward-propagated 1.33.0 → 1.33.5.
|
|
673
715
|
|
|
@@ -675,31 +717,31 @@ Audits and hardens GDD's **own** runtime attack surface — the multi-MCP-server
|
|
|
675
717
|
|
|
676
718
|
## [1.33.0] - 2026-05-30
|
|
677
719
|
|
|
678
|
-
### Phase 33
|
|
720
|
+
### Phase 33 - Skill Behavior Tests (Pressure-Scenario Harness)
|
|
679
721
|
|
|
680
722
|
Adds a **behavior-test category** that complements the static validators (Phase 28.5 line/frontmatter) and static guardrails (Phase 32 `<HARD-GATE>` presence) with tests that verify skills hold UNDER PRESSURE. A manifest-driven runner drives a pressure scenario (time / sunk-cost / authority / exhaustion / scope-minimization) through an injectable agent-invoker and validates the response against a compliance/violation rubric with N-attempts + majority rule. Ships the harness + 8 baseline scenarios + synthetic RED baselines + the description-format A/B methodology + reflector telemetry integration. Ports the TDD-for-skills methodology + the pressure-scenario pattern from [`obra/superpowers/skills/writing-skills`](https://github.com/obra/superpowers) (MIT). 6 plans across Waves A–C.
|
|
681
723
|
|
|
682
724
|
### Added
|
|
683
725
|
|
|
684
|
-
- **Manifest-driven pressure-scenario runner**
|
|
685
|
-
- **Pressure-scenario schema**
|
|
686
|
-
- **8 pressure scenarios + synthetic RED baselines**
|
|
687
|
-
- **Description-format A/B methodology**
|
|
688
|
-
- **Reflector telemetry**
|
|
689
|
-
- **`npm run test:behavior` (opt-in, D-06).** A new script that runs the behavior tests ONLY when `ANTHROPIC_API_KEY` is set (a clear skip message + exit 0 otherwise). The default `npm test` is UNCHANGED
|
|
690
|
-
- **Docs**
|
|
726
|
+
- **Manifest-driven pressure-scenario runner** - `scripts/lib/skill-behavior/runner.cjs` exposes an INJECTABLE `invokeAgent(prompt, opts) -> { text }` seam (no `@anthropic-ai/sdk` dependency - D-03): a deterministic STUB invoker (`scripts/lib/skill-behavior/stub-invoker.cjs`) for CI/tests, plus a documented real-invoker adapter for the opt-in keyed run. Runs each scenario N times and decides compliance by majority.
|
|
727
|
+
- **Pressure-scenario schema** - `reference/schemas/pressure-scenario.schema.json` (wired into `validate:schemas`), with conformance tests for the 8 scenario manifests.
|
|
728
|
+
- **8 pressure scenarios + synthetic RED baselines** - `test/suite/skill-behavior/scenarios/` (7 stage skills + `using-gdd`) with synthetic-from-observed-cycle-drift RED baselines at `test/fixtures/skill-behavior-baseline/` (D-02 - ROADMAP-sanctioned).
|
|
729
|
+
- **Description-format A/B methodology** - `docs/research/description-format-ab.md` documents the trigger-only vs `<what>. Use when` counterfactual + the 7/10-run threshold (D-08), with a `pending: keyed run` marker. The empirical result is an opt-in maintainer follow-up (no API key in CI).
|
|
730
|
+
- **Reflector telemetry** - `scripts/lib/skill-behavior/telemetry.cjs` emits to `.design/telemetry/skill-behavior.jsonl`; a sustained-failure signal (≥3 of last 10 runs failing for a scenario) feeds an `apply-reflections` proposal (stub-tested integration - D-07).
|
|
731
|
+
- **`npm run test:behavior` (opt-in, D-06).** A new script that runs the behavior tests ONLY when `ANTHROPIC_API_KEY` is set (a clear skip message + exit 0 otherwise). The default `npm test` is UNCHANGED - the structural stub tests stay CI-green (LLM non-determinism keeps live behavior runs out of the default suite).
|
|
732
|
+
- **Docs** - `CONTRIBUTING.md` gains a "How to add a pressure scenario" section + the keyed `ANTHROPIC_API_KEY=… npm run test:behavior` procedure; `README.md` gains a "Skill behavior tests" subsection.
|
|
691
733
|
|
|
692
734
|
### Removed
|
|
693
735
|
|
|
694
|
-
- **BREAKING: the Phase-31.5 deprecation shims are removed (D-04).** The 10 `GDD-DEPRECATION-SHIM` re-exports re-created at the OLD SDK paths in v1.31.5
|
|
736
|
+
- **BREAKING: the Phase-31.5 deprecation shims are removed (D-04).** The 10 `GDD-DEPRECATION-SHIM` re-exports re-created at the OLD SDK paths in v1.31.5 - `scripts/lib/{cli,event-stream,gdd-state,gdd-errors}/index.ts`, `scripts/lib/{error-classifier,iteration-budget,jittered-backoff,lockfile}.cjs`, and `scripts/mcp-servers/{gdd-state,gdd-mcp}/server.ts` - are deleted. The grace window elapsed (v1.31.5 shipped with shims → v1.32.0 still had them → v1.33.0 removes them). The now-empty `scripts/mcp-servers/` is dropped from the `package.json` `files` allowlist. **If you imported `scripts/lib/…` or `scripts/mcp-servers/…` directly, import from `sdk/…` instead** (e.g. `scripts/lib/cli` → `sdk/cli`, `scripts/lib/error-classifier.cjs` → `sdk/primitives/error-classifier.cjs`, `scripts/mcp-servers/gdd-state/server.ts` → `sdk/mcp/gdd-state/server.ts`). Internal callers were all repointed to `sdk/` in 31.5 + the Phase-32 gdd-events fix; the `gdd-state-mcp` / `gdd-mcp` bins target `sdk/`, so deletion drops only the external re-export - proven by the `no-stale-internal-refs` guard + the full suite + the 31.5 headless pack→install→run E2E.
|
|
695
737
|
|
|
696
738
|
### Attribution
|
|
697
739
|
|
|
698
|
-
- **Methodology + pattern ported from [`obra/superpowers/skills/writing-skills`](https://github.com/obra/superpowers) (MIT).** The TDD-for-skills cycle (RED: agent fails without the skill → GREEN: skill counters the rationalizations → REFACTOR: close new loopholes) and the pressure-scenario pattern. See `NOTICE`. We port the methodology, not the content
|
|
740
|
+
- **Methodology + pattern ported from [`obra/superpowers/skills/writing-skills`](https://github.com/obra/superpowers) (MIT).** The TDD-for-skills cycle (RED: agent fails without the skill → GREEN: skill counters the rationalizations → REFACTOR: close new loopholes) and the pressure-scenario pattern. See `NOTICE`. We port the methodology, not the content - GDD's scenarios, rubrics, and skills are GDD-specific.
|
|
699
741
|
|
|
700
742
|
### Notes
|
|
701
743
|
|
|
702
|
-
- The behavioral evidence (real RED baselines from live agent runs + the empirical A/B result) is NOT capturable autonomously (no API key / SDK in CI). RED baselines are authored synthetic-from-observed-cycle-drift (D-02); the A/B evidence file documents methodology + expected-signal + a `pending: keyed run` marker. A Phase-28.5 feedback note points at `docs/research/description-format-ab.md`; **Phase 28.5's description-format validator regex is unchanged** (33-06 emits the pointer only
|
|
744
|
+
- The behavioral evidence (real RED baselines from live agent runs + the empirical A/B result) is NOT capturable autonomously (no API key / SDK in CI). RED baselines are authored synthetic-from-observed-cycle-drift (D-02); the A/B evidence file documents methodology + expected-signal + a `pending: keyed run` marker. A Phase-28.5 feedback note points at `docs/research/description-format-ab.md`; **Phase 28.5's description-format validator regex is unchanged** (33-06 emits the pointer only - D-08).
|
|
703
745
|
- The 31.5 tarball golden (`test/fixtures/baselines/phase-31-5/tarball-manifest.txt`) was regenerated as a reviewed delta: **+4** skill-behavior paths (`reference/schemas/pressure-scenario.schema.json` + the 3 `scripts/lib/skill-behavior/*.cjs`) and **−10** removed shim paths (618 paths).
|
|
704
746
|
- 6-manifest lockstep at **v1.33.0** (`package.json` + `package-lock.json` + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` (metadata.version + plugins[0].version) + `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json`). Version-sync hygiene done upfront (D-09): `OFF_CADENCE_VERSIONS.add('1.33.0')` + prior `manifests-version.txt` baselines forward-propagated 1.32.0 → 1.33.0.
|
|
705
747
|
|
|
@@ -707,59 +749,59 @@ Adds a **behavior-test category** that complements the static validators (Phase
|
|
|
707
749
|
|
|
708
750
|
## [1.32.0] - 2026-05-30
|
|
709
751
|
|
|
710
|
-
### Phase 32
|
|
752
|
+
### Phase 32 - Skill Auto-Trigger Discipline + Defensive Guardrails
|
|
711
753
|
|
|
712
|
-
Closes the auto-trigger gap between GDD's 70+ skills and the harness's description-match skill-discovery layer. GDD had zero forcing functions
|
|
754
|
+
Closes the auto-trigger gap between GDD's 70+ skills and the harness's description-match skill-discovery layer. GDD had zero forcing functions - agents consulted skills opportunistically, not disciplinedly. This release ports the skill-discipline **mechanism** (not content) from [`obra/superpowers`](https://github.com/obra/superpowers) (MIT): a SessionStart-injected bootstrap contract, defensive guardrails at every stage transition, and two lightweight skill-discovery instruments that feed Phase 33's behavioral A/B. 9 plans across Waves A–C.
|
|
713
755
|
|
|
714
756
|
### Added
|
|
715
757
|
|
|
716
|
-
- **`using-gdd` SessionStart bootstrap (the forcing function GDD lacked).** A new `skills/using-gdd/SKILL.md` discipline contract
|
|
717
|
-
- **Per-harness SessionStart inject emitter.** `hooks/inject-using-gdd.sh` is a single polyglot script that reads `using-gdd` and emits it as the host harness's SessionStart `additionalContext` shape
|
|
758
|
+
- **`using-gdd` SessionStart bootstrap (the forcing function GDD lacked).** A new `skills/using-gdd/SKILL.md` discipline contract - the **1%-rule** ("if you think there is even a 1% chance a skill applies, you ABSOLUTELY MUST invoke it"), a ≥10-row **red-flags table** (Thought → Reality), a skill-priority order (Process → Implementation → Audit), an instruction-priority precedence (user CLAUDE.md > GDD skill > defaults), and the GDD pipeline flow. Carries `disable-model-invocation: true` (it is injected, not model-invoked) and a pure-trigger description (no `<what>` clause, per superpowers' shortcut finding - proof-by-implementation; Phase 28.5's description-format validator stays open pending Phase 33's A/B evidence).
|
|
759
|
+
- **Per-harness SessionStart inject emitter.** `hooks/inject-using-gdd.sh` is a single polyglot script that reads `using-gdd` and emits it as the host harness's SessionStart `additionalContext` shape - Cursor (`additional_context`), Claude Code (`hookSpecificOutput.additionalContext`), and SDK-standard (top-level `additionalContext`) branches via env-var detection, with a pure-bash JSON escaper (no jq/python dependency). A `hooks/run-hook.cmd` polyglot Windows wrapper and a 5th `hooks/hooks.json` SessionStart entry (matcher `startup|clear|compact`) wire it in.
|
|
718
760
|
- **`<SUBAGENT-STOP>` no-cascade structural guarantee.** The inject is wired ONLY under the SessionStart hook event; subagent spawns do not fire SessionStart, so the bootstrap contract cannot cascade into a subagent's context. The `using-gdd` body opens with a `<SUBAGENT-STOP>` tag. (Structural guarantee here; the behavioral proof under pressure is deferred to Phase 33.)
|
|
719
|
-
- **`<HARD-GATE>` at the 5 stage transitions.** `skills/{brief,explore,plan,design,verify}/SKILL.md` each gain a `<HARD-GATE>` block that refuses to advance the pipeline until the stage's required artifact (`.design/BRIEF.md`, `DESIGN.md` + `DESIGN-CONTEXT.md`, etc.) exists and is approved
|
|
761
|
+
- **`<HARD-GATE>` at the 5 stage transitions.** `skills/{brief,explore,plan,design,verify}/SKILL.md` each gain a `<HARD-GATE>` block that refuses to advance the pipeline until the stage's required artifact (`.design/BRIEF.md`, `DESIGN.md` + `DESIGN-CONTEXT.md`, etc.) exists and is approved - reading the artifact path from `.design/STATE.md` when a project uses a custom location.
|
|
720
762
|
- **Rationalization tables in the 7 stage-orchestrator skills.** `brief / explore / plan / design / verify / discuss / audit` each carry a `| Thought | Reality |` rationalization table (≥6 rows) that names the common "skip the stage" justifications and rebuts each.
|
|
721
|
-
- **Inline self-review blocks** in `brief` and `plan` (the 2 spec-producing transitions)
|
|
763
|
+
- **Inline self-review blocks** in `brief` and `plan` (the 2 spec-producing transitions) - a 4-line inline checklist (Phase 28.5 progressive-disclosure: a short check belongs at the transition surface, not behind a skill-discovery hop).
|
|
722
764
|
- **Portable discipline blocks** in `AGENTS.md` + `GEMINI.md` so non-Claude-Code harnesses (Codex, Gemini, etc.) inherit the same skill-discipline contract.
|
|
723
|
-
- **`router_pick` skill-discovery telemetry**
|
|
724
|
-
- **`lint-skill-descriptions.cjs` drift detector**
|
|
765
|
+
- **`router_pick` skill-discovery telemetry** - a new `router_pick` event in `reference/schemas/events.schema.json` plus an emit point (`skills/router/router-pick-emitter.md`). Records a sha256 `context_hash` (never the raw intent - no PII) so Phase 33 can measure which skill the router actually selected.
|
|
766
|
+
- **`lint-skill-descriptions.cjs` drift detector** - a maintainer/CI script (not shipped to npm) that flags any skill whose one-line `description:` is stale while its body changed ≥3 times since (the D-02 heuristic).
|
|
725
767
|
- **`gdd-health` `skill_discipline` check (#7).** `scripts/lib/health-mirror/index.cjs` gains a 7th read-only check reporting `skill-discipline: ready` (using-gdd present AND `hooks.json` SessionStart wires the inject), `skill-discipline: missing using-gdd`, or `skill-discipline: hook not wired`. Documented in `skills/health/SKILL.md`.
|
|
726
768
|
|
|
727
769
|
### Attribution
|
|
728
770
|
|
|
729
|
-
- **Mechanism ported from [`obra/superpowers`](https://github.com/obra/superpowers) (MIT).** Three artifacts: the SessionStart hook-script structure, the 1%-rule + red-flags-table format, and the defensive-guardrail patterns (`<HARD-GATE>` / `<SUBAGENT-STOP>` / rationalization-table). See `NOTICE`. We port the MECHANISM, not the content
|
|
771
|
+
- **Mechanism ported from [`obra/superpowers`](https://github.com/obra/superpowers) (MIT).** Three artifacts: the SessionStart hook-script structure, the 1%-rule + red-flags-table format, and the defensive-guardrail patterns (`<HARD-GATE>` / `<SUBAGENT-STOP>` / rationalization-table). See `NOTICE`. We port the MECHANISM, not the content - GDD's skills, gates, and tables are GDD-specific.
|
|
730
772
|
|
|
731
773
|
### Notes
|
|
732
774
|
|
|
733
775
|
- The pure-trigger `using-gdd` description ships as **proof-by-implementation** of superpowers' shortcut finding (a `<what>`-clause can make agents follow the description summary instead of reading the body). The counterfactual A/B description test and the pressure-scenario behavior runner are **deferred to Phase 33** (D-02); Phase 32 ships the `router_pick` events + drift-lint instruments that Phase 33 consumes. Phase 28.5's global description-format validator regex stays open until that evidence lands.
|
|
734
|
-
- 4 stage skills (`brief`, `explore`, `plan`, `verify`) sit in the validator's advisory **warn** band (≥100 lines) after gaining the mandatory discipline blocks
|
|
776
|
+
- 4 stage skills (`brief`, `explore`, `plan`, `verify`) sit in the validator's advisory **warn** band (≥100 lines) after gaining the mandatory discipline blocks - well under the **block** threshold (250). Accepted by design: the gates + tables are the deliverable.
|
|
735
777
|
- 6-manifest lockstep at **v1.32.0** (`package.json` + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` (metadata.version + plugins[0].version) + `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json`).
|
|
736
778
|
|
|
737
779
|
---
|
|
738
780
|
|
|
739
781
|
## [1.31.5] - 2026-05-29
|
|
740
782
|
|
|
741
|
-
### Phase 31.5
|
|
783
|
+
### Phase 31.5 - Repo Structure Consolidation
|
|
742
784
|
|
|
743
785
|
One audit-clean repo layout with **zero changes to the public surface** (commands, agents, skills, hooks, connections, install flow) and **no file content lost**. The SDK that `plugin.json` has advertised since v1.20.0 now actually lives in `sdk/`; the npm tarball ships only what plugin users need; the repo root is decluttered. Every move was history-preserving (`git mv`), guarded by three independent regression nets (test-parity, tarball-diff golden, headless-E2E install) and a one-minor deprecation-shim grace window. 10 plans + 1 follow-up across Waves A–E (31-5-01..31-5-10 + 31-5-9.5).
|
|
744
786
|
|
|
745
787
|
### Added
|
|
746
788
|
|
|
747
|
-
- **`sdk/`
|
|
748
|
-
- **3 SDK bins that now work from an npm install.** `bin/gdd-sdk`, `bin/gdd-state-mcp`, and `bin/gdd-mcp` are dual-mode trampolines (prefer a compiled `.js` sibling, fall back to `.ts` strip in-repo). A `prepack` step (`npm run build:sdk` → esbuild) bundles the three TS-entry bins to self-contained CommonJS siblings that ship in the tarball
|
|
749
|
-
- **`recipes/` scaffold**
|
|
750
|
-
- **`docs/i18n/`**
|
|
751
|
-
- **`.npmignore`**
|
|
752
|
-
- **Private-files CI guard**
|
|
753
|
-
- **`no-stale-internal-refs` static guard**
|
|
789
|
+
- **`sdk/` - the public SDK, collected.** `git mv` consolidated the strewn modules into one place: `sdk/cli`, `sdk/state`, `sdk/event-stream`, `sdk/errors`, `sdk/primitives/*` (the 4 typed `.cjs`+`.d.cts` pairs), and **both** MCP servers under `sdk/mcp/` (`sdk/mcp/gdd-state`, `sdk/mcp/gdd-mcp` - D-08). A `sdk/index.ts` barrel re-exports the surface, and `sdk/README.md` (≤120 lines, D-06) documents what the SDK is with a per-module import-path table (module → public import → helpers → stability tag). Public import paths are explicit per-module (`/sdk/cli`, `/sdk/state`, `/sdk/event-stream`, `/sdk/primitives/*`, `/sdk/errors`, `/sdk/mcp/gdd-state`, `/sdk/mcp/gdd-mcp`) plus the barrel (D-04).
|
|
790
|
+
- **3 SDK bins that now work from an npm install.** `bin/gdd-sdk`, `bin/gdd-state-mcp`, and `bin/gdd-mcp` are dual-mode trampolines (prefer a compiled `.js` sibling, fall back to `.ts` strip in-repo). A `prepack` step (`npm run build:sdk` → esbuild) bundles the three TS-entry bins to self-contained CommonJS siblings that ship in the tarball - fixing a **pre-existing latent break**: raw `.ts` bins cannot run under `--experimental-strip-types` from inside `node_modules` (`ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING`), which had silently shipped since the TS bins were introduced. The `.ts` remain the source of truth; the `.js` are gitignored build artifacts (`postpack` cleans them).
|
|
791
|
+
- **`recipes/` scaffold** - `recipes/` + a recipe-loader + `reference/schemas/recipe.schema.json`. Ships empty of recipes (the loading machinery, not content).
|
|
792
|
+
- **`docs/i18n/`** - the 6 `README.{de,fr,it,ja,ko,zh-CN}.md` translations relocated from the repo root (D-11). English `README.md` stays at root; its language-selector links were repointed.
|
|
793
|
+
- **`.npmignore`** - a defense-in-depth duplicate of the `package.json` `files` allowlist (D-10).
|
|
794
|
+
- **Private-files CI guard** - `test/suite/no-private-files-tracked.test.cjs` asserts 0 tracked `.planning/` / `REVIEW.md` / `tmp_support_preview*` files so the (already-remediated) leak stays closed (D-03).
|
|
795
|
+
- **`no-stale-internal-refs` static guard** - `test/suite/no-stale-internal-refs.test.cjs` greps the shipped user-facing surface (hooks/, agents/, skills/, bin/, scripts/cli/, scripts/install.cjs) for any reference to an OLD moved-SDK path and fails on any hit outside a deprecation shim. Proves every internal caller was repointed to `sdk/`.
|
|
754
796
|
|
|
755
797
|
### Changed
|
|
756
798
|
|
|
757
799
|
- **`package.json` `files` narrowed to an explicit allowlist (+ `.npmignore`).** Maintainer-only top-level scripts no longer reach a user's `node_modules`. **Tarball diff vs the prior (v1.31.0) tarball:**
|
|
758
800
|
- **ADDED:** `sdk/` (the SDK, incl. the 3 compiled-bin `.js` siblings), `recipes/`, `docs/i18n/`, `NOTICE`.
|
|
759
801
|
- **DROPPED (23 maintainer-only files):** `scripts/` wholesale + the top-level `bootstrap*`, `rollback-release.sh`, `apply-branch-protection.sh`, `release-smoke-test.cjs`, `verify-version-sync.cjs`, `extract-changelog-section.cjs`, `detect-stale-refs.cjs`, `run-injection-scanner-ci.cjs`, `injection-patterns.cjs`, `build-*.cjs`, `validate-*` (`.cjs`/`.ts`), `codegen-schema-types.ts`, `aggregate-agent-metrics.ts`, `lint-agentskills-spec.cjs`, `scripts/e2e/`, `scripts/tests/`.
|
|
760
|
-
- **KEPT (runtime subtrees, D-09)
|
|
802
|
+
- **KEPT (runtime subtrees, D-09) - a "drop `scripts/` wholesale" allowlist would have shipped a *broken* package:** `scripts/lib/` (incl. `scripts/lib/graph/` for `gdd-graph` per D-14 and `scripts/lib/figma-extract/` for the figma-extract SKILL per D-15), `scripts/mcp-servers/` (the residual MCP deprecation shims), `scripts/cli/` (the `gdd-events` target), and `scripts/install.cjs`.
|
|
761
803
|
- Tarball golden manifest pinned at **620 paths** (paths-only per D-07).
|
|
762
|
-
- **`tests/` → `test/suite/` and `test-fixture/` → `test/fixtures/`** (D-12)
|
|
804
|
+
- **`tests/` → `test/suite/` and `test-fixture/` → `test/fixtures/`** (D-12) - a pure mechanical, history-preserving relocation done with an identical full-suite pass before/after. Contributor-facing only; not shipped in the tarball. All subsequent tests are authored into `test/suite/`.
|
|
763
805
|
|
|
764
806
|
### Deprecated
|
|
765
807
|
|
|
@@ -767,52 +809,52 @@ One audit-clean repo layout with **zero changes to the public surface** (command
|
|
|
767
809
|
|
|
768
810
|
### Backward compatibility
|
|
769
811
|
|
|
770
|
-
- Public surface unchanged
|
|
812
|
+
- Public surface unchanged - no command, agent, skill, hook, or connection was renamed (zero-rename discipline). All install flows and all 6 bins resolve identically; MCP handshakes and primitive imports verified by the headless pack→install→run E2E.
|
|
771
813
|
- 6-manifest lockstep at v1.31.5 (`package.json` + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` (metadata.version + plugins[0].version) + `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json`).
|
|
772
814
|
|
|
773
815
|
### Decisions
|
|
774
816
|
|
|
775
|
-
- **D-01**: Target version is **v1.31.5** (the stale ROADMAP v1.28.0 was a pre-renumber artifact
|
|
817
|
+
- **D-01**: Target version is **v1.31.5** (the stale ROADMAP v1.28.0 was a pre-renumber artifact - the phase was renumbered 2026-05-16 to monotonic-with-phase-number).
|
|
776
818
|
- **D-02**: Deprecation-shim removal target is **v1.33.0** (the stale ROADMAP v1.29.0 is already shipped/past). One-minor grace window.
|
|
777
819
|
- **D-03**: The private-file leak was already remediated on main; Plan 01 ships only the CI guard.
|
|
778
|
-
- **D-08**: `gdd-mcp` (Phase 27.7) folded in for full symmetry with `gdd-state-mcp`
|
|
820
|
+
- **D-08**: `gdd-mcp` (Phase 27.7) folded in for full symmetry with `gdd-state-mcp` - both MCP servers live under `sdk/mcp/`.
|
|
779
821
|
- **D-09**: The `files` allowlist keeps the runtime subtrees `scripts/lib` + `scripts/mcp-servers` + `scripts/cli` + `scripts/install.cjs` so `gdd-graph`, `figma-extract`, and `gdd-mcp` keep working.
|
|
780
822
|
|
|
781
823
|
---
|
|
782
824
|
|
|
783
825
|
## [1.31.0] - 2026-05-29
|
|
784
826
|
|
|
785
|
-
### Phase 31
|
|
827
|
+
### Phase 31 - Figma Off-Context Extractor + Variables Sync Plugin
|
|
786
828
|
|
|
787
|
-
Ships `gdd-figma-extract`
|
|
829
|
+
Ships `gdd-figma-extract` - pull a whole Figma design system into a compact, queryable local digest (`DESIGN.md` + `tokens.json` + `components.json`) **without the raw JSON ever entering Claude's context**. One command extracts the file via the Figma REST API to a local raw cache; a separate digest stage reduces it to an LLM-readable spec. Plus a thin **"GDD Sync"** Figma plugin that fills the Variables-API-Enterprise gap by reading `figma.variables` from inside Figma (works on any plan - including Free) and POSTing them to an ephemeral localhost receiver. 10 plans across 4 waves: Wave A (raw puller + digest + styles resolver + SKILL), Wave B (plugin scaffold + export + receiver), Wave C (`--component` slice + `figma_extract` health check), Wave D (closeout).
|
|
788
830
|
|
|
789
|
-
### Motivation
|
|
831
|
+
### Motivation - the spike trail
|
|
790
832
|
|
|
791
833
|
Spike 001 (commit `c3a9cf6`, `.planning/spikes/001-figma-offcontext-extractor/`) validated the economics: **898× compression** (223 MB raw → 254 KB digest), a 15.7K-token DESIGN.md (under the 20K target), 127 component sets + 40 singletons captured with variants/props/defaults, ~33s wall time, and crucially **0 Claude tokens + 0 Figma MCP calls during extraction**. This is the economic alternative to Figma MCP for whole-design-system workflows (Figma MCP remains correct for spot questions on individual components). The spike surfaced two gaps, both closed by this phase:
|
|
792
834
|
|
|
793
|
-
1. **Variables API → 403 (Enterprise-only)**
|
|
794
|
-
2. **Legacy styles → 0 tokens**
|
|
835
|
+
1. **Variables API → 403 (Enterprise-only)** - closed by **Path C** (the GDD Sync plugin reads variables locally and POSTs to the receiver).
|
|
836
|
+
2. **Legacy styles → 0 tokens** - closed by **Path B** (two-step `/styles` + `/nodes?ids=` lookup; published-style source nodes live in canvas frames, not the main document tree).
|
|
795
837
|
|
|
796
838
|
### Added
|
|
797
839
|
|
|
798
|
-
- **`gdd-figma-extract` off-context extractor**
|
|
799
|
-
- `scripts/lib/figma-extract/pull.cjs`
|
|
800
|
-
- `scripts/lib/figma-extract/digest.cjs`
|
|
801
|
-
- `scripts/lib/figma-extract/styles-resolver.cjs`
|
|
802
|
-
- `scripts/lib/figma-extract/render-md.cjs` + `walk.cjs`
|
|
803
|
-
- **Three-path token extraction (D-04)** with a fallback chain
|
|
804
|
-
- **"GDD Sync" Figma plugin** (`figma-plugin/`, D-05)
|
|
805
|
-
- **Localhost receiver** (`scripts/lib/figma-extract/receiver.cjs`, D-06)
|
|
806
|
-
- **`--component <name|glob>` digest slice** (D-08)
|
|
807
|
-
- **`figma_extract` health check** (Plan 31-09)
|
|
808
|
-
- **`skills/figma-extract/SKILL.md`** (`name: gdd-figma-extract`)
|
|
840
|
+
- **`gdd-figma-extract` off-context extractor** - the two-stage pipeline (D-01: extract → digest stay separated, re-digest without re-pulling):
|
|
841
|
+
- `scripts/lib/figma-extract/pull.cjs` - productionized Figma REST puller (retry/backoff, version-based cache invalidation with 1h TTL fallback per D-11, drops `geometry=paths` per D-03). Writes raw JSON to disk only; raw bodies never returned to a logging caller.
|
|
842
|
+
- `scripts/lib/figma-extract/digest.cjs` - reads the raw cache, walks the node tree with **variant rollup** (D-02 - naive walk inflates ~16×), assembles tokens via the 3-path chain, renders `DESIGN.md` + `tokens.json` + `components.json`.
|
|
843
|
+
- `scripts/lib/figma-extract/styles-resolver.cjs` - **Path B** two-step `/styles` + `/nodes?ids=` resolver (fixes the spike's 0-tokens bug).
|
|
844
|
+
- `scripts/lib/figma-extract/render-md.cjs` + `walk.cjs` - deterministic, byte-stable DESIGN.md renderer + the variant-rollup walker.
|
|
845
|
+
- **Three-path token extraction (D-04)** with a fallback chain - Path A (Variables API, Enterprise; 403 skipped silently), Path B (`/styles` + `/nodes`), Path C (plugin sync). Resolution priority on collision: Variables > plugin sync > styles, with a `--prefer-styles` escape hatch.
|
|
846
|
+
- **"GDD Sync" Figma plugin** (`figma-plugin/`, D-05) - TypeScript, single "Export to GDD" button. Reads ALL local variables (D-13 - digest filters later), resolves aliases + modes, and POSTs to the localhost receiver.
|
|
847
|
+
- **Localhost receiver** (`scripts/lib/figma-extract/receiver.cjs`, D-06) - ephemeral, **127.0.0.1-only**, port hardcoded to 5179, schema-validated, refuses non-loopback remotes, exits on first valid receipt or timeout.
|
|
848
|
+
- **`--component <name|glob>` digest slice** (D-08) - a ~500-token per-component slice instead of the full ~16K digest; strictly additive (omitting it reproduces the full digest unchanged).
|
|
849
|
+
- **`figma_extract` health check** (Plan 31-09) - `/gdd:health` now reports one of three exact states: `figma extract: ready (token set)`, `figma extract: token missing`, or `figma extract: plugin sync needed for variables (Free tier detected)`. Presence-only token check (D-10); the Free-tier signal is read from the local raw-pull cache only (no network call).
|
|
850
|
+
- **`skills/figma-extract/SKILL.md`** (`name: gdd-figma-extract`) - off-context orchestration that never instructs reading `raw/*.json` (D-12).
|
|
809
851
|
- **`tests/phase-31-baseline.test.cjs`** + 6 baseline files at `test-fixture/baselines/phase-31/` (design-md, components-json, tokens-json, health-line, manifest-network-scope, token-isolation-static), **`tests/phase-31-end-to-end.test.cjs`** (offline pull+digest against fixtures), and **`tests/figma-extract-token-isolation.test.cjs`** (the D-10 static scanner + meta-tests).
|
|
810
852
|
|
|
811
853
|
### Security & guarantees
|
|
812
854
|
|
|
813
|
-
- **Off-context guarantee (D-12)
|
|
814
|
-
- **Token isolation (D-10)
|
|
815
|
-
- **Receiver network scope (D-06).** The plugin manifest's `allowedDomains` is exactly the localhost pair (`http://localhost:5179`, `http://127.0.0.1:5179`)
|
|
855
|
+
- **Off-context guarantee (D-12) - statically enforced.** The SKILL never instructs reading `raw/*.json`; the digest is a pure function of the raw cache. The raw pull consumes 0 Claude tokens.
|
|
856
|
+
- **Token isolation (D-10) - statically enforced.** `FIGMA_TOKEN` (fallback `FIGMA_PERSONAL_ACCESS_TOKEN`) is read from the environment only and is sent ONLY as the `X-Figma-Token` request header - never logged, never written to disk. `tests/figma-extract-token-isolation.test.cjs` scans every file under `scripts/lib/figma-extract/` for any `writeFile`/`appendFile`/`console.*`/`logger.*`/`process.std*.write` call referencing the token and fails on a non-zero count (meta-tested to prove the scanner is not vacuous).
|
|
857
|
+
- **Receiver network scope (D-06).** The plugin manifest's `allowedDomains` is exactly the localhost pair (`http://localhost:5179`, `http://127.0.0.1:5179`) - any widening trips the baseline test. No external host, no wildcard.
|
|
816
858
|
|
|
817
859
|
### Deferred
|
|
818
860
|
|
|
@@ -821,41 +863,41 @@ Spike 001 (commit `c3a9cf6`, `.planning/spikes/001-figma-offcontext-extractor/`)
|
|
|
821
863
|
### Decisions (D-01 through D-13)
|
|
822
864
|
|
|
823
865
|
- **D-01**: Two-stage pipeline (extract → digest) stays separated. Re-run digest without re-pulling.
|
|
824
|
-
- **D-02**: Variant rollup default-on
|
|
866
|
+
- **D-02**: Variant rollup default-on - skip COMPONENT children of a COMPONENT_SET; record variants as a field on the parent (naive walk inflates ~16×).
|
|
825
867
|
- **D-03**: Drop the `geometry=paths` query param (~30% smaller raw; geometry is discarded in the digest).
|
|
826
868
|
- **D-04**: Three-path token extraction with a fallback chain (Variables > plugin sync > styles; `--prefer-styles` escape).
|
|
827
869
|
- **D-05**: "GDD Sync" plugin as a separate `figma-plugin/` package (TypeScript, single button).
|
|
828
870
|
- **D-06**: Receiver is ephemeral + 127.0.0.1-only + hardcoded port 5179; refuses non-loopback; closes on receipt or timeout.
|
|
829
|
-
- **D-07**: Plugin distribution is dev-build now, Community submission as a follow-up; live-Figma validation is a maintainer follow-up
|
|
871
|
+
- **D-07**: Plugin distribution is dev-build now, Community submission as a follow-up; live-Figma validation is a maintainer follow-up - neither blocks v1.31.0.
|
|
830
872
|
- **D-08**: `--component <name|glob>` filter on digest for per-component slicing (~500 tokens vs ~16K).
|
|
831
873
|
- **D-09**: Raw cache gitignored (`.figma-extract-cache/`), reproducible from `pull.cjs`; `digest/` artifacts may be committed.
|
|
832
|
-
- **D-10**: Token never logged or persisted
|
|
874
|
+
- **D-10**: Token never logged or persisted - `FIGMA_TOKEN` from env only; CI static-analysis test enforces it library-wide.
|
|
833
875
|
- **D-11**: Cache invalidation is content-based via Figma's `version` field, with a 1h wall-clock TTL fallback.
|
|
834
|
-
- **D-12**: Off-context guarantee enforced statically
|
|
876
|
+
- **D-12**: Off-context guarantee enforced statically - the skill never instructs reading `raw/*.json`.
|
|
835
877
|
- **D-13**: Plugin emits ALL local variables (not just published-collection ones); filtering happens at the digest stage.
|
|
836
878
|
|
|
837
879
|
### Backward compatibility
|
|
838
880
|
|
|
839
881
|
- 4-manifest + 2 Tier-2 manifest lockstep at v1.31.0 (`package.json` + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` (metadata.version + plugins[0].version) + `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json`). Keywords `figma`, `extractor`, `design-system-sync` added across the manifest keyword arrays.
|
|
840
|
-
- `NOTICE` preserved verbatim
|
|
882
|
+
- `NOTICE` preserved verbatim - Phase 31 productionizes our own spike (`c3a9cf6`) and uses Figma's official REST + plugin APIs plus `@figma/plugin-typings` (a normal npm devDependency, not a vendored code transplant). No third-party CODE was vendored, so no new attribution is owed.
|
|
841
883
|
|
|
842
884
|
---
|
|
843
885
|
|
|
844
886
|
## [1.30.6] - 2026-05-28
|
|
845
887
|
|
|
846
|
-
### Phase 30.6
|
|
888
|
+
### Phase 30.6 - Graphify Self-Ownership
|
|
847
889
|
|
|
848
890
|
Removes the **last runtime touchpoint** between get-design-done and the user's `~/.claude/get-shit-done/` install. 8 callsites in `agents/`, `skills/`, and `connections/` previously dispatched the upstream `gsd-tools` graphify subcommands at runtime; they now dispatch native `bin/gdd-graph`. After v1.30.6, a user who has never installed GSD (or who only installs the failed upstream and not the redux fork) can still run the full GDD pipeline including everything that touches the knowledge graph. 9 plans across 3 waves: Wave A (research + spec), Wave B (`bin/gdd-graph` core + extensions + decoupling acceptance test, 56 tests), Wave C (migration + rename + cleanup + closeout).
|
|
849
891
|
|
|
850
|
-
### Motivation
|
|
892
|
+
### Motivation - rug-pull resilience
|
|
851
893
|
|
|
852
|
-
The `gsd-build/get-shit-done` rug-pull in May 2026 (TÂCHES drained $GSD Solana token + deleted accounts) was downstream-survivable for us
|
|
894
|
+
The `gsd-build/get-shit-done` rug-pull in May 2026 (TÂCHES drained $GSD Solana token + deleted accounts) was downstream-survivable for us - we have zero npm dependency on GSD packages, the community fork `open-gsd/get-shit-done-redux` is MIT-bit-perfect, and Phase 28.7's install-pipeline port is standalone in our tree. The remaining touchpoint was graphify runtime dispatch. Phase 30.6 closes it. After v1.30.6, our runtime is independent of upstream's release cadence and any future subcommand / schema drift.
|
|
853
895
|
|
|
854
896
|
### Added
|
|
855
897
|
|
|
856
898
|
- **`bin/gdd-graph`** native Node CLI with 6 subcommands: `build`, `query`, `status`, `diff`, `upsert-node`, `upsert-edge`. Output at `.design/graph/graph.json` (D-02), Ajv-validated against `scripts/lib/graph/schema.json` schema 1.0 (D-03), atomic-write seam per D-05 (tmp + rename in same dir; no `proper-lockfile`).
|
|
857
899
|
- **Token-budget heuristic** for `gdd-graph query --budget N` per D-04: `Math.ceil(JSON.stringify(payload).length / 4)`; override via `GDD_GRAPH_TOKEN_FACTOR` env for tests.
|
|
858
|
-
- **5-scenario decoupling test** at `tests/graph-decoupled.test.cjs` (19 tests)
|
|
900
|
+
- **5-scenario decoupling test** at `tests/graph-decoupled.test.cjs` (19 tests) - renames `~/.claude/get-shit-done/` to `.bak` for test duration, exercises all 6 subcommands across 5 fixture scenarios (empty / single-node / dense / with-cycles / malformed-intel). Single most important acceptance gate of the phase.
|
|
859
901
|
- **`tests/phase-30.6-baseline.test.cjs`** + 5 baseline files at `test-fixture/baselines/phase-30.6/` (manifests-version, decoupling-callsite-count, gdd-graph-subcommand-inventory, graph-schema-shape, no-gsd-runtime-touch).
|
|
860
902
|
- **D-01 through D-10** locked decisions + 5 sub-decisions (D-03.a/b/c, D-04.a, D-09.a) documented in `.planning/phases/30.6-graphify-self-ownership/`.
|
|
861
903
|
|
|
@@ -870,24 +912,24 @@ The `gsd-build/get-shit-done` rug-pull in May 2026 (TÂCHES drained $GSD Solana
|
|
|
870
912
|
- `skills/connections/connections-onboarding.md`
|
|
871
913
|
- `connections/connections.md`
|
|
872
914
|
- `connections/graphify.md` (rewritten for native CLI, no external graphifyy)
|
|
873
|
-
- **`agents/gdd-graphify-sync.md`** renamed to **`agents/gdd-graph-refresh.md`** (D-08 one-way rename, no alias)
|
|
915
|
+
- **`agents/gdd-graphify-sync.md`** renamed to **`agents/gdd-graph-refresh.md`** (D-08 one-way rename, no alias) - protocol simplified now that we own both ends of the intel→graph translation (single schema; no translation step).
|
|
874
916
|
- **`scripts/lib/gsd-health-mirror/`** renamed to **`scripts/lib/health-mirror/`** (D-10 cosmetic, atomic with single import-site update at `scripts/mcp-servers/gdd-mcp/tools/gdd_health.ts`). The module is pure local-file inspection; the "mirror" refers to our own `skills/health/SKILL.md` surface, never upstream.
|
|
875
|
-
- **`.design/graph/`** replaces upstream's `.planning/graphs/` location (per D-02
|
|
917
|
+
- **`.design/graph/`** replaces upstream's `.planning/graphs/` location (per D-02 - aligns with the rest of GDD's `.design/` artifact convention).
|
|
876
918
|
- **`connections/graphify.md`** rewritten for native CLI (no external `graphifyy` dependency).
|
|
877
919
|
- **`reference/start-interview.md`** updated to reference `/gdd:discuss` (our equivalent) instead of `/gsd-discuss-phase`.
|
|
878
|
-
- **`README.md`** at the `gsd-build/get-shit-done (MIT — see NOTICE)` citation gains the redux-pointer parenthetical "(now archived; community continuation at `open-gsd/get-shit-done-redux`)". Citation preserved verbatim
|
|
920
|
+
- **`README.md`** at the `gsd-build/get-shit-done (MIT — see NOTICE)` citation gains the redux-pointer parenthetical "(now archived; community continuation at `open-gsd/get-shit-done-redux`)". Citation preserved verbatim - only annotated for reader clarity.
|
|
879
921
|
- **Graphify enable/disable state** (D-09) lives in `.design/config.json` at `{ "graphify": { "enabled": bool } }`. Read directly by `gdd-graph` via fs; no `config-set` / `config-get` CLI subcommand.
|
|
880
922
|
|
|
881
923
|
### Removed
|
|
882
924
|
|
|
883
|
-
- **Runtime dispatch into `~/.claude/get-shit-done/`**
|
|
884
|
-
- **`.planning/get-shit-done-main/`** (10MB pre-rug-pull vendored snapshot)
|
|
925
|
+
- **Runtime dispatch into `~/.claude/get-shit-done/`** - 8 callsites no longer invoke `gsd-tools.cjs graphify *`.
|
|
926
|
+
- **`.planning/get-shit-done-main/`** (10MB pre-rug-pull vendored snapshot) - used during Phase 28.7's architectural port; port shipped, snapshot dead weight.
|
|
885
927
|
- Intel→graphify translation layer (dead code post-migration; intel slices are now the canonical input to `bin/gdd-graph build` with no intermediate translation step).
|
|
886
928
|
|
|
887
929
|
### Backward compatibility
|
|
888
930
|
|
|
889
|
-
- Phase 27 / Phase 28.5 / Phase 28.7 `NOTICE` attribution subsections **preserved verbatim** per D-06. Those describe historical MIT/Apache ports (peer-CLI delegation protocol shapes from cc-multi-cli; skill-authoring contract from mattpocock/skills; install-pipeline architecture from gsd-build/get-shit-done)
|
|
890
|
-
- `.design/intel/` schema unchanged
|
|
931
|
+
- Phase 27 / Phase 28.5 / Phase 28.7 `NOTICE` attribution subsections **preserved verbatim** per D-06. Those describe historical MIT/Apache ports (peer-CLI delegation protocol shapes from cc-multi-cli; skill-authoring contract from mattpocock/skills; install-pipeline architecture from gsd-build/get-shit-done) - they remain in our tree under the original MIT/Apache terms. Phase 30.6 removes a **runtime touchpoint**, not a **historical port**.
|
|
932
|
+
- `.design/intel/` schema unchanged - Phase 10's knowledge layer keeps its current ownership; we only consume from it differently.
|
|
891
933
|
- 4-manifest + 2 Tier-2 manifest lockstep at v1.30.6 (`package.json` + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` (metadata.version + plugins[0].version) + `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json`).
|
|
892
934
|
|
|
893
935
|
### Decisions (D-01 through D-10)
|
|
@@ -900,7 +942,7 @@ The `gsd-build/get-shit-done` rug-pull in May 2026 (TÂCHES drained $GSD Solana
|
|
|
900
942
|
- **D-06**: `NOTICE` retains Phase 27 / Phase 28.5 / Phase 28.7 architectural attributions verbatim. We're removing a runtime touchpoint, not voiding a historical port.
|
|
901
943
|
- **D-07**: Phase 30.6 ships off-cadence as a decimal from v1.30.5 parent (same shape v1.30.5 used coming off v1.30.0). NO 1.31.x bump.
|
|
902
944
|
- **D-08**: Agent rename `gdd-graphify-sync` → `gdd-graph-refresh` is one-way (no alias). Internal name; no external callers from outside the plugin.
|
|
903
|
-
- **D-09**: Graphify enable/disable state lives in `.design/config.json` at `{ "graphify": { "enabled": bool } }`. Read directly by `gdd-graph` via `JSON.parse(fs.readFileSync(...))` with sensible default (`enabled: false`). No `config-set` / `config-get` CLI subcommand
|
|
945
|
+
- **D-09**: Graphify enable/disable state lives in `.design/config.json` at `{ "graphify": { "enabled": bool } }`. Read directly by `gdd-graph` via `JSON.parse(fs.readFileSync(...))` with sensible default (`enabled: false`). No `config-set` / `config-get` CLI subcommand - simpler than the upstream config-tool pattern.
|
|
904
946
|
- **D-10**: `scripts/lib/gsd-health-mirror/` rename is one-way (no alias). Only one import site (`scripts/mcp-servers/gdd-mcp/tools/gdd_health.ts`) which is updated atomically with the rename.
|
|
905
947
|
|
|
906
948
|
### Attribution preservation
|
|
@@ -911,13 +953,13 @@ Phase 27 / Phase 28.5 / Phase 28.7 attribution subsections in `NOTICE` are prese
|
|
|
911
953
|
|
|
912
954
|
## [1.30.5] - 2026-05-21
|
|
913
955
|
|
|
914
|
-
### Phase 30.5
|
|
956
|
+
### Phase 30.5 - Failure-Mode Catalogue
|
|
915
957
|
|
|
916
958
|
Decimal sub-phase building on Phase 30's `/gdd:report-issue` triage gate. Expands the known-failure-modes catalogue, adds a deterministic fuzzy matcher, and wires reflector + authority-watcher proposal flows into a 6th `/gdd:apply-reflections` proposal class. 3 plans ship together at v1.30.5 (D-11 ship-together): catalogue expansion (Wave A), fuzzy matcher (Wave A), reflector/authority-watcher wiring + closeout (Wave B).
|
|
917
959
|
|
|
918
960
|
### Added
|
|
919
961
|
|
|
920
|
-
- **Failure-mode catalogue expansion** (`reference/known-failure-modes.md`, Plan 30.5-01). Catalogue grows from 10 → 22 entries (KFM-001..KFM-022)
|
|
962
|
+
- **Failure-mode catalogue expansion** (`reference/known-failure-modes.md`, Plan 30.5-01). Catalogue grows from 10 → 22 entries (KFM-001..KFM-022) - covers EACCES, gh-missing, Node mismatch, npm-ci lockfile drift, webpack chunk collisions, esbuild config errors, vite HMR, TS6133 unused locals, and 14 more long-tail failure modes harvested from closed PRs + reflections cycles + public Node/npm/git failure-mode references. Each entry carries the schema-v2 11-field shape (`id`, `pattern`, `diagnosis`, `remedy`, `severity`, `propose_report`, `symptom`, `root_cause`, `fix`, `related_phases`, `first_observed_cycle`); Phase 30's `triage-matcher.cjs` reads only the original 6 fields (D-02 backward-compat).
|
|
921
963
|
- **Fuzzy failure-mode matcher** (`scripts/lib/failure-mode-matcher.cjs`, Plan 30.5-02). New `match(errorContext, { topN, threshold, cataloguePath })` API returns top-N candidates ranked by cosine similarity over a stop-word-filtered bag-of-words across `symptom + root_cause + un-regexed pattern`. Default `topN=3`, `threshold=0.4`, dominance-collapse delta `0.15`. Pure CommonJS, zero npm dependencies, deterministic (no `Math.random` / `Date.now` / I/O outside catalogue read). Phase 30's exact-match `triage-matcher.cjs` is untouched (D-04 byte-identity guard).
|
|
922
964
|
- **Reflector KFM proposer** (`scripts/lib/reflector-kfm-proposer.cjs`, Plan 30.5-03 D-05). When a Phase 29 `capability_gap` cluster recurs ≥3× with no matching catalogue entry (per `failure-mode-matcher.match()`), the proposer drops a pre-filled draft at `.design/reflections/incubator/kfm-<slug>/CATALOGUE-ENTRY.md`. The draft carries all 11 schema-v2 fields; `pattern` + `fix` are `TODO:` placeholders the user fills via the apply-reflections edit action.
|
|
923
965
|
- **Authority-watcher `kfm-candidate` event class** (`reference/schemas/events.schema.json` + `scripts/lib/authority-watcher/index.cjs`, Plan 30.5-03 D-06). New additive `allOf[1]` branch on the events schema; new 7-field `KfmCandidatePayload` definition. When the authority-watcher pipeline encounters an article whose title matches `/common errors|failure modes|troubleshooting|known issues|pitfalls/i`, it emits a `kfm-candidate` event that the reflector consumes into the SAME incubator draft surface as `capability_gap` clusters (one unified user-review path).
|
|
@@ -926,19 +968,19 @@ Decimal sub-phase building on Phase 30's `/gdd:report-issue` triage gate. Expand
|
|
|
926
968
|
|
|
927
969
|
### Changed
|
|
928
970
|
|
|
929
|
-
- **Reflector capability-gap aggregator** (`scripts/lib/reflector-capability-gap-aggregator.cjs`)
|
|
930
|
-
- **Authority-watcher agent prompt** (`agents/design-authority-watcher.md`)
|
|
931
|
-
- **OFF_CADENCE_VERSIONS** (`tests/semver-compare.test.cjs`)
|
|
971
|
+
- **Reflector capability-gap aggregator** (`scripts/lib/reflector-capability-gap-aggregator.cjs`) - adds lazy-loaded `proposeKfmDraftsForClusters(clusters, options)` export that invokes the KFM proposer as an additional pass after Phase 29 aggregation. Phase 29's existing 5 proposal classes are untouched (additive).
|
|
972
|
+
- **Authority-watcher agent prompt** (`agents/design-authority-watcher.md`) - gains a new `Step 7.5 — Emit kfm-candidate events` section documenting the whitelist patterns + payload shape. Phase 13.2's existing fetch/diff/classify/write loop is unchanged.
|
|
973
|
+
- **OFF_CADENCE_VERSIONS** (`tests/semver-compare.test.cjs`) - registers `'1.30.5'` per Phase 29/30 precedent.
|
|
932
974
|
|
|
933
975
|
### Documentation
|
|
934
976
|
|
|
935
|
-
- `CHANGELOG.md`
|
|
936
|
-
- `README.md` + 6 translated READMEs (de/fr/it/ja/ko/zh-CN)
|
|
937
|
-
- `reference/known-failure-modes.md`
|
|
977
|
+
- `CHANGELOG.md` - this entry (v1.30.5).
|
|
978
|
+
- `README.md` + 6 translated READMEs (de/fr/it/ja/ko/zh-CN) - single-paragraph mention of v1.30.5's catalogue expansion + fuzzy matcher.
|
|
979
|
+
- `reference/known-failure-modes.md` - schema-v2 header documenting the 11-field shape (Plan 30.5-01).
|
|
938
980
|
|
|
939
981
|
### Privacy & Safety
|
|
940
982
|
|
|
941
|
-
- **No auto-promotion.** The reflector KFM proposer is strictly proposal-only (Phase 11 SC-8). Drafts live in `.design/reflections/incubator/` until the user accepts them via `/gdd:apply-reflections`. The canonical catalogue feeds Phase 30's pre-consent triage gate, so a bad entry could mute legitimate issue reports
|
|
983
|
+
- **No auto-promotion.** The reflector KFM proposer is strictly proposal-only (Phase 11 SC-8). Drafts live in `.design/reflections/incubator/` until the user accepts them via `/gdd:apply-reflections`. The canonical catalogue feeds Phase 30's pre-consent triage gate, so a bad entry could mute legitimate issue reports - the user-review gate is non-negotiable (D-05).
|
|
942
984
|
- **`kfm-candidate` events are local-only.** No new network surfaces. The authority-watcher's existing whitelist (`reference/authority-feeds.md`) is the sole ingress for `kfm-candidate` events; nothing the reflector emits travels off-machine.
|
|
943
985
|
- **`raw_excerpt` cap.** Authority-derived excerpts are truncated to 500 chars before draft write (schema-enforced).
|
|
944
986
|
|
|
@@ -946,24 +988,24 @@ Decimal sub-phase building on Phase 30's `/gdd:report-issue` triage gate. Expand
|
|
|
946
988
|
|
|
947
989
|
## [1.30.0] - 2026-05-20
|
|
948
990
|
|
|
949
|
-
### Phase 30
|
|
991
|
+
### Phase 30 - Consent-First GitHub Issue Reporter
|
|
950
992
|
|
|
951
|
-
Opt-in user feedback channel that pseudonymizes payloads before submission (NOT anonymization
|
|
993
|
+
Opt-in user feedback channel that pseudonymizes payloads before submission (NOT anonymization - see disclosure below). Local-first, consent-gated, no auto-mode. Destination repo is hardcoded. 8 plans across Wave A primitives (30-01..30-03) / Wave B integration (30-04..30-06) / Wave C closeout (30-07..30-08). 6-manifest lockstep at 1.30.0 (D-12 ship-together on-cadence minor from 1.29.0).
|
|
952
994
|
|
|
953
995
|
### Added
|
|
954
996
|
|
|
955
997
|
- **Consent-First GitHub Issue Reporter.** Phase 30 ships these surfaces:
|
|
956
|
-
- **`/gdd:report-issue` skill** (`skills/report-issue/SKILL.md`, from 30-04)
|
|
957
|
-
- **`scripts/lib/pseudonymize.cjs`** (from 30-01)
|
|
958
|
-
- **`scripts/lib/issue-reporter/payload-assembly.cjs`** (from 30-02)
|
|
959
|
-
- **`scripts/lib/issue-reporter/destination.cjs`** (from 30-04)
|
|
960
|
-
- **Triage matcher** (`scripts/lib/issue-reporter/triage-matcher.cjs`, from 30-03)
|
|
961
|
-
- **Dedup matcher** (`scripts/lib/issue-reporter/dedup.cjs`, from 30-05)
|
|
962
|
-
- **Kill-switch** (`scripts/lib/issue-reporter/kill-switch.cjs`, from 30-06)
|
|
963
|
-
- **`gh`-absent fallback** (`scripts/lib/issue-reporter/gh-absent-fallback.cjs`, from 30-06)
|
|
964
|
-
- **Privacy-diff renderer** (`scripts/lib/issue-reporter/privacy-diff.cjs`, from 30-07)
|
|
965
|
-
- **Network-isolation CI gate** (`tests/issue-reporter-network-isolation.test.cjs`, from 30-07)
|
|
966
|
-
- **`reference/pseudonymization-rules.md`** + **`reference/known-failure-modes.md`** (from 30-01 / 30-03)
|
|
998
|
+
- **`/gdd:report-issue` skill** (`skills/report-issue/SKILL.md`, from 30-04) - Phase 28.5 compliant (≤100 lines). Walks the user through a consented submission: kill-switch check → triage against known failure modes → dedup against existing issues → assemble pseudonymized payload → draft to disk + open `$EDITOR` → consent prompt → submit via `gh` CLI.
|
|
999
|
+
- **`scripts/lib/pseudonymize.cjs`** (from 30-01) - 8 pseudonymization rules (R1..R8) covering git identity, absolute paths (Linux/macOS/Windows shapes), hostname, repo origin, env-var values, emails in logs, IPv4/IPv6 addresses, and stable per-user pseudonyms. Pure module: no `fs`, no `child_process`, no env mutation, no network.
|
|
1000
|
+
- **`scripts/lib/issue-reporter/payload-assembly.cjs`** (from 30-02) - composes the final issue payload (title, body, fingerprint, bilingual disclaimer) from pseudonymized inputs. Two-layer scrub: Phase 22 `redact.cjs` then Phase 30 `pseudonymize.cjs` (order non-negotiable). Pure module: returns a string, no I/O.
|
|
1001
|
+
- **`scripts/lib/issue-reporter/destination.cjs`** (from 30-04) - hardcoded `https://github.com/hegemonart/get-design-done` constant. SOLE FILE under the issue-reporter tree allowed to contain the destination URL literal. Frozen export.
|
|
1002
|
+
- **Triage matcher** (`scripts/lib/issue-reporter/triage-matcher.cjs`, from 30-03) - pattern-matches the user's error against `reference/known-failure-modes.md`. On match: surfaces the remedy and stops; user can override with `--force-report`.
|
|
1003
|
+
- **Dedup matcher** (`scripts/lib/issue-reporter/dedup.cjs`, from 30-05) - queries `gh issue list` against the destination repo and surfaces existing-issue matches before submission. Match outcomes: no-match → proceed; single-match → react with +1 + offer "me too" comment; multi-match → user picks. Wired into the report-flow BEFORE the consent prompt.
|
|
1004
|
+
- **Kill-switch** (`scripts/lib/issue-reporter/kill-switch.cjs`, from 30-06) - env-var override (`GDD_DISABLE_ISSUE_REPORTER=1`) OR config-file override (`.design/config.json` with `{ "issue_reporter": false }`). Either disables the reporter; env wins when both set. Halts submission before any network call. `gsd-health` mirrors the same disable line.
|
|
1005
|
+
- **`gh`-absent fallback** (`scripts/lib/issue-reporter/gh-absent-fallback.cjs`, from 30-06) - when GitHub CLI isn't installed, the assembled payload is written to disk under `.design/issue-drafts/` and the issue-template URL is copied to the platform-appropriate clipboard (xclip / pbcopy / clip).
|
|
1006
|
+
- **Privacy-diff renderer** (`scripts/lib/issue-reporter/privacy-diff.cjs`, from 30-07) - renders the before/after pseudonymization diff at consent time and via `/gdd:update --show-privacy-diff`.
|
|
1007
|
+
- **Network-isolation CI gate** (`tests/issue-reporter-network-isolation.test.cjs`, from 30-07) - static-analysis test asserts no `https://` / `fetch(` / `XMLHttpRequest` references exist anywhere under `scripts/lib/issue-reporter/` or `scripts/lib/pseudonymize.cjs` except the single destination URL constant in `destination.cjs`. Whitelisted via explicit allowlist.
|
|
1008
|
+
- **`reference/pseudonymization-rules.md`** + **`reference/known-failure-modes.md`** (from 30-01 / 30-03) - registered in `registry.json`. User-facing docs explaining the 8-rule pseudonymization catalog and the known failure modes / anti-patterns the reporter detects.
|
|
967
1009
|
|
|
968
1010
|
### Changed
|
|
969
1011
|
|
|
@@ -971,49 +1013,49 @@ Opt-in user feedback channel that pseudonymizes payloads before submission (NOT
|
|
|
971
1013
|
|
|
972
1014
|
### Documentation
|
|
973
1015
|
|
|
974
|
-
- `reference/pseudonymization-rules.md` + `reference/known-failure-modes.md`
|
|
1016
|
+
- `reference/pseudonymization-rules.md` + `reference/known-failure-modes.md` - added + registered in `reference/registry.json` (2 new entries).
|
|
975
1017
|
- `README.md` + 6 translated READMEs (de/fr/it/ja/ko/zh-CN) updated with a "Feedback Channel (v1.30.0+)" section disclosing the `/gdd:report-issue` command and the pseudonymization-NOT-anonymization stance.
|
|
976
|
-
- `NOTICE`
|
|
1018
|
+
- `NOTICE` - Phase 30 section noting the consent-first reporter discipline (added in 30-07).
|
|
977
1019
|
|
|
978
1020
|
### Privacy & Safety
|
|
979
1021
|
|
|
980
1022
|
- **Pseudonymization, not anonymization.** Payloads obscure direct identifiers (username, hostname, absolute paths, git identity, env-var values, emails, IPs) but preserve internal correlation so maintainers can debug. Side-channel data (writing style, code patterns, repo fingerprints) may still re-identify. Users see a full payload preview before submission and explicitly consent per-issue.
|
|
981
1023
|
- **Kill-switch.** Env-var (`GDD_DISABLE_ISSUE_REPORTER=1`) or config-file (`.design/config.json` `{ "issue_reporter": false }`) overrides halt submission before any network call. `gsd-health` surfaces the disable line.
|
|
982
1024
|
- **Hardcoded destination.** The issue-reporter cannot be redirected at runtime; the destination URL is a frozen module constant in `scripts/lib/issue-reporter/destination.cjs`. No env-var, config, or flag override.
|
|
983
|
-
- **Network isolation.** Issue-reporter modules contain NO `https://` (or equivalent) calls beyond the single destination URL constant
|
|
1025
|
+
- **Network isolation.** Issue-reporter modules contain NO `https://` (or equivalent) calls beyond the single destination URL constant - verified by Phase 30 baseline static-analysis check (Plan 30-07).
|
|
984
1026
|
|
|
985
1027
|
---
|
|
986
1028
|
|
|
987
1029
|
## [1.29.0] - 2026-05-19
|
|
988
1030
|
|
|
989
|
-
### Phase 29
|
|
1031
|
+
### Phase 29 - Capability-Gap Telemetry + Self-Authoring of Agents/Skills
|
|
990
1032
|
|
|
991
|
-
First on-cadence minor version after the 1.28.x decimal sub-phase sequence (1.28.0 through 1.28.8). Extends Phase 11's reflector-driven self-improvement loop from authoring reference content to authoring executable artifacts (agents and skills) when capability-gaps recur. Two structural ceilings close here: the artifact-type ceiling (reflector now drafts agents/skills, not just `reference/*.md`) and the signal-source ceiling (capability-lookup failures are now first-class telemetry). Strictly proposal-only
|
|
1033
|
+
First on-cadence minor version after the 1.28.x decimal sub-phase sequence (1.28.0 through 1.28.8). Extends Phase 11's reflector-driven self-improvement loop from authoring reference content to authoring executable artifacts (agents and skills) when capability-gaps recur. Two structural ceilings close here: the artifact-type ceiling (reflector now drafts agents/skills, not just `reference/*.md`) and the signal-source ceiling (capability-lookup failures are now first-class telemetry). Strictly proposal-only - `/gdd:apply-reflections` remains the single human gate. 6-manifest lockstep at 1.29.0 (extends Phase 28.8's 4-manifest lockstep with the 2 Tier-2 manifests `.cursor-plugin/plugin.json` + `.codex-plugin/plugin.json` bumped in lockstep). 7 plans across Wave A telemetry (29-01..29-03) / Wave B authoring (29-04..29-06) / Wave C closeout (29-07).
|
|
992
1034
|
|
|
993
1035
|
### Added
|
|
994
1036
|
|
|
995
1037
|
- **Capability-gap telemetry + self-authoring of agents/skills.** Two-stage rollout per Phase 29 D-01:
|
|
996
|
-
- **Stage 0
|
|
1038
|
+
- **Stage 0 - telemetry only (ships immediately).**
|
|
997
1039
|
- New typed `capability_gap` event added to the Phase 22 event-chain schema (`reference/schemas/events.schema.json`). 7 fields exactly per D-02 (no PII): `event_id`, `parent_event_id`, `source` (enum: `fast`/`router`/`reflector_pattern`), `context_hash`, `intent_summary`, `suggested_kind` (enum: `agent`/`skill`), `evidence_refs[]` (hash-pinned trajectory-JSONL pointers per D-07, not duplicated content).
|
|
998
|
-
- Emitters integrated at three lookup-fail points (29-01): `skills/fast/SKILL.md` no-skill-match path emits `source: "fast"`; `skills/router/SKILL.md` unmatched-intent path emits `source: "router"`. Per D-08, MCP-probe connection failures do NOT emit `capability_gap`
|
|
1040
|
+
- Emitters integrated at three lookup-fail points (29-01): `skills/fast/SKILL.md` no-skill-match path emits `source: "fast"`; `skills/router/SKILL.md` unmatched-intent path emits `source: "router"`. Per D-08, MCP-probe connection failures do NOT emit `capability_gap` - those remain Phase 22's connection-status surface.
|
|
999
1041
|
- Reflector pattern-detection pass (29-02) at `scripts/lib/reflector/capability-gap-scan.cjs` scans `.design/intel/` + Phase 23.5 posterior + recent trajectories for `Touches:` clusters recurring without dedicated agent owners and emits `capability_gap` events with `source: "reflector_pattern"`.
|
|
1000
1042
|
- Reflector aggregation extension (29-03) at `scripts/lib/reflector-capability-gap-aggregator.cjs` reads all `capability_gap` events, clusters by `context_hash`, and writes a `## Capability gaps observed` section to `.design/reflections/<cycle-slug>.md`. `gdd-events --type capability_gap` filter exposed via the existing CLI.
|
|
1001
|
-
- `reference/capability-gap-stage-gate.md`
|
|
1002
|
-
- **Stage 1
|
|
1043
|
+
- `reference/capability-gap-stage-gate.md` - Stage-0 → Stage-1 gate spec. K=3 stable clusters across M=10 cycles per D-03, cluster-stability defined as Phase 23.5 posterior `stddev(Beta(α, β)) < 0.05`. Both K and M overridable in the gate doc.
|
|
1044
|
+
- **Stage 1 - incubator authoring (data-gated, user-opt-in per D-01).**
|
|
1003
1045
|
- `scripts/lib/incubator-author.cjs` (29-04) reads gap clusters above the stability threshold + posterior, then drafts `SKILL.md` or `agents/<slug>.md` at `.design/reflections/incubator/<slug>/` with Phase 28.5-compliant frontmatter (`name`, `description` in `<what>. Use when <triggers>.` form, `tools`, `default-tier`, optional `reasoning-class`, `parallel-safe`, `reads-only`). Origin section with `capability_gap` event refs. Computed usage frequency. Suggested integration point. `delegate_to: null` defensive default per D-12 (forward-compat with Phase 27).
|
|
1004
1046
|
- `/gdd:apply-reflections` extension (29-05) at `skills/apply-reflections/SKILL.md` and `scripts/lib/incubator-proposals.cjs` surfaces incubator drafts as a new (5th) proposal class alongside frontmatter/reference/budget/discussant. Each proposal renders a diff vs the nearest existing artifact (by name + tools + description embedding per D-09). Four actions per proposal: `accept` (promotes to `agents/`/`skills/` + registers via the Phase 14.5 `reference/registry.json`), `reject`, `defer`, `edit` ($EDITOR). Scope-guard validator at `scripts/validate-incubator-scope.cjs` (D-05) blocks promotion outside `agents/`+`skills/`.
|
|
1005
|
-
- **Bandit fairness gate (29-06)**
|
|
1006
|
-
- **Incubator TTL (29-06)**
|
|
1047
|
+
- **Bandit fairness gate (29-06)** - `scripts/lib/bandit-router.cjs` accepts a new `prior_class: "promoted_incubator"` parameter. Promoted arms enter the Phase 23.5 posterior with a conservative `Beta(2, 8)` prior (assume worse-than-average) instead of an optimistic uniform. Per D-04: this IS the staging mechanism - single-step promotion gate via `/gdd:apply-reflections accept`, no two-step staging/ratify split.
|
|
1048
|
+
- **Incubator TTL (29-06)** - drafts not promoted/refreshed within P=30 days (per D-06) auto-archive via `scripts/gsd-cleanup-incubator.cjs` to `.design/reflections/incubator/archive/<slug>/`. Refresh = new `capability_gap` event matching an existing slug's `context_hash` resets the timer.
|
|
1007
1049
|
|
|
1008
1050
|
### Changed
|
|
1009
1051
|
|
|
1010
|
-
- Reflector now emits `capability_gap` events alongside the existing learnings / telemetry / agent-metrics signals. No change to existing reflection proposal classes
|
|
1052
|
+
- Reflector now emits `capability_gap` events alongside the existing learnings / telemetry / agent-metrics signals. No change to existing reflection proposal classes - additive only.
|
|
1011
1053
|
- `/gdd:apply-reflections` now surfaces 5 proposal classes (was 4: frontmatter / reference / budget / discussant; now adds Incubator agents+skills).
|
|
1012
1054
|
- `scripts/lib/bandit-router.cjs` accepts a new `prior_class` parameter (default `null` = existing uniform-prior behavior; `"promoted_incubator"` = `Beta(2, 8)` conservative prior).
|
|
1013
1055
|
|
|
1014
1056
|
### Documentation
|
|
1015
1057
|
|
|
1016
|
-
- `reference/capability-gap-stage-gate.md`
|
|
1058
|
+
- `reference/capability-gap-stage-gate.md` - Stage-0 → Stage-1 gate spec (K=3 / M=10 defaults, `stddev(Beta(α, β)) < 0.05` stability threshold, user opt-in flow).
|
|
1017
1059
|
- `README.md` + 6 translated READMEs (de/fr/it/ja/ko/zh-CN) updated with the capability-gap telemetry + self-authoring section: Stage 0 ships immediately (telemetry-only, no authoring); Stage 1 authoring is opt-in via `/gdd:apply-reflections` once K=3 stable clusters across M=10 cycles surface.
|
|
1018
1060
|
|
|
1019
1061
|
### Preserved (no behavior change)
|
|
@@ -1027,20 +1069,20 @@ First on-cadence minor version after the 1.28.x decimal sub-phase sequence (1.28
|
|
|
1027
1069
|
|
|
1028
1070
|
## [1.28.8] - 2026-05-19
|
|
1029
1071
|
|
|
1030
|
-
### Phase 28.8
|
|
1072
|
+
### Phase 28.8 - Tier-2 Distribution Channels
|
|
1031
1073
|
|
|
1032
|
-
Three new structured distribution channels alongside the Phase 28.7 file-drop install paths. v1.28.8 ships manifest code + bundle generators + doctor mode integration for all three channels; live publish + live install field-tests run post-merge as maintainer steps (D-09 revised, D-16). Off-cadence decimal sub-phase from v1.28.7 parent
|
|
1074
|
+
Three new structured distribution channels alongside the Phase 28.7 file-drop install paths. v1.28.8 ships manifest code + bundle generators + doctor mode integration for all three channels; live publish + live install field-tests run post-merge as maintainer steps (D-09 revised, D-16). Off-cadence decimal sub-phase from v1.28.7 parent - sequence 1.28.0 → 1.28.5 → 1.28.6 → 1.28.7 → 1.28.8. 12 plans across Wave A (research + lint check) / Wave B (manifests + converters + doctors) / Wave C (bundle builder + Tier-2 doctor aggregation) / Wave D (closeout).
|
|
1033
1075
|
|
|
1034
1076
|
### Added
|
|
1035
1077
|
|
|
1036
|
-
- **Tier-2 distribution channels**
|
|
1078
|
+
- **Tier-2 distribution channels** - three new structured channels alongside the Phase 28.7 file-drop install paths:
|
|
1037
1079
|
- **agentskills.io compliance lint** (`scripts/lint-agentskills-spec.cjs`, Workstream A). The open SKILL.md spec adopted by ~38 tools is now enforced against `skills/` on every change. Per D-13 the recommendation was lint-only (our Phase 28.5 frontmatter contract already matches the 2 required spec fields `name` + `description`). 38 PASS / 32 WARN / 0 FAIL across the current `skills/` tree.
|
|
1038
|
-
- **Cursor Marketplace**
|
|
1039
|
-
- **Codex Plugin**
|
|
1040
|
-
- `scripts/build-distribution-bundles.cjs`
|
|
1041
|
-
- `scripts/doctor-tier2.cjs`
|
|
1042
|
-
- Cross-runtime agentskills.io compat verification reports under `.planning/research/agentskills-io-compat/<runtime>.md` (A2)
|
|
1043
|
-
- `docs/cursor-marketplace-field-test.md` + `docs/codex-plugin-field-test.md`
|
|
1080
|
+
- **Cursor Marketplace** - `.cursor-plugin/plugin.json` manifest at repo root + `scripts/lib/install/converters/cursor-marketplace.cjs` bundle generator. New `kind: 'cursor-marketplace'` in `scripts/lib/install/runtimes.cjs`. Doctor reports application status: `not-submitted` / `submitted-pending` / `approved-published` / `rejected` (B2). Per D-04 + D-16: publisher application gated by Cursor team review - maintainer submits post-merge.
|
|
1081
|
+
- **Codex Plugin** - `.codex-plugin/plugin.json` manifest at repo root + `scripts/lib/install/converters/codex-plugin.cjs` bundle generator. New `kind: 'codex-plugin'` in `runtimes.cjs`. Install today via `codex plugin marketplace add hegemonart/get-design-done` against any GitHub URL (D-03). Per D-14: catalog discovery reuses the existing `.claude-plugin/marketplace.json` - no separate Codex catalog file authored.
|
|
1082
|
+
- `scripts/build-distribution-bundles.cjs` - shared source / per-channel bundle builder (X1). Produces `dist/cursor-marketplace/`, `dist/codex-plugin/`, `dist/agentskills-io/` from one `skills/` tree (D-06 single source of truth).
|
|
1083
|
+
- `scripts/doctor-tier2.cjs` - Tier-2 status aggregator surfaced via `scripts/install.cjs --doctor` (X2).
|
|
1084
|
+
- Cross-runtime agentskills.io compat verification reports under `.planning/research/agentskills-io-compat/<runtime>.md` (A2) - 5 runtime reports (Codex, Kilo, Augment, Hermes, Qwen).
|
|
1085
|
+
- `docs/cursor-marketplace-field-test.md` + `docs/codex-plugin-field-test.md` - maintainer-facing field-test playbooks (post-merge live publish + install verification per D-09 revised).
|
|
1044
1086
|
- Wave A research deep-reads at `.planning/research/`: `agentskills-io-2026-05-19.md`, `cursor-marketplace-2026-05-19.md`, `codex-plugins-2026-05-19.md`.
|
|
1045
1087
|
|
|
1046
1088
|
### Changed
|
|
@@ -1051,43 +1093,43 @@ Three new structured distribution channels alongside the Phase 28.7 file-drop in
|
|
|
1051
1093
|
|
|
1052
1094
|
### Documentation
|
|
1053
1095
|
|
|
1054
|
-
- `docs/cursor-marketplace-field-test.md`, `docs/codex-plugin-field-test.md`
|
|
1096
|
+
- `docs/cursor-marketplace-field-test.md`, `docs/codex-plugin-field-test.md` - added.
|
|
1055
1097
|
- `README.md` + 6 translated READMEs (de/fr/it/ja/ko/zh-CN) updated with Tier-2 install paths per adopted channel (agentskills.io cross-runtime portability note, Cursor Marketplace pending-application note, Codex `codex plugin marketplace add hegemonart/get-design-done`).
|
|
1056
1098
|
|
|
1057
1099
|
### Backward compatibility
|
|
1058
1100
|
|
|
1059
|
-
- Per D-05: Phase 28.7 file-drop install (`scripts/lib/install/converters/cursor.cjs`, `scripts/lib/install/converters/codex.cjs`) is UNCHANGED. Tier-2 channels are additive opt-in surfaces
|
|
1101
|
+
- Per D-05: Phase 28.7 file-drop install (`scripts/lib/install/converters/cursor.cjs`, `scripts/lib/install/converters/codex.cjs`) is UNCHANGED. Tier-2 channels are additive opt-in surfaces - existing install paths continue to work exactly as in v1.28.7.
|
|
1060
1102
|
|
|
1061
1103
|
---
|
|
1062
1104
|
|
|
1063
|
-
## [1.28.7]
|
|
1105
|
+
## [1.28.7] - 2026-05-19
|
|
1064
1106
|
|
|
1065
|
-
### Phase 28.7
|
|
1107
|
+
### Phase 28.7 - Multi-Runtime Install (Pragmatic Port from gsd-build)
|
|
1066
1108
|
|
|
1067
|
-
Replaces the Phase 24 `kind: 'agents-md'` placeholder (which dropped a single bare `AGENTS.md` into each non-Claude runtime's config dir
|
|
1109
|
+
Replaces the Phase 24 `kind: 'agents-md'` placeholder (which dropped a single bare `AGENTS.md` into each non-Claude runtime's config dir - content the runtimes did not actually consume) with proper native install for all 14 claimed runtimes. Architecture ported from `gsd-build/get-shit-done` (MIT) - see `NOTICE` for the rollup attribution. Per Phase 28.7 D-02 we port the architecture rather than byte-copying the upstream `bin/install.js` monolith. Off-cadence decimal sub-phase from v1.28.0 parent - sequence 1.28.0 → 1.28.5 → 1.28.6 → 1.28.7. Re-interpretation of the original ROADMAP Phase 28.7 (verification-gated) per user direction 2026-05-18: skip field-test reports, trust gsd-build's upstream proving of the pattern. 10 plans across Waves A (foundations) / B (converters) / C (wire-up + test + closeout).
|
|
1068
1110
|
|
|
1069
1111
|
#### New install infrastructure (Wave A)
|
|
1070
1112
|
|
|
1071
|
-
- `scripts/lib/install/runtime-homes.cjs` (28.7-01)
|
|
1072
|
-
- `scripts/lib/install/runtime-artifact-layout.cjs` (28.7-02)
|
|
1073
|
-
- `scripts/lib/install/runtime-slash.cjs` (28.7-03)
|
|
1113
|
+
- `scripts/lib/install/runtime-homes.cjs` (28.7-01) - pure per-runtime config-dir resolver for all 14 runtimes. Handles env-var overrides (`CLAUDE_CONFIG_DIR`, `XDG_CONFIG_HOME`, etc.), XDG paths, and special-case nests (Antigravity under `~/.gemini/antigravity`, Windsurf under `~/.codeium/windsurf`). Pure function - no I/O.
|
|
1114
|
+
- `scripts/lib/install/runtime-artifact-layout.cjs` (28.7-02) - per-(runtime, scope) layout table mapping each combination to its `kinds[] = [{kind, destSubpath, prefix}]` shape. Claude global → `skills/<name>/`; Claude local → `commands/gsd/` + `agents/`; cursor/codex/copilot/antigravity/windsurf/augment/trae/qwen/codebuddy → `skills/<name>/`; opencode + kilo → `command/<name>` (slash-command dir, not skills); gemini → `commands/gsd/` (commands-only); cline → `kinds: []` (rules-based - embeds in `.clinerules` per D-09).
|
|
1115
|
+
- `scripts/lib/install/runtime-slash.cjs` (28.7-03) - per-runtime slash-command surface emitter. Codex uses `$gdd-<name>` shell-var form; all others use `/gdd-<name>`. Reserves a forward-compat seam for downstream slash-aware install behaviors.
|
|
1074
1116
|
|
|
1075
1117
|
#### Per-runtime content converters (Wave B)
|
|
1076
1118
|
|
|
1077
|
-
- 13 per-runtime converters at `scripts/lib/install/converters/<runtime>.cjs` (28.7-04 through 28.7-07), plus `shared.cjs` (frontmatter pass-through, tool-name rewrite, brand pass-through utilities). Each runtime converter exports `convert(content, skillName, ctx) → { path, content }`. Cross-references the Phase 21 cross-harness tool-name maps (`reference/codex-tools.md`, `reference/gemini-tools.md`)
|
|
1078
|
-
- Wave 1 (28.7-04)
|
|
1079
|
-
- Wave 2 (28.7-05)
|
|
1080
|
-
- Wave 3 (28.7-06)
|
|
1081
|
-
- Wave 4 (28.7-07)
|
|
1082
|
-
- **Hermes is OUT of scope** (D-03 + D-10)
|
|
1119
|
+
- 13 per-runtime converters at `scripts/lib/install/converters/<runtime>.cjs` (28.7-04 through 28.7-07), plus `shared.cjs` (frontmatter pass-through, tool-name rewrite, brand pass-through utilities). Each runtime converter exports `convert(content, skillName, ctx) → { path, content }`. Cross-references the Phase 21 cross-harness tool-name maps (`reference/codex-tools.md`, `reference/gemini-tools.md`) - tool name rewrites only happen for runtimes whose native tool names differ from Claude's defaults.
|
|
1120
|
+
- Wave 1 (28.7-04) - `cursor`, `codex`, `copilot`, `antigravity`.
|
|
1121
|
+
- Wave 2 (28.7-05) - `windsurf`, `augment`, `trae`, `qwen`.
|
|
1122
|
+
- Wave 3 (28.7-06) - `codebuddy`, `cline`. **Cline** (D-09) writes rule-block aggregation to `.clinerules` rather than a skills directory.
|
|
1123
|
+
- Wave 4 (28.7-07) - `opencode`, `kilo`, `gemini`. Opencode + kilo use `command/<name>` (slash-command dir); gemini ships commands-only into `commands/gsd/`.
|
|
1124
|
+
- **Hermes is OUT of scope** (D-03 + D-10) - Phase 24 D-02 runtime-list invariant preserved. The Phase 28.6 baseline tests' "no hermes.cjs" guard is mirrored in the new Phase 28.7 baseline test.
|
|
1083
1125
|
|
|
1084
1126
|
#### Installer wire-up (Wave C.1)
|
|
1085
1127
|
|
|
1086
|
-
- `scripts/lib/install/installer.cjs` (28.7-08)
|
|
1128
|
+
- `scripts/lib/install/installer.cjs` (28.7-08) - replaces the broken `kind: 'agents-md'` placeholder with a proper multi-artifact dispatcher. Reads the layout table, invokes the appropriate per-runtime converter for each kind, lands files at the resolved destination per `runtime-homes.cjs`. Backward-compat retained for the existing invocation surface (`--claude`, `--opencode`, …, `--cline`, `--dry-run`, `--global`, `--local`, `--config-dir`). Scope propagation through to converter `ctx` per D-07.
|
|
1087
1129
|
|
|
1088
1130
|
#### Per-runtime simulation suite (Wave C.2)
|
|
1089
1131
|
|
|
1090
|
-
- `tests/install-per-runtime.test.cjs` (28.7-09)
|
|
1132
|
+
- `tests/install-per-runtime.test.cjs` (28.7-09) - 14 simulation tests + 11 cross-runtime invariants. Each test creates a temp config dir via `mkdtempSync`, invokes the installer with `--config-dir <tmp> --<runtime>`, and asserts files land at the expected paths with content matching the converter output. macOS symlink discipline applied (`os.tmpdir()` + `fs.realpathSync` for path comparison) per Phase 27.6 lesson.
|
|
1091
1133
|
|
|
1092
1134
|
#### Fixed
|
|
1093
1135
|
|
|
@@ -1102,17 +1144,17 @@ Replaces the Phase 24 `kind: 'agents-md'` placeholder (which dropped a single ba
|
|
|
1102
1144
|
- Baseline at `test-fixture/baselines/phase-28.7/` (manifests-version, converter-inventory, registry-diff) + `phase-28.6/manifests-version.txt` and `phase-28/manifests-version.txt` forward-propagated to 1.28.7.
|
|
1103
1145
|
- `phase-20/skill-list.txt` UNCHANGED (no skill add/remove this phase).
|
|
1104
1146
|
- ROADMAP add + scoped flip (this section + overview entry, 10 inline plan checkboxes pre-flipped).
|
|
1105
|
-
- Phase 28.7 ports gsd-build's architecture rather than gating on field-test reports
|
|
1147
|
+
- Phase 28.7 ports gsd-build's architecture rather than gating on field-test reports - re-interpretation of the original ROADMAP entry per user direction 2026-05-18 (CONTEXT.md D-01).
|
|
1106
1148
|
|
|
1107
1149
|
---
|
|
1108
1150
|
|
|
1109
|
-
## [1.28.6]
|
|
1151
|
+
## [1.28.6] - 2026-05-18
|
|
1110
1152
|
|
|
1111
|
-
### Phase 28.6
|
|
1153
|
+
### Phase 28.6 - Skill Reference Co-Location (Corrective Follow-Up to Phase 28.5)
|
|
1112
1154
|
|
|
1113
1155
|
Corrects Phase 28.5's CONTEXT.md D-06 over-generalization. Phase 28.5 extracted 20 skill-private procedure refs into a central `reference/` folder, but each of those refs is consumed by exactly 1 (or in 2 borderline cases, 2 sibling) skills. Per mattpocock/skills' actual structure at `https://github.com/mattpocock/skills/tree/main/skills`, skill-private procedure docs live next to the `SKILL.md` they describe. Phase 28.6 co-locates the 20 refs into per-skill folders and refreshes the contract's §D-06 to endorse the per-skill folder pattern for 1-/2-consumer content. No new features. No breaking changes. `git mv` preserves history on every file. Phase 28.5's contract spec, validator, CI gate, `zoom-out`, debug Phase 1 patch, CONTEXT.md + ADR project artifacts, decision-injector extension, and 70/70 length compliance are all PRESERVED; only the location of skill-private refs changes.
|
|
1114
1156
|
|
|
1115
|
-
#### Migrated refs (20
|
|
1157
|
+
#### Migrated refs (20 - `reference/<topic>.md` -> `skills/<owner>/<topic>.md`)
|
|
1116
1158
|
|
|
1117
1159
|
- `apply-reflections-procedure.md` -> `skills/apply-reflections/`
|
|
1118
1160
|
- `cache-policy.md` -> `skills/cache-manager/` (primary; `warm-cache` secondary via `./../cache-manager/cache-policy.md`)
|
|
@@ -1137,7 +1179,7 @@ Corrects Phase 28.5's CONTEXT.md D-06 over-generalization. Phase 28.5 extracted
|
|
|
1137
1179
|
|
|
1138
1180
|
#### Contract refresh
|
|
1139
1181
|
|
|
1140
|
-
- `reference/skill-authoring-contract.md` §D-06 refreshed: per-skill folder pattern explicitly endorsed for skill-private content. Three placement classes codified
|
|
1182
|
+
- `reference/skill-authoring-contract.md` §D-06 refreshed: per-skill folder pattern explicitly endorsed for skill-private content. Three placement classes codified - 1-consumer in `skills/<owner>/<topic>.md`; 2-consumer in primary owner's folder with `./../<primary>/<topic>.md` secondary cross-link; multi-consumer (3+ skills across different domains) in `reference/<topic>.md`. The Phase 28.5 "rare exception only" framing is reversed.
|
|
1141
1183
|
|
|
1142
1184
|
#### Registry purge
|
|
1143
1185
|
|
|
@@ -1149,52 +1191,52 @@ Corrects Phase 28.5's CONTEXT.md D-06 over-generalization. Phase 28.5 extracted
|
|
|
1149
1191
|
|
|
1150
1192
|
#### Plans
|
|
1151
1193
|
|
|
1152
|
-
- 28.6-01
|
|
1153
|
-
- 28.6-02
|
|
1154
|
-
- 28.6-03
|
|
1155
|
-
- 28.6-04
|
|
1194
|
+
- 28.6-01 - `git mv` 20 refs + cross-link updates across 23 SKILL.md consumers (`./../reference/<topic>.md` -> `./<topic>.md` or `./../<primary>/<topic>.md`). (COLOC-01)
|
|
1195
|
+
- 28.6-02 - `reference/registry.json` 20-entry purge (D-03) + `reference/skill-authoring-contract.md` §D-06 refresh (D-04). (COLOC-02)
|
|
1196
|
+
- 28.6-03 - Validator + baseline + full `npm test` sweep (all green; D-05 confirmation that `scripts/validate-skill-length.cjs` globs `SKILL.md` only; no validator edit). (COLOC-03)
|
|
1197
|
+
- 28.6-04 - Closeout (4-manifest lockstep at v1.28.6, `OFF_CADENCE_VERSIONS.add('1.28.6')`, CHANGELOG, ROADMAP add + scoped flip, baseline at `test-fixture/baselines/phase-28.6/`, Phase 28.5 CONTEXT.md retrospective annotation). (COLOC-04)
|
|
1156
1198
|
|
|
1157
1199
|
#### Non-changes
|
|
1158
1200
|
|
|
1159
|
-
- NOTICE unchanged
|
|
1160
|
-
- `test-fixture/baselines/phase-20/skill-list.txt` unchanged
|
|
1161
|
-
- `scripts/validate-skill-length.cjs` unchanged
|
|
1201
|
+
- NOTICE unchanged - Phase 28.5's mattpocock/skills MIT attribution still applies (same content; file paths shifted only).
|
|
1202
|
+
- `test-fixture/baselines/phase-20/skill-list.txt` unchanged - no skills added or removed.
|
|
1203
|
+
- `scripts/validate-skill-length.cjs` unchanged - D-05 verified the validator globs `SKILL.md` only and is unaffected by co-located procedure refs.
|
|
1162
1204
|
|
|
1163
1205
|
---
|
|
1164
1206
|
|
|
1165
|
-
## [1.28.5]
|
|
1207
|
+
## [1.28.5] - 2026-05-18
|
|
1166
1208
|
|
|
1167
|
-
### Phase 28.5
|
|
1209
|
+
### Phase 28.5 - Skill Authoring Contract + Skill Rework + Project Artifacts
|
|
1168
1210
|
|
|
1169
1211
|
Adopts the mattpocock/skills (MIT) authoring contract and applies it retroactively across the entire shipped skill set. Closes the authoring-discipline gap surfaced by the 2026-05-02 comparison audit. 12 plans across 4 waves; off-cadence decimal patch from v1.28.0 parent (CONTEXT.md D-12 convention).
|
|
1170
1212
|
|
|
1171
1213
|
#### New reference files
|
|
1172
1214
|
|
|
1173
|
-
- `reference/skill-authoring-contract.md` (28.5-01)
|
|
1174
|
-
- `reference/context-md-format.md` (28.5-02)
|
|
1175
|
-
- `reference/adr-format.md` (28.5-02)
|
|
1176
|
-
- `reference/architecture-vocabulary.md` (28.5-03)
|
|
1177
|
-
- `reference/scan-procedure.md`, `verify-procedure.md`, `design-procedure.md`, `plan-procedure.md`, `explore-procedure.md`, `discover-procedure.md` (28.5-04)
|
|
1178
|
-
- `reference/shared-preamble.md` (28.5-05, extended), `style-doc-procedure.md`, `compare-rubric.md`, `darkmode-audit-procedure.md`, `connections-onboarding.md` (28.5-05)
|
|
1179
|
-
- `reference/health-mcp-detection.md`, `apply-reflections-procedure.md`, `cache-policy.md`, `router-rules.md`, `start-procedure.md` (28.5-06)
|
|
1180
|
-
- `reference/debug-feedback-loops.md` (28.5-07 scaffold + 28.5-09 fill)
|
|
1181
|
-
- `reference/threat-modeling.md`, `milestone-completeness-rubric.md`, `peer-cli-protocol.md` (28.5-07)
|
|
1182
|
-
- `reference/health-skill-length-report.md` (28.5-11)
|
|
1215
|
+
- `reference/skill-authoring-contract.md` (28.5-01) - 100-line `SKILL.md` cap (warn >=100, block >=250 in CI), 1024-char description cap, required `<what>. Use when <triggers>.` form, frontmatter required fields, progressive-disclosure one-level-deep rule, when to add `scripts/`, per-skill domain-specific files allowed only when content is single-skill-private.
|
|
1216
|
+
- `reference/context-md-format.md` (28.5-02) - DDD-style ubiquitous-language glossary schema with optional `first-seen` + `aliases` GDD additions; CONTEXT-MAP.md multi-context pattern; inline-write-on-resolution trigger.
|
|
1217
|
+
- `reference/adr-format.md` (28.5-02) - 3-criteria offer gate (hard-to-reverse AND surprising-without-context AND real-tradeoff), 4-state status lifecycle, optional `cycle-id` + `phase-id` cross-refs back to STATE.md (GDD addition).
|
|
1218
|
+
- `reference/architecture-vocabulary.md` (28.5-03) - Ousterhout's 8 core terms (Module / Interface / Implementation / Depth / Seam / Adapter / Use / Locality) + 3 principles (deletion test, interface-is-test-surface, two-adapters-rule).
|
|
1219
|
+
- `reference/scan-procedure.md`, `verify-procedure.md`, `design-procedure.md`, `plan-procedure.md`, `explore-procedure.md`, `discover-procedure.md` (28.5-04) - 6 procedure references extracted from pipeline-stage skills as progressive-disclosure satellites.
|
|
1220
|
+
- `reference/shared-preamble.md` (28.5-05, extended), `style-doc-procedure.md`, `compare-rubric.md`, `darkmode-audit-procedure.md`, `connections-onboarding.md` (28.5-05) - 4 new + 1 extended (Bucket 2 design-family rework).
|
|
1221
|
+
- `reference/health-mcp-detection.md`, `apply-reflections-procedure.md`, `cache-policy.md`, `router-rules.md`, `start-procedure.md` (28.5-06) - 5 references extracted from Bucket 3 orchestrator + utility skills.
|
|
1222
|
+
- `reference/debug-feedback-loops.md` (28.5-07 scaffold + 28.5-09 fill) - 10 construction paths in priority order, iterate-on-loop sub-discipline, non-determinism reproduction-rate branch.
|
|
1223
|
+
- `reference/threat-modeling.md`, `milestone-completeness-rubric.md`, `peer-cli-protocol.md` (28.5-07) - 3 additional Bucket 4 extraction targets (analysis + audit skills).
|
|
1224
|
+
- `reference/health-skill-length-report.md` (28.5-11) - health-skill subsection contract documenting validator JSON shape + threshold rationale.
|
|
1183
1225
|
|
|
1184
1226
|
#### Skill rework
|
|
1185
1227
|
|
|
1186
|
-
- Bucket 1 (28.5-04)
|
|
1187
|
-
- Bucket 2 (28.5-05)
|
|
1188
|
-
- Bucket 3 (28.5-06)
|
|
1189
|
-
- Bucket 4 (28.5-07)
|
|
1228
|
+
- Bucket 1 (28.5-04) - 11 pipeline-stage skills (`brief`, `discuss`, `plan`, `design`, `verify`, `explore`, `discover`, `scan`, `sketch`, `spike`, `new-cycle`, `complete-cycle`) reworked to <=100 lines.
|
|
1229
|
+
- Bucket 2 (28.5-05) - 7 design-family skills (`audit`, `style`, `darkmode`, `compare`, `design`, `figma-write`, `connections`, `benchmark`) cross-link cleanup + description standardization.
|
|
1230
|
+
- Bucket 3 (28.5-06) - 34 orchestrator + utility skills (`help`, `stats`, `note`, `add-backlog`, `todo`, `progress`, `health`, `update`, `undo`, `fast`, `quick`, `next`, `do`, `resume`, `pause`, etc.) `disable-model-invocation: true` whitelist applied; targeted trims on the offenders.
|
|
1231
|
+
- Bucket 4 (28.5-07) - 17 analysis + audit skills (`scan`, `map`, `analyze-dependencies`, `sketch-wrap-up`, `spike-wrap-up`, `skill-manifest`, `debug`, `peers`, `peer-cli-add`, `peer-cli-customize`, `quality-gate`, `turn-closeout`, `start`, `check-update`, `optimize`, etc.) extraction-then-link pattern; new refs created where content qualified as proper reference material.
|
|
1190
1232
|
- All 70 skills under 100 lines post-rework (`scripts/validate-skill-length.cjs --quiet --json` summary: 70 total / 70 clean / 0 warn / 0 block).
|
|
1191
1233
|
|
|
1192
1234
|
#### Skill patches + new skill
|
|
1193
1235
|
|
|
1194
|
-
- `discuss` + `brief` skill patches (28.5-08)
|
|
1195
|
-
- `hooks/gdd-decision-injector.js` extended (28.5-08)
|
|
1196
|
-
- `debug` skill Phase 1 patch (28.5-09)
|
|
1197
|
-
- New `/gdd:zoom-out` micro-skill (28.5-10) at `skills/zoom-out/SKILL.md`
|
|
1236
|
+
- `discuss` + `brief` skill patches (28.5-08) - inline `CONTEXT.md` glossary maintenance (no batching) + ADR-offer 3-criteria gate at session end.
|
|
1237
|
+
- `hooks/gdd-decision-injector.js` extended (28.5-08) - reads `CONTEXT.md` + `docs/adr/*` additively alongside STATE.md cycle-scoped decisions.
|
|
1238
|
+
- `debug` skill Phase 1 patch (28.5-09) - explicit feedback-loop gate before any hypothesizing; cross-link to `reference/debug-feedback-loops.md` one level deep.
|
|
1239
|
+
- New `/gdd:zoom-out` micro-skill (28.5-10) at `skills/zoom-out/SKILL.md` - ~10 lines body, frontmatter `disable-model-invocation: true`. Direct port from mattpocock/skills (MIT). Total shipped skills: 69 -> 70.
|
|
1198
1240
|
|
|
1199
1241
|
#### CI gate + health reporting (28.5-11)
|
|
1200
1242
|
|
|
@@ -1214,123 +1256,123 @@ Adopts the mattpocock/skills (MIT) authoring contract and applies it retroactive
|
|
|
1214
1256
|
|
|
1215
1257
|
### Decisions locked
|
|
1216
1258
|
|
|
1217
|
-
- D-01: SKILL.md hard cap = 100 lines (warn), 250 lines (block). Strict description-format off by default
|
|
1259
|
+
- D-01: SKILL.md hard cap = 100 lines (warn), 250 lines (block). Strict description-format off by default - validator regex stays open until Phase 33's A/B evidence lands.
|
|
1218
1260
|
- D-02: Description format follows `<what>. Use when <triggers>.` shape (lax-mode default; Phase 33 A/B will tighten or relax).
|
|
1219
1261
|
- D-03: NOTICE MIT attribution covers 5 reference ports + zoom-out direct port + debug Phase 1 ordering.
|
|
1220
|
-
- D-04: `reference/debug-feedback-loops.md` ships as a proper reference, not inline in the debug SKILL
|
|
1262
|
+
- D-04: `reference/debug-feedback-loops.md` ships as a proper reference, not inline in the debug SKILL - per progressive-disclosure rule.
|
|
1221
1263
|
- D-05: `gdd-zoom-out` skill ships with `disable-model-invocation: true` (user-invoked-only shortcut).
|
|
1222
|
-
- D-06: CI gate is two-tier
|
|
1264
|
+
- D-06: CI gate is two-tier - warn-level advisory, block-level fails the build.
|
|
1223
1265
|
- D-07: `hooks/gdd-decision-injector.js` reads CONTEXT.md + `docs/adr/*` additively alongside STATE.md (no replacement, no precedence change).
|
|
1224
1266
|
- D-08: ADR-offer fires only when ALL three criteria hold (hard-to-reverse AND surprising-without-context AND real-tradeoff). Routine decisions are explicitly skipped.
|
|
1225
1267
|
- D-09: 28 skills marked `disable-model-invocation: true` (27 from Bucket 3 + new zoom-out).
|
|
1226
1268
|
- D-10: Health-MCP detection procedure extracted to `reference/health-mcp-detection.md`; SKILL links one level deep.
|
|
1227
|
-
- D-11: `gdd-health` SKILL gains skill-length report subsection
|
|
1269
|
+
- D-11: `gdd-health` SKILL gains skill-length report subsection - validator JSON shape documented in `reference/health-skill-length-report.md`.
|
|
1228
1270
|
- D-12: 4-manifest lockstep at v1.28.5; off-cadence decimal patch from v1.28.0 parent. `OFF_CADENCE_VERSIONS.add('1.28.5')` per Phase 27.5/27.6/27.7 closeout discipline.
|
|
1229
1271
|
|
|
1230
1272
|
### Out of scope (deferred or rejected)
|
|
1231
1273
|
|
|
1232
|
-
- Description-format regex tightening
|
|
1233
|
-
- Generating SKILL.md from a frontmatter-only spec (DSL)
|
|
1234
|
-
- Auto-fixer for over-limit skills
|
|
1235
|
-
- Cross-skill description deduplication
|
|
1274
|
+
- Description-format regex tightening - deferred until Phase 33 A/B evidence on `<what>` clause shortcut behavior lands at `.design/research/description-format-ab.md`.
|
|
1275
|
+
- Generating SKILL.md from a frontmatter-only spec (DSL) - keeps SKILL.md authorable by humans; reject machine-only generation per first-class-prose principle.
|
|
1276
|
+
- Auto-fixer for over-limit skills - validator is read-only; manual rework preserves authorial intent.
|
|
1277
|
+
- Cross-skill description deduplication - accept some triggering overlap; D-02 form is a soft cap, not a uniqueness invariant.
|
|
1236
1278
|
|
|
1237
1279
|
### Attribution
|
|
1238
1280
|
|
|
1239
|
-
See `NOTICE` Phase 28.5 block for the mattpocock/skills (MIT) attribution covering ported content. License remains MIT (compatible with mattpocock's MIT)
|
|
1281
|
+
See `NOTICE` Phase 28.5 block for the mattpocock/skills (MIT) attribution covering ported content. License remains MIT (compatible with mattpocock's MIT) - see `LICENSE`.
|
|
1240
1282
|
|
|
1241
1283
|
---
|
|
1242
1284
|
|
|
1243
|
-
## [1.28.0]
|
|
1285
|
+
## [1.28.0] - 2026-05-18
|
|
1244
1286
|
|
|
1245
|
-
### Phase 28
|
|
1287
|
+
### Phase 28 - Foundational References Tier 2 - Color, Composition, Proportion, i18n
|
|
1246
1288
|
|
|
1247
1289
|
Closes 4 foundational-fundamentals gaps + 1 contrast layer surfaced by the 2026-05-01 huashu-design comparison audit + parallel i18n-coverage audit. Pure content + light agent wiring; no architectural change, no new pillar, no breaking consumer contract.
|
|
1248
1290
|
|
|
1249
1291
|
#### New reference files (Wave A + B)
|
|
1250
1292
|
|
|
1251
|
-
- `reference/color-theory.md` (28-01)
|
|
1252
|
-
- `reference/composition.md` (28-02)
|
|
1253
|
-
- `reference/proportion-systems.md` (28-03)
|
|
1254
|
-
- `reference/i18n.md` (28-04)
|
|
1255
|
-
- `reference/contrast-advanced.md` (28-05)
|
|
1293
|
+
- `reference/color-theory.md` (28-01) - color spaces (sRGB / HSL / OKLCH / LCH), 6 harmonies in OKLCH, simultaneous contrast, color-blindness palettes, color interpolation in animation (closes the sRGB muddy-mid-transition problem).
|
|
1294
|
+
- `reference/composition.md` (28-02) - rule of thirds, phi / sqrt(2) / sqrt(3) / sqrt(5) root rectangles, Fibonacci, focal-point construction, visual-weight calculus (size x contrast x isolation x complexity), optical-vs-mathematical centering, Z/F/Gutenberg eye-flow patterns.
|
|
1295
|
+
- `reference/proportion-systems.md` (28-03) - 4pt / 8pt / sqrt(2) baseline grids, baseline-grid lock, vertical rhythm, modular relationships across type + spacing + sizing + radius.
|
|
1296
|
+
- `reference/i18n.md` (28-04) - text expansion per locale, CSS logical properties, RTL mirroring + directional-icon flip catalog, bidi isolation, full `Intl.*` family (DateTimeFormat / NumberFormat / PluralRules / RelativeTimeFormat / ListFormat / Collator / Segmenter), ICU MessageFormat, Unicode hygiene, multi-script font stacks, WCAG i18n; spec source for design-verifier + explore probes.
|
|
1297
|
+
- `reference/contrast-advanced.md` (28-05) - APCA (WCAG 3 draft) Lc 75/60/45/30 thresholds, why 4.5:1 misranks thin/large/colored text (3 worked examples), dual-target pattern with WCAG 2.1 AA, Lc-to-WCAG conversion table. **Ships at v1.28.0 (D-02 - not deferred).**
|
|
1256
1298
|
|
|
1257
|
-
#### Consumer integration (Wave C
|
|
1299
|
+
#### Consumer integration (Wave C - 28-06)
|
|
1258
1300
|
|
|
1259
1301
|
- `agents/design-verifier.md` gains `### i18n probes` subsection with 2 probes: hardcoded-string scan (regex catalog matches react-intl / next-intl / i18next / vue-i18n patterns per D-10) + +40% text-overflow simulation (`scrollWidth > clientWidth` check per D-03). Findings tagged `i18n_readiness` (orthogonal lens, NOT a new pillar).
|
|
1260
|
-
- `skills/explore/SKILL.md` gains i18n-readiness probe under Step 2
|
|
1261
|
-
- `reference/registry.json` gains 5 new entries (D-05)
|
|
1262
|
-
- `reference/audit-scoring.md` gains 2 orthogonal lens-tags (D-07)
|
|
1302
|
+
- `skills/explore/SKILL.md` gains i18n-readiness probe under Step 2 - informational 3-state classification (`framework-managed` / `partial` / `none`) per D-04 + D-11. NO gate, NO blocking.
|
|
1303
|
+
- `reference/registry.json` gains 5 new entries (D-05) - round-trip schema enforced.
|
|
1304
|
+
- `reference/audit-scoring.md` gains 2 orthogonal lens-tags (D-07) - `composition_alignment` + `i18n_readiness`. NO new pillar, NO weight change.
|
|
1263
1305
|
- 12 additive cross-link insertions across 10 existing reference files (D-06): `palette-catalog.md` Step 4 -> `color-theory.md`; `motion-interpolate.md` -> `color-theory.md`; `visual-hierarchy-layout.md` (Compositional Grids + Asymmetry) -> `composition.md`; `design-system-guidance.md` -> `proportion-systems.md`; `typography.md` (Type Scale Systems + Variable Fonts) -> `proportion-systems.md` + `i18n.md`; `rtl-cjk-cultural.md` (top-of-file) -> `i18n.md`; `form-patterns.md` -> `i18n.md`; `accessibility.md` (x2) -> `i18n.md` + `contrast-advanced.md`; `iconography.md` -> `composition.md`; `style-vocabulary.md` -> `proportion-systems.md`.
|
|
1264
1306
|
|
|
1265
1307
|
#### Decisions locked
|
|
1266
1308
|
|
|
1267
|
-
- D-01 (rejection): No net-new audit pillar
|
|
1309
|
+
- D-01 (rejection): No net-new audit pillar - orthogonal lens-tags only on existing pillars.
|
|
1268
1310
|
- D-02: `contrast-advanced.md` ships at v1.28.0 (not deferred).
|
|
1269
1311
|
- D-03: Verifier overflow probe uses `scrollWidth > clientWidth` after +40% text expansion (cheap synchronous DOM check, no headless-browser dependency).
|
|
1270
|
-
- D-04: Explore i18n probe is informational only
|
|
1312
|
+
- D-04: Explore i18n probe is informational only - 3-state output (`framework-managed` / `partial` / `none`), no gate, no blocking.
|
|
1271
1313
|
- D-05: 5 new `reference/registry.json` entries with phase=28.
|
|
1272
1314
|
- D-06: All 12 cross-link insertions are additive (no removals, no rewordings of existing content).
|
|
1273
|
-
- D-07: 2 audit-scoring lens-tags (`composition_alignment` + `i18n_readiness`)
|
|
1274
|
-
- D-08: 4-manifest lockstep at 1.28.0
|
|
1315
|
+
- D-07: 2 audit-scoring lens-tags (`composition_alignment` + `i18n_readiness`) - orthogonal to existing pillars, not new pillars.
|
|
1316
|
+
- D-08: 4-manifest lockstep at 1.28.0 - `package.json#version`, `.claude-plugin/plugin.json#version`, `.claude-plugin/marketplace.json#metadata.version`, `.claude-plugin/marketplace.json#plugins[0].version` all align. `OFF_CADENCE_VERSIONS.add('1.28.0')` added to `tests/semver-compare.test.cjs`.
|
|
1275
1317
|
- D-09: Phase 20 baselines unchanged (no new agents/skills/hooks introduced in Phase 28).
|
|
1276
1318
|
- D-10: Hardcoded-string scan covers react-intl / next-intl / i18next / vue-i18n call-site patterns; false-positive tightening is reflector carry-forward debt.
|
|
1277
1319
|
- D-11: Explore probe is single-shot per run (no caching, no telemetry pinning).
|
|
1278
|
-
- D-12: ROADMAP scoped flip
|
|
1320
|
+
- D-12: ROADMAP scoped flip - 7 inline plan checkboxes (28-01..28-07) + 1 top-level overview entry. STRICTLY bounded to Phase 28; other phases' `[ ]` markers untouched.
|
|
1279
1321
|
|
|
1280
1322
|
#### Tests added
|
|
1281
1323
|
|
|
1282
|
-
- `tests/phase-28-probes.test.cjs`
|
|
1283
|
-
- `tests/phase-28-baseline.test.cjs`
|
|
1284
|
-
- `test-fixture/baselines/phase-28/`
|
|
1324
|
+
- `tests/phase-28-probes.test.cjs` - 21 tests (28-06): verifier i18n probes, explore i18n-readiness probe, 5 registry entries, cross-link integrity across 12 insertions, audit-scoring lens-tags.
|
|
1325
|
+
- `tests/phase-28-baseline.test.cjs` - 8 tests (28-07): 4-manifest alignment, baseline file presence, reference file presence, registry round-trip, cross-link integrity, verifier + explore probe markers, CHANGELOG block at top, OFF_CADENCE recognition. Version-agnostic (reads `package.json#version` dynamically - D-08 lesson).
|
|
1326
|
+
- `test-fixture/baselines/phase-28/` - 6 baseline text files: `reference-files-presence.txt`, `registry-diff.txt`, `cross-link-integrity.txt`, `verifier-probes-presence.txt`, `explore-probe-presence.txt`, `manifests-version.txt`.
|
|
1285
1327
|
|
|
1286
1328
|
#### Out of scope (deferred or rejected)
|
|
1287
1329
|
|
|
1288
1330
|
- 20 designer-school philosophies catalog (huashu-design license unresolved).
|
|
1289
|
-
- Brand asset acquisition protocol (5-10-2-8 curation rule
|
|
1290
|
-
- Color-management profiles (Display-P3 / Rec.2020 / BT.2100
|
|
1291
|
-
- Generative color systems (Material You algorithm
|
|
1331
|
+
- Brand asset acquisition protocol (5-10-2-8 curation rule - separate phase).
|
|
1332
|
+
- Color-management profiles (Display-P3 / Rec.2020 / BT.2100 - video/print only).
|
|
1333
|
+
- Generative color systems (Material You algorithm - already in `style-vocabulary.md`).
|
|
1292
1334
|
- Net-new audit pillar (lens-tags instead, per D-07).
|
|
1293
|
-
- Translation-management workflows (Crowdin / Lokalise / Phrase
|
|
1335
|
+
- Translation-management workflows (Crowdin / Lokalise / Phrase - ops concern).
|
|
1294
1336
|
- Locale-pack bundling / lazy-loading (production tuning concern).
|
|
1295
1337
|
- Pseudolocalization tooling (+40% overflow at verifier layer covers same QA goal).
|
|
1296
|
-
- RTL typography subtleties beyond mirroring (Arabic kashida, vertical CJK
|
|
1338
|
+
- RTL typography subtleties beyond mirroring (Arabic kashida, vertical CJK - `rtl-cjk-cultural.md` already touches).
|
|
1297
1339
|
|
|
1298
1340
|
#### Carry-forward debt
|
|
1299
1341
|
|
|
1300
|
-
- Verifier hardcoded-string scan false-positive rate (D-10)
|
|
1301
|
-
- APCA spec ratification
|
|
1302
|
-
- ICU MessageFormat 2.0 status
|
|
1303
|
-
- `Intl.Segmenter` browser-support drift
|
|
1342
|
+
- Verifier hardcoded-string scan false-positive rate (D-10) - reflector measures over first N runs; tightens regex per Phase 11 self-improvement loop.
|
|
1343
|
+
- APCA spec ratification - currently WCAG 3 draft; if it advances to candidate-recommendation, `contrast-advanced.md` becomes more authoritative.
|
|
1344
|
+
- ICU MessageFormat 2.0 status - currently Stage 3 / draft at TC39; if it lands, `i18n.md` ICU section may add 2.0 examples in a follow-up.
|
|
1345
|
+
- `Intl.Segmenter` browser-support drift - Safari shipped late; polyfill/fallback note may need adding to `i18n.md` Unicode Hygiene section.
|
|
1304
1346
|
|
|
1305
1347
|
---
|
|
1306
1348
|
|
|
1307
|
-
## [1.27.7]
|
|
1349
|
+
## [1.27.7] - 2026-05-18
|
|
1308
1350
|
|
|
1309
1351
|
### Added
|
|
1310
1352
|
|
|
1311
|
-
- **Phase 27.7
|
|
1312
|
-
- `scripts/mcp-servers/gdd-mcp/server.ts` (Plan 27.7-01)
|
|
1313
|
-
- `scripts/mcp-servers/gdd-mcp/tools/` + `reference/schemas/mcp-gdd-tools.schema.json` (Plan 27.7-02)
|
|
1314
|
-
- `scripts/lib/mcp-tools-lint/index.cjs` (Plan 27.7-03)
|
|
1315
|
-
- `scripts/lib/install/mcp-register.cjs` + `scripts/install.cjs --register-mcp` extension (Plan 27.7-04)
|
|
1353
|
+
- **Phase 27.7 - GDD MCP Server** (7 plans). Ships `gdd-mcp`, a read-only Model Context Protocol server that exposes STATE.md sections, phases, decisions, plans, telemetry, intel slices, and the latest reflection as 12 typed MCP tools backed by the same `scripts/lib/*` modules the CLI uses. Sub-3-second priming target on a synthetic project (Storybloq §4.6 pattern transplant). Off-cadence v1.27.7 (CHANGELOG-only; mainline cadence resumes at v1.28.0).
|
|
1354
|
+
- `scripts/mcp-servers/gdd-mcp/server.ts` (Plan 27.7-01) - MCP server scaffold using `@modelcontextprotocol/sdk` low-level Server + StdioServerTransport. Project-root discovery walks from `process.cwd()` looking for `.design/` OR `.planning/` OR `.claude-plugin/plugin.json`. `bin/gdd-mcp` shim added to `package.json` (alphabetized: gdd-events → gdd-mcp → gdd-sdk → gdd-state-mcp). Tests on handshake + walk-up + missing-marker behavior. (MCP-01)
|
|
1355
|
+
- `scripts/mcp-servers/gdd-mcp/tools/` + `reference/schemas/mcp-gdd-tools.schema.json` (Plan 27.7-02) - 12 read-only tools: `gdd_status`, `gdd_cycle_recap`, `gdd_decisions_list`, `gdd_events_tail`, `gdd_health`, `gdd_intel_get`, `gdd_learnings_digest`, `gdd_phase_current`, `gdd_phases_list`, `gdd_plans_list`, `gdd_reflections_latest`, `gdd_telemetry_query`. Each tool ≤ 30 LOC (D-06), with per-tool Draft-07 JSON Schema, plus 5 helper libs (state-reader, intel-slicer, telemetry-grouper, reflection-loader, paths-resolver) and a `directory_not_found` typed projection. Tests on input schema + output shape + thin-wrapper assertion. (MCP-02)
|
|
1356
|
+
- `scripts/lib/mcp-tools-lint/index.cjs` (Plan 27.7-03) - Static lint enforcing 4 invariants: forbid-fs-path (D-06: no direct `fs.*`/`path.*` in tool files), max-loc (≤ 30 LOC per tool), no-write-names (D-04: hard-blocks `_(create|update|delete|append|clear|write|set)` patterns), tool-count-cap (D-03: ≤ 12 files). Tests on each rule + exemptions for `index.ts`/`shared.ts`. (MCP-03)
|
|
1357
|
+
- `scripts/lib/install/mcp-register.cjs` + `scripts/install.cjs --register-mcp` extension (Plan 27.7-04) - Idempotent registration with `claude mcp add` + `codex mcp add` (D-07 opt-in; absent-CLI fallback). `skills/health/SKILL.md` gains a `check-mcp-registration` step with 4 SKILL-row outputs (registered_with_both, not_registered, dismissed, unknown). Tests on idempotent re-run + absent-CLI paths + `--` arg-injection guard. (MCP-04)
|
|
1316
1358
|
- `skills/progress/SKILL.md` + `skills/resume/SKILL.md` + `skills/next/SKILL.md` adopted MCP-path + File-read-path fork (Plan 27.7-05). Each skill prefers `gdd-mcp` tools when registered, falls back to direct file reads when not. Structural-compliance tests via the Phase 28.5 validator. (MCP-05)
|
|
1317
1359
|
- `scripts/mcp-servers/gdd-mcp/README.md` (≤ 120 lines, Plan 27.7-06) + `test-fixture/baselines/phase-27-7/priming-benchmark.json` capturing −31.18% token reduction on a synthetic project (Storybloq's −30% floor met). Tests on README structure + benchmark fixture shape + token-reduction ≥ 30%. (MCP-06)
|
|
1318
|
-
- `test-fixture/baselines/phase-27-7/` regression snapshots (Plan 27.7-07): `tool-registry.json` (12 tools, zero write-tools), `handshake-fixture.json` (canonical initialize response shape), `install-doctor-fixture.json` (4 SKILL-row scenarios), `manifests-version.txt` (pinned at 1.27.7). 4-manifest lockstep bump to v1.27.7. CHANGELOG entry. `OFF_CADENCE_VERSIONS.add('1.27.7')`. `reference/registry.json` gains `mcp-gdd-tools-schema` entry. `plugin.json` keywords gain `mcp-server`, `context-loading`, `cross-session`. ROADMAP scoped flip (7 plan checkboxes + 1 top-level overview entry). New `tests/phase-27-7-baseline.test.cjs` (>= 6 version-agnostic baseline tests) + new `tests/gdd-mcp-headless-e2e.test.cjs` (5 E2E tests: pack -> install -> spawn -> MCP initialize handshake -> tools/list returns 12; skip-on-Windows path documented for npm pack symlink false-negatives
|
|
1360
|
+
- `test-fixture/baselines/phase-27-7/` regression snapshots (Plan 27.7-07): `tool-registry.json` (12 tools, zero write-tools), `handshake-fixture.json` (canonical initialize response shape), `install-doctor-fixture.json` (4 SKILL-row scenarios), `manifests-version.txt` (pinned at 1.27.7). 4-manifest lockstep bump to v1.27.7. CHANGELOG entry. `OFF_CADENCE_VERSIONS.add('1.27.7')`. `reference/registry.json` gains `mcp-gdd-tools-schema` entry. `plugin.json` keywords gain `mcp-server`, `context-loading`, `cross-session`. ROADMAP scoped flip (7 plan checkboxes + 1 top-level overview entry). New `tests/phase-27-7-baseline.test.cjs` (>= 6 version-agnostic baseline tests) + new `tests/gdd-mcp-headless-e2e.test.cjs` (5 E2E tests: pack -> install -> spawn -> MCP initialize handshake -> tools/list returns 12; skip-on-Windows path documented for npm pack symlink false-negatives - Blocker #2 acceptance per ROADMAP SC #11). (MCP-07)
|
|
1319
1361
|
|
|
1320
1362
|
### Decisions locked
|
|
1321
1363
|
|
|
1322
|
-
- D-01: MCP server is read-mostly (read-only in v1; mutations stay in slash-skills + lockfile-safe writers
|
|
1323
|
-
- D-02: Tool count capped at 12
|
|
1364
|
+
- D-01: MCP server is read-mostly (read-only in v1; mutations stay in slash-skills + lockfile-safe writers - re-examine at Phase 30/41).
|
|
1365
|
+
- D-02: Tool count capped at 12 - `TOOL_COUNT > 12` throws at module load. Adding a 13th tool requires re-scoping in a new plan.
|
|
1324
1366
|
- D-03: 12-tool cap is the hard ceiling baselined in `test-fixture/baselines/phase-27-7/tool-registry.json`.
|
|
1325
|
-
- D-04: No write-verb tool names
|
|
1326
|
-
- D-05: stdio-only transport
|
|
1327
|
-
- D-06: Each tool file ≤ 30 non-blank-non-comment LOC. Tools must be thin wrappers
|
|
1367
|
+
- D-04: No write-verb tool names - `mcp-tools-lint` blocks `_(create|update|delete|append|clear|write|set)(_|$)` patterns. Baseline asserts `write_tools.length === 0`.
|
|
1368
|
+
- D-05: stdio-only transport - no port allocation, no HTTP surface. Project-root discovery walks up from `process.cwd()` (`.design/` OR `.planning/` OR `.claude-plugin/plugin.json` marker).
|
|
1369
|
+
- D-06: Each tool file ≤ 30 non-blank-non-comment LOC. Tools must be thin wrappers - no direct `node:fs`/`node:path` imports (enforced by `mcp-tools-lint`). All filesystem I/O routes through `scripts/lib/*` helpers.
|
|
1328
1370
|
- D-07: Installer `--register-mcp` is opt-in (default off). Absent-CLI fallback emits a non-blocking notice. Dismissable nudge via `.design/config.json#mcp_nudge: false`.
|
|
1329
|
-
- D-08: Skill-side adoption is forked
|
|
1330
|
-
- D-09: Server name `gdd-mcp` (matches package bin); version read from `package.json#version` (single source of truth
|
|
1371
|
+
- D-08: Skill-side adoption is forked - MCP path (preferred) + File-read path (fallback). Both produce identical output shape. Skills do not hard-depend on MCP registration.
|
|
1372
|
+
- D-09: Server name `gdd-mcp` (matches package bin); version read from `package.json#version` (single source of truth - D-12 lockstep maintains alignment).
|
|
1331
1373
|
- D-10: `bin/gdd-mcp` block in `package.json` alphabetized at scaffold time (Plan 27.7-01). Manifest bump preserves the alphabetization.
|
|
1332
1374
|
- D-11: New schema `reference/schemas/mcp-gdd-tools.schema.json` registered in `reference/registry.json` as `mcp-gdd-tools-schema`.
|
|
1333
|
-
- D-12: 4-manifest lockstep
|
|
1375
|
+
- D-12: 4-manifest lockstep - `package.json#version`, `.claude-plugin/plugin.json#version`, `.claude-plugin/marketplace.json#metadata.version`, `.claude-plugin/marketplace.json#plugins[0].version` all ship together at v1.27.7. `OFF_CADENCE_VERSIONS.add('1.27.7')` added to `tests/semver-compare.test.cjs`.
|
|
1334
1376
|
|
|
1335
1377
|
### Tests added
|
|
1336
1378
|
|
|
@@ -1338,33 +1380,33 @@ Closes 4 foundational-fundamentals gaps + 1 contrast layer surfaced by the 2026-
|
|
|
1338
1380
|
|
|
1339
1381
|
### Out of scope (deferred or rejected)
|
|
1340
1382
|
|
|
1341
|
-
- Write tools in v1
|
|
1342
|
-
- Tool sprawl past 12
|
|
1343
|
-
- Live (streaming) MCP resources
|
|
1344
|
-
- Multi-project federation
|
|
1383
|
+
- Write tools in v1 - `gdd_decision_append`, `gdd_blocker_clear`, `gdd_plan_complete` etc. Mutation belongs to slash-skills + lockfile-safe writers (Phase 20 surface), not callable-by-any-client MCP tools. Re-examine at Phase 30 (issue reporter) or Phase 41 (team mode).
|
|
1384
|
+
- Tool sprawl past 12 - Storybloq grew to 43 tools because read + write + autonomous + review-lens orchestration share the surface. GDD's autonomous surface is `/gdd:do`, review is `agents/*`. Re-examine when measured token-cost data justifies an additional tool.
|
|
1385
|
+
- Live (streaming) MCP resources - Phase 48 (`/gdd:live`) handles long-lived browser sessions via `channel/`-style subprocess registry; MCP stays request/response in v1.
|
|
1386
|
+
- Multi-project federation - one server, one project root. Two GDD projects in two terminals = two MCP servers. Federation is a Phase 41 (team mode) question.
|
|
1345
1387
|
|
|
1346
1388
|
### Benchmark
|
|
1347
1389
|
|
|
1348
|
-
`test-fixture/baselines/phase-27-7/priming-benchmark.json`
|
|
1390
|
+
`test-fixture/baselines/phase-27-7/priming-benchmark.json` - synthetic-fixture priming run shows −31.18% token reduction (3 MCP calls vs equivalent file-reading path), with a 34× wall-clock speedup vs file-reading. Floor target was −30% (Storybloq's measured number); GDD exceeds the floor. Real-cycle calibration follows in a patch after 1-2 production cycles.
|
|
1349
1391
|
|
|
1350
1392
|
### Headless E2E (ROADMAP SC #11)
|
|
1351
1393
|
|
|
1352
|
-
`tests/gdd-mcp-headless-e2e.test.cjs`
|
|
1394
|
+
`tests/gdd-mcp-headless-e2e.test.cjs` - `npm pack` produces tarball -> `npm install <tarball>` into mkdtempSync prefix -> spawn `gdd-mcp` via the installed bin -> MCP initialize handshake asserts `serverInfo.name === 'gdd-mcp'` + `serverInfo.version === package.json#version` -> follow-up `tools/list` asserts `result.tools.length === 12`. Cleanup at end. Marked `skip: process.platform === 'win32'` for npm pack symlink false-negatives (Blocker #2 acceptance); POSIX CI runs all 5 E2E tests.
|
|
1353
1395
|
|
|
1354
1396
|
---
|
|
1355
1397
|
|
|
1356
|
-
## [1.27.6]
|
|
1398
|
+
## [1.27.6] - 2026-05-18
|
|
1357
1399
|
|
|
1358
1400
|
### Added
|
|
1359
1401
|
|
|
1360
|
-
- **Phase 27.6
|
|
1361
|
-
- `agents/perf-analyzer.md` + `scripts/lib/perf-analyzer/` (Plan 27.6-01)
|
|
1362
|
-
- `reference/perf-budget.md` + `tests/perf-budget.test.cjs` (Plan 27.6-02)
|
|
1363
|
-
- `scripts/lib/cache/gdd-cache-manager.cjs` (Plan 27.6-03)
|
|
1364
|
-
- `scripts/lib/parallelism-engine/concurrency-tuner.cjs` (Plan 27.6-04)
|
|
1365
|
-
- `hooks/gdd-precompact-snapshot.js` + `hooks/gdd-sessionstart-recap.js` (Plan 27.6-05)
|
|
1366
|
-
- `scripts/lib/prompt-dedup/index.cjs` + `reference/retrieval-contract.md` extension (Plan 27.6-06)
|
|
1367
|
-
- `docs/PERF-OPTIMIZATION.md` (Plan 27.6-06)
|
|
1402
|
+
- **Phase 27.6 - Pipeline Performance + Token-Cost Optimization** (6 plans). After 27.5 wired the bandit into production routing, telemetry from `.design/telemetry/{costs,trajectories,events}.jsonl` finally measures real spawns; this phase converts that telemetry into concrete optimizations.
|
|
1403
|
+
- `agents/perf-analyzer.md` + `scripts/lib/perf-analyzer/` (Plan 27.6-01) - reflector-tier agent that reads telemetry cross-cycle and surfaces top-3 token-cost regressions per agent + cache-hit-rate deltas + p95 latency spikes. Spawned by `/gdd:reflect` or `/gdd:audit`, NOT per-cycle (D-04).
|
|
1404
|
+
- `reference/perf-budget.md` + `tests/perf-budget.test.cjs` (Plan 27.6-02) - per-agent budget table + CI regression gate that fails on >25% regression vs baseline across 3 cycles (D-01). Thresholds configurable via `.design/budget.json#perf_regression_threshold`.
|
|
1405
|
+
- `scripts/lib/cache/gdd-cache-manager.cjs` (Plan 27.6-03) - cache-warming heuristic refinement: multiplicative `recency × frequency × cost` score (D-06) + top-N ranking + LRU eviction within warmed set + false-positive event emission when >20% of warmed entries evict before use (D-02).
|
|
1406
|
+
- `scripts/lib/parallelism-engine/concurrency-tuner.cjs` (Plan 27.6-04) - data-driven concurrency resolver reading `parallelism.verdict` events; default becomes `min(cpu-1, last_observed_optimum)` capped at 8 (D-07). Both explore-parallel-runner and discuss-parallel-runner now use the resolver when `opts.concurrency` is omitted.
|
|
1407
|
+
- `hooks/gdd-precompact-snapshot.js` + `hooks/gdd-sessionstart-recap.js` (Plan 27.6-05) - Storybloq §4.6 transplant. PreCompact hook writes atomic snapshots to `.design/snapshots/<ts>.json` (D-08; retention last-10 LRU); SessionStart recap emits markdown to stderr + JSON sidecar at `.design/snapshots/last-recap.json` (D-09). Harness-aware: Codex no-op with stderr notice (D-10, Phase 45 dep for full path).
|
|
1408
|
+
- `scripts/lib/prompt-dedup/index.cjs` + `reference/retrieval-contract.md` extension (Plan 27.6-06) - D-11 dedup: when ≥ 3 agents in same cycle read same `reference/*.md`, the retrieval-contract preamble adds a "shared context loaded once" marker.
|
|
1409
|
+
- `docs/PERF-OPTIMIZATION.md` (Plan 27.6-06) - operator guide covering all 6 plans, 12 D-XX decisions, the CI regression gate, perf-analyzer proposals, cache-warming tuning, concurrency resolver, snapshot/recap hooks, Codex no-op fallback, prompt-dedup, recalibration process, and troubleshooting.
|
|
1368
1410
|
|
|
1369
1411
|
### Decisions locked
|
|
1370
1412
|
|
|
@@ -1387,40 +1429,40 @@ Closes 4 foundational-fundamentals gaps + 1 contrast layer surfaced by the 2026-
|
|
|
1387
1429
|
- Per-call model substitution (Phase 23.5 bandit territory).
|
|
1388
1430
|
- Rewriting reference files (Phase 46 territory).
|
|
1389
1431
|
- Codex `pre-large-context-action` interception (Phase 45 dep).
|
|
1390
|
-
- Cache-warming auto-tuning of heuristic weights
|
|
1391
|
-
- Real-cycle baseline calibration
|
|
1432
|
+
- Cache-warming auto-tuning of heuristic weights - measurement-gated follow-up.
|
|
1433
|
+
- Real-cycle baseline calibration - deferred to follow-up patch.
|
|
1392
1434
|
|
|
1393
1435
|
### Test coverage
|
|
1394
1436
|
|
|
1395
|
-
- `tests/perf-analyzer-cost-regression.test.cjs`
|
|
1396
|
-
- `tests/perf-budget.test.cjs`
|
|
1397
|
-
- `tests/gdd-cache-manager-warming.test.cjs`
|
|
1398
|
-
- `tests/concurrency-tuner.test.cjs`
|
|
1399
|
-
- `tests/gdd-precompact-snapshot.test.cjs`
|
|
1400
|
-
- `tests/gdd-sessionstart-recap.test.cjs`
|
|
1401
|
-
- `tests/prompt-dedup.test.cjs`
|
|
1402
|
-
- `tests/phase-27-6-baseline.test.cjs`
|
|
1437
|
+
- `tests/perf-analyzer-cost-regression.test.cjs` - ≥10 tests for detection rules (Plan 27.6-01).
|
|
1438
|
+
- `tests/perf-budget.test.cjs` - ≥6 tests for CI gate including cold-start tolerance (Plan 27.6-02).
|
|
1439
|
+
- `tests/gdd-cache-manager-warming.test.cjs` - ≥6 tests for warming heuristic (Plan 27.6-03).
|
|
1440
|
+
- `tests/concurrency-tuner.test.cjs` - ≥5 tests for D-07 algorithm (Plan 27.6-04).
|
|
1441
|
+
- `tests/gdd-precompact-snapshot.test.cjs` - ≥6 tests including atomicity + harness fallback (Plan 27.6-05).
|
|
1442
|
+
- `tests/gdd-sessionstart-recap.test.cjs` - ≥4 tests for diff + Codex no-op (Plan 27.6-05).
|
|
1443
|
+
- `tests/prompt-dedup.test.cjs` - 12 tests for D-11 threshold + cycle scoping + alphabetic sort + malformed-event filter (Plan 27.6-06).
|
|
1444
|
+
- `tests/phase-27-6-baseline.test.cjs` - version-agnostic regression baseline (Plan 27.6-06).
|
|
1403
1445
|
|
|
1404
1446
|
---
|
|
1405
1447
|
|
|
1406
|
-
## [1.27.5]
|
|
1448
|
+
## [1.27.5] - 2026-05-17
|
|
1407
1449
|
|
|
1408
1450
|
### Added
|
|
1409
1451
|
|
|
1410
|
-
- **Phase 27.5
|
|
1411
|
-
- `scripts/lib/bandit-router/integration.cjs` (Plan 27.5-01)
|
|
1412
|
-
- `hooks/budget-enforcer.ts` (Plan 27.5-02)
|
|
1413
|
-
- `scripts/lib/session-runner/index.ts` (Plan 27.5-03)
|
|
1414
|
-
- `agents/design-reflector.md` Section 8 (Plan 27.5-04)
|
|
1415
|
-
- `skills/peers/SKILL.md` Step 5 + new `skills/bandit-status/SKILL.md` (Plan 27.5-05)
|
|
1416
|
-
- `docs/BANDIT-INTEGRATION.md` + `reference/bandit-integration.md` (Plan 27.5-06)
|
|
1452
|
+
- **Phase 27.5 - Bandit Production Integration** (6 plans). Wires Phase 23.5's bandit posterior + Phase 27-07's `delegate?` dimension into a real production routing path. After v1.27.5, `default-tier:` becomes a default (cold-start prior), not a final answer - the bandit picks the final tier from measurement when `adaptive_mode: full`.
|
|
1453
|
+
- `scripts/lib/bandit-router/integration.cjs` (Plan 27.5-01) - thin shim exposing `consultBandit({agent, bin, delegate, agentFrontmatter, adaptiveMode}) → {tier, decision_log}` and `recordOutcome({agent, bin, delegate, tier, status, costUsd, adaptiveMode}) → void`. Hides `pull` vs `pullWithDelegate` choice. Best-effort posterior write per D-04.
|
|
1454
|
+
- `hooks/budget-enforcer.ts` (Plan 27.5-02) - bandit consultation per Agent spawn after `resolved_models` is computed, before SDK call. Overrides `resolved_models[agent]` via `tier-resolver.cjs` when the bandit picks a different tier than the router emitted. Emits `bandit.tier_selected` event per spawn. Respects `tier_override:` frontmatter bypass (D-05), `adaptive_mode` gate (D-07), and the 80% auto-downgrade guard.
|
|
1455
|
+
- `scripts/lib/session-runner/index.ts` (Plan 27.5-03) - calls `recordOutcome()` after every `emit('session.completed', ...)` site (4 call sites: rate-limited, peer-success, turn-cap-zero, terminal retry-exit). Adds 3 optional fields to `SessionRunnerOptions`: `agent`, `bin`, `tier`. Posterior write is best-effort; missing fields silent.
|
|
1456
|
+
- `agents/design-reflector.md` Section 8 (Plan 27.5-04) - bandit-arbitrage analysis surfaces "agent X frontmatter says sonnet but bandit picks opus" as `[FRONTMATTER]` proposals after 3+ pulls with credible interval < 0.05 and ≥ 50% mean delta vs second-best tier (D-10). New module `scripts/lib/bandit-arbitrage.cjs` mirrors Phase 26-06's cost-arbitrage shape.
|
|
1457
|
+
- `skills/peers/SKILL.md` Step 5 + new `skills/bandit-status/SKILL.md` (Plan 27.5-05) - `/gdd:peers` now reads canonical posterior path `.design/telemetry/posterior.json` and renders real per-peer reward-delta when posterior is populated. New read-only `/gdd:bandit-status` skill surfaces per-`(agent, bin, delegate, tier)` posterior snapshots (alpha/beta/mean/stddev/count/last-used). Strictly read-only per D-11.
|
|
1458
|
+
- `docs/BANDIT-INTEGRATION.md` + `reference/bandit-integration.md` (Plan 27.5-06) - operator guide + developer cheat sheet.
|
|
1417
1459
|
|
|
1418
1460
|
### Decisions locked
|
|
1419
1461
|
|
|
1420
1462
|
- D-01: `hooks/budget-enforcer.ts` is the bandit consultation site (single canonical routing decision point).
|
|
1421
1463
|
- D-02: Per-spawn timing, after `resolved_models` computed, before SDK call.
|
|
1422
1464
|
- D-03: Override `resolved_models[agent]` with bandit tier through `tier-resolver.cjs`. Preserve `model_tier_overrides[agent]` unchanged (back-compat).
|
|
1423
|
-
- D-04: `update()` called in session-runner's terminal-emit path after `session.completed`. Best-effort posterior write
|
|
1465
|
+
- D-04: `update()` called in session-runner's terminal-emit path after `session.completed`. Best-effort posterior write - errors swallowed.
|
|
1424
1466
|
- D-05: `tier_override:` frontmatter is the explicit per-agent bandit-bypass surface.
|
|
1425
1467
|
- D-06: Posterior path stays at `.design/telemetry/posterior.json` (Phase 23.5 D-08 unchanged).
|
|
1426
1468
|
- D-07: Bandit consultation gated by `adaptive_mode` (static + hedge silent; full active).
|
|
@@ -1432,37 +1474,37 @@ Closes 4 foundational-fundamentals gaps + 1 contrast layer surfaced by the 2026-
|
|
|
1432
1474
|
|
|
1433
1475
|
### Out of scope (deferred)
|
|
1434
1476
|
|
|
1435
|
-
- Auto-failover when bandit recommends a delegate not in `enabled_peers`
|
|
1436
|
-
- Cross-cycle posterior decay
|
|
1437
|
-
- Per-task bandit dimensions beyond `(agent, bin, delegate)`
|
|
1438
|
-
- Removing frontmatter `default-tier:`
|
|
1439
|
-
- Bandit-driven complexity_class selection
|
|
1477
|
+
- Auto-failover when bandit recommends a delegate not in `enabled_peers` - bandit stays advisory.
|
|
1478
|
+
- Cross-cycle posterior decay - Phase 23.5 D-12 already specifies discounted Thompson sampling.
|
|
1479
|
+
- Per-task bandit dimensions beyond `(agent, bin, delegate)` - needs convergence proof first.
|
|
1480
|
+
- Removing frontmatter `default-tier:` - additive only; deprecation is Phase 30+.
|
|
1481
|
+
- Bandit-driven complexity_class selection - different decision domain.
|
|
1440
1482
|
|
|
1441
1483
|
### Test coverage
|
|
1442
1484
|
|
|
1443
|
-
- `tests/bandit-router-integration.test.cjs`
|
|
1444
|
-
- `tests/budget-enforcer-bandit.test.cjs`
|
|
1445
|
-
- `tests/session-runner-bandit-outcome.test.cjs`
|
|
1446
|
-
- `tests/bandit-arbitrage.test.cjs`
|
|
1447
|
-
- `tests/phase-27-5-baseline.test.cjs`
|
|
1485
|
+
- `tests/bandit-router-integration.test.cjs` - 25+ tests covering all 5 paths × adaptive_mode × tier_override × delegate (Plan 27.5-01).
|
|
1486
|
+
- `tests/budget-enforcer-bandit.test.cjs` - 8+ tests for hook consultation branches (Plan 27.5-02).
|
|
1487
|
+
- `tests/session-runner-bandit-outcome.test.cjs` - 6+ tests for recordOutcome paths (Plan 27.5-03).
|
|
1488
|
+
- `tests/bandit-arbitrage.test.cjs` - 6+ tests for reflector analyzer (Plan 27.5-04).
|
|
1489
|
+
- `tests/phase-27-5-baseline.test.cjs` - manifests + baseline + integration-exports regression (Plan 27.5-06).
|
|
1448
1490
|
|
|
1449
1491
|
---
|
|
1450
1492
|
|
|
1451
|
-
## [1.27.1]
|
|
1493
|
+
## [1.27.1] - 2026-04-30
|
|
1452
1494
|
|
|
1453
|
-
Phase 27 wiring patch
|
|
1495
|
+
Phase 27 wiring patch - closes the production-integration gaps left by v1.27.0's "structural ship". v1.27.0 landed all peer-CLI library code + tests + docs but the helpers were exported without callers, so `delegate_to:` on agent frontmatter was validated and then ignored at runtime. v1.27.1 wires the four integration points so delegation actually fires for users who set `delegate_to:` AND allowlist the peer.
|
|
1454
1496
|
|
|
1455
1497
|
### Fixed
|
|
1456
1498
|
|
|
1457
|
-
- **`session-runner.run()` now invokes `tryDelegate` (Plan 27-06 wiring)**
|
|
1499
|
+
- **`session-runner.run()` now invokes `tryDelegate` (Plan 27-06 wiring)** - when `opts.delegateTo` is set to a `<peer>-<role>` value AND the registry can route AND the peer is in `.design/config.json#peer_cli.enabled_peers`, the prompt runs on the peer-CLI and `run()` returns the peer result. On peer-absent / peer-error / null result, falls through transparently to the local Anthropic SDK loop (D-07). Previously the `tryDelegate` helper existed in the file but `run()` never called it.
|
|
1458
1500
|
|
|
1459
|
-
- **Real `appendEvent('peer_call_started|complete|failed', ...)` emission (Plan 27-08 wiring)**
|
|
1501
|
+
- **Real `appendEvent('peer_call_started|complete|failed', ...)` emission (Plan 27-08 wiring)** - replaced the stderr-only placeholder in session-runner with three real event-emission calls. Events flow through Phase 22's `appendEvent()` API using the constants registered in v1.27.0, tagged with `runtime_role: 'peer'` and `peer_id`. Reflector cross-runtime cost-arbitrage (Plan 26-06) now sees peer telemetry. `GDD_PEER_DEBUG=1` continues to mirror the failed events to stderr for live tailing.
|
|
1460
1502
|
|
|
1461
|
-
- **`install.cjs` interactive peer-detection nudge (Plan 27-11 wiring)**
|
|
1503
|
+
- **`install.cjs` interactive peer-detection nudge (Plan 27-11 wiring)** - after a successful (non-uninstall, non-dry-run) install in a TTY, scans `peerBinary` paths via `detectInstalledPeers()`. If 1+ peer detected, prompts via `@clack/prompts` with `confirm()` (default: NO). On yes, writes `.design/config.json#peer_cli.enabled_peers`. New `--no-peer-prompt` flag suppresses the prompt entirely (CI-friendly). Silent skip when zero peers detected. Default-NO preserves the opt-in trust contract (D-11).
|
|
1462
1504
|
|
|
1463
1505
|
### Out of scope (known, deferred)
|
|
1464
1506
|
|
|
1465
|
-
- **Bandit `pullWithDelegate` caller (Plan 27-07 wiring)**
|
|
1507
|
+
- **Bandit `pullWithDelegate` caller (Plan 27-07 wiring)** - `pullWithDelegate` and `updateWithDelegate` ship in the bandit module surface (v1.27.0) but no production caller invokes them yet. Wiring requires `gdd-router` SKILL.md change (procedural, not code) which is out of scope for a wiring patch. Phase 28+ territory once the integration shape is decided. The `delegate?` dimension stays exported as a library extension for ad-hoc use.
|
|
1466
1508
|
|
|
1467
1509
|
### Tests
|
|
1468
1510
|
|
|
@@ -1472,215 +1514,215 @@ Phase 27 wiring patch — closes the production-integration gaps left by v1.27.0
|
|
|
1472
1514
|
|
|
1473
1515
|
---
|
|
1474
1516
|
|
|
1475
|
-
## [1.27.0]
|
|
1517
|
+
## [1.27.0] - 2026-04-30
|
|
1476
1518
|
|
|
1477
|
-
Phase 27 Peer-CLI Delegation Layer milestone
|
|
1519
|
+
Phase 27 Peer-CLI Delegation Layer milestone - closes the **outbound** half of multi-runtime. Phase 24 made gdd installable on 14 runtimes; Phase 21 made the same pipeline run on each; Phase 26 made tier→model resolve correctly per runtime. v1.27.0 adds the missing piece: gdd agents OPTIONALLY delegate to local peer CLIs (Codex via App Server Protocol; Gemini/Cursor/Copilot/Qwen via Agent Client Protocol) when measurably cheaper or higher-quality for the role. Falls back to in-process Anthropic SDK when peer is unavailable. Honors Phase 26 tier maps + Phase 22 event chain + Phase 23.5 bandit posterior - `delegate?` becomes another arm in `(agent_type × tier × delegate)` Thompson sampling, no new ML.
|
|
1478
1520
|
|
|
1479
1521
|
### Added
|
|
1480
1522
|
|
|
1481
|
-
- **ACP client**
|
|
1482
|
-
- **ASP client**
|
|
1483
|
-
- **spawn-cmd Windows fix + broker-lifecycle**
|
|
1484
|
-
- **Per-peer adapters**
|
|
1485
|
-
- **Registry + capability matrix**
|
|
1486
|
-
- **Agent `delegate_to:` frontmatter + session-runner peer-first dispatch**
|
|
1487
|
-
- **Bandit posterior `delegate?` context dimension**
|
|
1488
|
-
- **Event chain `runtime_role` + `peer_id` + `peer_call_*` event types**
|
|
1489
|
-
- **`/gdd:peers` capability matrix command**
|
|
1490
|
-
- **`peer-cli-customize` + `peer-cli-add` skills**
|
|
1491
|
-
- **`peerBinary?` field on runtimes + detection helpers**
|
|
1523
|
+
- **ACP client** - `scripts/lib/peer-cli/acp-client.cjs` (Plan 27-01, commit `4a2d201`). Line-delimited JSON-RPC over stdio for Gemini/Cursor/Copilot/Qwen. `initialize` handshake, `prompt` method, notification stream, 16 MiB line-buffer overflow guard. 7 tests pass.
|
|
1524
|
+
- **ASP client** - `scripts/lib/peer-cli/asp-client.cjs` (Plan 27-02, commit `06fcdf6`). Codex App Server Protocol. `threadStart` + `threadResume` + `turn` lifecycle. `service_name = "gdd_peer_delegation"`. Error path resolves with `{status:"error"}` rather than throwing. 12 tests pass.
|
|
1525
|
+
- **spawn-cmd Windows fix + broker-lifecycle** - `scripts/lib/peer-cli/spawn-cmd.cjs` + `broker-lifecycle.cjs` (Plan 27-03, commit `f9228cf`). `.cmd` EINVAL workaround per cc-multi-cli `transport-decisions.md` (D-04). Long-lived broker per `(peer, workspace)` over Unix socket on POSIX, named pipe on Windows (D-03). 18 tests pass.
|
|
1526
|
+
- **Per-peer adapters** - `scripts/lib/peer-cli/adapters/{codex,gemini,cursor,copilot,qwen}.cjs` (Plan 27-04, commit `d58ab4f`). 5 thin wrappers with role→prompt-prefix maps + slash-command translation. 39 tests pass.
|
|
1527
|
+
- **Registry + capability matrix** - `scripts/lib/peer-cli/registry.cjs` + `reference/peer-cli-capabilities.md` (Plan 27-05, commit `6ef4d27`). `findPeerFor(role, tier)` central dispatch, per-peer health probe, deterministic alphabetical tie-break. Per-peer capability matrix (D-05): codex→execute, gemini→research/exploration, cursor→debug/plan, copilot→review/research, qwen→write. 32 tests pass.
|
|
1528
|
+
- **Agent `delegate_to:` frontmatter + session-runner peer-first dispatch** - `scripts/validate-frontmatter.ts` + `scripts/lib/session-runner/index.ts` (Plan 27-06, commit `4644d8e`). Optional additive frontmatter field; values are `<peer>-<role>` per capability matrix or `none` (explicit opt-out). Session-runner tries delegate first; transparent fallback on peer-absent OR peer-error per D-07. 8 tests pass.
|
|
1529
|
+
- **Bandit posterior `delegate?` context dimension** - `scripts/lib/bandit-router.cjs` (Plan 27-07, commit `824bcf5`). Arm space expands from `(agent_type, touches_size_bin)` to `(agent_type, touches_size_bin, delegate)` where `delegate ∈ {none, gemini, codex, cursor, copilot, qwen}`. Bootstrap: existing priors carry forward as the `none` arm; 5 delegation arms start neutral. Reward signal unchanged (two-stage lexicographic). 12 tests pass.
|
|
1530
|
+
- **Event chain `runtime_role` + `peer_id` + `peer_call_*` event types** - `scripts/lib/event-stream/types.ts` + `index.ts` + `scripts/lib/budget-enforcer.cjs` (Plan 27-08, commit `fd561ed`). Additive Phase 22 extension - every event optionally tags `runtime_role: "host" | "peer"` (defaults `"host"` for back-compat) and `peer_id`. 3 new event types: `peer_call_started`, `peer_call_complete`, `peer_call_failed`. costs.jsonl cost rows tag the same fields so Phase 26's reflector cost-arbitrage extends naturally. 8 tests pass.
|
|
1531
|
+
- **`/gdd:peers` capability matrix command** - `skills/peers/SKILL.md` (Plan 27-09, commit `51ae40e`). Single-command discoverability - markdown table with peer × installed? × allowlisted? × claimed roles × posterior delta vs local.
|
|
1532
|
+
- **`peer-cli-customize` + `peer-cli-add` skills** - `skills/peer-cli-customize/SKILL.md` + `skills/peer-cli-add/SKILL.md` (Plan 27-10, commit `4f07daf`). Customize rewires per-agent `delegate_to:` mappings; add walks the verification ladder for adding a brand-new peer (Apache 2.0 attribution comment in each - see NOTICE).
|
|
1533
|
+
- **`peerBinary?` field on runtimes + detection helpers** - `scripts/lib/install/runtimes.cjs` (Plan 27-11, commit `0e2fb92`). 5 peer-capable runtimes (codex, gemini, cursor, copilot, qwen) gain platform-aware `peerBinary` paths. `listPeerCapableRuntimes()` and `detectInstalledPeers()` exported for `/gdd:peers` and the install-time nudge. 8 tests pass.
|
|
1492
1534
|
|
|
1493
1535
|
### Tests
|
|
1494
1536
|
|
|
1495
1537
|
- 11 new test files (148 total new test cases) covering protocol clients, registry, adapters, frontmatter delegation, bandit dimension, event tagging, peer detection, end-to-end peer-call flow, and the phase-27 baseline.
|
|
1496
|
-
- Phase 24/25/26 baseline tests refactored to be **version-agnostic** (D-12)
|
|
1538
|
+
- Phase 24/25/26 baseline tests refactored to be **version-agnostic** (D-12) - they read `package.json#version` dynamically and assert all 4 manifests align. No more literal-version hardcodes that break every closeout (Phase 26 lesson applied).
|
|
1497
1539
|
|
|
1498
1540
|
### Decisions
|
|
1499
1541
|
|
|
1500
|
-
D-01 through D-14
|
|
1542
|
+
D-01 through D-14 - see `.planning/phases/27-peer-cli-delegation/CONTEXT.md` for the full decision register. Highlights:
|
|
1501
1543
|
|
|
1502
|
-
- **D-01 / D-02**
|
|
1503
|
-
- **D-03 / D-04**
|
|
1504
|
-
- **D-05**
|
|
1505
|
-
- **D-06 / D-07**
|
|
1506
|
-
- **D-08**
|
|
1507
|
-
- **D-09**
|
|
1508
|
-
- **D-10 / D-11**
|
|
1509
|
-
- **D-12**
|
|
1510
|
-
- **D-14**
|
|
1544
|
+
- **D-01 / D-02** - ACP for 4 peers, ASP for Codex. Port shapes from cc-multi-cli (Apache 2.0) with `NOTICE` attribution; do NOT vendor their hub (Claude-as-host assumption is incompatible with our any-runtime-as-host model).
|
|
1545
|
+
- **D-03 / D-04** - Long-lived broker per `(peer, workspace)`. Windows `.cmd` EINVAL workaround documented in `spawn-cmd.cjs` so future maintainers don't "clean it up".
|
|
1546
|
+
- **D-05** - Per-peer capability matrix is the dispatch source-of-truth. Roles a peer doesn't claim → registry refuses dispatch.
|
|
1547
|
+
- **D-06 / D-07** - `delegate_to:` is additive optional; `none` is explicit opt-out; fallback on peer-absent OR peer-error is transparent to the calling skill.
|
|
1548
|
+
- **D-08** - Bandit posterior gains `delegate?` dimension. 6× context expansion (~78 → ~468 contexts). Bootstrap discipline: existing priors carry forward as `delegate=none`; 5 delegation arms start neutral.
|
|
1549
|
+
- **D-09** - Event chain extension is additive; `runtime_role` defaults `"host"` for back-compat; only the new `peer_call_*` events MUST carry `"peer"`.
|
|
1550
|
+
- **D-10 / D-11** - `/gdd:peers` is single-command discoverability; install-time nudge is OPT-IN (default empty `enabled_peers`); `--no-peer-prompt` flag suppresses for CI.
|
|
1551
|
+
- **D-12** - Version-agnostic baseline tests (Phase 26 closeout lesson). `phase-NN-baseline.test.cjs` no longer hardcodes literal versions.
|
|
1552
|
+
- **D-14** - `NOTICE` Apache 2.0 attribution for cc-multi-cli ships with v1.27.0 (mandatory per Apache 2.0 §4 for derivative-shape code).
|
|
1511
1553
|
|
|
1512
1554
|
### Documentation
|
|
1513
1555
|
|
|
1514
|
-
- `docs/PEER-DELEGATION.md` (new)
|
|
1515
|
-
- `reference/peer-protocols.md` (new)
|
|
1516
|
-
- `agents/README.md`
|
|
1517
|
-
- `NOTICE` (new)
|
|
1556
|
+
- `docs/PEER-DELEGATION.md` (new) - ops guide covering when delegation fires, how to disable per-peer, fallback diagnostics, broker lifecycle troubleshooting, and Windows `.cmd` quirks.
|
|
1557
|
+
- `reference/peer-protocols.md` (new) - ACP + ASP protocol cheat sheet for protocol authors and skill writers.
|
|
1558
|
+
- `agents/README.md` - new `Peer-CLI delegation (delegate_to)` section documenting the field, valid values, opt-in gating, telemetry hookup, and cross-references.
|
|
1559
|
+
- `NOTICE` (new) - Apache 2.0 attribution for cc-multi-cli's `acp-client.mjs`, `asp-client.mjs`, `transport-decisions.md`, and `customize` / `multi-cli-anything` skill patterns.
|
|
1518
1560
|
|
|
1519
1561
|
### Known gaps
|
|
1520
1562
|
|
|
1521
|
-
- Plan 27-11's interactive post-install peer-detection prompt (the `npx get-design-done` UX nudge: "I see you have Codex + Gemini installed
|
|
1563
|
+
- Plan 27-11's interactive post-install peer-detection prompt (the `npx get-design-done` UX nudge: "I see you have Codex + Gemini installed - wire them as peers? [y/N]") is documented in CONTEXT.md D-11 but not yet wired into `scripts/install.cjs`. The detection helper (`detectInstalledPeers()`) IS shipped - what's missing is the `@clack/prompts` interactive integration. Users can manually populate `.design/config.json#peer_cli.enabled_peers` for now; `/gdd:peers` shows the current state. Tracked for Phase 28 hygiene or a 1.27.x patch if demand warrants.
|
|
1522
1564
|
|
|
1523
1565
|
---
|
|
1524
1566
|
|
|
1525
|
-
## [1.26.0]
|
|
1567
|
+
## [1.26.0] - 2026-04-29
|
|
1526
1568
|
|
|
1527
|
-
Phase 26 Headless Model Resolver milestone
|
|
1569
|
+
Phase 26 Headless Model Resolver milestone - closes the model-selection gap left by Phase 24's distribution headlessness. `default-tier: opus|sonnet|haiku` frontmatter now actually does something on the 13 non-Claude runtimes the multi-runtime installer ships to. Three layers gain runtime-awareness without a breaking change: the agent frontmatter (additive `reasoning-class` alias), the router output (additive `resolved_models` field), and the cost telemetry (per-runtime price tables + runtime-tagged events.jsonl rows). The phase ships **structure** - adapter layer, resolvers, schemas, contracts - not editorial picks for which model each runtime treats as opus/sonnet/haiku; those come from runtime adapter authors with provenance citations baked into `reference/runtime-models.md`.
|
|
1528
1570
|
|
|
1529
1571
|
### Added
|
|
1530
1572
|
|
|
1531
|
-
- **Per-runtime tier→model adapter source-of-truth**
|
|
1573
|
+
- **Per-runtime tier→model adapter source-of-truth** - `reference/runtime-models.md` ships the canonical map for all 14 runtimes (claude, codex, gemini, qwen, kilo, copilot, cursor, windsurf, antigravity, augment, trae, codebuddy, cline, opencode). Each row carries `tier_to_model` (`opus`/`sonnet`/`haiku`), `reasoning_class_to_model` (`high`/`medium`/`low`), and a `provenance` array (source URL + retrieval timestamp + last-validated cycle) per D-01. Schema lives at `reference/schemas/runtime-models.schema.json` with `$schema_version: 1` for forward-compatible bumps (D-03). Pure-JS strict validator at `scripts/lib/install/parse-runtime-models.cjs` - no `ajv` dependency at the parser layer; install-time validation catches typos before runtime. Canonical seed picks per D-02: `claude → claude-opus-4-7 / claude-sonnet-4-7 / claude-haiku-4-5`, `codex → gpt-5 / gpt-5-mini / gpt-5-nano`, `gemini → gemini-2.5-pro / gemini-2.5-flash / gemini-2.5-flash-lite`, `qwen → qwen3-max / qwen3-plus / qwen3-flash`. (Plan 26-01, commit `5541086`)
|
|
1532
1574
|
|
|
1533
|
-
- **`tier-resolver.cjs` + `runtime-detect.cjs`**
|
|
1575
|
+
- **`tier-resolver.cjs` + `runtime-detect.cjs`** - `scripts/lib/tier-resolver.cjs` exports `resolve(runtime, tier, opts?) → model-string | null` translating frontmatter tier vocabulary into the concrete model name a specific runtime understands. Fallback chain per D-04: (1) runtime-specific entry → use; (2) claude row → use with `tier_resolution_fallback` event; (3) null + `tier_resolution_failed` event. Never throws - null is a valid output the consumer must handle. `scripts/lib/runtime-detect.cjs` exports `detect()` which reads the same `*_CONFIG_DIR` / `*_HOME` env-var chain Phase 24's installer uses (D-05); the env-var → runtime-ID mapping is owned by `scripts/lib/install/runtimes.cjs` and re-derived here so adding a runtime in one place automatically extends detection. Returns null when no recognized env-var is set (e.g. CI matrix, bare Node script). (Plan 26-02, commits `4bf7dea`, `c0bbae3`)
|
|
1534
1576
|
|
|
1535
|
-
- **Installer emits `models.json` per runtime config-dir**
|
|
1577
|
+
- **Installer emits `models.json` per runtime config-dir** - `scripts/lib/install/runtimes.cjs` gains a `tier_to_model` field; `installer.cjs` writes a `models.json` payload at install time per runtime config-dir per D-06: `{ tier_to_model, reasoning_class_to_model, runtime, schema_version: 1, generated_at: <ISO>, source: "reference/runtime-models.md" }`. `--dry-run` shows the same set without writing; `uninstall` removes the file (clean uninstall guarantee from Phase 24 carries forward). One file per config-dir means runtime harnesses can read it at session start without parsing markdown. (Plan 26-03, commit `2ab47cf`)
|
|
1536
1578
|
|
|
1537
|
-
- **Router emits `resolved_models` field**
|
|
1579
|
+
- **Router emits `resolved_models` field** - `skills/router/SKILL.md` JSON output gains `resolved_models: { "agent_name": "concrete-model-id", … }` next to the existing `model_tier_overrides` per D-07. Strict superset over v1.25.0: existing consumers reading `model_tier_overrides` keep working unchanged (enum stays `opus|sonnet|haiku` for back-compat across all 14 runtimes); new consumers (budget-enforcer cost computation, Phase 22 cost telemetry, Phase 23.5 bandit posterior store) read `resolved_models` for runtime-correct cost. Output schema versioning table bumped: `resolved_models` lands at v1.26.0 (26-04), `complexity_class` (Phase 25) and `model_tier_overrides` (legacy) preserved unchanged. (Plan 26-04, commit `eb38d4e`)
|
|
1538
1580
|
|
|
1539
|
-
- **Per-runtime price tables + budget-enforcer shared backend**
|
|
1581
|
+
- **Per-runtime price tables + budget-enforcer shared backend** - `reference/model-prices.md` becomes a router that links to per-runtime sub-tables under `reference/prices/`: `claude.md` (Anthropic), `codex.md` (OpenAI Codex gpt-5 family), `gemini.md` (Google Gemini 2.5 family), `qwen.md` (Alibaba Qwen 3 family) carry confirmed prices; the remaining 10 runtimes ship as stubs with provenance citation TODOs per D-08. `scripts/lib/budget-enforcer.cjs` exports `computeCost({ model_id?, tier?, runtime, tokens_in, tokens_out, cache_hit? })` with the four-step lookup order (runtime price-table by model_id → runtime by tier → claude fallback by model_id → claude by tier → null + diagnostic reason). `hooks/budget-enforcer.ts` reaches into the shared backend via `createRequire` - same scheme as `rate-guard.cjs`. Cost telemetry events.jsonl rows tag `runtime` (Phase 22 event chain), so the cost-aggregator rolls up per-runtime AND per-tier for apples-to-apples comparison. (Plan 26-05, commit `57bf43e`)
|
|
1540
1582
|
|
|
1541
|
-
- **Reflector cross-runtime cost-arbitrage**
|
|
1583
|
+
- **Reflector cross-runtime cost-arbitrage** - `scripts/lib/cost-arbitrage.cjs` and reflector wiring surface a structured proposal when one runtime's spend exceeds another's by >50% on the same `(agent, tier)` per D-09. Mixed-runtime cycle history (some agent spawns ran in CC, others in Codex within the same cycle) is handled without crash or per-runtime double-count. Reflector emits `runtime_arbitrage_signal` events with both runtime IDs, the agent/tier pair, the observed spread, and the recommended cheaper-runtime tag. The 50% threshold is a starting heuristic - bandit-style learning over arbitrage outcomes is Phase 23.5+ territory. (Plan 26-06, commit `5de824c`)
|
|
1542
1584
|
|
|
1543
|
-
- **`reasoning-class` runtime-neutral frontmatter alias**
|
|
1585
|
+
- **`reasoning-class` runtime-neutral frontmatter alias** - `agents/README.md` documents `reasoning-class: high|medium|low` as an additive alias for `default-tier` per D-10. v1.26 ships the alias with full equivalence semantics (`high ↔ opus`, `medium ↔ sonnet`, `low ↔ haiku`) but does not deprecate `default-tier`. Both fields may coexist on the same agent; mismatched dual annotations are a validation error (D-11). Long-term winner is data-gated: alias adoption signal measured by `gdd-intel-updater` on `agents/*.md` changes; if alias share stays below 50% by Phase 28, `default-tier` is canonical and alias is deprecated; if alias wins majority, the reverse. Same evidence-gating discipline as Phase 23.5's deferred items. (Plan 26-07, commit `be3e590`)
|
|
1544
1586
|
|
|
1545
|
-
- **Frontmatter validator + intel-updater integration**
|
|
1587
|
+
- **Frontmatter validator + intel-updater integration** - `scripts/validate-frontmatter.ts` accepts optional `reasoning-class` enum; if both `default-tier` and `reasoning-class` are present, equivalence is enforced (`high+opus` / `medium+sonnet` / `low+haiku` - mismatch is a validation error per D-11). `gdd-intel-updater` re-runs on changes under `agents/*.md` to keep `.design/intel/agent-tiers.json` current with **both** fields populated for downstream tooling. Tests assert tier↔class equivalence across all 26 agents. (Plan 26-08, commit `14afa72`)
|
|
1546
1588
|
|
|
1547
|
-
- **`docs/MULTI-RUNTIME-MODELS.md`**
|
|
1589
|
+
- **`docs/MULTI-RUNTIME-MODELS.md`** - Plan 26-09 ships an ops guide covering: how to add a new runtime tier-map (edit `reference/runtime-models.md`, follow schema, run the parser test), the `reasoning-class ↔ default-tier` equivalence table, the `tier-resolver.cjs` fallback chain (runtime entry → claude row + warn event → null + fail event), how cost telemetry rolls up (per-runtime + per-tier), and the future `budget.json#runtime_overrides.<runtime>.tier_to_model` per-runtime override hook.
|
|
1548
1590
|
|
|
1549
1591
|
### Tests
|
|
1550
1592
|
|
|
1551
|
-
- `tests/runtime-models-schema.test.cjs` (new)
|
|
1552
|
-
- `tests/router-resolved-models.test.cjs` (new)
|
|
1553
|
-
- `tests/budget-enforcer-runtime-aware.test.cjs` (new)
|
|
1554
|
-
- `tests/phase-26-baseline.test.cjs` (new)
|
|
1593
|
+
- `tests/runtime-models-schema.test.cjs` (new) - calls `parseRuntimeModels()` from the dependency-free pure-JS parser at `scripts/lib/install/parse-runtime-models.cjs` (no `ajv` pulled in - the parser does strict validation natively), asserts `$schema_version === 1`, all 14 runtime IDs from `runtimes.cjs` present, canonical seed picks correct (claude→claude-opus-4-7, codex→gpt-5, gemini→gemini-2.5-pro, qwen→qwen3-max), and provenance fields present per row.
|
|
1594
|
+
- `tests/router-resolved-models.test.cjs` (new) - content-level assertions on `skills/router/SKILL.md`: `resolved_models` mentioned in the JSON example, in the field docstring, and at v1.26.0 in the Output schema versioning table; `complexity_class` (Phase 25) still mentioned (no regression); `model_tier_overrides` still mentioned (back-compat).
|
|
1595
|
+
- `tests/budget-enforcer-runtime-aware.test.cjs` (new) - pure-function tests of `scripts/lib/budget-enforcer.cjs#computeCost()`: codex/gpt-5-mini path returns cost from `reference/prices/codex.md`; claude/opus path returns cost from `reference/prices/claude.md`; missing-runtime / missing-tier falls back to claude with the `fallback: true` flag; cache-hit path swaps `cached_input_per_1m` for `input_per_1m`.
|
|
1596
|
+
- `tests/phase-26-baseline.test.cjs` (new) - same shape as `phase-25-baseline.test.cjs`. Asserts all 9 plans landed (runtime-models source + tier-resolver + runtime-detect + installer models.json + router resolved_models + budget-enforcer + cost-arbitrage + reasoning-class alias + frontmatter validator extension) plus all 4 manifests align at 1.26.0 + CHANGELOG `## [1.26.0]` block exists.
|
|
1555
1597
|
- `tests/semver-compare.test.cjs` `OFF_CADENCE_VERSIONS` gains `1.26.0` with the milestone summary.
|
|
1556
1598
|
|
|
1557
1599
|
### Decisions
|
|
1558
1600
|
|
|
1559
|
-
D-01 through D-13
|
|
1560
|
-
- **D-01**
|
|
1561
|
-
- **D-04**
|
|
1562
|
-
- **D-05**
|
|
1563
|
-
- **D-07**
|
|
1564
|
-
- **D-08**
|
|
1565
|
-
- **D-10**
|
|
1566
|
-
- **D-12**
|
|
1567
|
-
- **D-13**
|
|
1601
|
+
D-01 through D-13 - see `.planning/phases/26-headless-model-resolver/CONTEXT.md` for the full register. Highlights:
|
|
1602
|
+
- **D-01** - `reference/runtime-models.md` is the single source of truth for all 14 runtimes; each row carries provenance (URL + retrieval timestamp + last-validated cycle) so the future authority-watcher can flag drift.
|
|
1603
|
+
- **D-04** - `tier-resolver.cjs` fallback chain is non-blocking: runtime entry → claude row + warning event → null + fail event. Never throws; null is a valid output the consumer must handle.
|
|
1604
|
+
- **D-05** - `runtime-detect.cjs` reuses Phase 24's env-var → runtime-ID mapping verbatim; single source of truth lives in `runtimes.cjs`. Adding a new runtime extends both detection and installation.
|
|
1605
|
+
- **D-07** - `resolved_models` is additive to `model_tier_overrides` - strict superset, same back-compat discipline as Phase 25's `complexity_class` next to `path`.
|
|
1606
|
+
- **D-08** - Cost telemetry split: `reference/model-prices.md` becomes a router; per-runtime sub-tables under `reference/prices/<runtime>.md`. events.jsonl rows tag `runtime`. Aggregation rolls up per-runtime AND per-tier.
|
|
1607
|
+
- **D-10** - `reasoning-class` is additive, NOT a replacement for `default-tier`. Both may coexist; equivalence is enforced. Deprecation is data-gated (Phase 28 measurement).
|
|
1608
|
+
- **D-12** - All 9 plans land together with one CHANGELOG block. 4 manifests bump in lockstep (`package.json` + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` × 2 slots + `tests/semver-compare.test.cjs` `OFF_CADENCE_VERSIONS`).
|
|
1609
|
+
- **D-13** - Plan boundary discipline: Wave A (26-01..26-03) builds the adapter; Wave B (26-04..26-06) wires the existing pipeline; Wave C (26-07..26-08) lands the runtime-neutral alias additively; Wave D (26-09) closes out.
|
|
1568
1610
|
|
|
1569
1611
|
---
|
|
1570
1612
|
|
|
1571
|
-
## [1.25.0]
|
|
1613
|
+
## [1.25.0] - 2026-04-29
|
|
1572
1614
|
|
|
1573
|
-
Phase 25 Pipeline Hardening milestone
|
|
1615
|
+
Phase 25 Pipeline Hardening milestone - converts four pipeline gaps surfaced in the post-Phase-24 retrospective from side roads into first-class pipeline citizens: a prototype gate that makes sketches/spikes a read/write member of the decision graph, an S/M/L/XL complexity refinement to the router that distinguishes trivial from full-pipeline work, a Stage 4.5 quality gate that runs lint/typecheck/test between Design and Verify, and a Stop-hook turn closeout that closes the events.jsonl gap at turn-end. All four sub-features are additive - no state-machine break (5 stages stay 5 stages), no breaking router contract (`path: fast|quick|full` is preserved alongside the new `complexity_class`), and the existing budget-enforcer / verify-entry / decision-injector consumers gain the new fields without a code change to their existing call sites.
|
|
1574
1616
|
|
|
1575
1617
|
### Added
|
|
1576
1618
|
|
|
1577
|
-
- **Prototype gate**
|
|
1619
|
+
- **Prototype gate** - `agents/prototype-gate.md` (new Haiku-tier signal-scoring agent emitting `{recommend: 'sketch'|'spike'|'none', confidence, reasons}`) + STATE.md `<prototyping>` block schema with three child element types (`<sketch slug=… cycle=… decision=D-XX status=resolved/>`, `<spike slug=… cycle=… decision=D-XX verdict=yes|no|partial status=resolved/>`, `<skipped at=… cycle=… reason=…/>`) parsed/serialized through `scripts/lib/gdd-state/{types,parser,mutator}.ts`. Round-trips byte-identically; the block is omitted when null (no spurious empty-tag pairs). (Plan 25-01, commit `92e93bf`)
|
|
1578
1620
|
|
|
1579
|
-
- **Router S/M/L/XL complexity_class**
|
|
1621
|
+
- **Router S/M/L/XL complexity_class** - `skills/router/SKILL.md` heuristic table extended from 3 to 4 buckets (S = `/gdd:help`/`/gdd:stats`/single-Haiku skills; M = `/gdd:scan`/`/gdd:brief`/`/gdd:sketch`; L = `/gdd:explore`/`/gdd:discover`/standalone `/gdd:plan`/`/gdd:verify`; XL = `/gdd:next`/`/gdd:do`/autonomous flows). Router JSON output gains a `complexity_class` field next to the existing `path`; the canonical mapping is S→fast (short-circuited), M→fast, L→quick, XL→full. `hooks/budget-enforcer.ts` reads `complexity_class` when present and applies `.design/budget.json#class_caps_usd[<class>]` per-spawn cap; falls through to legacy cap behavior when the field is absent (strict superset). `reference/config-schema.md` documents the new optional `class_caps_usd: { S?, M?, L?, XL? }` field. (Plan 25-02, commit `a239171`)
|
|
1580
1622
|
|
|
1581
|
-
- **Quality gate (Stage 4.5)**
|
|
1623
|
+
- **Quality gate (Stage 4.5)** - `skills/quality-gate/SKILL.md` (new) runs the project's own `lint`/`typecheck`/`test`/visual-regression scripts in parallel between `/gdd:design` and `/gdd:verify`. Three-tier detection chain (D-06): authoritative `.design/config.json#quality_gate.commands` > auto-detect from `package.json#scripts` > skip-with-notice. `agents/quality-gate-runner.md` (new Haiku-tier classifier) parses tool output and routes the fix-vs-block decision; `design-fixer` is reused for the bounded fix loop (D-08, default `max_iters: 3`). Timeout warns and proceeds (D-07 - non-blocking on slow suites); fail at `max_iters` marks STATE `<quality_gate>` block status="fail" and verify entry refuses (D-08). Six lifecycle events emitted to `events.jsonl` via the existing `appendEvent()` surface: `quality_gate_started`, `quality_gate_iteration`, `quality_gate_pass`, `quality_gate_fail`, `quality_gate_timeout`, `quality_gate_skipped` (D-09). STATE.md `<quality_gate>` block is a single-element schema (`<run started_at=… completed_at=… status=… iteration=N commands_run="lint,typecheck,test"/>`) - most-recent run only. (Plan 25-03, commit `037b25f`; Plan 25-07 wiring, commit `b64250c`)
|
|
1582
1624
|
|
|
1583
|
-
- **Turn closeout Stop hook**
|
|
1625
|
+
- **Turn closeout Stop hook** - `hooks/gdd-turn-closeout.js` (new) fires when the assistant turn ends. Reads STATE.md (1 file) + tails the last line of events.jsonl; if `position.status==in_progress` AND last event >60s ago, appends a `turn_end` event and surfaces a stage-completion or paused-mid-task nudge as `additionalContext`. ≤10ms typical latency budget per D-10; idempotent on the `(stage, task_progress)` tuple. `skills/turn-closeout/SKILL.md` (new) is the portable mirror for the 13 non-Claude runtimes that lack a Stop-hook surface - same logic, called from orchestrator skills (`/gdd:next`, `/gdd:design`, `/gdd:verify`) at exit per D-11. `hooks/hooks.json` Stop entry wires the JS hook into Claude Code's harness. (Plan 25-04, commit `675e879`; Plan 25-08 wiring, commit `f52a471`)
|
|
1584
1626
|
|
|
1585
|
-
- **sketch-wrap-up + spike-wrap-up dual writes**
|
|
1627
|
+
- **sketch-wrap-up + spike-wrap-up dual writes** - `skills/sketch-wrap-up/SKILL.md` and `skills/spike-wrap-up/SKILL.md` now perform a coupled two-write on resolution: append the chosen-variant or verdict as a `D-XX` entry under `<decisions>` AND append a corresponding `<sketch …/>` or `<spike …/>` line under `<prototyping>`. The two entries reference each other via `decision="D-XX"` so the `decision-injector` retrieval path works through both `<decisions>` (read by all downstream stages) and `<prototyping>` (read by planner-specific context). (Plan 25-05, commit `953605e`)
|
|
1586
1628
|
|
|
1587
|
-
- **Decision injector surfaces prior prototyping outcomes**
|
|
1629
|
+
- **Decision injector surfaces prior prototyping outcomes** - `hooks/gdd-decision-injector.js` parses STATE.md `<prototyping>` entries (regex-based - the hook stays self-contained JS) and surfaces the top-N relevant entries when an agent reads any `.design/**.md` or `.planning/**.md` file ≥1500 bytes. Outcomes appear under a "### Prior prototyping outcomes" heading alongside the existing D-XX matches. Empty / missing block is a no-op. (Plan 25-06, commit `da1961c`)
|
|
1588
1630
|
|
|
1589
|
-
- **`scripts/lib/quality-gate-detect.cjs`**
|
|
1631
|
+
- **`scripts/lib/quality-gate-detect.cjs`** - Plan 25-09 promotes the doc-only auto-detection logic from `skills/quality-gate/SKILL.md` Step 1 (D-06) into a small testable JS module. Pure function, no I/O. Exports `detect({configCommands, scripts}) → {commands, tier, reason?}` plus the `ALLOWLIST` and `ALWAYS_EXCLUDED` arrays so downstream consumers and tests can pin to the canonical detection contract.
|
|
1590
1632
|
|
|
1591
1633
|
### Tests
|
|
1592
1634
|
|
|
1593
|
-
- `tests/prototype-gate-state-block.test.cjs` (new, 6 tests)
|
|
1594
|
-
- `tests/router-complexity-class.test.cjs` (new, 10 tests)
|
|
1595
|
-
- `tests/quality-gate-detection.test.cjs` (new, 12 tests)
|
|
1596
|
-
- `tests/turn-closeout-hook.test.cjs` (new, 8 tests)
|
|
1597
|
-
- `tests/phase-25-baseline.test.cjs` (new, 18 tests)
|
|
1635
|
+
- `tests/prototype-gate-state-block.test.cjs` (new, 6 tests) - `<prototyping>` block round-trips through parse → serialize byte-identically, parser populates `state.prototyping.{sketches,spikes,skipped}` correctly, and serializer omits the block when null (no spurious empty-tag pair).
|
|
1636
|
+
- `tests/router-complexity-class.test.cjs` (new, 10 tests) - JSON example contains `complexity_class` next to `path`; heuristic table contains S/M/L/XL bucket labels; canonical mapping rows present; `/gdd:help`→S, `/gdd:scan`→M, standalone `/gdd:plan`→L, `/gdd:next`→XL bucket assignments documented; S-class short-circuit semantics captured.
|
|
1637
|
+
- `tests/quality-gate-detection.test.cjs` (new, 12 tests) - Tier 1 (config override) / Tier 2 (auto-detect with `tsc` substitution + `test:e2e` exclusion) / Tier 3 (skip-with-notice) of the detection chain; SKILL.md timeout-and-failure semantics asserted at the content level.
|
|
1638
|
+
- `tests/turn-closeout-hook.test.cjs` (new, 8 tests) - spawns the Stop hook with 4 synthesized cwd states (no STATE.md, status=completed, fresh event, stale event with N/N) and asserts `{continue: true}` shape, `additionalContext` nudge, idempotence on the `(stage, task_progress)` tuple, and end-to-end latency.
|
|
1639
|
+
- `tests/phase-25-baseline.test.cjs` (new, 18 tests) - same shape as `phase-24-baseline.test.cjs`. Asserts all four sub-features land (prototype-gate agent + state block + wrap-up dual-writes + decision-injector wiring; router complexity_class + 4 buckets; quality-gate skill + agent + detection module + verify Step 2.5 + 6 lifecycle events; turn-closeout hook + portable mirror + hooks.json Stop wiring) plus all 4 manifests align at 1.25.0 + CHANGELOG `## [1.25.0]` block exists.
|
|
1598
1640
|
- `tests/semver-compare.test.cjs` `OFF_CADENCE_VERSIONS` gains `1.25.0` with the milestone summary.
|
|
1599
1641
|
|
|
1600
1642
|
### Decisions
|
|
1601
1643
|
|
|
1602
|
-
D-01 through D-13
|
|
1603
|
-
- **D-01**
|
|
1604
|
-
- **D-04 / D-05**
|
|
1605
|
-
- **D-06**
|
|
1606
|
-
- **D-07**
|
|
1607
|
-
- **D-10**
|
|
1608
|
-
- **D-12**
|
|
1644
|
+
D-01 through D-13 - see `.planning/phases/25-pipeline-hardening/CONTEXT.md` for the full decision register. Highlights:
|
|
1645
|
+
- **D-01** - `<prototyping>` is a STATE.md block, not a stage. Keeps the 5-stage state machine intact (anti-renumber rule); sketches/spikes are checkpoints that fire mid-pipeline.
|
|
1646
|
+
- **D-04 / D-05** - `complexity_class` is additive to `path`. `path` enum stays `fast|quick|full` for back-compat; `complexity_class` enum is `S|M|L|XL` with canonical mapping S→fast (short-circuited), M→fast, L→quick, XL→full.
|
|
1647
|
+
- **D-06** - Quality-gate detection is a 3-tier chain: authoritative config > auto-detect from `package.json#scripts` > skip-with-notice. Never blocks if no commands resolve.
|
|
1648
|
+
- **D-07** - Quality-gate timeout warns and proceeds (does not block). Failures still block at the verify entry; slow runs surface a warning.
|
|
1649
|
+
- **D-10** - Stop-hook latency budget ≤10ms typical, idempotent on the `(stage, task_progress)` tuple, never blocks the user's next turn.
|
|
1650
|
+
- **D-12** - All 9 plans land together with one CHANGELOG block. 4 manifests bump in lockstep (`package.json` + `.claude-plugin/plugin.json` + `.claude-plugin/marketplace.json` × 2 slots + `tests/semver-compare.test.cjs` `OFF_CADENCE_VERSIONS`).
|
|
1609
1651
|
|
|
1610
1652
|
---
|
|
1611
1653
|
|
|
1612
|
-
## [1.24.2]
|
|
1654
|
+
## [1.24.2] - 2026-04-25
|
|
1613
1655
|
|
|
1614
|
-
Dependabot cleanup
|
|
1656
|
+
Dependabot cleanup - patches the one real transitive vulnerability flagged on `main` and configures Dependabot to stop scanning inert framework-detection test fixtures. No behavior change for end users; security/quality patch on top of v1.24.1.
|
|
1615
1657
|
|
|
1616
1658
|
### Fixed
|
|
1617
1659
|
|
|
1618
|
-
- **`fast-json-patch` < 3.1.1 prototype pollution (high)**
|
|
1660
|
+
- **`fast-json-patch` < 3.1.1 prototype pollution (high)** - pulled in transitively via `ajv-cli@5.0.0` (dev-only, used by `npm run validate:schemas`). `ajv-cli@5` declares `fast-json-patch: ^2.0.0` and there is no newer `ajv-cli` release that drops the dep, so we add an `npm overrides` entry forcing `fast-json-patch` to `^3.1.1` for all transitive resolutions. `validate:schemas` continues to pass; the fast-json-patch v2→v3 API change only affects ajv-cli's `migrate` subcommand which we do not invoke (we run the `ajv` validator binary directly via `npx -p ajv-cli -p ajv-formats ajv`).
|
|
1619
1661
|
|
|
1620
1662
|
### Added
|
|
1621
1663
|
|
|
1622
|
-
- **`.github/dependabot.yml`**
|
|
1664
|
+
- **`.github/dependabot.yml`** - explicit Dependabot scope. By default Dependabot walks every `package.json` in the repo, which includes the inert manifests under `test-fixture/src/ui-detection/*/`. Those exist solely so `tests/detect-ui-root.test.cjs` and `tests/start-findings-engine.test.cjs` can read dependency *names* out of them to verify framework-detection heuristics - they are never `npm install`-ed and the pinned vulnerable versions of vite / next / react-router / fastify never execute in CI or production. The new config opts in only the root npm tree and the GitHub Actions ecosystem, leaving the fixture tree alone.
|
|
1623
1665
|
|
|
1624
1666
|
### Tests
|
|
1625
1667
|
|
|
1626
|
-
- `tests/phase-24-baseline.test.cjs`
|
|
1668
|
+
- `tests/phase-24-baseline.test.cjs` - manifest-alignment assertions bumped to `1.24.2`.
|
|
1627
1669
|
- `tests/semver-compare.test.cjs` `OFF_CADENCE_VERSIONS` gains `1.24.2`.
|
|
1628
1670
|
|
|
1629
1671
|
---
|
|
1630
1672
|
|
|
1631
|
-
## [1.24.1]
|
|
1673
|
+
## [1.24.1] - 2026-04-25
|
|
1632
1674
|
|
|
1633
|
-
CodeQL code-scanning cleanup
|
|
1675
|
+
CodeQL code-scanning cleanup - closes all 10 open alerts on `main` (1 error, 9 warnings). No behavior change for end users; security/quality patch on top of v1.24.0.
|
|
1634
1676
|
|
|
1635
1677
|
### Fixed
|
|
1636
1678
|
|
|
1637
|
-
- **`scripts/extract-changelog-section.cjs:31`**
|
|
1638
|
-
- **`tests/mapper-schema.test.cjs:15`**
|
|
1639
|
-
- **`tests/skill-brief-mcp-migration.test.cjs:118`**
|
|
1640
|
-
- **`.github/workflows/ci.yml`**
|
|
1679
|
+
- **`scripts/extract-changelog-section.cjs:31`** - `js/regex-injection` (error) + `js/incomplete-sanitization`. The CLI version arg was only escaping `.` before being interpolated into `new RegExp(...)`. Now escapes the full regex meta-char set `[.*+?^${}()|[\]\\]` via the same helper used elsewhere in the test suite.
|
|
1680
|
+
- **`tests/mapper-schema.test.cjs:15`** - `js/incomplete-sanitization`. `extractSchemaKeys()` now uses the full meta-char escape on the slice-name input before constructing the heading regex.
|
|
1681
|
+
- **`tests/skill-brief-mcp-migration.test.cjs:118`** - `js/identity-replacement`. The MCP-tool-presence check used `tool.replace(/_/g, '_')` (a no-op) inside `new RegExp(...)`. Replaced with a literal substring check (`assert.ok(fm.includes(tool))`) - MCP tool names are alphanumeric+highlight, so no regex is needed.
|
|
1682
|
+
- **`.github/workflows/ci.yml`** - `actions/missing-workflow-permissions` (×6 jobs). Added a top-level `permissions: contents: read` block. Inherited by all 6 jobs (lint / validate / test / security / size-budget / e2e-headless). Gitleaks runs with `GITLEAKS_ENABLE_COMMENTS: false` so it does not require `pull-requests: write`.
|
|
1641
1683
|
|
|
1642
1684
|
### Tests
|
|
1643
1685
|
|
|
1644
|
-
- `tests/phase-24-baseline.test.cjs`
|
|
1686
|
+
- `tests/phase-24-baseline.test.cjs` - manifest-alignment assertions bumped to `1.24.1`.
|
|
1645
1687
|
- `tests/semver-compare.test.cjs` `OFF_CADENCE_VERSIONS` gains `1.24.1`.
|
|
1646
1688
|
|
|
1647
1689
|
---
|
|
1648
1690
|
|
|
1649
|
-
## [1.24.0]
|
|
1691
|
+
## [1.24.0] - 2026-04-25
|
|
1650
1692
|
|
|
1651
|
-
Phase 24 Multi-Runtime Installer milestone
|
|
1693
|
+
Phase 24 Multi-Runtime Installer milestone - `npx @hegemonart/get-design-done` with no flags now launches a polished interactive install session (`@clack/prompts`) that walks the user through a multi-select of all 14 supported AI coding runtimes plus a Global/Local radio. Scripted / CI installs continue to work via the existing flag surface unchanged. Strict superset over v1.23.5: any non-zero invocation still works exactly as before.
|
|
1652
1694
|
|
|
1653
1695
|
### Added
|
|
1654
1696
|
|
|
1655
|
-
- **Per-runtime install matrix**
|
|
1697
|
+
- **Per-runtime install matrix** - `scripts/lib/install/runtimes.cjs` exports a 14-entry frozen list. Each entry: `{id, displayName, configDirEnv, configDirFallback, kind, files, marketplaceEntry?}`. Two install kinds are supported: `claude-marketplace` (registers an `extraKnownMarketplaces` entry + flips `enabledPlugins[<plugin>@<marketplace>]`, today only Claude Code) and `agents-md` (drops a runtime-specific instructions file in the runtime's config dir, used by the other 13). Adding a new runtime is one append to this file + one append to `test-fixture/baselines/phase-24/runtimes.txt`. (Plan 24-01)
|
|
1656
1698
|
|
|
1657
|
-
- **14 runtimes scoped**
|
|
1699
|
+
- **14 runtimes scoped** - Claude Code, OpenCode, Gemini CLI, Kilo Code, OpenAI Codex CLI, GitHub Copilot CLI, Cursor, Windsurf, Antigravity, Augment, Trae, Qwen Code, CodeBuddy, Cline. Gemini drops `GEMINI.md`; the other 12 `agents-md` runtimes drop `AGENTS.md`. (Plan 24-01)
|
|
1658
1700
|
|
|
1659
|
-
- **Config-dir lookup chain**
|
|
1701
|
+
- **Config-dir lookup chain** - `scripts/lib/install/config-dir.cjs` exposes `resolveConfigDir(runtimeId, opts)` and `resolveAllConfigDirs(opts)`. Precedence: explicit `--config-dir` flag > per-runtime env var (`CLAUDE_CONFIG_DIR`, `OPENCODE_CONFIG_DIR`, `GEMINI_CONFIG_DIR`, `CODEX_HOME`, `CURSOR_CONFIG_DIR`, …) > POSIX/Windows fallback at `$HOME/$USERPROFILE` joined with the runtime's `configDirFallback`. Mirrors GSD `install.js`'s lookup pattern. (Plan 24-01)
|
|
1660
1702
|
|
|
1661
|
-
- **Settings merge / unmerge primitives**
|
|
1703
|
+
- **Settings merge / unmerge primitives** - `scripts/lib/install/merge.cjs` exports pure `mergeClaudeSettings(existing, marketplaceEntry) → {next, changed}` and `removeClaudeSettings(existing, marketplaceEntry) → {next, changed}`. Both are idempotent and preserve unrelated user keys. `buildAgentsFileContent(runtime)` produces the runtime-tagged AGENTS.md/GEMINI.md payload with a `<!-- get-design-done plugin instructions -->` fingerprint. `isPluginOwned(content)` is the inverse used by uninstall + foreign-file detection. (Plan 24-02)
|
|
1662
1704
|
|
|
1663
|
-
- **Per-runtime install/uninstall orchestrator**
|
|
1705
|
+
- **Per-runtime install/uninstall orchestrator** - `scripts/lib/install/installer.cjs` exports `installRuntime(runtimeId, opts)` and `uninstallRuntime(runtimeId, opts)`, both returning a structured `Result = {runtime, path, action: 'created'|'updated'|'unchanged'|'removed'|'skipped-foreign', dryRun, reason?}`. Atomic writes (`.tmp-<pid>` + rename) throughout. Foreign AGENTS.md/GEMINI.md files (no plugin fingerprint) are never clobbered - install reports `skipped-foreign` with a remediation hint. `detectInstalled(opts)` scans every runtime's config dir and returns the IDs that have a plugin-owned install. (Plan 24-02)
|
|
1664
1706
|
|
|
1665
|
-
- **`@clack/prompts` interactive session**
|
|
1707
|
+
- **`@clack/prompts` interactive session** - `scripts/lib/install/interactive.cjs` exports `runInteractiveInstall()` (3 steps: multi-select runtimes → Global/Local radio → confirmation) and `runInteractiveUninstall(opts)` (2 steps: multi-select detected-installed → confirmation). ESC at any step returns `null` so the entrypoint exits 0 with a "cancelled" message - no partial writes. `@clack/prompts ^0.7.0` added as a runtime dependency (~8KB). (Plan 24-03)
|
|
1666
1708
|
|
|
1667
|
-
- **Multi-runtime entrypoint**
|
|
1709
|
+
- **Multi-runtime entrypoint** - `scripts/install.cjs` rewritten as a router. Decision tree: zero flags + TTY → interactive multi-select; zero flags + non-TTY (CI, pipes) → defaults to `--claude --global` for backwards compatibility with v1.23.5; any explicit per-runtime flag (or `--all`) → scripted, no prompts. `--uninstall` with no runtime list also enters interactive mode and only shows runtimes detected as installed. Per-runtime summary printed at the end with per-runtime path + action. (Plan 24-04)
|
|
1668
1710
|
|
|
1669
|
-
- **Existing flag surface preserved 1:1**
|
|
1711
|
+
- **Existing flag surface preserved 1:1** - `--claude`, `--opencode`, `--gemini`, `--kilo`, `--codex`, `--copilot`, `--cursor`, `--windsurf`, `--antigravity`, `--augment`, `--trae`, `--qwen`, `--codebuddy`, `--cline`, `--all`, `--global`, `--local`, `--uninstall`, `--config-dir <path>`, `--dry-run`, `--help`, `-h`. Existing CI installs (`CLAUDE_CONFIG_DIR=/tmp npx @hegemonart/get-design-done`) continue to work with no source changes. (Plan 24-04)
|
|
1670
1712
|
|
|
1671
|
-
- **Idempotent + foreign-safe install**
|
|
1713
|
+
- **Idempotent + foreign-safe install** - re-running install over an already-installed runtime emits `unchanged` with the v1.23.5 "already registered" message preserved. AGENTS.md / GEMINI.md files NOT authored by this plugin are detected via missing fingerprint and never overwritten or deleted by uninstall. (Plan 24-02)
|
|
1672
1714
|
|
|
1673
1715
|
### Changed
|
|
1674
1716
|
|
|
1675
1717
|
- `tests/semver-compare.test.cjs` `OFF_CADENCE_VERSIONS` gains `1.24.0`.
|
|
1676
|
-
- `scripts/install.cjs`
|
|
1718
|
+
- `scripts/install.cjs` - full rewrite. The original v1.23.5 single-runtime marketplace registration logic is now extracted into `scripts/lib/install/merge.cjs` (`mergeClaudeSettings` / `removeClaudeSettings`) and reused by the new orchestrator.
|
|
1677
1719
|
|
|
1678
1720
|
### Tests
|
|
1679
1721
|
|
|
1680
|
-
- `tests/install-runtimes.test.cjs`
|
|
1681
|
-
- `tests/install-config-dir.test.cjs`
|
|
1682
|
-
- `tests/install-merge.test.cjs`
|
|
1683
|
-
- `tests/phase-24-baseline.test.cjs`
|
|
1722
|
+
- `tests/install-runtimes.test.cjs` - 14-entry shape, kind/file mapping per runtime, baseline-file alignment, ID uniqueness, unknown-runtime throws (10 tests).
|
|
1723
|
+
- `tests/install-config-dir.test.cjs` - env override, explicit override, fallback resolution, empty env-var fallthrough, all-runtimes resolution (8).
|
|
1724
|
+
- `tests/install-merge.test.cjs` - merge/remove idempotency + key preservation, fingerprint helpers, full install→idempotent→uninstall round-trips for both kinds, foreign-file refusal + missing-target uninstall (15).
|
|
1725
|
+
- `tests/phase-24-baseline.test.cjs` - 3-manifest version alignment at 1.24.0, `@clack/prompts` registration, surface-export contract per module, runtimes.txt baseline match, install.cjs rewrite anchor (8).
|
|
1684
1726
|
- All 7 existing `tests/install-script.test.cjs` end-to-end spawn tests pass against the rewritten entrypoint.
|
|
1685
1727
|
|
|
1686
1728
|
Total: 41 new tests. All Phase 20/21/22/23/23.5 tests still green.
|
|
@@ -1689,26 +1731,26 @@ Total: 41 new tests. All Phase 20/21/22/23/23.5 tests still green.
|
|
|
1689
1731
|
|
|
1690
1732
|
- Stdin-simulation integration tests for the interactive flow itself (requires a PTY shim; manual smoke-test on Windows CMD / PowerShell / Windows Terminal covers v1).
|
|
1691
1733
|
- Auto-detection of installed runtimes during the install flow (multi-select with all 14 visible is sufficient for v1; uninstall flow already filters to detected-installed via `detectInstalled`).
|
|
1692
|
-
- Per-runtime MCP server registration writes
|
|
1734
|
+
- Per-runtime MCP server registration writes - each runtime's MCP entry format differs and the install matrix records the format but does not generate the entries.
|
|
1693
1735
|
|
|
1694
1736
|
---
|
|
1695
1737
|
|
|
1696
|
-
## [1.23.5]
|
|
1738
|
+
## [1.23.5] - 2026-04-25
|
|
1697
1739
|
|
|
1698
|
-
Phase 23.5 No-Regret Adaptive Layer milestone
|
|
1740
|
+
Phase 23.5 No-Regret Adaptive Layer milestone - turns the passive Phase 22–23 observability + validation infrastructure into a closed self-tuning loop. Three tightly-scoped no-regret algorithms sharing one feature-flag ladder. Single-user viable via informed Beta-prior bootstrap (no shared telemetry required). Ships as a decimal patch on the v1.23 minor - does NOT shift Phase 24 → v1.24.0.
|
|
1699
1741
|
|
|
1700
1742
|
### Added
|
|
1701
1743
|
|
|
1702
|
-
- **Bandit router**
|
|
1744
|
+
- **Bandit router** - `scripts/lib/bandit-router.cjs` implements contextual Thompson sampling over `(agent_type, touches_size_bin) → {haiku, sonnet, opus}`. Per-arm `Beta(α, β)` posterior at `.design/telemetry/posterior.json` (atomic .tmp + rename). Discounted Thompson via per-arm time-decay factor `ρ^days_since_last_use` applied at sample time (default ρ=0.988 → 60-day half-life). Informed bootstrap: each arm starts at `Beta(α, β)` with α weighted toward the historical tier success rate (haiku=0.6, sonnet=0.8, opus=0.85) and `α + β ≈ 10` so 5–10 local samples shift the posterior. Two-stage lexicographic reward: `if !solidify_pass: 0; elif user_undo_in_session: 0; else: 1 − λ · normalize(cost + ε · wall_time)`. API: `pull / update / reset / loadPosterior / savePosterior / computeReward`. Touches-size bins: `tiny <5`, `small 5–15`, `medium 16–50`, `large >50` globs. (Plan 23.5-01)
|
|
1703
1745
|
|
|
1704
|
-
- **Hedge ensemble**
|
|
1746
|
+
- **Hedge ensemble** - `scripts/lib/hedge-ensemble.cjs` implements parameter-free AdaNormalHedge weighted-majority over verifier + checker agents. Weights persist at `.design/telemetry/hedge-weights.json`. Update rule: `η_i = sqrt(ln(N) / max(1, cumLoss2_i))` per-agent learning rate; `w_i *= exp(-η_i * loss_i)`; renormalise. Vote semantics: weighted sum normalised by the SUM of voting agents' weights - agents in the pool that didn't vote this round don't dilute the verdict. API: `loss / vote / weights / loadWeights / saveWeights`. Default vote threshold 0.5. (Plan 23.5-02)
|
|
1705
1747
|
|
|
1706
|
-
- **MMR re-rank**
|
|
1748
|
+
- **MMR re-rank** - `scripts/lib/mmr-rerank.cjs` implements Maximal Marginal Relevance over scored items. Solves the "all 5 surfaced learnings are about the same thing" failure mode in the Phase 14.5 decision-injector. Greedy criterion: `next = argmax_{i ∉ selected} λ * relevance(i) − (1 − λ) * max_sim(i, selected)`. Similarity = Jaccard on word n-grams (default n=2). λ default 0.7. No external deps, no embedding API. API: `rerank / similarity / tokenize / ngrams / jaccard`. (Plan 23.5-03)
|
|
1707
1749
|
|
|
1708
|
-
- **Adaptive-mode feature flag ladder**
|
|
1709
|
-
- `static` (DEFAULT)
|
|
1710
|
-
- `hedge`
|
|
1711
|
-
- `full`
|
|
1750
|
+
- **Adaptive-mode feature flag ladder** - `scripts/lib/adaptive-mode.cjs` is the single source of truth for which Phase 23.5 components are active. Three modes:
|
|
1751
|
+
- `static` (DEFAULT) - Phase 10.1 behaviour. Static `tier_overrides` applies. No posterior writes / no hedge updates / no MMR.
|
|
1752
|
+
- `hedge` - Adds AdaNormalHedge consensus + MMR re-rank. Routing still static (bandit OFF). Safest intro level.
|
|
1753
|
+
- `full` - Adds bandit Thompson-sampling routing + reflector confidence-interval proposals. Both posterior + hedge persist.
|
|
1712
1754
|
Read from `.design/budget.json.adaptive_mode` with safe fallback to `static` on missing/malformed/unknown values. API: `getMode / setMode / caps / isBanditEnabled / isHedgeEnabled / isMmrEnabled / isReflectorProposalsEnabled`. (Plan 23.5-04)
|
|
1713
1755
|
|
|
1714
1756
|
### Changed
|
|
@@ -1718,11 +1760,11 @@ Phase 23.5 No-Regret Adaptive Layer milestone — turns the passive Phase 22–2
|
|
|
1718
1760
|
|
|
1719
1761
|
### Tests
|
|
1720
1762
|
|
|
1721
|
-
- `tests/bandit-router.test.cjs`
|
|
1722
|
-
- `tests/hedge-ensemble.test.cjs`
|
|
1723
|
-
- `tests/mmr-rerank.test.cjs`
|
|
1724
|
-
- `tests/adaptive-mode.test.cjs`
|
|
1725
|
-
- `tests/phase-23.5-baseline.test.cjs`
|
|
1763
|
+
- `tests/bandit-router.test.cjs` - bin partitioning, prior elevation per tier, beta sampling, pull persistence, missing-input throws, update/reward/clamp, reset, decay-toward-prior, all reward branches, load+save, 60-round convergence smoke test (18 tests)
|
|
1764
|
+
- `tests/hedge-ensemble.test.cjs` - init uniform, high-loss penalty, normalisation, simple vs weighted vote, boolean=numeric equivalence, custom threshold, empty votes, loss clamp, NaN throw, round-trip (14)
|
|
1765
|
+
- `tests/mmr-rerank.test.cjs` - tokenize edges, ngram size+fallback, similarity properties, λ=1 pure relevance, λ=0 pure diversity, textOf/relevanceOf overrides, empty input, non-array throw, k>length truncation, defaults, jaccard guards, canonical "5 D-13 hits" scenario (18)
|
|
1766
|
+
- `tests/adaptive-mode.test.cjs` - missing-file fallback, malformed-JSON fallback, unknown-mode quiet fallback, all 3 capability matrices, all 4 predicates, setMode preserves other fields, parent-dir creation, mode rejection, exports, absolute-path support (13)
|
|
1767
|
+
- `tests/phase-23.5-baseline.test.cjs` - Phase 23.5 regression baseline (8)
|
|
1726
1768
|
|
|
1727
1769
|
Total: 71 new tests. All Phase 20/21/22/23 tests still green.
|
|
1728
1770
|
|
|
@@ -1739,42 +1781,42 @@ The Phase 22 code-level reflector reads `posterior.json` + hedge weights at run
|
|
|
1739
1781
|
|
|
1740
1782
|
### Explicitly out of scope
|
|
1741
1783
|
|
|
1742
|
-
- HDBSCAN auto-crystallization, BOCPD changepoint detection, Personalized PageRank, MinHash/LSH dedup, Borda/Kemeny rank aggregation, submodular greedy
|
|
1784
|
+
- HDBSCAN auto-crystallization, BOCPD changepoint detection, Personalized PageRank, MinHash/LSH dedup, Borda/Kemeny rank aggregation, submodular greedy - each rejected with rationale in ROADMAP.md.
|
|
1743
1785
|
|
|
1744
1786
|
---
|
|
1745
1787
|
|
|
1746
|
-
## [1.23.0]
|
|
1788
|
+
## [1.23.0] - 2026-04-25
|
|
1747
1789
|
|
|
1748
|
-
Phase 23 GDD SDK Domain Primitives milestone
|
|
1790
|
+
Phase 23 GDD SDK Domain Primitives milestone - lands the highest-impact code primitives from the ROADMAP "GDD SDK Domain Primitives" entry as typed Node modules with tests. 10 atomic plans (23-01 through 23-10), additive - every Phase 20/21/22 consumer keeps working unchanged. Distribution as separate `@hegemonart/gdd-sdk` npm package and screenshot-capture orchestration are explicitly deferred to follow-up phases.
|
|
1749
1791
|
|
|
1750
1792
|
### Added
|
|
1751
1793
|
|
|
1752
|
-
- **JSON output contracts**
|
|
1794
|
+
- **JSON output contracts** - `reference/output-contracts/planner-decision.schema.json` + `verifier-decision.schema.json` (Draft-07). `scripts/lib/parse-contract.cjs` gains `parsePlannerDecision()` and `parseVerifierDecision()` riding the same extract→parse→validate pipeline as the existing `parseMotionMap`. Lets `/gdd:synthesize` consume planner output without regex-parsing markdown headings, and lets executor↔verifier ping-pong on a typed envelope. (Plan 23-01)
|
|
1753
1795
|
|
|
1754
|
-
- **Solidify-with-rollback gate**
|
|
1796
|
+
- **Solidify-with-rollback gate** - `scripts/lib/design-solidify.mjs` runs the typecheck/build/targeted-test triplet for a task and, on any failure, rolls the working tree back via `git stash` (configurable: `stash` | `hard` | `none`) and emits a `solidify.rollback` event onto the Phase 22 causal chain. Optional `emit()` callback for event-stream telemetry sink. Authored as `.mjs` to sidestep the Phase 22 Node 24 + Windows + .mjs↔.ts loader bug. (Plan 23-02)
|
|
1755
1797
|
|
|
1756
|
-
- **Touches: analyzer + parallelism decision engine**
|
|
1798
|
+
- **Touches: analyzer + parallelism decision engine** - `scripts/lib/touches-analyzer/index.cjs` parses `Touches:` lines from task markdown into glob lists and produces a pairwise verdict (`parallel` | `sequential`) for any two tasks. Encodes today's prompt-only heuristic into auditable code. Verdict rules (first match wins): empty → unknown-touches; literal equality → shared-glob; shared component dir → shared-component-dir; resolved-file overlap → shared-file; otherwise → disjoint. (Plan 23-03)
|
|
1757
1799
|
|
|
1758
|
-
- **Audit aggregator**
|
|
1800
|
+
- **Audit aggregator** - `scripts/lib/audit-aggregator/index.cjs` takes `Array<Finding>` from N audit-agents, dedups by `{file, line, rule_id}`, scores via severity-weighted formula (P0:8/P1:4/P2:2/P3:1), and returns sorted top-N + tally summary. Default merge picks higher-confidence → higher-severity → lex-earliest agent → first-seen. Confidence outside `[0, 1]` clamped with one `process.emitWarning` per call. Cross-platform path normalization. (Plan 23-04)
|
|
1759
1801
|
|
|
1760
|
-
- **Reference resolver**
|
|
1802
|
+
- **Reference resolver** - `scripts/lib/reference-resolver.cjs` adds the resolution direction on top of the Phase 14.5 reference-registry. `resolve('forms')` / `resolve('type:forms')` → `{name, path, type, excerpt}` with a 200-char excerpt suitable for inlining into agent prompts. Lookup order: exact name → slug match → singularize fuzzy → type-only-when-unique. Ambiguous match throws `RangeError` with candidates. `resolveAll(keys, {ignoreMissing})` for bulk. `excerptOf(path, {maxChars})` strips frontmatter / fenced code / HTML comments / markdown headers. (Plan 23-05)
|
|
1761
1803
|
|
|
1762
|
-
- **Touches pattern miner**
|
|
1804
|
+
- **Touches pattern miner** - `scripts/lib/touches-pattern-miner.cjs` scans `.design/archive/cycle-*/tasks/*.md` after `/gdd:complete-cycle`, canonicalizes signatures (lowercase + backslash-normalize + cycle-slug strip + dedup + sort), and proposes crystallization candidates when a signature recurs in ≥3 tasks across ≥2 cycles. Writes `.design/learnings/touches-patterns.json` atomically (`.tmp` + rename). **NEVER auto-applies** - `/gdd:apply-reflections` is the materialization gate. (Plan 23-06)
|
|
1763
1805
|
|
|
1764
|
-
- **Image diff + visual baseline manager**
|
|
1806
|
+
- **Image diff + visual baseline manager** - `scripts/lib/visual-baseline/diff.cjs` compares two PNG buffers. With `pngjs` installed (probeOptional), decodes both and counts pixels whose R/G/B/A channels differ beyond the tolerance (default 4). Without `pngjs`, falls back to bytewise SHA-256 equality. `scripts/lib/visual-baseline/index.cjs` exposes `compareToBaseline(key, pngBuffer)` and `applyBaseline(key, pngBuffer)`; reads/writes `.design/baselines/<key>.png`; rejects path-traversal keys. `pngjs@7` declared as optional dep. Defers Playwright/Preview MCP screenshot capture orchestration to a later phase. (Plan 23-07)
|
|
1765
1807
|
|
|
1766
|
-
- **Design-token reader (multi-source)**
|
|
1767
|
-
- `css-vars.cjs`
|
|
1768
|
-
- `js-const.cjs`
|
|
1769
|
-
- `tailwind.cjs`
|
|
1770
|
-
- `figma.cjs`
|
|
1808
|
+
- **Design-token reader (multi-source)** - `scripts/lib/design-tokens/index.cjs` facades over four pure-JS readers producing the uniform `{tokens, source, format, warnings}` shape:
|
|
1809
|
+
- `css-vars.cjs` - extracts `--token: value;` from CSS/SCSS, last-write-wins, strips block comments, warns on `$scss-vars`
|
|
1810
|
+
- `js-const.cjs` - spawn-node harness evaluates CJS/ESM exports, recognises `{tokens: …}` / default / direct bag, flattens nested with `.` separator
|
|
1811
|
+
- `tailwind.cjs` - same harness, walks `theme` + `theme.extend` per scale (extend overrides base)
|
|
1812
|
+
- `figma.cjs` - parses `{variableCollections}` shape OR already-flattened bag; emits `rgb(R, G, B)` for color values, per-mode tokens for multi-mode variables
|
|
1771
1813
|
Auto-detection by extension + content sniff. (Plan 23-08)
|
|
1772
1814
|
|
|
1773
|
-
- **Domain primitives bundle**
|
|
1774
|
-
- `domain-primitives/nng.cjs`
|
|
1775
|
-
- `domain-primitives/anti-patterns.cjs`
|
|
1776
|
-
- `domain-primitives/wcag.cjs` (no axe-core dep)
|
|
1777
|
-
Both NNG + anti-pattern files allow no parseable yaml today (treated as empty registry);
|
|
1815
|
+
- **Domain primitives bundle** - three checkers sharing a single hit shape (`{rule_id, severity P0-P3, summary, evidence?, line?, file}`):
|
|
1816
|
+
- `domain-primitives/nng.cjs` - runs grep-style heuristic rules loaded from `reference/heuristics.md` fenced yaml blocks; caller may inject `opts.rules` to bypass file-load
|
|
1817
|
+
- `domain-primitives/anti-patterns.cjs` - same yaml extractor against `reference/anti-patterns.md`
|
|
1818
|
+
- `domain-primitives/wcag.cjs` (no axe-core dep) - `contrastRatio()` (WCAG 1.4.3 luminance), `checkContrast({fg, bg, level: AA|AAA})`, `checkTapTarget({width, height, level})` (AA 24×24, AAA 44×44), `checkAriaLabels({content})` (interactive elements without text + aria-label)
|
|
1819
|
+
Both NNG + anti-pattern files allow no parseable yaml today (treated as empty registry); solid to gradual rule population. (Plan 23-09)
|
|
1778
1820
|
|
|
1779
1821
|
### Changed
|
|
1780
1822
|
|
|
@@ -1783,35 +1825,35 @@ Phase 23 GDD SDK Domain Primitives milestone — lands the highest-leverage code
|
|
|
1783
1825
|
|
|
1784
1826
|
### Tests
|
|
1785
1827
|
|
|
1786
|
-
- `tests/output-contracts-23-01.test.cjs`
|
|
1787
|
-
- `tests/design-solidify.test.cjs`
|
|
1788
|
-
- `tests/touches-analyzer.test.cjs`
|
|
1789
|
-
- `tests/audit-aggregator.test.cjs`
|
|
1790
|
-
- `tests/reference-resolver.test.cjs`
|
|
1791
|
-
- `tests/touches-pattern-miner.test.cjs`
|
|
1792
|
-
- `tests/visual-baseline.test.cjs`
|
|
1793
|
-
- `tests/design-tokens.test.cjs`
|
|
1794
|
-
- `tests/domain-primitives.test.cjs`
|
|
1795
|
-
- `tests/phase-23-baseline.test.cjs`
|
|
1828
|
+
- `tests/output-contracts-23-01.test.cjs` - planner + verifier contracts (14 tests)
|
|
1829
|
+
- `tests/design-solidify.test.cjs` - solidify gate, all rollback modes (6)
|
|
1830
|
+
- `tests/touches-analyzer.test.cjs` - parser + verdict + matrix (17)
|
|
1831
|
+
- `tests/audit-aggregator.test.cjs` - dedup + score + tallies (15)
|
|
1832
|
+
- `tests/reference-resolver.test.cjs` - resolution rules + excerpts (12)
|
|
1833
|
+
- `tests/touches-pattern-miner.test.cjs` - canonicalize + thresholds + atomic write (10)
|
|
1834
|
+
- `tests/visual-baseline.test.cjs` - diff modes + baseline round-trip (14, pngjs-optional path skipped when absent)
|
|
1835
|
+
- `tests/design-tokens.test.cjs` - 4 readers + facade auto-detect (15)
|
|
1836
|
+
- `tests/domain-primitives.test.cjs` - NNG + anti-pattern + WCAG checkers (18)
|
|
1837
|
+
- `tests/phase-23-baseline.test.cjs` - Phase 23 regression baseline (12)
|
|
1796
1838
|
|
|
1797
1839
|
Total: 133 new tests. All Phase 20/21/22 tests still green.
|
|
1798
1840
|
|
|
1799
1841
|
### Deferred
|
|
1800
1842
|
|
|
1801
|
-
- **`@hegemonart/gdd-sdk` separate npm package**
|
|
1802
|
-
- **Screenshot capture orchestration** (Playwright + Claude Preview MCP wrapper)
|
|
1803
|
-
- **Spec↔code↔visual triangulation verifier**
|
|
1804
|
-
- **Knowledge-graph typed query layer** + cycle/workstream model SDK + pause/resume context serializer SDK + per-stage budget allocator SDK + git operations primitive + handoff bundle parser + intel store typed reader/writer
|
|
1843
|
+
- **`@hegemonart/gdd-sdk` separate npm package** - out of scope; build/packaging project of its own.
|
|
1844
|
+
- **Screenshot capture orchestration** (Playwright + Claude Preview MCP wrapper) - needs live MCP infra to validate.
|
|
1845
|
+
- **Spec↔code↔visual triangulation verifier** - depends on Phase 16/17 component specs being fleshed out.
|
|
1846
|
+
- **Knowledge-graph typed query layer** + cycle/workstream model SDK + pause/resume context serializer SDK + per-stage budget allocator SDK + git operations primitive + handoff bundle parser + intel store typed reader/writer - each is roadmap-text-sized and warrants its own phase scope.
|
|
1805
1847
|
|
|
1806
1848
|
---
|
|
1807
1849
|
|
|
1808
|
-
## [1.22.0]
|
|
1850
|
+
## [1.22.0] - 2026-04-25
|
|
1809
1851
|
|
|
1810
|
-
Phase 22 GDD SDK Observability milestone
|
|
1852
|
+
Phase 22 GDD SDK Observability milestone - the single-typed `BaseEvent` envelope from Phase 20 grows into a queryable, redacted, transport-able observability layer with tail/grep/WebSocket consumers and a causal event chain. 10 plans (22-01 through 22-10), additive - every Phase 20 + Phase 21 consumer keeps working unchanged.
|
|
1811
1853
|
|
|
1812
1854
|
### Added
|
|
1813
1855
|
|
|
1814
|
-
- **Expanded event-type registry**
|
|
1856
|
+
- **Expanded event-type registry** - 17 new pre-registered subtypes alongside
|
|
1815
1857
|
the 6 from Phase 20: `wave.started`, `wave.completed`, `blocker.added`,
|
|
1816
1858
|
`decision.added`, `must_have.added`, `parallelism.verdict`, `cost.update`,
|
|
1817
1859
|
`rate_limit`, `api.retry`, `compact.boundary`, `mcp.probe`,
|
|
@@ -1821,23 +1863,23 @@ Phase 22 GDD SDK Observability milestone — the single-typed `BaseEvent` envelo
|
|
|
1821
1863
|
overlay for typed `switch` consumers. Runtime `KNOWN_EVENT_TYPES` list
|
|
1822
1864
|
exported for the CLI's `list-types` subcommand. (Plan 22-01)
|
|
1823
1865
|
|
|
1824
|
-
- **Secret scrubber**
|
|
1866
|
+
- **Secret scrubber** - `scripts/lib/redact.cjs` deep-walks every event
|
|
1825
1867
|
payload and replaces secret-shaped strings with `[REDACTED:<type>]`
|
|
1826
1868
|
placeholders. Patterns: `sk-ant-…` (anthropic), `sk_live_…` (stripe),
|
|
1827
1869
|
`xox[baprs]-…` (slack), `ghp_…` (github_pat), `AKIA…` (aws), generic
|
|
1828
1870
|
`sk-…`, `eyJ…` JWTs, and full `-----BEGIN/END-----` PEM blocks.
|
|
1829
1871
|
Wired into `EventWriter.serialize()` so every event hitting disk and
|
|
1830
|
-
every bus subscriber sees the scrubbed form
|
|
1872
|
+
every bus subscriber sees the scrubbed form - single rule everywhere,
|
|
1831
1873
|
no escape hatch. (Plan 22-02)
|
|
1832
1874
|
|
|
1833
|
-
- **Per-tool-call trajectory stream**
|
|
1875
|
+
- **Per-tool-call trajectory stream** - `.design/telemetry/trajectories/<cycle>.jsonl`
|
|
1834
1876
|
receives one line per agent tool-use:
|
|
1835
1877
|
`{ts, agent, tool, args_hash, result_hash, latency_ms, status}`.
|
|
1836
|
-
Args + result are sha256-prefix-hashed (16 chars)
|
|
1878
|
+
Args + result are sha256-prefix-hashed (16 chars) - line size stays
|
|
1837
1879
|
bounded; prompt content stays de-identified. Captured by the new
|
|
1838
1880
|
PostToolUse:Agent hook `hooks/gdd-trajectory-capture.js`. (Plan 22-03)
|
|
1839
1881
|
|
|
1840
|
-
- **Append-only event chain**
|
|
1882
|
+
- **Append-only event chain** - `.design/gep/events.jsonl` (gep =
|
|
1841
1883
|
"GDD Event Provenance"). One line per causal hop: `{event_id,
|
|
1842
1884
|
parent_event_id, ts, agent, decision_refs, outcome, rollback_reason?}`.
|
|
1843
1885
|
`appendChainEvent()` auto-generates UUIDs; `walkParents()` traces a
|
|
@@ -1845,47 +1887,47 @@ Phase 22 GDD SDK Observability milestone — the single-typed `BaseEvent` envelo
|
|
|
1845
1887
|
invalid lines; lives separately from the firehose so audits don't
|
|
1846
1888
|
scan unrelated rows. (Plan 22-04)
|
|
1847
1889
|
|
|
1848
|
-
- **Typed event reader + aggregator**
|
|
1890
|
+
- **Typed event reader + aggregator** - `readEvents({path, type,
|
|
1849
1891
|
predicate, since, until})` returns an async streaming iterator over
|
|
1850
|
-
`events.jsonl` (readline + createReadStream
|
|
1892
|
+
`events.jsonl` (readline + createReadStream - no full-file load,
|
|
1851
1893
|
GB-scale logs OK). `aggregate()` rolls events up by type, stage,
|
|
1852
1894
|
cycle, agent + totals (count, error_count, truncated_count). Exposed
|
|
1853
1895
|
from the public event-stream API. (Plan 22-05)
|
|
1854
1896
|
|
|
1855
|
-
- **CLI transport**
|
|
1897
|
+
- **CLI transport** - `gdd-events` bin entry, subcommands:
|
|
1856
1898
|
`tail [--follow]` (250ms-poll follow mode, no native inotify dep);
|
|
1857
1899
|
`grep <terms…>` with hand-rolled filter language
|
|
1858
1900
|
(`type=foo`, `payload.x.y=bar`, `!type=baz`, multiple = AND);
|
|
1859
1901
|
`cat` pretty-print with timestamp+type prefix; `list-types` runtime
|
|
1860
1902
|
registry dump; `serve` for the WebSocket transport. (Plan 22-06)
|
|
1861
1903
|
|
|
1862
|
-
- **WebSocket transport**
|
|
1904
|
+
- **WebSocket transport** - `scripts/lib/transports/ws.cjs` exposes
|
|
1863
1905
|
`startServer({port, token, tailFrom?, subscribe?})`. Loaded via
|
|
1864
|
-
`probeOptional('ws')`
|
|
1906
|
+
`probeOptional('ws')` - clear install hint when absent. Auth:
|
|
1865
1907
|
`Authorization: Bearer <token>` on the upgrade; mismatched →
|
|
1866
1908
|
HTTP 401 close. Tail replay sends `tailFrom`'s contents to new
|
|
1867
1909
|
clients before subscribing them to the live bus. Fire-and-forget
|
|
1868
1910
|
delivery; closed sockets dropped silently. `ws@8` declared as
|
|
1869
1911
|
optional dep. (Plan 22-07)
|
|
1870
1912
|
|
|
1871
|
-
- **Connection probe primitive**
|
|
1913
|
+
- **Connection probe primitive** - `scripts/lib/connection-probe/`
|
|
1872
1914
|
exposes `probe({name, cmd, timeout, retries, fallback})` →
|
|
1873
1915
|
`{status: 'ok'|'degraded'|'down', latency_ms, attempts,
|
|
1874
1916
|
fallback_used, error?}`. Backoff between retries via
|
|
1875
1917
|
`jittered-backoff.cjs`. State persisted at
|
|
1876
1918
|
`.design/telemetry/connection-state.json` (atomic .tmp+rename).
|
|
1877
1919
|
Status transitions emit `connection.status_change` events through a
|
|
1878
|
-
caller-supplied `emit` callback
|
|
1920
|
+
caller-supplied `emit` callback - transitions only, not every probe.
|
|
1879
1921
|
Replaces ad-hoc bash probe snippets in `connections/`. (Plan 22-08)
|
|
1880
1922
|
|
|
1881
|
-
- **Hook → event-stream wire-in**
|
|
1923
|
+
- **Hook → event-stream wire-in** - new `hooks/_hook-emit.js` shared
|
|
1882
1924
|
helper wraps `appendEvent()` in try/catch (hooks must NEVER throw on
|
|
1883
1925
|
telemetry failure). Wired hooks emit `hook.fired` events on every
|
|
1884
1926
|
decision: `gdd-bash-guard` (allow/block + severity + pattern),
|
|
1885
1927
|
`gdd-protected-paths` (allow/block + matched glob),
|
|
1886
1928
|
`gdd-decision-injector` (inject/no-hits + backend label).
|
|
1887
1929
|
Trajectory-capture (Plan 22-03) already emits via its own path.
|
|
1888
|
-
Additive
|
|
1930
|
+
Additive - zero behavior change to existing hook contracts. (Plan 22-09)
|
|
1889
1931
|
|
|
1890
1932
|
### Changed
|
|
1891
1933
|
|
|
@@ -1899,17 +1941,17 @@ Phase 22 GDD SDK Observability milestone — the single-typed `BaseEvent` envelo
|
|
|
1899
1941
|
|
|
1900
1942
|
### Tests
|
|
1901
1943
|
|
|
1902
|
-
- `tests/event-types-registry.test.ts`
|
|
1903
|
-
- `tests/redact.test.cjs`
|
|
1904
|
-
- `tests/event-stream-redact-integration.test.ts`
|
|
1905
|
-
- `tests/trajectory-capture.test.cjs`
|
|
1906
|
-
- `tests/event-chain.test.cjs`
|
|
1907
|
-
- `tests/event-reader.test.ts`
|
|
1908
|
-
- `tests/cli-events.test.cjs`
|
|
1909
|
-
- `tests/ws-transport.test.cjs`
|
|
1910
|
-
- `tests/connection-probe-primitive.test.cjs`
|
|
1911
|
-
- `tests/hook-emit-wire.test.cjs`
|
|
1912
|
-
- `tests/phase-22-baseline.test.cjs`
|
|
1944
|
+
- `tests/event-types-registry.test.ts` - registry expansion (4 tests)
|
|
1945
|
+
- `tests/redact.test.cjs` - secret scrubber (12 tests)
|
|
1946
|
+
- `tests/event-stream-redact-integration.test.ts` - write-time wire-in (2 tests)
|
|
1947
|
+
- `tests/trajectory-capture.test.cjs` - module + hook subprocess (7 tests)
|
|
1948
|
+
- `tests/event-chain.test.cjs` - chain + walk + cycle defense (10 tests)
|
|
1949
|
+
- `tests/event-reader.test.ts` - reader + aggregator (8 tests)
|
|
1950
|
+
- `tests/cli-events.test.cjs` - CLI subcommands + filter language (10 tests)
|
|
1951
|
+
- `tests/ws-transport.test.cjs` - WebSocket auth + replay + live (5 + 1 skip)
|
|
1952
|
+
- `tests/connection-probe-primitive.test.cjs` - retry + fallback + emit (9 tests)
|
|
1953
|
+
- `tests/hook-emit-wire.test.cjs` - bash-guard + protected-paths emission (4 tests)
|
|
1954
|
+
- `tests/phase-22-baseline.test.cjs` - Phase 22 regression baseline (12 tests)
|
|
1913
1955
|
|
|
1914
1956
|
Total: 84 new tests. All Phase 20/21 tests still green.
|
|
1915
1957
|
|
|
@@ -1922,63 +1964,63 @@ Total: 84 new tests. All Phase 20/21 tests still green.
|
|
|
1922
1964
|
- Replay-on-subscribe semantics (bus stays live-only; transports that
|
|
1923
1965
|
want replay read `events.jsonl` directly, then subscribe live).
|
|
1924
1966
|
- Wire-in for `gdd-mcp-circuit-breaker.js`, `budget-enforcer.ts`,
|
|
1925
|
-
`context-exhaustion.ts`, `gdd-read-injection-scanner.ts`
|
|
1967
|
+
`context-exhaustion.ts`, `gdd-read-injection-scanner.ts` - flow is
|
|
1926
1968
|
more intricate; follow-up phase.
|
|
1927
1969
|
|
|
1928
1970
|
---
|
|
1929
1971
|
|
|
1930
|
-
## [1.21.0]
|
|
1972
|
+
## [1.21.0] - 2026-04-24
|
|
1931
1973
|
|
|
1932
|
-
Phase 21 GDD SDK Headless milestone
|
|
1974
|
+
Phase 21 GDD SDK Headless milestone - the plugin now runs unchanged on Claude Code, OpenAI Codex CLI, and Gemini CLI, and ships a full `gdd-sdk` CLI that executes the design pipeline without a harness. 12 plans (21-01 through 21-12), 50+ commits, 936 tests.
|
|
1933
1975
|
|
|
1934
1976
|
### Added
|
|
1935
1977
|
|
|
1936
|
-
- **Headless SDK**
|
|
1978
|
+
- **Headless SDK** - new `bin/gdd-sdk` CLI that runs the full design pipeline
|
|
1937
1979
|
without Claude Code. Subcommands: `run`, `stage <name>`, `query <op>`,
|
|
1938
1980
|
`audit`, `init`. Publishes as `gdd-sdk` in `package.json` `bin`. See
|
|
1939
1981
|
`docs/HEADLESS.md` (Phase 23 deliverable) for CI integration guidance.
|
|
1940
|
-
- **Session runner** (`scripts/lib/session-runner/`)
|
|
1982
|
+
- **Session runner** (`scripts/lib/session-runner/`) - typed wrapper around
|
|
1941
1983
|
`@anthropic-ai/claude-agent-sdk` with USD/token budget caps, turn caps,
|
|
1942
1984
|
transcript capture, structured error mapping via `gdd-errors` taxonomy.
|
|
1943
1985
|
Emits `session.started`, `session.completed`, `session.budget_exceeded`
|
|
1944
1986
|
events on the shared event stream.
|
|
1945
|
-
- **Context engine** (`scripts/lib/context-engine/`)
|
|
1987
|
+
- **Context engine** (`scripts/lib/context-engine/`) - per-stage file
|
|
1946
1988
|
manifest + markdown-aware truncation that preserves frontmatter, every
|
|
1947
1989
|
heading, and the first paragraph of each section for files larger than
|
|
1948
|
-
8 KiB. Keeps session prompts within budget without dropping
|
|
1990
|
+
8 KiB. Keeps session prompts within budget without dropping essential
|
|
1949
1991
|
context.
|
|
1950
|
-
- **Tool scoping** (`scripts/lib/tool-scoping/`)
|
|
1992
|
+
- **Tool scoping** (`scripts/lib/tool-scoping/`) - per-stage allowed-tools
|
|
1951
1993
|
enforcement at session creation. Verify is read-only; Explore adds web;
|
|
1952
1994
|
Design permits shell mutations. Per-agent frontmatter overrides via
|
|
1953
1995
|
`parseAgentTools()` for agent-level deviations.
|
|
1954
|
-
- **Structured logger** (`scripts/lib/logger/`)
|
|
1996
|
+
- **Structured logger** (`scripts/lib/logger/`) - leveled (debug/info/warn/
|
|
1955
1997
|
error) with JSONL output in headless mode, ANSI-colored stderr in
|
|
1956
1998
|
interactive mode. `warn`/`error` also emit `ErrorEvent` on the event
|
|
1957
1999
|
stream for CI consumers.
|
|
1958
|
-
- **Pipeline runner** (`scripts/lib/pipeline-runner/`)
|
|
2000
|
+
- **Pipeline runner** (`scripts/lib/pipeline-runner/`) - brief → explore →
|
|
1959
2001
|
plan → design → verify state machine with retry-once, halt logic,
|
|
1960
2002
|
human-gate callbacks, config-driven step skipping. Emits
|
|
1961
2003
|
`pipeline.started`, `pipeline.completed`, `pipeline.halted`.
|
|
1962
|
-
- **Explore parallel runner** (`scripts/lib/explore-parallel-runner/`)
|
|
2004
|
+
- **Explore parallel runner** (`scripts/lib/explore-parallel-runner/`) -
|
|
1963
2005
|
4 mappers (token, component-taxonomy, a11y, visual-hierarchy) concurrent
|
|
1964
2006
|
with streaming synthesizer. Honors `parallelism_safe` agent frontmatter
|
|
1965
2007
|
for opt-in isolation.
|
|
1966
|
-
- **Discuss parallel runner** (`scripts/lib/discuss-parallel-runner/`)
|
|
2008
|
+
- **Discuss parallel runner** (`scripts/lib/discuss-parallel-runner/`) -
|
|
1967
2009
|
N discussant variants (user-journey, technical-constraint, brand-fit,
|
|
1968
2010
|
accessibility) concurrent, aggregator dedupes and clusters questions.
|
|
1969
|
-
- **`gdd-sdk init`** (`scripts/lib/init-runner/`)
|
|
2011
|
+
- **`gdd-sdk init`** (`scripts/lib/init-runner/`) - new-project bootstrap
|
|
1970
2012
|
spawning 4 parallel researchers (design-system-audit, brand-context,
|
|
1971
2013
|
accessibility-baseline, competitive-references) + synthesizer producing
|
|
1972
2014
|
`.design/DESIGN-CONTEXT.md` draft.
|
|
1973
|
-
- **Cross-harness portability** (`scripts/lib/harness/`)
|
|
2015
|
+
- **Cross-harness portability** (`scripts/lib/harness/`) - the plugin now
|
|
1974
2016
|
runs unchanged on Claude Code, OpenAI Codex CLI, and Gemini CLI. Ships
|
|
1975
2017
|
`reference/codex-tools.md`, `reference/gemini-tools.md`, `AGENTS.md`
|
|
1976
2018
|
(Codex), `GEMINI.md` (Gemini). The `gdd-state` MCP server works on all
|
|
1977
2019
|
three harnesses; harness detection is runtime-driven.
|
|
1978
|
-
- **E2E headless integration test**
|
|
2020
|
+
- **E2E headless integration test** - `tests/e2e-headless.test.ts` with a
|
|
1979
2021
|
dry-run variant (always runs) and a live variant (gated on
|
|
1980
2022
|
`ANTHROPIC_API_KEY`). CI workflow gains an `e2e-headless` job.
|
|
1981
|
-
- **Phase 21 regression baseline** at `test-fixture/baselines/phase-21/`
|
|
2023
|
+
- **Phase 21 regression baseline** at `test-fixture/baselines/phase-21/` -
|
|
1982
2024
|
directory list, module list, agent list, connections list, CLI
|
|
1983
2025
|
subcommand list, event-type list. Enforced by
|
|
1984
2026
|
`tests/phase-21-baseline.test.cjs`.
|
|
@@ -2005,29 +2047,29 @@ Phase 21 GDD SDK Headless milestone — the plugin now runs unchanged on Claude
|
|
|
2005
2047
|
|
|
2006
2048
|
---
|
|
2007
2049
|
|
|
2008
|
-
## [1.20.0]
|
|
2050
|
+
## [1.20.0] - 2026-04-24
|
|
2009
2051
|
|
|
2010
|
-
Phase 20 SDK foundation milestone
|
|
2052
|
+
Phase 20 SDK foundation milestone - the shift from "design pipeline" to "typed SDK + MCP server + resilience primitives + event stream". 16 plans (20-00 through 20-15), 50+ commits, 645+ tests.
|
|
2011
2053
|
|
|
2012
2054
|
### Added
|
|
2013
2055
|
|
|
2014
|
-
- **Resilience primitives** (headline upgrade)
|
|
2015
|
-
- `scripts/lib/jittered-backoff.cjs`
|
|
2016
|
-
- `scripts/lib/rate-guard.cjs`
|
|
2017
|
-
- `scripts/lib/error-classifier.cjs`
|
|
2018
|
-
- `scripts/lib/iteration-budget.cjs`
|
|
2056
|
+
- **Resilience primitives** (headline upgrade) - pipeline now survives Anthropic API rate limits, 429 responses, and context-overflow errors without manual restart. New modules:
|
|
2057
|
+
- `scripts/lib/jittered-backoff.cjs` - decorrelated-jitter exponential backoff with a pluggable clock for testability.
|
|
2058
|
+
- `scripts/lib/rate-guard.cjs` - token-bucket rate limiter with `RateLimitSchema`-driven config.
|
|
2059
|
+
- `scripts/lib/error-classifier.cjs` - three-class taxonomy (transient / retryable-after / fatal) mapping real Anthropic error codes.
|
|
2060
|
+
- `scripts/lib/iteration-budget.cjs` - bounded-iteration guard for recovery loops with `IterationBudgetSchema`.
|
|
2019
2061
|
- See [`reference/error-recovery.md`](reference/error-recovery.md) for the recovery protocol.
|
|
2020
|
-
- **`gdd-state` MCP server** at `scripts/mcp-servers/gdd-state/`
|
|
2062
|
+
- **`gdd-state` MCP server** at `scripts/mcp-servers/gdd-state/` - 11 typed tools replace ad-hoc `Read + regex + Write` patterns for STATE.md:
|
|
2021
2063
|
- `gdd_state__get`, `__update_progress`, `__transition_stage`, `__add_blocker`, `__resolve_blocker`, `__add_decision`, `__add_must_have`, `__set_status`, `__checkpoint`, `__probe_connections`, `__frontmatter_update`.
|
|
2022
2064
|
- Every tool has a JSON Schema at `scripts/mcp-servers/gdd-state/schemas/`; inputs and outputs are strict-validated.
|
|
2023
2065
|
- Every mutation emits a typed event to `.design/telemetry/events.jsonl`.
|
|
2024
|
-
- **Typed state core** (`scripts/lib/gdd-state/`)
|
|
2025
|
-
- **Event stream foundation**
|
|
2026
|
-
- **Prompt sanitizer** (`scripts/lib/prompt-sanitizer/`)
|
|
2027
|
-
- **TypeScript toolchain**
|
|
2066
|
+
- **Typed state core** (`scripts/lib/gdd-state/`) - `parse()`, `serialize()`, `mutate()`, `transition()`, `read()`. Lockfile-safe concurrent writes validated by a 4-way race-condition test (`tests/race-condition-state-mutation.test.ts`) - 2000 concurrent ops, zero lost writes, <60s.
|
|
2067
|
+
- **Event stream foundation** - `.design/telemetry/events.jsonl` append-only with a typed `EventBus`. Parallel stream to the existing `costs.jsonl` cost telemetry.
|
|
2068
|
+
- **Prompt sanitizer** (`scripts/lib/prompt-sanitizer/`) - strips interactive-only constructs (AskUserQuestion, STOP, `/gdd:` slash commands) from skill bodies for future headless-runner support.
|
|
2069
|
+
- **TypeScript toolchain** - strict `tsconfig.json`, schema codegen to `reference/schemas/generated.d.ts`, Node 22 `--experimental-strip-types` direct execution (no bundler step).
|
|
2028
2070
|
- **Transition gates** as pure functions (`briefToExplore`, `exploreToPlan`, `planToDesign`, `designToVerify`) with fixture-based tests.
|
|
2029
2071
|
- **`GDDError` 3-class taxonomy** (`ValidationError`, `StateConflictError`, `OperationFailedError`) at `scripts/lib/gdd-errors/`.
|
|
2030
|
-
- **Phase 20 regression baseline** at `test-fixture/baselines/phase-20/`
|
|
2072
|
+
- **Phase 20 regression baseline** at `test-fixture/baselines/phase-20/` - agent list, skill list, frontmatter snapshot, MCP tools manifest (schema sha256), events schema hash, hook list, resilience primitives list. Enforced by `tests/regression-baseline-phase-20.test.cjs`.
|
|
2031
2073
|
|
|
2032
2074
|
### Changed
|
|
2033
2075
|
|
|
@@ -2042,7 +2084,7 @@ Phase 20 SDK foundation milestone — the shift from "design pipeline" to "typed
|
|
|
2042
2084
|
### Security
|
|
2043
2085
|
|
|
2044
2086
|
- Lockfile-safe STATE.md mutations validated by 4-way concurrent race-condition test. Each mutation acquires `${path}.lock` (PID + timestamp), performs read-modify-write under the lock, writes to `${path}.tmp`, and atomic-renames. Windows EPERM/EBUSY from AV scanners is retried transparently.
|
|
2045
|
-
- Prompt sanitizer strips untrusted interactive constructs before headless execution paths
|
|
2087
|
+
- Prompt sanitizer strips untrusted interactive constructs before headless execution paths - reduces prompt-injection surface for future runner work.
|
|
2046
2088
|
|
|
2047
2089
|
### Fixed
|
|
2048
2090
|
|
|
@@ -2050,12 +2092,12 @@ Phase 20 SDK foundation milestone — the shift from "design pipeline" to "typed
|
|
|
2050
2092
|
|
|
2051
2093
|
### Deprecated
|
|
2052
2094
|
|
|
2053
|
-
- `.js` hooks under `hooks/`
|
|
2054
|
-
- Direct `Read → regex → Write` patterns against STATE.md
|
|
2095
|
+
- `.js` hooks under `hooks/` - replaced by `.ts` equivalents running via `--experimental-strip-types`.
|
|
2096
|
+
- Direct `Read → regex → Write` patterns against STATE.md - replaced by the 11 `gdd_state__*` MCP tools. Skills that still use the direct pattern will be migrated in a future phase.
|
|
2055
2097
|
|
|
2056
2098
|
### Migration notes
|
|
2057
2099
|
|
|
2058
|
-
- Consumers of STATE.md should prefer the `gdd_state__*` MCP tools over direct file reads/writes
|
|
2100
|
+
- Consumers of STATE.md should prefer the `gdd_state__*` MCP tools over direct file reads/writes - the typed tools emit events, enforce schemas, and are lockfile-safe. Direct reads for non-mutation cases remain supported.
|
|
2059
2101
|
- Node 22+ is required for `--experimental-strip-types` execution of `.ts` scripts. The CI matrix already pins Node 22 & 24.
|
|
2060
2102
|
- No breaking API changes. All legacy skills and agents continue to work unchanged; the MCP server is additive.
|
|
2061
2103
|
|
|
@@ -2065,25 +2107,25 @@ Phase 20 SDK foundation milestone — the shift from "design pipeline" to "typed
|
|
|
2065
2107
|
- 50+ per-task commits on the Phase 20 branch.
|
|
2066
2108
|
- 645+ tests across CJS + TS suites, 0 failures, 1 skipped.
|
|
2067
2109
|
- `tsc --noEmit` green; `validate:schemas` 11/11 green; `validate:frontmatter` 0 violations.
|
|
2068
|
-
## [1.19.6]
|
|
2110
|
+
## [1.19.6] - 2026-04-24
|
|
2069
2111
|
|
|
2070
|
-
### Added
|
|
2112
|
+
### Added - Design Philosophy Layer
|
|
2071
2113
|
|
|
2072
|
-
Adds a generative reasoning spine on top of the defensive (anti-patterns) and descriptive (heuristics) layers. Purely additive knowledge + lens integration
|
|
2114
|
+
Adds a generative reasoning spine on top of the defensive (anti-patterns) and descriptive (heuristics) layers. Purely additive knowledge + lens integration - no new agents, skills, or commands.
|
|
2073
2115
|
|
|
2074
|
-
**New `reference/first-principles.md`:** 3-invariant framework (body / attention / memory) with grep-able principle→code pairs and a reducibility test for every design element. Wired into `design-discussant` as Step 0.5
|
|
2116
|
+
**New `reference/first-principles.md`:** 3-invariant framework (body / attention / memory) with grep-able principle→code pairs and a reducibility test for every design element. Wired into `design-discussant` as Step 0.5 - three invariant questions prepended to the brief-stage interview; answers recorded as `[Invariant]` D-XX decisions in STATE.md.
|
|
2075
2117
|
|
|
2076
2118
|
**New `reference/emotional-design.md`:** Don Norman's visceral / behavioral / reflective three-level framework as a cross-cutting scoring lens. Per-level scoring rubrics (1–4) and a cross-level conflict table. Wired into `design-auditor` (Step 4.5 Emotional Design Overlay appended to DESIGN-AUDIT.md) and `design-reflector` (visceral/behavioral divergence check in Section 1).
|
|
2077
2119
|
|
|
2078
|
-
**New `reference/component-authoring.md`:** Emil Kowalski / Sonner 6-principle component quality standard
|
|
2120
|
+
**New `reference/component-authoring.md`:** Emil Kowalski / Sonner 6-principle component quality standard - P-01 Minimal API, P-02 Composability, P-03 Defaults, P-04 Animation as State, P-05 Accessibility First, P-06 Edge Honesty - with grep-able audit signals and an ARIA contract table by component type. Wired into design-auditor (Pillar 7 sub-check), design-discussant (`--spec` mode question), and design-verifier must-have checklist.
|
|
2079
2121
|
|
|
2080
|
-
**`reference/heuristics.md` extended:** Added Peak-End Rule, Loss Aversion, Cognitive Load Theory (intrinsic / extraneous / germane), Aesthetic-Usability Effect, Doherty Threshold (400ms), and Flow (Csikszentmihalyi)
|
|
2122
|
+
**`reference/heuristics.md` extended:** Added Peak-End Rule, Loss Aversion, Cognitive Load Theory (intrinsic / extraneous / germane), Aesthetic-Usability Effect, Doherty Threshold (400ms), and Flow (Csikszentmihalyi) - completing the psychology foundations layer.
|
|
2081
2123
|
|
|
2082
|
-
**`reference/motion-advanced.md`:** Disney's 12 Principles UX mapping stub replaced with full authoring
|
|
2124
|
+
**`reference/motion-advanced.md`:** Disney's 12 Principles UX mapping stub replaced with full authoring - all 12 principles translated to interface motion with code examples (Squash and Stretch, Anticipation, Staging, Straight Ahead vs Pose to Pose, Follow Through, Slow In/Slow Out, Arcs, Secondary Action, Timing, Exaggeration, Solid Drawing, Appeal).
|
|
2083
2125
|
|
|
2084
2126
|
**`reference/checklists.md`:** Added Rams Lens (10 questions mapping Dieter Rams's principles) and Sonner / Component-Authoring Lens (6 P-0N questions) as post-audit self-checks.
|
|
2085
2127
|
|
|
2086
|
-
**`reference/shared-preamble.md`:** Added Design Philosophy Layer block pointing to the three new reference files
|
|
2128
|
+
**`reference/shared-preamble.md`:** Added Design Philosophy Layer block pointing to the three new reference files - ensures all agents are aware of the philosophy spine.
|
|
2087
2129
|
|
|
2088
2130
|
**`reference/authority-feeds.md`:** Added `jnd.org` (Don Norman) and `vitsoe.com` (Dieter Rams / Vitsœ) as named-practitioner feeds. Feed count: 26 → 28.
|
|
2089
2131
|
|
|
@@ -2095,182 +2137,182 @@ Adds a generative reasoning spine on top of the defensive (anti-patterns) and de
|
|
|
2095
2137
|
|
|
2096
2138
|
---
|
|
2097
2139
|
|
|
2098
|
-
## [1.19.5]
|
|
2140
|
+
## [1.19.5] - 2026-04-24
|
|
2099
2141
|
|
|
2100
|
-
### Added
|
|
2142
|
+
### Added - Cross-Cycle Memory: Recall, Checkpoints, Experience Archive
|
|
2101
2143
|
|
|
2102
2144
|
Turns write-only learnings and reflections into a queryable, ranked, self-pruning memory layer.
|
|
2103
2145
|
|
|
2104
|
-
**Search backend (`scripts/lib/design-search.cjs`):** Priority chain
|
|
2146
|
+
**Search backend (`scripts/lib/design-search.cjs`):** Priority chain - FTS5 via `better-sqlite3` (optional dep, runtime-probed) → ripgrep → Node fs scan. `/gdd:recall --reindex` rebuilds the index. `scripts/lib/probe-optional.cjs` wraps optional native deps for future reuse.
|
|
2105
2147
|
|
|
2106
|
-
**Cross-cycle recall (`/gdd:recall <query>`):** `skills/recall/SKILL.md`
|
|
2148
|
+
**Cross-cycle recall (`/gdd:recall <query>`):** `skills/recall/SKILL.md` - searches `.design/archive/`, `.design/learnings/LEARNINGS.md`, `.design/CYCLES.md`, and STATE.md decision blocks; signals `surfaced` for matched L-NN IDs via `relevance-counter.cjs`.
|
|
2107
2149
|
|
|
2108
|
-
**Numbered checkpoints (pause/resume rewrite):** `skills/pause/SKILL.md` atomic-appends to `.design/checkpoints/NN-<stage>-<ISO-date>.md` instead of clobbering `HANDOFF.md`; `HANDOFF.md` becomes a pointer to the latest checkpoint. `skills/resume/SKILL.md` gains listing mode with `AskUserQuestion` picker when no arg; `/gdd:resume N` restores checkpoint N. `skills/continue/SKILL.md`
|
|
2150
|
+
**Numbered checkpoints (pause/resume rewrite):** `skills/pause/SKILL.md` atomic-appends to `.design/checkpoints/NN-<stage>-<ISO-date>.md` instead of clobbering `HANDOFF.md`; `HANDOFF.md` becomes a pointer to the latest checkpoint. `skills/resume/SKILL.md` gains listing mode with `AskUserQuestion` picker when no arg; `/gdd:resume N` restores checkpoint N. `skills/continue/SKILL.md` - alias for `/gdd:resume` (discoverability).
|
|
2109
2151
|
|
|
2110
|
-
**Per-cycle EXPERIENCE.md:** `skills/complete-cycle/SKILL.md` extended
|
|
2152
|
+
**Per-cycle EXPERIENCE.md:** `skills/complete-cycle/SKILL.md` extended - Haiku-tier writer reads cycle STATE + DESIGN-VERIFICATION + reflections, emits `.design/archive/cycle-N/EXPERIENCE.md` (~100–200 lines, declarative-fact framing: Goal / Decisions made / Learnings graduated / What died / Surprises / Handoff to next cycle). Highest-priority source for decision-injector.
|
|
2111
2153
|
|
|
2112
|
-
**Timeline retrospective (`/gdd:timeline`):** `skills/timeline/SKILL.md`
|
|
2154
|
+
**Timeline retrospective (`/gdd:timeline`):** `skills/timeline/SKILL.md` - narrative view across EXPERIENCE.md files + git log; sections Opened with / Key decisions / Surprises / What we'd do differently.
|
|
2113
2155
|
|
|
2114
2156
|
**Relevance counter (`scripts/lib/relevance-counter.cjs`):** `record(id, signal, designDir)` under atomic-write + `.lock`; signals: `cited`, `surfaced`, `dismissed`. `shouldPromote` at 8+ cites; `shouldPrune` at 0 cites + 4 cycles.
|
|
2115
2157
|
|
|
2116
|
-
**Decision-injector FTS5 upgrade:** `hooks/gdd-decision-injector.js` backend-swaps to FTS5 transparently when `design-search.cjs` is available
|
|
2158
|
+
**Decision-injector FTS5 upgrade:** `hooks/gdd-decision-injector.js` backend-swaps to FTS5 transparently when `design-search.cjs` is available - zero surface-level output change, backend label shown in footer.
|
|
2117
2159
|
|
|
2118
|
-
**Record contract (mandatory for all agents):** `agents/README.md` authoring template gains mandatory `## Record` step
|
|
2160
|
+
**Record contract (mandatory for all agents):** `agents/README.md` authoring template gains mandatory `## Record` step - every agent appends one JSONL line to `.design/intel/insights.jsonl`. `reference/schemas/insight-line.schema.json` - schema with 6 required fields (`ts`, `agent`, `cycle`, `stage`, `one_line_insight`, `artifacts_written`). `tests/record-contract.test.cjs` enforces presence of `## Record` section in every `agents/*.md`. All 36 existing agents updated with stub Record sections.
|
|
2119
2161
|
|
|
2120
2162
|
---
|
|
2121
2163
|
|
|
2122
|
-
## [1.19.0]
|
|
2164
|
+
## [1.19.0] - 2026-04-24
|
|
2123
2165
|
|
|
2124
|
-
### Added
|
|
2166
|
+
### Added - Platform, Inclusive Design & UX Research References (knowledge-layer complete)
|
|
2125
2167
|
|
|
2126
2168
|
This release closes the final reference gaps identified in the 2026-04-18 knowledge audit. The plugin now ships 18 reference files covering every major design-knowledge domain.
|
|
2127
2169
|
|
|
2128
2170
|
#### 7 new reference files
|
|
2129
2171
|
|
|
2130
|
-
- **`reference/platforms.md`**
|
|
2131
|
-
- **`reference/rtl-cjk-cultural.md`**
|
|
2132
|
-
- **`reference/onboarding-progressive-disclosure.md`**
|
|
2133
|
-
- **`reference/user-research.md`**
|
|
2134
|
-
- **`reference/information-architecture.md`**
|
|
2135
|
-
- **`reference/form-patterns.md`**
|
|
2136
|
-
- **`reference/data-visualization.md`**
|
|
2172
|
+
- **`reference/platforms.md`** - iOS/Android/web/visionOS/watchOS conventions: nav patterns, safe areas, gesture vocabularies, native typography, haptic feedback. Wired into `design-context-builder` + `design-phase-researcher`.
|
|
2173
|
+
- **`reference/rtl-cjk-cultural.md`** - RTL logical CSS properties, CJK typography (line-height 1.5–1.8, font-fallback stacks), Arabic/Hebrew, Devanagari/Tamil/Thai, cultural color meanings table, `Intl.*` formatting. Wired into `design-context-builder` + `design-auditor`.
|
|
2174
|
+
- **`reference/onboarding-progressive-disclosure.md`** - First-run pattern matrix, feature discovery, Aha-moment mapping, activation vs. habituation metrics, anti-patterns. Wired into `design-executor` + `design-auditor`.
|
|
2175
|
+
- **`reference/user-research.md`** - Research method matrix, card sort/tree test/A/B benchmarks, synthesis techniques, research ethics. Wired into `design-phase-researcher`.
|
|
2176
|
+
- **`reference/information-architecture.md`** - Nav pattern catalog (hub-and-spoke/nested/faceted/flat/mega-menu), tree-test benchmarks, wayfinding ARIA conventions. Wired into `design-context-builder` + `design-pattern-mapper`.
|
|
2177
|
+
- **`reference/form-patterns.md`** - Label position (Wroblewski research), on-blur validation default, full `autocomplete` taxonomy, `inputmode`/`enterkeyhint`, password UX (paste-allowed), CAPTCHA ethics. Wired into `design-auditor` (forms pillar) + `design-executor` (new `type:forms`).
|
|
2178
|
+
- **`reference/data-visualization.md`** - Chart-choice matrix, 25 chart types (decision-tree prose, UUPM `charts.csv` MIT), Okabe-Ito/viridis/cividis palettes, axis conventions, dashboard patterns. Wired into `design-auditor` + `design-executor`.
|
|
2137
2179
|
|
|
2138
2180
|
#### Agent wiring
|
|
2139
|
-
- `design-context-builder`
|
|
2140
|
-
- `design-auditor`
|
|
2141
|
-
- `design-executor`
|
|
2142
|
-
- `design-phase-researcher`
|
|
2143
|
-
- `design-pattern-mapper`
|
|
2181
|
+
- `design-context-builder` - Area 2 locale detection; Area 6 platform note; `canonical_refs` extended with 3 conditional references.
|
|
2182
|
+
- `design-auditor` - Required reading extended: form-patterns, onboarding, data-visualization, rtl-cjk-cultural, information-architecture.
|
|
2183
|
+
- `design-executor` - New `type:forms` task type (7-step checklist); `type:layout` reads data-viz for dashboards; `type:copy` reads onboarding for first-run flows.
|
|
2184
|
+
- `design-phase-researcher` - reads user-research.md + platforms.md.
|
|
2185
|
+
- `design-pattern-mapper` - reads information-architecture.md for nav classification.
|
|
2144
2186
|
|
|
2145
2187
|
All 7 files registered in `reference/registry.json`. Regression baseline at `test-fixture/baselines/phase-19/`.
|
|
2146
2188
|
|
|
2147
2189
|
---
|
|
2148
2190
|
|
|
2149
|
-
## [1.18.0]
|
|
2191
|
+
## [1.18.0] - 2026-04-24
|
|
2150
2192
|
|
|
2151
|
-
### Added
|
|
2193
|
+
### Added - Advanced Craft References + Motion Vocabulary
|
|
2152
2194
|
|
|
2153
|
-
**Wave A
|
|
2195
|
+
**Wave A - Craft references (4 new files):**
|
|
2154
2196
|
|
|
2155
|
-
- `reference/variable-fonts-loading.md`
|
|
2156
|
-
- `reference/image-optimization.md`
|
|
2157
|
-
- `reference/css-grid-layout.md`
|
|
2158
|
-
- `reference/motion-advanced.md`
|
|
2197
|
+
- `reference/variable-fonts-loading.md` - Variable font axes (wght/ital/opsz/slnt/GRAD/custom), `@font-face` range declarations, `font-display` trade-offs (swap/fallback/optional), WOFF2 subsetting with `unicode-range`, FOIT vs FOUT, fallback metric overrides (`size-adjust`, `ascent-override`, `descent-override`, `line-gap-override`), GRAD axis for dark-mode weight compensation without layout reflow, system font stacks per platform (REF-14)
|
|
2198
|
+
- `reference/image-optimization.md` - WebP/AVIF/JPEG XL choice matrix, `srcset`+`sizes` math by breakpoint, responsive art direction with `<picture>`, LQIP/BlurHash/ThumbHash placeholder strategies, lazy-loading + `decoding="async"` + `fetchpriority="high"`, CDN transform patterns (Cloudinary/imgix/Vercel Image), image budget enforcement (REF-15)
|
|
2199
|
+
- `reference/css-grid-layout.md` - CSS Grid template patterns (holy grail, bento, masonry), `subgrid`, container queries (`@container` + `container-type`), fluid typography with `clamp()` (utopia.fyi math), intrinsic sizing, logical properties, safe-area insets, `aspect-ratio`/`object-fit`, anchor positioning progressive enhancement (REF-16)
|
|
2200
|
+
- `reference/motion-advanced.md` - Spring physics, stagger patterns, scroll-driven animation (`animation-timeline`), FLIP, View Transitions API, route orchestration, gesture/drag mechanics (velocity threshold ≈0.11, boundary damping, pointer capture, multi-touch protection), clip-path animation patterns (hold-to-delete, scroll reveals, tab masks, comparison sliders), blur-to-mask crossfades (<20px Safari cap), CSS transitions vs keyframes for interruptible UI, WAAPI, Framer Motion hardware-accel gotcha (`x`/`y` shorthand vs GPU `transform` string), motion cohesion & personality, next-day slow-motion review process; Disney's 12 Principles UX mapping stub (fills at Phase 19.6 closeout) (REF-17)
|
|
2159
2201
|
|
|
2160
|
-
**Wave B
|
|
2202
|
+
**Wave B - Motion vocabulary (RN MIT + hyperframes Apache-2.0):**
|
|
2161
2203
|
|
|
2162
|
-
- `reference/motion-easings.md`
|
|
2163
|
-
- `reference/motion-interpolate.md`
|
|
2164
|
-
- `reference/motion-spring.md`
|
|
2165
|
-
- `reference/motion-transition-taxonomy.md`
|
|
2166
|
-
- `reference/external/NOTICE.hyperframes`
|
|
2204
|
+
- `reference/motion-easings.md` - 12 canonical curve presets (linear/quad/cubic/poly/sin/circle/exp/elastic/back/bounce/bezier + in/out/inOut wrappers) from React Native MIT upstream; `--ease-*` CSS custom property token catalog; 60fps settle-times for spring/bounce/elastic variants (MOT-01)
|
|
2205
|
+
- `reference/motion-interpolate.md` - Input→output range model + 4 extrapolation modes (extend/identity/clamp/wrap) from RN MIT; taxonomy of progress-linked/scroll-linked/gesture-linked/time-linked animations (MOT-02)
|
|
2206
|
+
- `reference/motion-spring.md` - Stiffness/damping/mass triad + 4 canonical presets (gentle/wobbly/stiff/slow) with 60fps settle-times; Framer Motion + React Spring syntax; CSS `linear()` approximation pattern (MOT-05)
|
|
2207
|
+
- `reference/motion-transition-taxonomy.md` - 8 controlled transition families from hyperframes Apache-2.0: 3d, blur, cover, destruction, dissolve, distortion, grid, light - each with definition, canonical examples, when-to-use heuristics (MOT-03)
|
|
2208
|
+
- `reference/external/NOTICE.hyperframes` - Apache-2.0 attribution for hyperframes transition taxonomy
|
|
2167
2209
|
|
|
2168
|
-
**Wave B
|
|
2210
|
+
**Wave B - Output contract + tooling:**
|
|
2169
2211
|
|
|
2170
|
-
- `reference/output-contracts/motion-map.schema.json`
|
|
2171
|
-
- `scripts/lib/parse-contract.cjs`
|
|
2172
|
-
- `scripts/lib/easings.cjs`
|
|
2173
|
-
- `scripts/lib/spring.cjs`
|
|
2174
|
-
- `scripts/tests/test-motion-provenance.sh`
|
|
2212
|
+
- `reference/output-contracts/motion-map.schema.json` - JSON schema requiring each animation binding to declare easing (canonical or custom+justification), transition family (optional), duration class (instant/quick/standard/slow/narrative), and trigger type (user-gesture/state-change/scroll-progress/time/loop) (MOT-04)
|
|
2213
|
+
- `scripts/lib/parse-contract.cjs` - Shared validation helper: extracts JSON block from agent markdown output, validates against motion-map contract, returns structured data or actionable error
|
|
2214
|
+
- `scripts/lib/easings.cjs` - Closed-form easing math helper (RN MIT): all 12 presets + in/out/inOut HOFs, cubic-bezier Newton-Raphson solver
|
|
2215
|
+
- `scripts/lib/spring.cjs` - Spring simulation helper (RN MIT): PRESETS, criticalDamping(), settleTime(), step()
|
|
2216
|
+
- `scripts/tests/test-motion-provenance.sh` - Provenance test: asserts RN-MIT attribution in all motion-vocabulary files; asserts no Remotion/ path citations
|
|
2175
2217
|
|
|
2176
2218
|
**Agent integrations:**
|
|
2177
2219
|
|
|
2178
|
-
- `agents/motion-mapper.md`
|
|
2179
|
-
- `agents/design-executor.md`
|
|
2180
|
-
- `agents/design-auditor.md`
|
|
2181
|
-
- `agents/token-mapper.md`
|
|
2182
|
-
- `reference/motion.md`
|
|
2183
|
-
- `reference/registry.json`
|
|
2220
|
+
- `agents/motion-mapper.md` - Reads motion-advanced + easings + interpolate + transition-taxonomy + spring; emits structured JSON block (conforming to motion-map schema) before prose; advanced scan patterns for gesture/drag, clip-path, FLIP, View Transitions, scroll-driven, WAAPI
|
|
2221
|
+
- `agents/design-executor.md` - type:typography reads `variable-fonts-loading.md`; type:layout reads `css-grid-layout.md` + `image-optimization.md`; type:motion reads `motion-advanced.md` + `motion-easings.md` + `motion-spring.md`
|
|
2222
|
+
- `agents/design-auditor.md` - Required Reading extended with 4 Phase 18 references; gesture/clip-path/blur-crossfade patterns scored as "advanced craft" signal (positive) in Pillar 7
|
|
2223
|
+
- `agents/token-mapper.md` - Micro-polish finding #5: easing token consolidation (raw `cubic-bezier()` → `--ease-*` canonical tokens)
|
|
2224
|
+
- `reference/motion.md` - Cross-links added pointing to all 4 Phase 18 motion references
|
|
2225
|
+
- `reference/registry.json` - 9 new entries: REF-14 through REF-17 + MOT-01 through MOT-05
|
|
2184
2226
|
|
|
2185
2227
|
**Phase 18 keywords added to package.json:** `variable-fonts`, `container-queries`, `view-transitions`, `motion-vocabulary`, `motion-easings`, `transition-taxonomy`, `gesture-mechanics`, `clip-path-animation`
|
|
2186
2228
|
|
|
2187
2229
|
---
|
|
2188
2230
|
|
|
2189
|
-
## [1.17.0]
|
|
2231
|
+
## [1.17.0] - 2026-04-24
|
|
2190
2232
|
|
|
2191
|
-
### Added
|
|
2233
|
+
### Added - Component Benchmark Corpus: Waves 3–5 (20 specs) + Pipeline Integration
|
|
2192
2234
|
|
|
2193
2235
|
Completes the 35-spec component benchmark corpus and wires it into the design pipeline so agents actively consume per-component benchmarks during audit, execution, documentation, and pattern analysis.
|
|
2194
2236
|
|
|
2195
|
-
#### Wave 3
|
|
2237
|
+
#### Wave 3 - Feedback (6 specs)
|
|
2196
2238
|
|
|
2197
|
-
- **`reference/components/toast.md`**
|
|
2198
|
-
- **`reference/components/alert.md`**
|
|
2199
|
-
- **`reference/components/progress.md`**
|
|
2200
|
-
- **`reference/components/skeleton.md`**
|
|
2201
|
-
- **`reference/components/badge.md`**
|
|
2202
|
-
- **`reference/components/chip.md`**
|
|
2239
|
+
- **`reference/components/toast.md`** - transient notification (4–8s auto-dismiss, configurable); `role="status"` (info/success) vs `role="alert"` (warning/error); entry/exit slide+fade animation; optional action; stacking with 8px gap (max 3 visible); UUPM app-interface dashboard/settings-save context (MIT attribution).
|
|
2240
|
+
- **`reference/components/alert.md`** - inline persistent message; info/success/warning/error variants; `role="alert"` (assertive) vs `role="status"` (polite); icon reinforces variant - never color as sole differentiator (WCAG 1.4.1).
|
|
2241
|
+
- **`reference/components/progress.md`** - linear + circular variants; determinate (`aria-valuenow`) vs indeterminate (`aria-valuetext`); `role="progressbar"`; `aria-label` required; 4px minimum track height.
|
|
2242
|
+
- **`reference/components/skeleton.md`** - content-layout mirror; shimmer (left-to-right gradient, 1.5s loop); `aria-hidden="true"` on skeleton elements; `aria-busy="true"` + `aria-label` on container; 60–90% width variation.
|
|
2243
|
+
- **`reference/components/badge.md`** - count/dot/icon variants; `99+` overflow pattern; decorative (no keyboard interaction); count surfaced via `aria-label` on parent element.
|
|
2244
|
+
- **`reference/components/chip.md`** - filter/input/suggestion/display variants; independent `aria-label` on remove button; `aria-pressed` on toggle; `role="option"` in listbox context; UUPM app-interface filter/tag-input context (MIT attribution).
|
|
2203
2245
|
|
|
2204
|
-
#### Wave 4
|
|
2246
|
+
#### Wave 4 - Navigation & Data (9 specs)
|
|
2205
2247
|
|
|
2206
|
-
- **`reference/components/menu.md`**
|
|
2207
|
-
- **`reference/components/navbar.md`**
|
|
2208
|
-
- **`reference/components/sidebar.md`**
|
|
2209
|
-
- **`reference/components/breadcrumbs.md`**
|
|
2210
|
-
- **`reference/components/pagination.md`**
|
|
2211
|
-
- **`reference/components/table.md`**
|
|
2212
|
-
- **`reference/components/list.md`**
|
|
2213
|
-
- **`reference/components/tree.md`**
|
|
2214
|
-
- **`reference/components/command-palette.md`**
|
|
2248
|
+
- **`reference/components/menu.md`** - `role="menu"` + `role="menuitem"`; arrow-key navigation; click-only open (no hover trigger); sub-menus on ArrowRight; focus returns to trigger on close.
|
|
2249
|
+
- **`reference/components/navbar.md`** - `role="banner"` + `role="navigation"` + `aria-label="Primary"`; skip-to-main link; `aria-current="page"`; hamburger `aria-expanded`; UUPM dashboard/settings/profile context (MIT attribution).
|
|
2250
|
+
- **`reference/components/sidebar.md`** - `aria-label="Secondary"`; icon+label vs icon-only collapsed; `aria-expanded` on collapsible sections; UUPM settings-nav + dashboard-nav variants (MIT attribution).
|
|
2251
|
+
- **`reference/components/breadcrumbs.md`** - `role="navigation"` + `aria-label="Breadcrumb"`; `aria-current="page"` on last item; `aria-hidden` on separators; truncate middle not ends.
|
|
2252
|
+
- **`reference/components/pagination.md`** - `aria-label="Pagination"`; `aria-current="page"` on active page; per-page `<select>` with visible label; UUPM list-view context (MIT attribution).
|
|
2253
|
+
- **`reference/components/table.md`** - `scope="col"` on all `<th>`; `aria-sort` on sortable headers; `aria-selected` on rows; `role="grid"` vs `role="table"`; virtualise >200 rows; UUPM list/detail + master-detail + dashboard context (MIT attribution).
|
|
2254
|
+
- **`reference/components/list.md`** - display (`<ul>/<li>`) vs interactive (`role="listbox"` + `role="option"`); `aria-multiselectable`; virtualise >100 items; UUPM list/detail left-panel context (MIT attribution).
|
|
2255
|
+
- **`reference/components/tree.md`** - `role="tree"` + `role="treeitem"` + `role="group"`; `aria-expanded`; `aria-level`; `aria-busy` on lazy-load nodes; full WAI-ARIA APG keyboard contract.
|
|
2256
|
+
- **`reference/components/command-palette.md`** - `role="dialog"` + `aria-modal`; focus trap; `role="combobox"` + `aria-controls` → `role="listbox"`; Cmd/Ctrl+K trigger; UUPM global-search context (MIT attribution).
|
|
2215
2257
|
|
|
2216
|
-
#### Wave 5
|
|
2258
|
+
#### Wave 5 - Advanced (5 specs)
|
|
2217
2259
|
|
|
2218
|
-
- **`reference/components/date-picker.md`**
|
|
2219
|
-
- **`reference/components/slider.md`**
|
|
2220
|
-
- **`reference/components/file-upload.md`**
|
|
2221
|
-
- **`reference/components/rich-text-editor.md`**
|
|
2222
|
-
- **`reference/components/stepper.md`**
|
|
2260
|
+
- **`reference/components/date-picker.md`** - input + range variants; calendar `role="dialog"`; day cells `role="gridcell"` + `role="button"`; full arrow-key navigation; native `<input type="date">` mobile fallback.
|
|
2261
|
+
- **`reference/components/slider.md`** - single + range; `role="slider"` + `aria-valuenow/min/max/valuetext`; 44px thumb touch target via `::before` trick; Page Up/Down ±10%.
|
|
2262
|
+
- **`reference/components/file-upload.md`** - drop-zone + picker; `<input type="file">` never `display:none` (keyboard/AT fallback); `aria-label="Remove [filename]"` on remove buttons; upload errors via `aria-live="assertive"`.
|
|
2263
|
+
- **`reference/components/rich-text-editor.md`** - `contenteditable` + `role="textbox"` + `aria-multiline="true"`; toolbar `role="toolbar"`; toggle buttons `aria-pressed`; placeholder via CSS `::before`; mention trigger pattern.
|
|
2264
|
+
- **`reference/components/stepper.md`** - `role="list"` (not `role="tablist"`); `aria-current="step"` on active step; UUPM wizard/onboarding/checkout flow context (MIT attribution).
|
|
2223
2265
|
|
|
2224
2266
|
#### Pipeline Integration
|
|
2225
2267
|
|
|
2226
|
-
- **`agents/design-auditor.md`**
|
|
2227
|
-
- **`agents/design-executor.md`**
|
|
2228
|
-
- **`agents/design-doc-writer.md`**
|
|
2229
|
-
- **`agents/design-pattern-mapper.md`**
|
|
2268
|
+
- **`agents/design-auditor.md`** - new **Component Conformance** addendum: discovers specs, runs grep signatures against codebase, scores state/variant/a11y coverage per component, emits conformance table as informational addendum (does not change /28 pillar score).
|
|
2269
|
+
- **`agents/design-executor.md`** - **Benchmark Spec Pre-Flight** for `type:components` tasks: reads matching `reference/components/<name>.md`, applies anatomy/states/a11y contract before building - no re-discovering ARIA roles or keyboard patterns already benchmarked.
|
|
2270
|
+
- **`agents/design-doc-writer.md`** - **Component Spec Scaffold**: pre-fills DESIGN-STYLE doc structure from benchmark spec's Purpose/Anatomy/Variants/States when a spec exists; includes "Benchmarked against" citation; falls back to from-scratch generation gracefully.
|
|
2271
|
+
- **`agents/design-pattern-mapper.md`** - **Component Convergence Detector**: writes `.design/map/component-convergence.md` with matched/absent component table and per-component convergence %; runs after pattern extraction.
|
|
2230
2272
|
|
|
2231
2273
|
---
|
|
2232
2274
|
|
|
2233
|
-
## [1.16.0]
|
|
2275
|
+
## [1.16.0] - 2026-04-24
|
|
2234
2276
|
|
|
2235
|
-
### Added
|
|
2277
|
+
### Added - Component Benchmark Corpus: Tooling + Waves 1–2 (15 specs)
|
|
2236
2278
|
|
|
2237
|
-
This release builds the infrastructure to harvest per-component design knowledge from 18 design systems and ships 15 canonical component specs at `reference/components/`. Every spec follows a locked shape
|
|
2279
|
+
This release builds the infrastructure to harvest per-component design knowledge from 18 design systems and ships 15 canonical component specs at `reference/components/`. Every spec follows a locked shape - Purpose · Anatomy · Variants · States · Sizing · Typography · Keyboard & a11y · Motion · Do/Don't · Anti-patterns · Citations · Grep signatures - making the corpus greppable, diffable, and agent-consumable.
|
|
2238
2280
|
|
|
2239
2281
|
#### Tooling
|
|
2240
2282
|
|
|
2241
|
-
- **`agents/component-benchmark-harvester.md`**
|
|
2242
|
-
- **`agents/component-benchmark-synthesizer.md`**
|
|
2243
|
-
- **`skills/benchmark/SKILL.md`**
|
|
2244
|
-
- **`connections/design-corpora.md`**
|
|
2245
|
-
- **`reference/components/TEMPLATE.md`**
|
|
2246
|
-
- **`reference/components/README.md`**
|
|
2283
|
+
- **`agents/component-benchmark-harvester.md`** - given a component name, harvests per-source excerpts from 18 design systems (see `connections/design-corpora.md`), consumes Phase 15 impeccable salvage, emits raw harvest to `.planning/benchmarks/raw/<component>.md` with source-attributed excerpts and convergence pre-analysis.
|
|
2284
|
+
- **`agents/component-benchmark-synthesizer.md`** - reads the raw harvest and emits a canonical `reference/components/<name>.md` using the locked TEMPLATE.md shape. Convergence analysis is explicit: NORM (≥4 systems agree) vs. DIVERGE (systems disagree with rationale).
|
|
2285
|
+
- **`skills/benchmark/SKILL.md`** - new `/gdd:benchmark` command with 4 modes: `<component>` (single), `--wave <N>` (full wave), `--list` (coverage table), `--refresh <component>` (re-harvest on design-system version bump).
|
|
2286
|
+
- **`connections/design-corpora.md`** - 18-system catalog with canonical URLs, licensing/attribution notes, and fallback chain (canonical → archive.org → Refero MCP → Pinterest MCP).
|
|
2287
|
+
- **`reference/components/TEMPLATE.md`** - locked 12-section spec shape. All future component specs must conform.
|
|
2288
|
+
- **`reference/components/README.md`** - corpus index with category tables (Wave 1–5) and coverage summary.
|
|
2247
2289
|
|
|
2248
|
-
#### Wave 1
|
|
2290
|
+
#### Wave 1 - Inputs (8 specs)
|
|
2249
2291
|
|
|
2250
|
-
- **`reference/components/button.md`**
|
|
2251
|
-
- **`reference/components/input.md`**
|
|
2252
|
-
- **`reference/components/select-combobox.md`**
|
|
2253
|
-
- **`reference/components/checkbox.md`**
|
|
2254
|
-
- **`reference/components/radio.md`**
|
|
2255
|
-
- **`reference/components/switch.md`**
|
|
2256
|
-
- **`reference/components/link.md`**
|
|
2257
|
-
- **`reference/components/label.md`**
|
|
2292
|
+
- **`reference/components/button.md`** - primary/secondary/ghost/destructive/icon-only variants, 96% press scale norm, WAI-ARIA button keyboard contract, `transition:all` BAN, non-descriptive-label anti-pattern.
|
|
2293
|
+
- **`reference/components/input.md`** - text/search/password/number, placeholder-as-label anti-pattern, floating vs. static label trade-off (static preferred), `aria-describedby` error linking, WAI-ARIA textbox contract.
|
|
2294
|
+
- **`reference/components/select-combobox.md`** - native vs. custom decision tree, WAI-ARIA listbox + combobox contracts (verbatim), `aria-activedescendant` pattern, multi-select approaches, virtualised list note, async empty state.
|
|
2295
|
+
- **`reference/components/checkbox.md`** - binary/indeterminate states, `fieldset`+`legend` group requirement, `.indeterminate` JS property, WAI-ARIA checkbox contract.
|
|
2296
|
+
- **`reference/components/radio.md`** - arrow-key auto-advance behavior, Tab-as-group-unit pattern, single-radio anti-pattern, WAI-ARIA radiogroup contract.
|
|
2297
|
+
- **`reference/components/switch.md`** - switch vs. checkbox semantic distinction (`role="switch"` not `role="checkbox"`), spring thumb animation, pill track (`border-radius: 9999px`), immediate-action rule.
|
|
2298
|
+
- **`reference/components/link.md`** - link vs. button semantic boundary, underline requirement for inline links (WCAG 1.4.1), external-link disclosure, `rel="noopener noreferrer"`, non-descriptive link text anti-pattern.
|
|
2299
|
+
- **`reference/components/label.md`** - four association methods ranked (`<label for>` → `aria-labelledby` → `aria-label` → `<legend>`), `.sr-only` CSS pattern, legend-for-groups rule, placeholder failure analysis.
|
|
2258
2300
|
|
|
2259
|
-
#### Wave 2
|
|
2301
|
+
#### Wave 2 - Containers (7 specs)
|
|
2260
2302
|
|
|
2261
|
-
- **`reference/components/card.md`**
|
|
2262
|
-
- **`reference/components/modal-dialog.md`**
|
|
2263
|
-
- **`reference/components/drawer.md`**
|
|
2264
|
-
- **`reference/components/popover.md`**
|
|
2265
|
-
- **`reference/components/tooltip.md`**
|
|
2266
|
-
- **`reference/components/accordion.md`**
|
|
2267
|
-
- **`reference/components/tabs.md`**
|
|
2303
|
+
- **`reference/components/card.md`** - stretched-link pattern for nested interactivity, `<article>` vs `<div>` semantics, elevated/outlined/clickable variants, `aria-busy` skeleton state.
|
|
2304
|
+
- **`reference/components/modal-dialog.md`** - focus trap, Escape contract, portal rendering, `aria-modal`+`aria-labelledby` requirement, `role="alertdialog"` for confirmations, scroll-lock, focus return on close.
|
|
2305
|
+
- **`reference/components/drawer.md`** - focus trap (same as modal), swipe-to-close for bottom sheet, side direction routing, nav drawer vs. content drawer role distinction, slide-in motion.
|
|
2306
|
+
- **`reference/components/popover.md`** - Floating UI positioning (flip+shift+arrow middlewares), non-modal vs. modal distinction, `aria-expanded`+`aria-controls` trigger contract, `role="tooltip"` on interactive content anti-pattern.
|
|
2307
|
+
- **`reference/components/tooltip.md`** - no-interactive-content rule, hover+focus trigger (not hover-only), Escape dismiss, 300ms delay, `aria-describedby` contract, tooltip vs. popover boundary.
|
|
2308
|
+
- **`reference/components/accordion.md`** - `h2`–`h6` header requirement, `aria-expanded`-on-trigger rule, `grid-template-rows` CSS height animation trick, `role="region"` landmark note (skip if >6 items).
|
|
2309
|
+
- **`reference/components/tabs.md`** - roving tabindex pattern, arrow-key navigation (not Tab), automatic vs. manual activation modes, tablist label requirement, `hidden` on inactive panels.
|
|
2268
2310
|
|
|
2269
2311
|
---
|
|
2270
2312
|
|
|
2271
|
-
## [1.15.0]
|
|
2313
|
+
## [1.15.0] - 2026-04-24
|
|
2272
2314
|
|
|
2273
|
-
### Added
|
|
2315
|
+
### Added - Design Knowledge Expansion: 10 foundational references + MIFB micro-polish + UUPM ingest
|
|
2274
2316
|
|
|
2275
2317
|
This release closes the plugin's shallow-coverage gaps across iconography, performance, brand voice, visual hierarchy, Gestalt principles, design-system governance, and adds two new UUPM-sourced knowledge bases (palette catalog + style vocabulary). It also lands the complete MIT-licensed MIFB (make-interfaces-feel-better) micro-polish track.
|
|
2276
2318
|
|
|
@@ -2280,28 +2322,28 @@ All `impeccable-*` skill coupling removed from the plugin. References in `refere
|
|
|
2280
2322
|
|
|
2281
2323
|
#### 10 new foundational reference files
|
|
2282
2324
|
|
|
2283
|
-
- **`reference/iconography.md`**
|
|
2284
|
-
- **`reference/performance.md`**
|
|
2285
|
-
- **`reference/design-systems-catalog.md`**
|
|
2286
|
-
- **`reference/brand-voice.md`**
|
|
2287
|
-
- **`reference/visual-hierarchy-layout.md`**
|
|
2288
|
-
- **`reference/gestalt.md`**
|
|
2289
|
-
- **`reference/design-system-guidance.md`**
|
|
2290
|
-
- **`reference/framer-motion-patterns.md`**
|
|
2291
|
-
- **`reference/palette-catalog.md`**
|
|
2292
|
-
- **`reference/style-vocabulary.md`**
|
|
2325
|
+
- **`reference/iconography.md`** - Optical sizing, stroke-weight rules, metaphor taxonomy (functional/status/nav/brand), dark-mode variants, icon animation guidelines, semantic vs. decorative labeling, touch-target pairing, catalog of 9 public icon libraries (Lucide, Phosphor, Heroicons, Radix Icons, Tabler, Iconoir, Remix, SF Symbols, Feather). Metaphor taxonomy absorbs UUPM `icons.csv` (MIT).
|
|
2326
|
+
- **`reference/performance.md`** - Core Web Vitals targets by project type (SaaS/marketing/e-commerce/docs/dashboards), LCP/INP/CLS/TTFB budgets, critical CSS, image budgets, animation frame budget (16.67ms), JS bundle budgets (<170KB gzipped), font budgets, Lighthouse CI hookup. React runtime section absorbs UUPM `react-performance.csv` (MIT).
|
|
2327
|
+
- **`reference/design-systems-catalog.md`** - Quick-reference index of 18 major design systems: Material 3, Apple HIG, Radix+WAI-ARIA, shadcn/ui, Polaris, Carbon, Fluent 2, Primer, Atlassian, Ant Design, Mantine, Chakra, Base Web, Nord, Spectrum, Lightning, Evergreen, Gestalt (Pinterest).
|
|
2328
|
+
- **`reference/brand-voice.md`** - 5 voice axes (Formal↔Casual, Serious↔Playful, Expert↔Approachable, Reverent↔Irreverent, Authoritative↔Collaborative), 12 Jungian archetypes + 6 design-register variants, tone-by-context table (8 contexts), 20+ industry-vertical context table. Industry-context absorbs UUPM `products.csv` + `ui-reasoning.csv` (MIT).
|
|
2329
|
+
- **`reference/visual-hierarchy-layout.md`** - Z-order/depth cues, whitespace principles, asymmetry/rhythm, compositional grids (4/8/12/16-col), figure-ground, reading-order patterns (F/Z/inverted-triangle), progressive disclosure. Landing-archetypes subsection absorbs UUPM `landing.csv` (24 patterns, MIT).
|
|
2330
|
+
- **`reference/gestalt.md`** - All 8 Gestalt principles (Proximity, Similarity, Continuity, Closure, Figure-Ground, Common Fate, Common Region, Prägnanz), each with definition, design application, scoring rubric, and CSS grep signatures. UUPM `ux-guidelines.csv` deduped across gestalt/heuristics/anti-patterns/priority-matrix (MIT).
|
|
2331
|
+
- **`reference/design-system-guidance.md`** - Token versioning/deprecation, multi-brand token architecture (base/semantic/component layers), platform translation (Style Dictionary/Tokens Studio/Terrazzo), governance/RFC model, documentation standard, maturity rubric levels 0–5.
|
|
2332
|
+
- **`reference/framer-motion-patterns.md`** - Spring vs. tween config, AnimatePresence (including `initial={false}` rule), layout animations, variants+staggering, gesture motion (`whileHover`, `whileTap` canonical 0.96), scroll-linked animations, `prefers-reduced-motion` compliance, 60fps GPU-safe property rules, MotionConfig, common pitfalls. UUPM `stacks/react.csv` framer rows absorbed (MIT).
|
|
2333
|
+
- **`reference/palette-catalog.md`** - 40+ industry-vertical color palettes with 12 semantic token roles each, all WCAG 4.5:1 body / 3:1 UI verified. Data sibling at `reference/data/palettes.csv`. UUPM `colors.csv` absorbed (MIT).
|
|
2334
|
+
- **`reference/style-vocabulary.md`** - 38+ named UI aesthetics (Glassmorphism, Brutalism, Neumorphism, Bento, Claymorphism, Aurora, AI-Native, Swiss Modernism 2.0, Vaporwave, Editorial Grid, HUD/Sci-Fi FUI, and more) with keywords, signature effects, best-for, avoid-for, era. Data sibling at `reference/data/styles.csv`. UUPM `styles.csv` absorbed (MIT).
|
|
2293
2335
|
|
|
2294
2336
|
#### MIFB micro-polish track
|
|
2295
2337
|
|
|
2296
2338
|
Source: [jakub.kr/writing/details-that-make-interfaces-feel-better](https://jakub.kr/writing/details-that-make-interfaces-feel-better) (MIT, Jakub Krehel)
|
|
2297
2339
|
|
|
2298
|
-
- **`reference/surfaces.md`** (new)
|
|
2299
|
-
- **`reference/typography.md`** extended
|
|
2300
|
-
- **`reference/motion.md`** extended
|
|
2301
|
-
- **`reference/anti-patterns.md`**
|
|
2302
|
-
- **`reference/checklists.md`**
|
|
2340
|
+
- **`reference/surfaces.md`** (new) - Concentric radius formula (`outerRadius = innerRadius + padding`), optical alignment offsets, 3-layer shadow system (exact `rgba` values), image outline rule (pure black/white opacity only), hit-area `::after` pseudo-element pattern.
|
|
2341
|
+
- **`reference/typography.md`** extended - `text-wrap: balance` (headings, ≤6 lines Chromium), `text-wrap: pretty` (body/captions), `-webkit-font-smoothing: antialiased` at `:root` only, `font-variant-numeric: tabular-nums` for dynamic numerals. UUPM `typography.csv` (57 pairings) absorbed into expanded pairings catalog (MIT). `reference/data/google-fonts.csv` registered as data sibling.
|
|
2342
|
+
- **`reference/motion.md`** extended - 6 new subsections: interruptible animations (transitions vs. keyframes decision table), split-and-stagger enter/exit pattern, contextual icon cross-fade (canonical `scale 0.25→1`, `opacity 0→1`, `blur 4→0`, `bounce: 0`), scale-on-press canonical `0.96`, `<AnimatePresence initial={false}>` rule, `will-change` GPU-compositable property table.
|
|
2343
|
+
- **`reference/anti-patterns.md`** - 4 new BAN entries: BAN-10 same-radius-nested, BAN-11 tinted image outline, BAN-12 `transition: all`, BAN-13 `will-change: all`. Each with grep signature and fix pointer.
|
|
2344
|
+
- **`reference/checklists.md`** - New "Micro-polish check" gate (14 items across typography/surfaces/motion). `scale(0.97)` mention reconciled to canonical `0.96`.
|
|
2303
2345
|
|
|
2304
|
-
#### ⚠️ BREAKING
|
|
2346
|
+
#### ⚠️ BREAKING - 7th audit pillar: Micro-polish (weight redistribution)
|
|
2305
2347
|
|
|
2306
2348
|
A new **Micro-polish** pillar (5%) has been added to `reference/audit-scoring.md`. Weight was redistributed from the Anti-Pattern Compliance pillar (10% → 5%). **Total remains 100%, but per-pillar weights changed.** Cross-cycle score comparisons that mix v1.14.x and v1.15.0 audit reports should account for this weight shift.
|
|
2307
2349
|
|
|
@@ -2311,33 +2353,33 @@ All four mapper agents (`motion-mapper`, `token-mapper`, `visual-hierarchy-mappe
|
|
|
2311
2353
|
|
|
2312
2354
|
#### Agent integrations
|
|
2313
2355
|
|
|
2314
|
-
- `design-context-builder`
|
|
2315
|
-
- `design-auditor`
|
|
2316
|
-
- `design-executor`
|
|
2317
|
-
- `design-pattern-mapper`
|
|
2318
|
-
- `design-verifier`
|
|
2356
|
+
- `design-context-builder` - reads `brand-voice.md` for archetype resolution, `palette-catalog.md` for palette proposal, `style-vocabulary.md` for style-direction picker.
|
|
2357
|
+
- `design-auditor` - reads `iconography.md`, `performance.md`, `gestalt.md`, `framer-motion-patterns.md`, `surfaces.md`; includes 7th pillar micro_polish in output schema.
|
|
2358
|
+
- `design-executor` - reads `brand-voice.md` (type:copy), `design-system-guidance.md` (type:tokens), `framer-motion-patterns.md` (type:motion), `performance.md` (type:layout).
|
|
2359
|
+
- `design-pattern-mapper` - extended with `iconography-system` and `brand-voice` categories.
|
|
2360
|
+
- `design-verifier` - micro_polish added as supplemental dimension.
|
|
2319
2361
|
|
|
2320
2362
|
#### Attribution
|
|
2321
2363
|
|
|
2322
|
-
- Jakub Krehel (MIT)
|
|
2323
|
-
- nextlevelbuilder/ui-ux-pro-max-skill v2.5.0 (MIT)
|
|
2364
|
+
- Jakub Krehel (MIT) - micro-polish rules in typography.md, surfaces.md, motion.md, anti-patterns.md BAN-10/11/12/13, checklists.md Micro-polish gate.
|
|
2365
|
+
- nextlevelbuilder/ui-ux-pro-max-skill v2.5.0 (MIT) - data snapshot ingested into iconography, performance, brand-voice, visual-hierarchy-layout, typography, framer-motion-patterns, palette-catalog, style-vocabulary, gestalt/heuristics/anti-patterns/priority-matrix dedup. **One-shot snapshot - no live re-sync contract.**
|
|
2324
2366
|
|
|
2325
2367
|
#### UUPM deferrals (explicitly routed, not discarded)
|
|
2326
2368
|
|
|
2327
2369
|
- `charts.csv` → Phase 19 `reference/data-visualization.md`
|
|
2328
2370
|
- `app-interface.csv` → Phase 17 component-corpus authoring
|
|
2329
2371
|
- `stacks/*.csv` (14 non-React) → future stack-playbook phase
|
|
2330
|
-
## [1.14.8]
|
|
2372
|
+
## [1.14.8] - 2026-04-24
|
|
2331
2373
|
|
|
2332
|
-
### Added
|
|
2374
|
+
### Added - Phase 14.7 First-Run Proof Path
|
|
2333
2375
|
|
|
2334
|
-
A new user can now install the plugin, run one command, and see GDD inspect their own UI code in under five minutes
|
|
2376
|
+
A new user can now install the plugin, run one command, and see GDD inspect their own UI code in under five minutes - with a concrete "first fix" pointer on the way out.
|
|
2335
2377
|
|
|
2336
|
-
- **`/gdd:start` skill** (`skills/start/SKILL.md`)
|
|
2337
|
-
- **`detect-ui-root` helper** (`scripts/lib/detect-ui-root.cjs`)
|
|
2338
|
-
- **`start-findings-engine` helper** (`scripts/lib/start-findings-engine.cjs`)
|
|
2339
|
-
- **`design-start-writer` agent** (`agents/design-start-writer.md`)
|
|
2340
|
-
- **First-run nudge** (`hooks/first-run-nudge.sh`)
|
|
2378
|
+
- **`/gdd:start` skill** (`skills/start/SKILL.md`) - leaf command with a locked 5-question interview (`reference/start-interview.md`) that collects pain hint, target-area confirmation, budget preference, framework/design-system confirmation, and visual-workflow selection. Writes only `.design/START-REPORT.md` and a temporary `.design/.start-context.json`; never mutates `STATE.md`, `config.json`, or source files.
|
|
2379
|
+
- **`detect-ui-root` helper** (`scripts/lib/detect-ui-root.cjs`) - deterministic priority-ordered detector that identifies the user's UI surface across `packages/ui/src/`, `apps/*/components/`, Next.js app-router `app/components/`, Vite `src/components/`, CRA `src/components/`, root `components/`, and Svelte/Remix `src/routes/`. Backend-only repos get a clean diagnostic and exit with zero `.design/` footprint.
|
|
2380
|
+
- **`start-findings-engine` helper** (`scripts/lib/start-findings-engine.cjs`) - read-only scanner with seven regex-based detectors (transition-all, will-change-all, tinted-image-outline, scale-on-press-drift, same-radius-nested, missing-reduced-motion-guard, non-root-font-smoothing), budget-bounded walk (fast / balanced / thorough), and a deterministic **safe-fix rubric** that picks exactly one `best_first_proof` per report.
|
|
2381
|
+
- **`design-start-writer` agent** (`agents/design-start-writer.md`) - Haiku-tier writer with `allowed-write-paths: [.design/START-REPORT.md]`. Output contract locks seven H2 sections (`What I inspected`, `Three findings`, `Best first proof`, `Suggested next command`, `Visual Proof Readiness`, `Full pipeline path`, `Connections / writeback optional`) plus one trailing machine-readable JSON block that future `/gdd:fast` / `/gdd:do` invocations can consume.
|
|
2382
|
+
- **First-run nudge** (`hooks/first-run-nudge.sh`) - SessionStart hook that surfaces one restrained line pointing at `/gdd:start` only when `.design/config.json` is absent, no dismissal flag exists, and no active pipeline stage is in progress. Per-install dismissal lives at `~/.claude/gdd-nudge-dismissed`. Silent-on-failure posture inherited from Phase 13.3.
|
|
2341
2383
|
- **Regression fixtures** at `test-fixture/baselines/phase-14.7/` (context-input.json, expected-report-shape.md) and `test-fixture/src/ui-detection/` covering Next.js, Vite, CRA, Remix, two monorepo shapes, backend-only, and empty-repo paths.
|
|
2342
2384
|
- **Plugin keywords** extended with `onboarding`, `first-run`, `demo`, `proof-path`.
|
|
2343
2385
|
|
|
@@ -2352,15 +2394,15 @@ Phase 15 target version unchanged (`v1.15.0`). `v1.14.6` remains reserved for Ph
|
|
|
2352
2394
|
|
|
2353
2395
|
---
|
|
2354
2396
|
|
|
2355
|
-
## [1.14.7]
|
|
2397
|
+
## [1.14.7] - 2026-04-24
|
|
2356
2398
|
|
|
2357
|
-
### Phase 14.6
|
|
2399
|
+
### Phase 14.6 - Test Coverage Completion (Phase 12 Wave C closeout)
|
|
2358
2400
|
|
|
2359
2401
|
Closes the Phase 12 test-coverage slate that had Waves A + B shipped but Wave C (plans `12-05` / `12-06` / `12-07`) never executed. The plans were migrated to **Phase 14.6** (`.planning/phases/14.6-test-coverage-completion/`) and the gdd-unique test files those plans targeted are now validated end-to-end alongside the pre-existing suite.
|
|
2360
2402
|
|
|
2361
|
-
### Verified
|
|
2403
|
+
### Verified - gdd-unique test coverage (no code diff vs 1.14.6)
|
|
2362
2404
|
|
|
2363
|
-
Inspection during Phase 14.6 execution confirmed that all 13 gdd-unique test files from the Wave-C migration are present in `tests/` and pass under `npm test`. No net-new test source ships with this release
|
|
2405
|
+
Inspection during Phase 14.6 execution confirmed that all 13 gdd-unique test files from the Wave-C migration are present in `tests/` and pass under `npm test`. No net-new test source ships with this release - Phase 14.6's substantive deliverable is the validation, documentation, and closeout bump.
|
|
2364
2406
|
|
|
2365
2407
|
| Area | Test files covered |
|
|
2366
2408
|
|---|---|
|
|
@@ -2371,8 +2413,8 @@ Full suite: **343 tests, 342 pass, 1 skipped, 0 fail**.
|
|
|
2371
2413
|
|
|
2372
2414
|
### Changed
|
|
2373
2415
|
|
|
2374
|
-
- `.claude-plugin/plugin.json`, `.claude-plugin/marketplace.json` (outer + `plugins[0]`), `package.json`
|
|
2375
|
-
- `tests/semver-compare.test.cjs`
|
|
2416
|
+
- `.claude-plugin/plugin.json`, `.claude-plugin/marketplace.json` (outer + `plugins[0]`), `package.json` - version `1.14.6` → `1.14.7`.
|
|
2417
|
+
- `tests/semver-compare.test.cjs` - `1.14.7` registered in `OFF_CADENCE_VERSIONS`.
|
|
2376
2418
|
|
|
2377
2419
|
### Notes
|
|
2378
2420
|
|
|
@@ -2381,37 +2423,37 @@ Full suite: **343 tests, 342 pass, 1 skipped, 0 fail**.
|
|
|
2381
2423
|
|
|
2382
2424
|
---
|
|
2383
2425
|
|
|
2384
|
-
## [1.14.6]
|
|
2426
|
+
## [1.14.6] - 2026-04-24
|
|
2385
2427
|
|
|
2386
|
-
### Phase 14.5
|
|
2428
|
+
### Phase 14.5 - Safety + Recall Floor
|
|
2387
2429
|
|
|
2388
2430
|
Closes two unrelated risks before the Phase 15–19 reference-library expansion and the Phase 20+ autonomy ramp: (a) agents had no typed reference index and no cache-stable L0 preamble; (b) no defense-in-depth around prompt-injected bash, protected-paths violations, runaway blast radius, or the Figma plugin-sandbox hill-climb failure mode. Ships the minimum-viable version of both tracks as one cohesive release.
|
|
2389
2431
|
|
|
2390
2432
|
### Added
|
|
2391
2433
|
|
|
2392
2434
|
**Safety hooks**
|
|
2393
|
-
- `hooks/gdd-bash-guard.js`
|
|
2394
|
-
- `hooks/gdd-protected-paths.js` + `reference/protected-paths.default.json`
|
|
2395
|
-
- `scripts/lib/blast-radius.cjs`
|
|
2435
|
+
- `hooks/gdd-bash-guard.js` - PreToolUse:Bash guard. 45 dangerous-pattern regexes across 10 families (filesystem destruction, permission escalation, pipe-to-shell, git destruction, system mutation, process nuking, credential exfil, shell obfuscation, path traversal, npm/docker/firewall abuse). `scripts/lib/dangerous-patterns.cjs` normalizes Unicode NFKC + strips ANSI escapes + strips zero-width / bidi overrides before matching so obfuscated attacks (`rm\u200B -rf /`, bidi overrides, hex-encoded `\x72\x6d\x20\x2d\x72\x66`) fail closed.
|
|
2436
|
+
- `hooks/gdd-protected-paths.js` + `reference/protected-paths.default.json` - PreToolUse:Edit|Write|Bash guard blocking mutation of `reference/**`, `skills/**`, `commands/**`, `hooks/**`, `.design/archive/**`, `.design/config.json`, `.design/telemetry/**`, `.git/**`, both plugin manifests. User additions in `.design/config.json.protected_paths` MERGE into the default list - users cannot reduce the default-protected set. `scripts/lib/glob-match.cjs` ships a dependency-free `**` glob matcher.
|
|
2437
|
+
- `scripts/lib/blast-radius.cjs` - `estimate({touchedPaths, diffStats})` + `estimateMCPCalls({toolCalls})` preflight called by `design-executor` before the first Edit/Write of each task. Defaults: `max_files_per_task: 10`, `max_lines_per_task: 400`, `max_mcp_calls_per_task: 30`. Zero-value limits disable that ceiling. `design-executor` gains a new `## Preflight — Blast-Radius Check` section.
|
|
2396
2438
|
|
|
2397
2439
|
**Injection-scanner extension**
|
|
2398
2440
|
- `scripts/injection-patterns.cjs` extended from 7 to 22 patterns: classic prompt-injection verbs (incl. `forget previous`), **invisible-Unicode** (zero-width, BOM, bidi overrides), **HTML-comment instruction hijacks** (`<!-- system: …`, hidden divs/spans, zero-font-size tricks), **secret-exfil triggers** (`curl $OPENAI_API_KEY`, `cat .env`, `tar ~ | nc`, `process.env._KEY fetch`, SSH private-key reads). Single source of truth consumed by `hooks/gdd-read-injection-scanner.js`.
|
|
2399
2441
|
|
|
2400
2442
|
**Decision-injector hook (first cross-cycle recall primitive)**
|
|
2401
|
-
- `hooks/gdd-decision-injector.js`
|
|
2443
|
+
- `hooks/gdd-decision-injector.js` - PreToolUse:Read on any `.design/**.md | reference/**.md | .planning/**.md` ≥ 1500 bytes. Surfaces the top-15 matching D-XX decisions, L-NN learnings, and cycle-N summary excerpts that reference the opened file's basename or path. Grep backend (ripgrep when available, Node fs fallback); Phase 19.5 will swap in FTS5 transparently.
|
|
2402
2444
|
|
|
2403
2445
|
**Reference registry + L0/L2 cache split**
|
|
2404
|
-
- `reference/registry.schema.json` + `reference/registry.json`
|
|
2446
|
+
- `reference/registry.schema.json` + `reference/registry.json` - typed index of every `reference/*.md` and `.default.json` file (18 entry types: `preamble | meta-rules | heuristic | output-contract | defaults | schema | data | motion | surfaces | authority-feed | influences | easing | taxonomy | principles | emotional-design | experience | palette | style-vocabulary`). Round-trip enforced by `scripts/lib/reference-registry.cjs.validateRegistry()`.
|
|
2405
2447
|
- `scripts/build-intel.cjs` re-runs `validateRegistry()` on any `reference/**` change.
|
|
2406
|
-
- `reference/meta-rules.md` (tier L0)
|
|
2407
|
-
- `reference/cycle-handoff-preamble.md`
|
|
2408
|
-
- `reference/retrieval-contract.md`
|
|
2448
|
+
- `reference/meta-rules.md` (tier L0) - 5 framework-invariant subsections extracted verbatim from `reference/shared-preamble.md`. `shared-preamble.md` becomes an L0 aggregator (imports `meta-rules.md` first), shrunk from ~6.5KB to <4KB. Stabilizes the Anthropic 5-min prompt-cache prefix.
|
|
2449
|
+
- `reference/cycle-handoff-preamble.md` - "reference, not current requests" framing prose imported by `/gdd:pause` and `/gdd:resume`.
|
|
2450
|
+
- `reference/retrieval-contract.md` - 3-layer `search → metadata → full-doc` protocol with per-row token-cost labels. Imported by `/gdd:progress`, `/gdd:resume`, `/gdd:reflect`, `/gdd:pause`.
|
|
2409
2451
|
|
|
2410
2452
|
**Figma authoring-intent guard + MCP circuit-breaker**
|
|
2411
|
-
- `reference/figma-sandbox.md`
|
|
2412
|
-
- `reference/mcp-budget.default.json` + `reference/schemas/mcp-budget.schema.json`
|
|
2413
|
-
- `agents/design-figma-writer` Step 0.5 **Authoring-Intent Guard**
|
|
2414
|
-
- `hooks/gdd-mcp-circuit-breaker.js`
|
|
2453
|
+
- `reference/figma-sandbox.md` - 4 Figma plugin-sandbox pitfalls encoded as hard rules (`loadFontAsync` no-cache, `findOne` O(N), `appendChild` AutoLayout recomputation, per-call ~5–10s timeout).
|
|
2454
|
+
- `reference/mcp-budget.default.json` + `reference/schemas/mcp-budget.schema.json` - defaults: `max_calls_per_task: 30`, `max_consecutive_timeouts: 3`, `reset_on_success: true`, tracked tools `mcp__*use_figma | use_paper | use_pencil`.
|
|
2455
|
+
- `agents/design-figma-writer` Step 0.5 **Authoring-Intent Guard** - bilingual EN/RU pattern set classifies invocations as author-intent vs decision-intent. Author-intent STOPs with a redirect to `figma:figma-generate-design` and cites the 4 pitfalls. Decision-intent proceeds. Bumped `size_budget` LARGE → XL.
|
|
2456
|
+
- `hooks/gdd-mcp-circuit-breaker.js` - PostToolUse on `mcp__*use_figma | use_paper | use_pencil`. Appends `{ts, tool, outcome, consecutive_timeouts, total_calls}` rows to `.design/telemetry/mcp-budget.jsonl`. Breaks with `{continue:false}` at threshold + appends a STATE.md blocker.
|
|
2415
2457
|
- README.md + `connections/figma.md` gain the authoring-redirect callout + 4-pitfalls summary.
|
|
2416
2458
|
|
|
2417
2459
|
**Tests** (8 new files, ~60 new assertions):
|
|
@@ -2419,36 +2461,36 @@ Closes two unrelated risks before the Phase 15–19 reference-library expansion
|
|
|
2419
2461
|
|
|
2420
2462
|
### Changed
|
|
2421
2463
|
|
|
2422
|
-
- `agents/design-executor.md`
|
|
2423
|
-
- `agents/design-figma-writer.md`
|
|
2424
|
-
- `reference/shared-preamble.md`
|
|
2425
|
-
- `scripts/build-intel.cjs`
|
|
2426
|
-
- `skills/{progress,resume,reflect,pause}/SKILL.md`
|
|
2427
|
-
- `hooks/hooks.json`
|
|
2428
|
-
- Plugin manifests
|
|
2429
|
-
- `tests/semver-compare.test.cjs`
|
|
2464
|
+
- `agents/design-executor.md` - new Preflight Blast-Radius Check + MCP Budget sections.
|
|
2465
|
+
- `agents/design-figma-writer.md` - Step 0.5 Authoring-Intent Guard; `size_budget: XL`.
|
|
2466
|
+
- `reference/shared-preamble.md` - rewritten as L0 aggregator.
|
|
2467
|
+
- `scripts/build-intel.cjs` - registry round-trip on `reference/**` changes.
|
|
2468
|
+
- `skills/{progress,resume,reflect,pause}/SKILL.md` - import `reference/retrieval-contract.md` (+ `cycle-handoff-preamble.md` for pause + resume).
|
|
2469
|
+
- `hooks/hooks.json` - registers bash-guard, protected-paths, decision-injector, MCP circuit-breaker.
|
|
2470
|
+
- Plugin manifests - add `safety-hardening`, `protected-paths`, `decision-injector`, `reference-registry`, `mcp-circuit-breaker` keywords.
|
|
2471
|
+
- `tests/semver-compare.test.cjs` - `1.14.6` added to `OFF_CADENCE_VERSIONS`.
|
|
2430
2472
|
|
|
2431
2473
|
### Security
|
|
2432
2474
|
|
|
2433
|
-
- Bash guard normalizes Unicode (NFKC + strip zero-width + bidi) and ANSI escapes before pattern match
|
|
2475
|
+
- Bash guard normalizes Unicode (NFKC + strip zero-width + bidi) and ANSI escapes before pattern match - blocks bidi-override obfuscation, zero-width-injected verbs, and ANSI-colored reformulations.
|
|
2434
2476
|
- Read-injection scanner flags invisible-Unicode sequences, HTML-comment hijacks, and secret-exfil triggers (7 → 22 patterns).
|
|
2435
|
-
- Protected-paths enforces a merge-only glob list
|
|
2477
|
+
- Protected-paths enforces a merge-only glob list - user configs cannot reduce the default-protected set.
|
|
2436
2478
|
|
|
2437
2479
|
---
|
|
2438
2480
|
|
|
2439
|
-
## [1.14.5]
|
|
2481
|
+
## [1.14.5] - 2026-04-23
|
|
2440
2482
|
|
|
2441
|
-
### Fixed
|
|
2483
|
+
### Fixed - Preview MCP silently skipped in verify even when available ([#19](https://github.com/hegemonart/get-design-done/issues/19))
|
|
2442
2484
|
|
|
2443
2485
|
`design-verifier` was spawned with `tools: Read, Write, Bash, Grep, Glob` only. The verify skill's orchestrator-level probe correctly classified the session as `preview: available` and wrote it to `STATE.md`, but the subagent's tool allowlist blocked every `mcp__Claude_Preview__*` call, causing Phase 4B to silently skip screenshot capture and leave all `? VISUAL` heuristic flags unresolved.
|
|
2444
2486
|
|
|
2445
|
-
**Fix:** Added six Preview MCP tools to `design-verifier`'s `tools:` frontmatter
|
|
2487
|
+
**Fix:** Added six Preview MCP tools to `design-verifier`'s `tools:` frontmatter - `preview_list`, `preview_navigate`, `preview_screenshot`, `preview_eval`, `preview_snapshot`, `preview_inspect` - so Phase 4B runs in the same permission context as the probe.
|
|
2446
2488
|
|
|
2447
2489
|
**Probe hardening:** The availability probe in `connections/preview.md` and `skills/verify/SKILL.md` now distinguishes three failure modes instead of collapsing them to `not_configured`/`unavailable`:
|
|
2448
2490
|
|
|
2449
2491
|
| New status | Meaning |
|
|
2450
2492
|
|---|---|
|
|
2451
|
-
| `not_loaded` | ToolSearch empty
|
|
2493
|
+
| `not_loaded` | ToolSearch empty - MCP not registered in this session |
|
|
2452
2494
|
| `permission_denied` | ToolSearch found the tool but the live call was rejected by the tool permission layer |
|
|
2453
2495
|
| `unreachable` | Tool loaded but live call errored for a non-permission reason (no dev server, timeout) |
|
|
2454
2496
|
|
|
@@ -2458,46 +2500,46 @@ The Phase 4B gate in `design-verifier` skips on all non-`available` statuses and
|
|
|
2458
2500
|
|
|
2459
2501
|
---
|
|
2460
2502
|
|
|
2461
|
-
## [1.14.4]
|
|
2503
|
+
## [1.14.4] - 2026-04-20
|
|
2462
2504
|
|
|
2463
|
-
### Fixed
|
|
2505
|
+
### Fixed - Figma MCP install URL was stale
|
|
2464
2506
|
|
|
2465
2507
|
The docs everywhere referenced the legacy `https://mcp.figma.com/v1/sse` endpoint. Users following the current Claude Code Figma MCP flow hit "Failed to connect" because Figma has since moved the server to `https://mcp.figma.com/mcp` (Streamable HTTP). Every skill, agent, and reference doc that prints Figma install steps now uses the current URL, and the migration note tells existing users how to remove a stale registration.
|
|
2466
2508
|
|
|
2467
|
-
### Changed
|
|
2509
|
+
### Changed - Variant-agnostic Figma MCP probe
|
|
2468
2510
|
|
|
2469
|
-
- The `mcp__figma__` prefix is no longer hardcoded. The probe matches any server whose name fits `/figma/i`
|
|
2511
|
+
- The `mcp__figma__` prefix is no longer hardcoded. The probe matches any server whose name fits `/figma/i` - remote `figma`, `Figma`, local `figma-desktop`, UUID-prefixed instances - via keyword `ToolSearch`, applies a tiebreaker (both-sets > reads-only > canonical `figma` > alphabetical), and writes the resolved `prefix=` and `writes=` capability flags to `.design/STATE.md <connections>`. Consumer skills and agents read the resolved prefix from `STATE.md` instead of hardcoding it.
|
|
2470
2512
|
- Added preferred install path: `claude plugin install figma@claude-plugins-official` (bundles the MCP + Figma's agent skills). Manual `claude mcp add` remains supported.
|
|
2471
|
-
- Tool table extended with `generate_figma_design`, `search_design_system`, `create_new_file`, `whoami`, `generate_diagram`, `get_figjam`, `get_code_connect_suggestions`, `send_code_connect_mappings`
|
|
2513
|
+
- Tool table extended with `generate_figma_design`, `search_design_system`, `create_new_file`, `whoami`, `generate_diagram`, `get_figjam`, `get_code_connect_suggestions`, `send_code_connect_mappings` - split by reads (remote + desktop) vs writes (remote-only).
|
|
2472
2514
|
- `design-figma-writer` now STOPs early with a clear install message when only a reads-only variant (e.g. `figma-desktop`) is detected.
|
|
2473
|
-
- `tests/semver-compare.test.cjs`
|
|
2515
|
+
- `tests/semver-compare.test.cjs` - registered `1.14.4` as a recognized off-cadence version.
|
|
2474
2516
|
|
|
2475
|
-
Cherry-picked from `c11cd7b` on `claude/upbeat-fermi-199627`
|
|
2517
|
+
Cherry-picked from `c11cd7b` on `claude/upbeat-fermi-199627` - the Figma MCP fix that was authored before v1.14.2 but never merged to main, so every install doc was printing the outdated URL until this release.
|
|
2476
2518
|
|
|
2477
2519
|
---
|
|
2478
2520
|
|
|
2479
|
-
## [1.14.3]
|
|
2521
|
+
## [1.14.3] - 2026-04-20
|
|
2480
2522
|
|
|
2481
|
-
### Added
|
|
2523
|
+
### Added - `npx @hegemonart/get-design-done` installer
|
|
2482
2524
|
|
|
2483
|
-
- **`scripts/install.cjs`**
|
|
2525
|
+
- **`scripts/install.cjs`** - new npm-bin entrypoint (the bin slot referenced from `package.json` since v1.0.7 but never shipped). Running `npx @hegemonart/get-design-done` now atomically merges an `extraKnownMarketplaces["get-design-done"]` entry (source: `github:hegemonart/get-design-done`) and an `enabledPlugins["get-design-done@get-design-done"] = true` flag into `$CLAUDE_CONFIG_DIR/settings.json` (default `~/.claude/settings.json`). Flags: `--dry-run`, `--help`. Idempotent; preserves unrelated keys; rejects malformed settings JSON with a clear error.
|
|
2484
2526
|
|
|
2485
|
-
### Fixed
|
|
2527
|
+
### Fixed - Plugin manifest bugs blocking v1.14.2 install
|
|
2486
2528
|
|
|
2487
|
-
- **`.claude-plugin/plugin.json`**
|
|
2488
|
-
- **`.claude-plugin/plugin.json`**
|
|
2489
|
-
- **`reference/schemas/plugin.schema.json`**
|
|
2490
|
-
- **`skills/explore/SKILL.md`**
|
|
2491
|
-
- **`tests/semver-compare.test.cjs`**
|
|
2492
|
-
- **`tests/install-script.test.cjs`**
|
|
2529
|
+
- **`.claude-plugin/plugin.json`** - dropped `"./"` from the `skills` array. The Claude Code plugin loader rejects it as `Path escapes plugin directory: ./` even though the spec describes it as legal. Manifest now declares `"skills": ["./skills/"]` only; the plugin loads cleanly from the marketplace.
|
|
2530
|
+
- **`.claude-plugin/plugin.json`** - removed the explicit `"hooks": "./hooks/hooks.json"` pointer. Claude Code auto-detects `hooks/hooks.json` at the standard location, so the manifest pointer triggered `Duplicate hooks file`. Hooks still register the same PreToolUse/SessionStart/PostToolUse commands - only the redundant pointer is gone.
|
|
2531
|
+
- **`reference/schemas/plugin.schema.json`** - `hooks` is no longer a required field (still permitted for plugins that keep the file elsewhere).
|
|
2532
|
+
- **`skills/explore/SKILL.md`** - design interview now runs inline inside `/gdd:explore` instead of being delegated to a `design-discussant` subagent via `Task()`. Subagent spawns in Claude Desktop collapse `AskUserQuestion` to plain markdown; inlining restores the native-picker widget so the interview renders as interactive UI instead of chat text. `/gdd:discuss` and the handoff confirmation flow still use the subagent - only the explore-stage interview moved inline.
|
|
2533
|
+
- **`tests/semver-compare.test.cjs`** - registered `1.14.2` and `1.14.3` as recognized off-cadence versions.
|
|
2534
|
+
- **`tests/install-script.test.cjs`** - new suite (7 tests) covering the installer: bin wiring, `--help`, fresh install, idempotency, key preservation, `--dry-run` no-write, malformed-JSON exit code.
|
|
2493
2535
|
|
|
2494
2536
|
---
|
|
2495
2537
|
|
|
2496
|
-
## [1.14.2]
|
|
2538
|
+
## [1.14.2] - 2026-04-20
|
|
2497
2539
|
|
|
2498
|
-
### Added
|
|
2540
|
+
### Added - Multi-format Claude Design handoff ingestion
|
|
2499
2541
|
|
|
2500
|
-
- **URL entry point**: detect `https://api.anthropic.com/v1/design/h/<hash>` in agent prompt (native "Send to local coding agent" flow); `WebFetch` with `Content-Type` routing
|
|
2542
|
+
- **URL entry point**: detect `https://api.anthropic.com/v1/design/h/<hash>` in agent prompt (native "Send to local coding agent" flow); `WebFetch` with `Content-Type` routing - HTML parsed directly, ZIP downloaded and extracted
|
|
2501
2543
|
- **ZIP bundle**: extract to `.design/handoff/`, find primary HTML + readme, parse normally, clean up after
|
|
2502
2544
|
- **PDF format**: `pdftotext` text extraction; grep for token values; all decisions tagged `(tentative — text-only)` since no CSS is present
|
|
2503
2545
|
- **PPTX format**: slide XML text extraction (`ppt/slides/*.xml`); same tentative-only tagging as PDF
|
|
@@ -2507,114 +2549,114 @@ Cherry-picked from `c11cd7b` on `claude/upbeat-fermi-199627` — the Figma MCP f
|
|
|
2507
2549
|
|
|
2508
2550
|
---
|
|
2509
2551
|
|
|
2510
|
-
## [1.14.1]
|
|
2552
|
+
## [1.14.1] - 2026-04-19
|
|
2511
2553
|
|
|
2512
|
-
### Fixed
|
|
2554
|
+
### Fixed - Security hardening (full codebase review)
|
|
2513
2555
|
|
|
2514
|
-
- **CR-01** `scripts/build-intel.cjs`
|
|
2515
|
-
- **CR-02** `hooks/update-check.sh`
|
|
2516
|
-
- **CR-03** `.github/workflows/ci.yml`
|
|
2517
|
-
- **WR-01** `scripts/injection-patterns.cjs`
|
|
2518
|
-
- **WR-02** `hooks/budget-enforcer.js`
|
|
2519
|
-
- **WR-04** `hooks/update-check.sh`
|
|
2520
|
-
- **WR-05** `scripts/tests/test-authority-watcher-diff.sh`
|
|
2521
|
-
- **WR-06** `tests/regression-baseline.test.cjs`
|
|
2522
|
-
- **WR-07** `tests/optimization-layer.test.cjs`
|
|
2523
|
-
- **IN-02** `hooks/budget-enforcer.js`
|
|
2556
|
+
- **CR-01** `scripts/build-intel.cjs` - replaced `execSync` template literal with `spawnSync` argv array; eliminates command injection via crafted filenames in the project tree. Added 5 s timeout to all git calls.
|
|
2557
|
+
- **CR-02** `hooks/update-check.sh` - validate `LATEST_TAG` against a semver pattern before writing to cache; strip double-quotes from `BODY_EXCERPT` to prevent injection via adversarial release body.
|
|
2558
|
+
- **CR-03** `.github/workflows/ci.yml` - pin `ludeeus/action-shellcheck` from `@master` (mutable) to `@2.0.0` (supply-chain hardening).
|
|
2559
|
+
- **WR-01** `scripts/injection-patterns.cjs` - new shared source of truth for prompt-injection patterns; both the runtime hook and CI scanner now require from it, eliminating silent pattern drift.
|
|
2560
|
+
- **WR-02** `hooks/budget-enforcer.js` - phase spend now read from the lightweight `phase-totals.json` written by the aggregator instead of replaying the full `costs.jsonl` on every agent spawn (O(1) vs O(n)).
|
|
2561
|
+
- **WR-04** `hooks/update-check.sh` - allowlist-gate `C_DELTA` after cache read (`major|minor|patch|off-cadence|none`) before it reaches any shell context.
|
|
2562
|
+
- **WR-05** `scripts/tests/test-authority-watcher-diff.sh` - replace `find | wc -l` with null-delimited loop; handles filenames with newlines.
|
|
2563
|
+
- **WR-06** `tests/regression-baseline.test.cjs` - replace `execSync` template literal with `spawnSync` in git helpers.
|
|
2564
|
+
- **WR-07** `tests/optimization-layer.test.cjs` - fix budget schema test to match the actual `loadBudget()` format (`per_task_cap_usd`, `per_phase_cap_usd`, `enforcement_mode`, …); previous test validated a dead schema shape.
|
|
2565
|
+
- **IN-02** `hooks/budget-enforcer.js` - detached aggregator child now inherits only `PATH`, not full `process.env`.
|
|
2524
2566
|
|
|
2525
2567
|
---
|
|
2526
2568
|
|
|
2527
|
-
## [1.14.0]
|
|
2569
|
+
## [1.14.0] - 2026-04-19
|
|
2528
2570
|
|
|
2529
|
-
### Added
|
|
2571
|
+
### Added - Phase 14: AI-Native Design Tool Connections
|
|
2530
2572
|
|
|
2531
|
-
- `connections/paper-design.md`
|
|
2532
|
-
- `connections/pencil-dev.md`
|
|
2533
|
-
- `connections/21st-dev.md`
|
|
2534
|
-
- `connections/magic-patterns.md`
|
|
2535
|
-
- `agents/design-paper-writer.md`
|
|
2536
|
-
- `agents/design-pencil-writer.md`
|
|
2537
|
-
- `agents/design-component-generator.md`
|
|
2538
|
-
- `reference/ai-native-tool-interface.md`
|
|
2539
|
-
- Explore stage: 21st.dev prior-art gate
|
|
2573
|
+
- `connections/paper-design.md` - paper.design MCP integration (canvas read/write, budget tracking, 100 calls/week free tier)
|
|
2574
|
+
- `connections/pencil-dev.md` - pencil.dev .pen file integration (git-tracked design specs, pre-merge spec-vs-impl diff)
|
|
2575
|
+
- `connections/21st-dev.md` - 21st.dev Magic MCP (prior-art gate, component scaffolding, SVGL brand logo lookup)
|
|
2576
|
+
- `connections/magic-patterns.md` - Magic Patterns component generator (Claude connector + API key fallback, DS-aware, preview_url)
|
|
2577
|
+
- `agents/design-paper-writer.md` - annotate / tokenize / roundtrip modes for paper.design canvas; proposal→confirm, dry-run, budget-aware
|
|
2578
|
+
- `agents/design-pencil-writer.md` - annotate / roundtrip modes for .pen files with atomic git commits
|
|
2579
|
+
- `agents/design-component-generator.md` - shared component generator (21st.dev + Magic Patterns impl sections); proposal→confirm, DS-aware
|
|
2580
|
+
- `reference/ai-native-tool-interface.md` - capability-based contract for canvas + component-generator sub-categories; extension guide for future tools
|
|
2581
|
+
- Explore stage: 21st.dev prior-art gate - marketplace search before any greenfield component build; ≥80% fit → adopt recommendation
|
|
2540
2582
|
- Explore stage: design-system auto-detection (shadcn / tailwind / mantine / chakra) written to STATE.md for generator targeting
|
|
2541
2583
|
- Verify stage: paper.design component screenshots via `get_screenshot` for `? VISUAL` checks (Phase 4C)
|
|
2542
|
-
- Verify stage: pencil.dev spec-vs-implementation diff
|
|
2584
|
+
- Verify stage: pencil.dev spec-vs-implementation diff - compares .pen design-token declarations against actual code values
|
|
2543
2585
|
|
|
2544
2586
|
### Changed
|
|
2545
2587
|
|
|
2546
|
-
- `connections/connections.md`
|
|
2547
|
-
- `agents/design-context-builder.md`
|
|
2548
|
-
- `agents/design-verifier.md`
|
|
2549
|
-
- `agents/design-research-synthesizer.md`
|
|
2550
|
-
- `skills/explore/SKILL.md`
|
|
2588
|
+
- `connections/connections.md` - added `canvas` and `generator` columns to capability matrix; 4 new rows; backlog of 8 candidate future tools
|
|
2589
|
+
- `agents/design-context-builder.md` - Step 0A (paper.design canvas read), Step 0B (pencil.dev .pen discovery), Step 0C (DS detection)
|
|
2590
|
+
- `agents/design-verifier.md` - Phase 4C (paper.design screenshots), pencil.dev spec-vs-impl diff block
|
|
2591
|
+
- `agents/design-research-synthesizer.md` - .pen file merge into synthesis output
|
|
2592
|
+
- `skills/explore/SKILL.md` - probes C/D/E/F (21st.dev, Magic Patterns, paper.design, pencil.dev) + Step 1.5 prior-art gate
|
|
2551
2593
|
- Version bump to 1.14.0 (milestone.phase.patch scheme: 1.MM.P)
|
|
2552
2594
|
|
|
2553
2595
|
---
|
|
2554
2596
|
|
|
2555
|
-
## [1.13.3]
|
|
2597
|
+
## [1.13.3] - 2026-04-19
|
|
2556
2598
|
|
|
2557
|
-
### Added
|
|
2599
|
+
### Added - Phase 13.3: Plugin Update Checker
|
|
2558
2600
|
|
|
2559
|
-
- `hooks/update-check.sh`
|
|
2560
|
-
- `hooks/hooks.json`
|
|
2561
|
-
- `agents/design-update-checker.md`
|
|
2562
|
-
- `skills/check-update/SKILL.md`
|
|
2563
|
-
- `.design/update-cache.json`
|
|
2564
|
-
- `.design/update-available.md`
|
|
2565
|
-
- `reference/schemas/config.schema.json`
|
|
2566
|
-
- Safe-window surfaces: `/gdd:progress`, `/gdd:health`, `/gdd:help`, post-closeout of `/gdd:ship`, `/gdd:complete-cycle`, `/gdd:audit`
|
|
2567
|
-
- `skills/audit/SKILL.md`
|
|
2568
|
-
- Root `SKILL.md`
|
|
2569
|
-
- `test-fixture/baselines/phase-13.3/`
|
|
2570
|
-
- `test-fixture/baselines/current/agent-list.txt`
|
|
2571
|
-
- `test-fixture/baselines/current/skill-list.txt`
|
|
2601
|
+
- `hooks/update-check.sh` - SessionStart Bash hook; 24h-cached unauthenticated `GET /repos/hegemonart/get-design-done/releases/latest`; classifies semver delta (major / minor / patch / off-cadence); respects `.design/STATE.md` stage guard (suppresses nudge during `plan`, `design`, `verify`); respects per-version dismissal from `.design/config.json`; silent-on-failure by policy (exit 0 on every error path); BASH_SOURCE guard makes the script source-safe for self-test.
|
|
2602
|
+
- `hooks/hooks.json` - registers `update-check.sh` as a second SessionStart command alongside `bootstrap.sh` (run order: bootstrap → update-check).
|
|
2603
|
+
- `agents/design-update-checker.md` - Haiku-tier enrichment agent (Phase 10.1 cost governance). Invoked only by `/gdd:check-update --prompt` to produce a 3–5-line "what this release changes for you" summary from the cached release body. Reads-only, inline-text-only output, ends with `## UPDATE-CHECKER COMPLETE`.
|
|
2604
|
+
- `skills/check-update/SKILL.md` - `/gdd:check-update` manual slash command. Flags: `--refresh` (bypass 24h TTL, re-fetch now), `--dismiss` (write `update_dismissed: "<tag>"` atomically to `.design/config.json` via env-prefix python3 heredoc, preserves all pre-existing keys), `--prompt` (spawn the enrichment agent). Default (no flag) prints cached state.
|
|
2605
|
+
- `.design/update-cache.json` - per-user-project runtime cache (written by the hook). Shape: `{checked_at, current_tag, latest_tag, delta, is_newer, changelog_excerpt}`; 500-char excerpt from release body.
|
|
2606
|
+
- `.design/update-available.md` - per-user-project runtime rendered banner. Written only when all four gates pass (cache is_newer=true AND stage ∉ {plan,design,verify} AND not dismissed AND latest_tag parsed successfully). Consumed by safe-window skills via `[ -f .design/update-available.md ] && cat .design/update-available.md`.
|
|
2607
|
+
- `reference/schemas/config.schema.json` - adds optional `update_dismissed: string` property.
|
|
2608
|
+
- Safe-window surfaces: `/gdd:progress`, `/gdd:health`, `/gdd:help`, post-closeout of `/gdd:ship`, `/gdd:complete-cycle`, `/gdd:audit` - each appends the one-line banner-cat tail before its completion marker. Mid-pipeline skills (`brief`, `explore`, `plan`, `design`, `verify`) explicitly NOT modified.
|
|
2609
|
+
- `skills/audit/SKILL.md` - `tools:` list extended with `Bash` to enable the banner-cat tail (previously: `Read, Write, Task, Glob`).
|
|
2610
|
+
- Root `SKILL.md` - `check-update` registered in argument-hint alternation.
|
|
2611
|
+
- `test-fixture/baselines/phase-13.3/` - regression baseline lock for v1.13.3.
|
|
2612
|
+
- `test-fixture/baselines/current/agent-list.txt` - appended `design-update-checker.md` in sorted position.
|
|
2613
|
+
- `test-fixture/baselines/current/skill-list.txt` - appended `check-update` in sorted position.
|
|
2572
2614
|
|
|
2573
2615
|
### Changed
|
|
2574
2616
|
|
|
2575
|
-
- Plugin version: 1.0.7.2 → 1.13.3 (per the new milestone.phase.sub-phase versioning scheme
|
|
2617
|
+
- Plugin version: 1.0.7.2 → 1.13.3 (per the new milestone.phase.sub-phase versioning scheme - MAJOR=milestone, MINOR=phase, PATCH=sub-phase). Phase 13.3 lands as a valid semver; release workflow auto-tags and `npm publish` succeeds.
|
|
2576
2618
|
|
|
2577
2619
|
### Design principles (Phase 13.3)
|
|
2578
2620
|
|
|
2579
2621
|
- **Never auto-updates.** The checker only surfaces a nudge; `/gdd:update` remains the explicit user action.
|
|
2580
2622
|
- **Never interrupts critical work.** State-machine guard suppresses the nudge during mid-pipeline stages (`plan`, `design`, `verify`); banner renders only in the 6 documented safe windows.
|
|
2581
|
-
- **Silent-on-failure.** Network timeout, malformed JSON, missing plugin.json, unwritable `.design/`
|
|
2623
|
+
- **Silent-on-failure.** Network timeout, malformed JSON, missing plugin.json, unwritable `.design/` - every path exits 0 without printing to stderr during normal SessionStart.
|
|
2582
2624
|
- **No telemetry.** Unauthenticated GitHub Releases fetch; no phone-home, no tracking, no tokens in code.
|
|
2583
2625
|
|
|
2584
2626
|
---
|
|
2585
2627
|
|
|
2586
|
-
## [1.13.2]
|
|
2628
|
+
## [1.13.2] - 2026-04-19
|
|
2587
2629
|
|
|
2588
|
-
### Added
|
|
2630
|
+
### Added - Phase 13.2: External Authority Watcher
|
|
2589
2631
|
|
|
2590
|
-
- `reference/authority-feeds.md`
|
|
2591
|
-
- `reference/schemas/authority-snapshot.schema.json`
|
|
2592
|
-
- `agents/design-authority-watcher.md`
|
|
2593
|
-
- `skills/watch-authorities/SKILL.md`
|
|
2594
|
-
- `scripts/tests/test-authority-rejected-kinds.sh`
|
|
2595
|
-
- `scripts/tests/test-authority-watcher-diff.sh`
|
|
2596
|
-
- `test-fixture/authority-feeds/`
|
|
2597
|
-
- `test-fixture/baselines/phase-13.2/authority-report.expected.md`
|
|
2632
|
+
- `reference/authority-feeds.md` - curated whitelist of 26 design-authority feeds grouped by kind (5 spec sources, 8 component systems, 3 research institutions, 10 named practitioners, user-extensible Are.na channels) with an explicit `## Rejected kinds` assertion block covering Dribbble, Behance, LinkedIn, generic Medium topic feeds, and trending aggregators.
|
|
2633
|
+
- `reference/schemas/authority-snapshot.schema.json` - Draft-07 JSON Schema validating `.design/authority-snapshot.json` shape (version const 1, feeds keyed by id, 64-hex sha256 hash pattern, `maxItems: 200` per-feed entry cap enforcing D-14 retention at validation time).
|
|
2634
|
+
- `agents/design-authority-watcher.md` - Sonnet-tier, parallel-safe watcher agent. Fetches feeds via WebFetch, diffs against snapshot, classifies new entries into five buckets (`spec-change`, `heuristic-update`, `pattern-guidance`, `craft-tip`, `skip`) with a one-sentence rationale per entry. First run seeds the snapshot silently; `--since <date>` is the escape hatch for surfacing a backlog.
|
|
2635
|
+
- `skills/watch-authorities/SKILL.md` - `/gdd:watch-authorities` command with `--refresh`, `--since <date>`, `--feed <name>`, `--schedule <weekly|daily|monthly>` flags. Mutual-exclusion rules between `--refresh` and `--since`; `--schedule` registers a cron via the `scheduled-tasks` MCP when connected (weekly=`0 9 * * 1`, daily=`0 9 * * *`, monthly=`0 9 1 * *`) with graceful exit-0 fallback on MCP absence.
|
|
2636
|
+
- `scripts/tests/test-authority-rejected-kinds.sh` - CI test enforcing the anti-slop thesis structurally. Splits `reference/authority-feeds.md` at the `## Rejected kinds` heading and greps the active section for `dribbble.com` / `behance.net` / `linkedin.com` / `medium.com/topic` / trending-aggregator hostnames; exits non-zero on any match.
|
|
2637
|
+
- `scripts/tests/test-authority-watcher-diff.sh` - structural-only v1 of the watcher-diff test. Asserts fixture presence, baseline existence, D-21 classification-heading vocabulary, and exact count consistency between the header's "N entries surfaced" figure and the number of bulleted entries across classification sections. Full end-to-end byte diff against a live watcher run is deferred until the Claude Code agent runtime is available in CI.
|
|
2638
|
+
- `test-fixture/authority-feeds/` - four frozen mock feeds (WAI-ARIA APG Atom, Radix Primitives release Atom, NN/g articles RSS, Are.na channel JSON) with deterministic timestamps for byte-stable CI diff testing. Exercises all four non-practitioner source kinds against every branch of the D-17 classification decision table.
|
|
2639
|
+
- `test-fixture/baselines/phase-13.2/authority-report.expected.md` - frozen regression baseline for the watcher-diff test (9 entries across 4 feeds: spec-change=2, heuristic-update=1, pattern-guidance=4, craft-tip=2, skip=0).
|
|
2598
2640
|
|
|
2599
2641
|
### Changed
|
|
2600
2642
|
|
|
2601
|
-
- `skills/reflect/SKILL.md` step 3 "Build required-reading list"
|
|
2602
|
-
- Root `SKILL.md`
|
|
2603
|
-
- `scripts/validate-schemas.cjs`
|
|
2604
|
-
- `tests/agent-size-budget.test.cjs`
|
|
2605
|
-
- `test-fixture/baselines/phase-6/agent-list.txt`
|
|
2606
|
-
- `test-fixture/baselines/phase-6/skill-list.txt`
|
|
2643
|
+
- `skills/reflect/SKILL.md` step 3 "Build required-reading list" - appended `.design/authority-report.md`. Single-line addition; `agents/design-reflector.md` itself is byte-identical since phase start (D-25 reflector-non-modification invariant preserved).
|
|
2644
|
+
- Root `SKILL.md` - `watch-authorities` registered in argument-hint alternation, the maintenance Command Reference table, and the Jump Mode routing block alongside `/gdd:reflect` and `/gdd:apply-reflections`.
|
|
2645
|
+
- `scripts/validate-schemas.cjs` - wired `authority-snapshot` into the `PAIRS` array and invoked `ajv-cli` with `-c ajv-formats` so `format: "date-time"` declarations are enforced rather than rejected under ajv strict mode. No-op for existing schemas (none declared formats).
|
|
2646
|
+
- `tests/agent-size-budget.test.cjs` - added `M: 300` tier to `TIER_LIMITS` for Worker-tier agents (between `S: 150` and `LARGE: 350`); accommodates CONTEXT D-05's "body ≈ 200–300 lines" target with modest headroom.
|
|
2647
|
+
- `test-fixture/baselines/phase-6/agent-list.txt` - appended `design-authority-watcher.md` in sorted position.
|
|
2648
|
+
- `test-fixture/baselines/phase-6/skill-list.txt` - appended `watch-authorities` in sorted position.
|
|
2607
2649
|
- Plugin version: 1.0.7 → 1.13.2 (decimal sub-phase = PATCH bump per new versioning scheme: MAJOR=milestone, MINOR=phase, PATCH=sub-phase). Does not shift the Phase 14 → v1.14.0 cadence.
|
|
2608
2650
|
|
|
2609
2651
|
---
|
|
2610
2652
|
|
|
2611
|
-
## [1.13.1]
|
|
2653
|
+
## [1.13.1] - 2026-04-19
|
|
2612
2654
|
|
|
2613
|
-
### Changed
|
|
2655
|
+
### Changed - Phase 13.1: Figma MCP Consolidation
|
|
2614
2656
|
- Collapsed the dual Figma MCP setup (local `figma-desktop` for reads + remote `figma` for writes) into the single remote `figma` MCP, which exposes full read parity (`get_metadata`, `get_design_context`, `get_variable_defs`, `get_screenshot`) alongside `use_figma` for writes.
|
|
2615
2657
|
- Rewrote `connections/figma.md` to cover both reads and writes; deleted `connections/figma-writer.md` (folded into the unified spec).
|
|
2616
2658
|
- Migrated every `mcp__figma-desktop__*` tool reference to `mcp__figma__*` across skills (`scan`, `discover`, `explore`, `design`), agents (`design-figma-writer`, `design-context-builder`, `design-discussant`, `token-mapper`), and `connections/connections.md` capability matrix + probe block.
|
|
2617
|
-
- Collapsed STATE.md `<connections>` schema from `figma: … / figma_writer: …` to a single `figma:` key. The remote MCP is one server
|
|
2659
|
+
- Collapsed STATE.md `<connections>` schema from `figma: … / figma_writer: …` to a single `figma:` key. The remote MCP is one server - one probe, one status.
|
|
2618
2660
|
- Updated capability matrix in `connections/connections.md`: a single `Figma` row now declares write-back under the `design` column (FWR-01..04).
|
|
2619
2661
|
- Regenerated `test-fixture/baselines/phase-6/connection-list.txt` to drop the deleted `figma-writer.md` entry.
|
|
2620
2662
|
|
|
@@ -2634,52 +2676,52 @@ Cherry-picked from `c11cd7b` on `claude/upbeat-fermi-199627` — the Figma MCP f
|
|
|
2634
2676
|
|
|
2635
2677
|
---
|
|
2636
2678
|
|
|
2637
|
-
## [1.0.7]
|
|
2679
|
+
## [1.0.7] - 2026-04-18
|
|
2638
2680
|
|
|
2639
|
-
### Added
|
|
2681
|
+
### Added - Phase 13: CI/CD
|
|
2640
2682
|
- `.github/workflows/ci.yml` expanded from single-job test runner to five-job pipeline: `lint` → `validate` → `test` (matrix) → `security` + `size-budget`
|
|
2641
2683
|
- Markdown lint via `markdownlint-cli2@0.13.0` (pinned); link checker via `lycheeverse/lychee-action@v2` (blocking)
|
|
2642
2684
|
- JSON schemas at `reference/schemas/`: `plugin.schema.json`, `marketplace.schema.json`, `hooks.schema.json`, `config.schema.json`, `intel.schema.json`
|
|
2643
|
-
- `scripts/validate-schemas.cjs`
|
|
2644
|
-
- `scripts/validate-frontmatter.cjs`
|
|
2645
|
-
- `scripts/detect-stale-refs.cjs`
|
|
2685
|
+
- `scripts/validate-schemas.cjs` - ajv-cli wrapper with structural-parse fallback for all schemas
|
|
2686
|
+
- `scripts/validate-frontmatter.cjs` - CLI-friendly agent-frontmatter validator reusing `tests/helpers.cjs`
|
|
2687
|
+
- `scripts/detect-stale-refs.cjs` - fails on any `/design:*` legacy namespace or deprecated agent/stage names; authoritative list in `reference/DEPRECATIONS.md`
|
|
2646
2688
|
- `claude plugin validate .` in CI with schema-only fallback (per D-09)
|
|
2647
2689
|
- `ludeeus/action-shellcheck@master` at severity=error on `scripts/`
|
|
2648
2690
|
- Hardcoded-absolute-path grep across `scripts/`, `reference/`, `agents/`, `skills/` (flags `/Users/`, `/home/<user>/`, `C:\`)
|
|
2649
2691
|
- `gitleaks/gitleaks-action@v2` secrets scan with `.gitleaks.toml` allowlist
|
|
2650
|
-
- `scripts/run-injection-scanner-ci.cjs`
|
|
2692
|
+
- `scripts/run-injection-scanner-ci.cjs` - CI-mode scanner over Phase 7 injection patterns against all shipped `reference/`, `skills/**/SKILL.md`, `agents/*.md`
|
|
2651
2693
|
- `tests/agent-size-budget.test.cjs` wired as its own blocking `size-budget` CI job with actionable override guidance
|
|
2652
|
-
- `.github/pull_request_template.md`
|
|
2653
|
-
- `.github/CODEOWNERS`
|
|
2654
|
-
- `reference/BRANCH-PROTECTION.md` + `scripts/apply-branch-protection.sh`
|
|
2655
|
-
- `.github/workflows/release.yml`
|
|
2656
|
-
- `scripts/extract-changelog-section.cjs`
|
|
2657
|
-
- `scripts/rollback-release.sh`
|
|
2658
|
-
- `scripts/release-smoke-test.cjs`
|
|
2659
|
-
- `CONTRIBUTING.md`
|
|
2694
|
+
- `.github/pull_request_template.md` - phase / version-bump / CHANGELOG / baseline / tests checklist
|
|
2695
|
+
- `.github/CODEOWNERS` - solo-maintainer default (`* @hegemonart`)
|
|
2696
|
+
- `reference/BRANCH-PROTECTION.md` + `scripts/apply-branch-protection.sh` - two-phase rollout (advisory → enforcing)
|
|
2697
|
+
- `.github/workflows/release.yml` - auto-tag + GitHub Release on `.claude-plugin/plugin.json` version change; softprops/action-gh-release@v2
|
|
2698
|
+
- `scripts/extract-changelog-section.cjs` - parses CHANGELOG for release body
|
|
2699
|
+
- `scripts/rollback-release.sh` - documented manual rollback (not CI-automated, per D-22)
|
|
2700
|
+
- `scripts/release-smoke-test.cjs` - fresh-checkout deterministic smoke test against `test-fixture/src/`, diffs against `test-fixture/baselines/phase-13/`
|
|
2701
|
+
- `CONTRIBUTING.md` - branch strategy, PR checklist, required checks list, version-bump workflow, baseline relock how-to
|
|
2660
2702
|
- README badges: CI build status, Node versions (22, 24), plugin version, license (MIT)
|
|
2661
|
-
- `test-fixture/baselines/phase-13/`
|
|
2703
|
+
- `test-fixture/baselines/phase-13/` - regression baseline locked at v1.0.7
|
|
2662
2704
|
|
|
2663
2705
|
### Changed
|
|
2664
|
-
- Plugin version: 1.0.5 → 1.0.7 (skipping 1.0.6
|
|
2706
|
+
- Plugin version: 1.0.5 → 1.0.7 (skipping 1.0.6 - Phase 12 did not ship a manifest bump in this worktree)
|
|
2665
2707
|
- `package.json` gains CI-focused scripts: `lint:md`, `lint:links`, `validate:schemas`, `validate:frontmatter`, `detect:stale-refs`, `scan:injection`, `test:size-budget`, `release:extract-changelog`
|
|
2666
2708
|
- `ci.yml` matrix preserved exactly: Node 22/24 × ubuntu/macos/windows
|
|
2667
2709
|
|
|
2668
2710
|
---
|
|
2669
2711
|
|
|
2670
|
-
## [1.0.6]
|
|
2712
|
+
## [1.0.6] - 2026-04-18
|
|
2671
2713
|
|
|
2672
|
-
### Added
|
|
2673
|
-
- Test runner wired (`node --test "tests/**/*.cjs"` via `npm test`)
|
|
2674
|
-
- `tests/helpers.cjs`
|
|
2714
|
+
### Added - Phase 12: Test Coverage
|
|
2715
|
+
- Test runner wired (`node --test "tests/**/*.cjs"` via `npm test`) - zero third-party test dependencies
|
|
2716
|
+
- `tests/helpers.cjs` - shared fixtures: `scaffoldDesignDir`, `readFrontmatter`, `countLines`, `mockMCP`
|
|
2675
2717
|
- GitHub Actions CI matrix: Node 22/24 × Linux/macOS/Windows, fail-fast disabled
|
|
2676
2718
|
- Regression baseline harness: `test-fixture/baselines/phase-<N>/` snapshots of agent/skill/connection manifests and agent frontmatter snapshots; drift detector per phase
|
|
2677
|
-
- **Agent hygiene tests**
|
|
2678
|
-
- **System contract tests**
|
|
2679
|
-
- **Pipeline + data tests**
|
|
2680
|
-
- **Feature correctness tests**
|
|
2681
|
-
- `reference/DEPRECATIONS.md`
|
|
2682
|
-
- `test-fixture/mapper-outputs/*.json`
|
|
2719
|
+
- **Agent hygiene tests** - `tests/agent-frontmatter.test.cjs`, `tests/agent-size-budget.test.cjs`, `tests/agent-required-reading-consistency.test.cjs`, `tests/stale-colon-refs.test.cjs`
|
|
2720
|
+
- **System contract tests** - `tests/config.test.cjs`, `tests/commands.test.cjs`, `tests/command-count-sync.test.cjs`, `tests/hook-validation.test.cjs`, `tests/atomic-write.test.cjs`, `tests/frontmatter.test.cjs`, `tests/model-profiles.test.cjs`, `tests/verify-health.test.cjs`, `tests/worktree-safety.test.cjs`, `tests/semver-compare.test.cjs`, `tests/schema-drift.test.cjs`
|
|
2721
|
+
- **Pipeline + data tests** - `tests/pipeline-smoke.test.cjs`, `tests/mapper-schema.test.cjs`, `tests/parallelism-engine.test.cjs`, `tests/touches-analysis.test.cjs`, `tests/cycle-lifecycle.test.cjs`, `tests/intel-consistency.test.cjs`, `tests/regression-baseline-drift.test.cjs`
|
|
2722
|
+
- **Feature correctness tests** - `tests/sketch-determinism.test.cjs`, `tests/connection-probe.test.cjs`, `tests/figma-writer-dry-run.test.cjs`, `tests/reflection-proposal.test.cjs`, `tests/deprecation-redirect.test.cjs`, `tests/nng-coverage.test.cjs`, `tests/read-injection-scanner.test.cjs`, `tests/optimization-layer.test.cjs`
|
|
2723
|
+
- `reference/DEPRECATIONS.md` - registry of renamed/split/removed concepts (seeded by deprecation-redirect test)
|
|
2724
|
+
- `test-fixture/mapper-outputs/*.json` - locked schema-shape fixtures for the 5 domain mappers
|
|
2683
2725
|
- Added `XXL` tier (700 lines) to `agent-size-budget.test.cjs` for legitimately long agents (`design-verifier`, `design-context-builder`)
|
|
2684
2726
|
|
|
2685
2727
|
### Changed
|
|
@@ -2692,18 +2734,18 @@ Cherry-picked from `c11cd7b` on `claude/upbeat-fermi-199627` — the Figma MCP f
|
|
|
2692
2734
|
### Policy change
|
|
2693
2735
|
- **From v1.0.6 forward, every PR MUST pass `npm test` before merging to `main`.** See `CONTRIBUTING.md` for the testing contract.
|
|
2694
2736
|
|
|
2695
|
-
## [1.0.5]
|
|
2696
|
-
|
|
2697
|
-
### Added
|
|
2698
|
-
- `design-reflector` agent
|
|
2699
|
-
- `/gdd:reflect` command
|
|
2700
|
-
- `/gdd:apply-reflections` command
|
|
2701
|
-
- Frontmatter feedback loop
|
|
2702
|
-
- Budget-config feedback loop
|
|
2703
|
-
- Reference-update proposer
|
|
2704
|
-
- Discussant question-quality logging
|
|
2705
|
-
- Discussant question-quality analysis
|
|
2706
|
-
- Global skills layer
|
|
2737
|
+
## [1.0.5] - 2026-04-18
|
|
2738
|
+
|
|
2739
|
+
### Added - Phase 11: Self-Improvement
|
|
2740
|
+
- `design-reflector` agent - post-cycle reflection from learnings + telemetry + agent-metrics
|
|
2741
|
+
- `/gdd:reflect` command - on-demand reflection with `--dry-run` and `--cycle` flags
|
|
2742
|
+
- `/gdd:apply-reflections` command - user-review + selective apply for all proposal types
|
|
2743
|
+
- Frontmatter feedback loop - reflector proposes `typical-duration-seconds`, `default-tier`, `parallel-safe`, `reads-only` updates from measured data
|
|
2744
|
+
- Budget-config feedback loop - reflector proposes `.design/budget.json` cap adjustments from telemetry
|
|
2745
|
+
- Reference-update proposer - N≥3 pattern detection across learnings files → `reference/` additions
|
|
2746
|
+
- Discussant question-quality logging - answer quality recorded to `.design/learnings/question-quality.jsonl`
|
|
2747
|
+
- Discussant question-quality analysis - low-value questions flagged and pruning proposed after ≥3 cycles
|
|
2748
|
+
- Global skills layer - `~/.claude/gdd/global-skills/` for cross-project conventions
|
|
2707
2749
|
- Global skills auto-loading in explore, plan, design stages
|
|
2708
2750
|
- Phase 11 regression baseline locked in `test-fixture/baselines/phase-11/`
|
|
2709
2751
|
|
|
@@ -2712,36 +2754,36 @@ Cherry-picked from `c11cd7b` on `claude/upbeat-fermi-199627` — the Figma MCP f
|
|
|
2712
2754
|
- `agents/design-discussant.md` logs answer quality after each Q&A exchange
|
|
2713
2755
|
- Plugin version: 1.0.4.1 → 1.0.5
|
|
2714
2756
|
|
|
2715
|
-
## [1.10.1]
|
|
2757
|
+
## [1.10.1] - 2026-04-18
|
|
2716
2758
|
|
|
2717
2759
|
**Phase 10.1: Optimization Layer + Cost Governance.** Decimal sub-phase = PATCH bump per versioning scheme (MAJOR=milestone, MINOR=phase, PATCH=sub-phase). v1.10.1 follows v1.10.0 (Phase 10) and precedes v1.11.0 (Phase 11).
|
|
2718
2760
|
|
|
2719
2761
|
### Added
|
|
2720
|
-
- `gdd-router` skill
|
|
2721
|
-
- `gdd-cache-manager` skill + `/gdd:warm-cache` command
|
|
2722
|
-
- `skills/synthesize/` streaming-synthesizer skill
|
|
2723
|
-
- `/gdd:optimize` advisory command
|
|
2724
|
-
- `hooks/budget-enforcer.js`
|
|
2725
|
-
- `.design/budget.json` config
|
|
2726
|
-
- `.design/cache-manifest.json`
|
|
2727
|
-
- `.design/telemetry/costs.jsonl`
|
|
2728
|
-
- `.design/agent-metrics.json`
|
|
2729
|
-
- `reference/model-prices.md`
|
|
2730
|
-
- `reference/model-tiers.md`
|
|
2731
|
-
- `reference/shared-preamble.md`
|
|
2762
|
+
- `gdd-router` skill - intent → `{path: fast|quick|full, model_tier_overrides, estimated_cost_usd, cache_hits}`. First step of every `/gdd:*` command.
|
|
2763
|
+
- `gdd-cache-manager` skill + `/gdd:warm-cache` command - maintains `.design/cache-manifest.json`, pre-warms common agent prompts for Anthropic's 5-min prompt cache.
|
|
2764
|
+
- `skills/synthesize/` streaming-synthesizer skill - Haiku-collapses N parallel-agent outputs for map / discover / plan orchestrators.
|
|
2765
|
+
- `/gdd:optimize` advisory command - reads telemetry + metrics, emits `.design/OPTIMIZE-RECOMMENDATIONS.md`. No auto-apply.
|
|
2766
|
+
- `hooks/budget-enforcer.js` - PreToolUse hook on `Agent` spawns. Hard-blocks on cap breach, auto-downgrades at 80% soft-threshold, short-circuits on cache hit. Writes telemetry on every decision.
|
|
2767
|
+
- `.design/budget.json` config - `per_task_cap_usd`, `per_phase_cap_usd`, `tier_overrides`, `auto_downgrade_on_cap`, `cache_ttl_seconds`, `enforcement_mode`.
|
|
2768
|
+
- `.design/cache-manifest.json` - SHA-256-keyed answer store with TTL.
|
|
2769
|
+
- `.design/telemetry/costs.jsonl` - append-only ledger per spawn decision: `{ts, agent, tier, tokens_in, tokens_out, cache_hit, est_cost_usd, cycle, phase}`.
|
|
2770
|
+
- `.design/agent-metrics.json` - incremental per-agent aggregator (total_spawns, total_cost_usd, cache_hit_rate, etc). Consumed by Phase 11 reflector.
|
|
2771
|
+
- `reference/model-prices.md` - static Anthropic pricing table + `size_budget` → token-range mapping.
|
|
2772
|
+
- `reference/model-tiers.md` - tier-selection guide, per-agent tier map, override precedence rules.
|
|
2773
|
+
- `reference/shared-preamble.md` - extracted common agent framework preamble. Every agent imports it first.
|
|
2732
2774
|
- Three lazy gate agents: `design-verifier-gate`, `design-integration-checker-gate`, `design-context-checker-gate`. Cheap Haiku heuristic decides whether to spawn the full expensive checker.
|
|
2733
|
-
- `scripts/aggregate-agent-metrics.js`
|
|
2734
|
-
- Regression baseline at `test-fixture/baselines/phase-10.1/`
|
|
2775
|
+
- `scripts/aggregate-agent-metrics.js` - incremental telemetry aggregator invoked by the hook.
|
|
2776
|
+
- Regression baseline at `test-fixture/baselines/phase-10.1/` - methodology README + `pre-baseline-cost-report.md` + `cost-report.md`.
|
|
2735
2777
|
|
|
2736
2778
|
### Changed
|
|
2737
2779
|
- All 26 agents in `agents/` now carry `default-tier: haiku|sonnet|opus` + `tier-rationale` frontmatter.
|
|
2738
2780
|
- All 26 agents now open with `@reference/shared-preamble.md` import (cache-aligned ordering per agents/README.md convention).
|
|
2739
2781
|
- `scripts/bootstrap.sh` writes `.design/budget.json` defaults on first run if missing.
|
|
2740
2782
|
- `hooks/hooks.json` adds `PreToolUse` matcher `Agent` → `hooks/budget-enforcer.js`.
|
|
2741
|
-
- `skills/map/`, `skills/discover/`, `skills/plan/`
|
|
2742
|
-
- `skills/verify/`
|
|
2743
|
-
- `agents/README.md`
|
|
2744
|
-
- `reference/config-schema.md`
|
|
2783
|
+
- `skills/map/`, `skills/discover/`, `skills/plan/` - parallel-agent outputs now funnel through `skills/synthesize/` before main-context merge.
|
|
2784
|
+
- `skills/verify/` - spawns `design-*-gate` agents before their full checker counterparts; skips the full spawn when the gate returns `spawn: false`.
|
|
2785
|
+
- `agents/README.md` - documents the `default-tier` + `tier-rationale` frontmatter fields and the cache-aligned agent-prompt ordering convention.
|
|
2786
|
+
- `reference/config-schema.md` - new sections for `.design/budget.json`, `.design/cache-manifest.json`, `.design/telemetry/costs.jsonl`, `.design/agent-metrics.json`.
|
|
2745
2787
|
|
|
2746
2788
|
### Performance
|
|
2747
2789
|
- Target: 50–70% per-task token-cost reduction vs the pre-10.1 baseline on `test-fixture/`.
|
|
@@ -2754,21 +2796,21 @@ Cherry-picked from `c11cd7b` on `claude/upbeat-fermi-199627` — the Figma MCP f
|
|
|
2754
2796
|
|
|
2755
2797
|
---
|
|
2756
2798
|
|
|
2757
|
-
## [1.0.4]
|
|
2799
|
+
## [1.0.4] - 2026-04-18
|
|
2758
2800
|
|
|
2759
|
-
### Added
|
|
2801
|
+
### Added - Phase 10: Knowledge Layer
|
|
2760
2802
|
|
|
2761
2803
|
- **Intel store** (`.design/intel/`): queryable JSON slices indexing all files, exports, symbols, tokens, components, patterns, dependencies, decisions, debt, and a cross-reference graph
|
|
2762
|
-
- `scripts/build-intel.cjs`
|
|
2763
|
-
- `agents/gdd-intel-updater`
|
|
2764
|
-
- `/gdd:analyze-dependencies`
|
|
2765
|
-
- `/gdd:skill-manifest`
|
|
2766
|
-
- `/gdd:extract-learnings`
|
|
2767
|
-
- `agents/gdd-learnings-extractor`
|
|
2768
|
-
- `agents/gdd-graphify-sync`
|
|
2769
|
-
- `hooks/context-exhaustion.js`
|
|
2770
|
-
- `reference/intel-schema.md`
|
|
2771
|
-
- `design-phase-researcher`
|
|
2804
|
+
- `scripts/build-intel.cjs` - full initial index builder with mtime + git-hash incremental updates
|
|
2805
|
+
- `agents/gdd-intel-updater` - incremental intel store updater agent
|
|
2806
|
+
- `/gdd:analyze-dependencies` - token fan-out, component call-graph, decision traceability, circular dependency detection (all O(1) from intel store)
|
|
2807
|
+
- `/gdd:skill-manifest` - browse all skills and agents from intel store; fallback to directory scan
|
|
2808
|
+
- `/gdd:extract-learnings` - extract project-specific patterns from `.design/` artifacts; propose reference/ additions with user review flow
|
|
2809
|
+
- `agents/gdd-learnings-extractor` - structured learning entry extractor; writes `.design/learnings/LEARNINGS.md`
|
|
2810
|
+
- `agents/gdd-graphify-sync` - feeds Graphify knowledge graph from intel store `graph.json`
|
|
2811
|
+
- `hooks/context-exhaustion.js` - PostToolUse hook: auto-records `<paused>` STATE.md block at 85% context
|
|
2812
|
+
- `reference/intel-schema.md` - authoritative schema reference for all ten intel slices
|
|
2813
|
+
- `design-phase-researcher` - now produces `## Architectural Responsibility Map` and `## Flow Diagram` (Mermaid) in every DESIGN-CONTEXT.md
|
|
2772
2814
|
- Five core agents (design-context-builder, design-executor, design-verifier, design-phase-researcher, design-planner) now include conditional `@.design/intel/` required-reading blocks
|
|
2773
2815
|
|
|
2774
2816
|
### Changed
|
|
@@ -2778,19 +2820,19 @@ Cherry-picked from `c11cd7b` on `claude/upbeat-fermi-199627` — the Figma MCP f
|
|
|
2778
2820
|
|
|
2779
2821
|
---
|
|
2780
2822
|
|
|
2781
|
-
## [1.0.3]
|
|
2823
|
+
## [1.0.3] - 2026-04-18
|
|
2782
2824
|
|
|
2783
|
-
### Added
|
|
2825
|
+
### Added - Phase 9: Claude Design Integration + Pinterest Connection
|
|
2784
2826
|
- Claude Design handoff bundle adapter: HTML export → D-XX decisions in STATE.md (`connections/claude-design.md`)
|
|
2785
|
-
- `/gdd:handoff <path>` standalone command
|
|
2827
|
+
- `/gdd:handoff <path>` standalone command - skips Scan→Discover→Plan, routes direct to verify with Handoff Faithfulness scoring
|
|
2786
2828
|
- Handoff Faithfulness Phase in design-verifier: color, typography, spacing, component structure scoring with PASS/WARN/FAIL thresholds
|
|
2787
|
-
- `--post-handoff` flag for `verify` stage
|
|
2788
|
-
- `--from-handoff` mode for design-discussant
|
|
2789
|
-
- Handoff mode for design-research-synthesizer
|
|
2829
|
+
- `--post-handoff` flag for `verify` stage - relaxes DESIGN-PLAN.md prerequisite, activates HF section
|
|
2830
|
+
- `--from-handoff` mode for design-discussant - confirms tentative D-XX decisions, fills gaps only
|
|
2831
|
+
- Handoff mode for design-research-synthesizer - parses bundle HTML, writes `<handoff_context>` to DESIGN-CONTEXT.md
|
|
2790
2832
|
- Pinterest MCP connection spec (`connections/pinterest.md`): ToolSearch-only probe, `mcp__mcp-pinterest__pinterest_search`, fallback chain Pinterest → Refero → awesome-design-md
|
|
2791
2833
|
- Pinterest as visual reference source in design-research-synthesizer (up to 2–3 queries per synthesis)
|
|
2792
2834
|
- Pinterest probe (block C) in `discover` stage
|
|
2793
|
-
- `implementation-status` mode for design-figma-writer
|
|
2835
|
+
- `implementation-status` mode for design-figma-writer - annotates Figma frames with build status + registers Code Connect mappings from Handoff Faithfulness results
|
|
2794
2836
|
- `pinterest:` and `claude_design:` fields in STATE-TEMPLATE.md `<connections>` block
|
|
2795
2837
|
- `handoff_source`, `handoff_path`, `skipped_stages` fields in STATE-TEMPLATE.md `<position>` block
|
|
2796
2838
|
|
|
@@ -2801,40 +2843,40 @@ Cherry-picked from `c11cd7b` on `claude/upbeat-fermi-199627` — the Figma MCP f
|
|
|
2801
2843
|
|
|
2802
2844
|
---
|
|
2803
2845
|
|
|
2804
|
-
## [1.0.2]
|
|
2846
|
+
## [1.0.2] - Phase 8: Visual + Design-Side Connections + Knowledge Graph
|
|
2805
2847
|
|
|
2806
2848
|
### Added
|
|
2807
2849
|
|
|
2808
|
-
- **Preview (Playwright) connection**
|
|
2809
|
-
- **Storybook connection**
|
|
2810
|
-
- **Chromatic connection**
|
|
2811
|
-
- **Figma Writer agent**
|
|
2812
|
-
- **Graphify knowledge graph connection**
|
|
2813
|
-
- **`/gdd:figma-write` command**
|
|
2814
|
-
- **`/gdd:graphify` command**
|
|
2815
|
-
- **Connections capability matrix expanded**
|
|
2816
|
-
- **Agent pre-search consultation**
|
|
2850
|
+
- **Preview (Playwright) connection** - `connections/preview.md`; live page screenshots for `? VISUAL` verification gaps via `mcp__Claude_Preview__*` tools
|
|
2851
|
+
- **Storybook connection** - `connections/storybook.md`; HTTP probe for component inventory, a11y per story, `.stories.tsx` stub generation during design stage
|
|
2852
|
+
- **Chromatic connection** - `connections/chromatic.md`; CLI-based visual regression delta narration and change-risk scoping using `--trace-changed=expanded`
|
|
2853
|
+
- **Figma Writer agent** - `agents/design-figma-writer.md`; write design decisions back to Figma (annotate, tokenize, Code Connect mappings) via remote MCP `use_figma`; proposal→confirm UX with `--dry-run` and `--confirm-shared` guards
|
|
2854
|
+
- **Graphify knowledge graph connection** - `connections/graphify.md`; queryable component↔token↔decision graph via `gsd-tools graphify`
|
|
2855
|
+
- **`/gdd:figma-write` command** - `skills/figma-write/SKILL.md`; standalone Figma write command
|
|
2856
|
+
- **`/gdd:graphify` command** - `skills/graphify/SKILL.md`; build/query/status/diff subcommands
|
|
2857
|
+
- **Connections capability matrix expanded** - `connections/connections.md` updated to 7 active connections
|
|
2858
|
+
- **Agent pre-search consultation** - `design-integration-checker` and `design-planner` consult the knowledge graph before grep searches when Graphify is available
|
|
2817
2859
|
|
|
2818
2860
|
### Changed
|
|
2819
2861
|
|
|
2820
|
-
- `connections/connections.md`
|
|
2821
|
-
- `agents/design-verifier.md`
|
|
2822
|
-
- `agents/design-planner.md`
|
|
2823
|
-
- `agents/design-context-builder.md`
|
|
2824
|
-
- `SKILL.md`
|
|
2825
|
-
- Root `SKILL.md`
|
|
2862
|
+
- `connections/connections.md` - Active Connections table expanded from 2 to 7; Capability Matrix updated; placeholder rows removed
|
|
2863
|
+
- `agents/design-verifier.md` - Phase 4B visual evidence block added; Chromatic delta narration block added
|
|
2864
|
+
- `agents/design-planner.md` - Chromatic change-risk scoping block added; Graphify component-count annotation block added
|
|
2865
|
+
- `agents/design-context-builder.md` - Storybook component inventory block added
|
|
2866
|
+
- `SKILL.md` - argument-hint and Command Reference updated with `figma-write` and `graphify`
|
|
2867
|
+
- Root `SKILL.md` - `figma-write` and `graphify` entries added
|
|
2826
2868
|
|
|
2827
2869
|
---
|
|
2828
2870
|
|
|
2829
|
-
## [1.0.1]
|
|
2871
|
+
## [1.0.1] - 2026-04-18
|
|
2830
2872
|
|
|
2831
|
-
### Added
|
|
2873
|
+
### Added - Phase 7: GSD Parity + Exploration
|
|
2832
2874
|
- Reshaped pipeline to 5-stage canonical shape (brief → explore → plan → design → verify)
|
|
2833
2875
|
- `/gdd:` namespace for all commands
|
|
2834
2876
|
- design-discussant agent + `/gdd:discuss` + `/gdd:list-assumptions`
|
|
2835
2877
|
- 5 specialist mapper agents (token, component-taxonomy, visual-hierarchy, a11y, motion)
|
|
2836
2878
|
- Wave-native parallelism decision engine
|
|
2837
|
-
- Sketch (multi-variant HTML) and Spike (feasibility) explorations
|
|
2879
|
+
- Sketch (multi-variant HTML) and Spike (feasibility) explorations - `/gdd:sketch`, `/gdd:sketch-wrap-up`, `/gdd:spike`, `/gdd:spike-wrap-up`
|
|
2838
2880
|
- Project-local skills layer (`./.claude/skills/design-*-conventions.md`) auto-loaded by explore/plan/design
|
|
2839
2881
|
- Lifecycle commands: `new-project`, `new-cycle`, `complete-cycle`
|
|
2840
2882
|
- Ergonomics: `progress`, `health`, `todo`, `stats`, `next`, `help`
|
|
@@ -2847,5 +2889,5 @@ Cherry-picked from `c11cd7b` on `claude/upbeat-fermi-199627` — the Figma MCP f
|
|
|
2847
2889
|
### Changed
|
|
2848
2890
|
- Plugin version: 1.0.0 → 1.0.1
|
|
2849
2891
|
|
|
2850
|
-
## [1.0.0]
|
|
2892
|
+
## [1.0.0] - 2026-04-17
|
|
2851
2893
|
- Initial release as `get-design-done`.
|