@hegemonart/get-design-done 1.35.1 → 1.35.3

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.
@@ -5,14 +5,14 @@
5
5
  },
6
6
  "metadata": {
7
7
  "description": "Get Design Done — 5-stage agent-orchestrated design pipeline with 9 connections, handoff-first workflow, bidirectional Figma write-back, 22+ specialized agents, queryable knowledge layer (intel store, dependency analysis, learnings extraction), and a self-improvement loop (reflector, frontmatter + budget feedback, global-skills layer). v1.20.0 ships the SDK foundation: gdd-state MCP server (11 typed tools), lockfile-safe STATE.md mutations, event stream, and resilience primitives (jittered-backoff, rate-guard, error-classifier, iteration-budget) for rate-limit + 429 + context-overflow recovery. Full CI/CD pipeline (Node 22/24 × Linux/macOS/Windows) and release automation (auto-tag + GitHub Release + release-time smoke test).",
8
- "version": "1.35.1"
8
+ "version": "1.35.3"
9
9
  },
10
10
  "plugins": [
11
11
  {
12
12
  "name": "get-design-done",
13
13
  "source": "./",
14
14
  "description": "Agent-orchestrated 5-stage design pipeline: Brief → Explore → Plan → Design → Verify. 22+ specialized agents, 9 connections (Figma, Refero, Preview, Storybook, Chromatic, Figma Writer, Graphify, Pinterest, Claude Design), Claude Design handoff, bidirectional Figma write-back, and a queryable intel store (.design/intel/) for dependency and learnings queries. Standalone commands: style, darkmode, compare, figma-write, graphify, handoff, analyze-dependencies, skill-manifest, extract-learnings. Embeds NNG heuristics, WCAG thresholds, typographic systems, motion framework, and anti-pattern catalog. Ships with a full CI/CD pipeline (Node 22/24 × Linux/macOS/Windows) and release automation. Optimization layer (v1.0.4.1, retroactive): gdd-router + gdd-cache-manager skills, PreToolUse budget-enforcer hook, tier-aware agent frontmatter, lazy checker gates, streaming synthesizer, /gdd:warm-cache + /gdd:optimize commands, and cost telemetry at .design/telemetry/costs.jsonl — targeting 50-70% per-task token-cost reduction with no quality-floor regression. v1.20.0 SDK foundation: gdd-state MCP server (11 typed tools), lockfile-safe STATE.md mutations, event stream at .design/telemetry/events.jsonl, resilience primitives (jittered-backoff, rate-guard, error-classifier, iteration-budget) with rate-limit + 429 + context-overflow recovery, and TypeScript toolchain.",
15
- "version": "1.35.1",
15
+ "version": "1.35.3",
16
16
  "author": {
17
17
  "name": "hegemonart"
18
18
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "get-design-done",
3
3
  "short_name": "gdd",
4
- "version": "1.35.1",
4
+ "version": "1.35.3",
5
5
  "description": "Agent-orchestrated 5-stage design pipeline: Brief → Explore → Plan → Design → Verify. 22+ specialized agents, 9 connections (Figma, Refero, Preview, Storybook, Chromatic, Figma Writer, Graphify, Pinterest, Claude Design), handoff-first workflow via Claude Design bundles, bidirectional Figma write-back (annotations, Code Connect), queryable intel store (`.design/intel/`) for O(1) design surface lookups, and self-improvement loop (reflector agent, frontmatter + budget feedback, global-skills layer at `~/.claude/gdd/global-skills/`). Standalone commands: style, darkmode, compare, figma-write, graphify, handoff, analyze-dependencies, skill-manifest, extract-learnings, reflect, apply-reflections. Embeds NNG heuristics, WCAG thresholds, typographic systems, motion framework, and anti-pattern catalog. Ships with a full CI/CD pipeline (Node 22/24 × Linux/macOS/Windows, lint + schema + frontmatter + stale-ref + shellcheck + gitleaks + injection-scan + blocking size-budget) and release automation (auto-tag + GitHub Release + release-time smoke test). Optimization layer (v1.0.4.1, retroactive): gdd-router + gdd-cache-manager skills, PreToolUse budget-enforcer hook, tier-aware agent frontmatter, lazy checker gates, streaming synthesizer, /gdd:warm-cache + /gdd:optimize commands, and cost telemetry at .design/telemetry/costs.jsonl — targeting 50-70% per-task token-cost reduction with no quality-floor regression. v1.20.0 SDK foundation: gdd-state MCP server (11 typed tools), lockfile-safe STATE.md mutations, event stream at .design/telemetry/events.jsonl, resilience primitives (jittered-backoff, rate-guard, error-classifier, iteration-budget) with rate-limit + 429 + context-overflow recovery, and TypeScript toolchain. v1.27.7 ships gdd-mcp (Phase 27.7): 12 read-only MCP tools for sub-3s priming. v1.28.0 (Phase 28): Foundational References Tier 2 — 5 new reference files (color-theory, composition, proportion-systems, i18n, contrast-advanced), 2 verifier i18n probes + 1 explore i18n-readiness probe, 12 additive cross-link insertions across 10 existing references, 2 orthogonal audit-scoring lens-tags (composition_alignment + i18n_readiness).",
6
6
  "author": {
7
7
  "name": "hegemonart",
package/CHANGELOG.md CHANGED
@@ -4,6 +4,50 @@ All notable changes to get-design-done are documented here. Versions follow [sem
4
4
 
5
5
  ---
6
6
 
7
+ ## [1.35.3] - 2026-06-01
8
+
9
+ ### Phase 35.3 — Team Surfaces: Ticket Sync (Linear + Jira) — completes Phase 35
10
+
11
+ 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.
12
+
13
+ ### Added
14
+
15
+ - **`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.
16
+ - **`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.
17
+ - **`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`.
18
+ - **`connections/connections.md`** — a **ticket-sync** capability-matrix column + Linear/Jira rows + ToolSearch probes.
19
+
20
+ ### Notes
21
+
22
+ - **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`.
23
+ - 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.
24
+ - 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.
25
+ - **This completes the parent Phase 35 (Team Surfaces Layer) — PR inline + notifications + ticket sync.**
26
+
27
+ ---
28
+
29
+ ## [1.35.2] - 2026-06-01
30
+
31
+ ### Phase 35.2 — Team Surfaces: Notification Backplane (Slack + Discord)
32
+
33
+ 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).
34
+
35
+ ### Added
36
+
37
+ - **`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).
38
+ - **`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.
39
+ - **`reference/notification-routing.md`** — event→channel routing contract + the redact chokepoint + kill-switches; registered in `reference/registry.json`.
40
+ - **`connections/connections.md`** — a **notify** capability-matrix column + Slack/Discord rows + env-based probes; onboarded 14 → 16.
41
+ - **Privacy guard** — `test/suite/notify-privacy-guard.test.cjs` asserts no `scripts/lib/notify/*.cjs` builds an outbound body without `redact` (SC#5).
42
+
43
+ ### Notes
44
+
45
+ - **No new runtime dependency** (injectable `fetch`); per-channel kill-switch `GDD_DISABLE_SLACK` / `GDD_DISABLE_DISCORD` mirrors Phase 30 / 35.1.
46
+ - 6-manifest lockstep at **v1.35.2** + `OFF_CADENCE_VERSIONS.add('1.35.2')` + the 20 live-pinned `manifests-version.txt` baselines forward-propagated 1.35.1 → 1.35.2.
47
+ - The 31.5 tarball golden was regenerated as a reviewed delta: **+4** (`connections/slack.md`, `connections/discord.md`, `scripts/lib/notify/dispatch.cjs`, `reference/notification-routing.md`), zero removals.
48
+
49
+ ---
50
+
7
51
  ## [1.35.1] - 2026-06-01
8
52
 
9
53
  ### Phase 35.1 — Team Surfaces: PR Inline Integration
package/README.md CHANGED
@@ -138,6 +138,14 @@ The **discover** stage grounds design in real product references, resolving sour
138
138
 
139
139
  After `/gdd:ship` opens the PR, the [`pr-commenter`](agents/pr-commenter.md) agent posts GDD's verify/audit output **inline** on it: selector-specific findings as inline review comments on changed lines, Preview/Chromatic before-after screenshot pairs, and a `gdd/design-review` status check (audit pillar scores + verify pass/fail + a11y) that a teammate's branch protection can require. Outbound bodies are redacted; `GDD_DISABLE_PR_COMMENTER` (or `.design/config.json`) is the kill-switch; it degrades to a noop (prints bodies for manual paste) and **never fails the ship**. Uses `gh` only — **no new runtime dependency**. First sub-phase of the Team Surfaces layer (Slack/Discord notifications + Linear/Jira ticket-sync follow). Contract: [`reference/pr-review-integration.md`](reference/pr-review-integration.md).
140
140
 
141
+ ### Team surfaces — Notification backplane (v1.35.2)
142
+
143
+ Routes pipeline events (verify-fail / audit-pass / ship) to **Slack** + **Discord** via incoming webhooks ([`connections/slack.md`](connections/slack.md) / [`connections/discord.md`](connections/discord.md)). The dispatcher ([`scripts/lib/notify/dispatch.cjs`](scripts/lib/notify/dispatch.cjs)) redacts every body at a single chokepoint, honors per-channel kill-switches (`GDD_DISABLE_SLACK` / `GDD_DISABLE_DISCORD`), and degrades to a noop when a webhook URL is unset — notification never blocks the pipeline. **No new runtime dependency** (injectable `fetch`, no Slack/Discord SDK). Routing: [`reference/notification-routing.md`](reference/notification-routing.md).
144
+
145
+ ### Team surfaces — Ticket sync (v1.35.3)
146
+
147
+ Links a design cycle to a **Linear** or **Jira** ticket and keeps them in sync ([`connections/linear.md`](connections/linear.md) / [`connections/jira.md`](connections/jira.md), MCP-based). [`agents/ticket-sync-agent.md`](agents/ticket-sync-agent.md) surfaces the linked ticket's comments as context when a design file opens (via the decision-injector) and, on `/gdd:complete-cycle`, transitions the ticket + posts a **redacted** summary. Per-system kill-switches (`GDD_DISABLE_LINEAR` / `GDD_DISABLE_JIRA`); degrade-to-noop (never gates the cycle). **No new runtime dependency, no new egress** (MCP tools only). Contract: [`reference/ticket-sync.md`](reference/ticket-sync.md). **Completes the Team Surfaces layer** (PR inline + notifications + ticket sync).
148
+
141
149
  ### Previous releases
142
150
 
143
151
  - **v1.26.0** — Headless Model Resolver (per-runtime tier→model map, `resolved_models` router field, per-runtime price tables, `reasoning-class` runtime-neutral alias).
@@ -0,0 +1,117 @@
1
+ ---
2
+ name: ticket-sync-agent
3
+ description: Bidirectional Linear/Jira ticket sync (Team Surfaces). Reads a linked ticket's comments as cycle context when a .design/**.md opens (via the decision-injector), and on cycle completion transitions the linked ticket + posts a redacted summary. MCP-based (mcp__linear__* / mcp__atlassian__*); outbound bodies redacted; degrades to a noop when the MCP is absent or disabled.
4
+ tools: Read, Bash, Grep, Glob, ToolSearch
5
+ color: green
6
+ default-tier: sonnet
7
+ tier-rationale: "Mechanical sync of an already-linked ticket via MCP tools; no design judgment — sonnet-tier, not an Opus plan."
8
+ size_budget: M
9
+ size_budget_rationale: "Honest tier sized to the ~150-line body (M cap 300). The agent states the read/write/STATE contract — surface ticket comments, maintain <ticket_links>, transition + summarize on completion, redact, kill-switch, degrade-to-noop — and DELEGATES the <ticket_links> schema + per-system MCP-tool detail to reference/ticket-sync.md + connections/{linear,jira}.md (the email-executor→email-design.md precedent)."
10
+ parallel-safe: false
11
+ typical-duration-seconds: 45
12
+ reads-only: false
13
+ writes:
14
+ - ".design/STATE.md"
15
+ - ".design/intel/insights.jsonl"
16
+ ---
17
+
18
+ @reference/shared-preamble.md
19
+
20
+ # ticket-sync-agent
21
+
22
+ ## Role
23
+
24
+ You keep a GDD design cycle and its linked **Linear/Jira ticket** in sync — the team's tracker reflects design progress without anyone re-typing it. You run on two triggers: (1) **read** — when a `.design/**.md` opens (the decision-injector surfaces the linked ticket's comments as cycle context); (2) **write** — on cycle completion (`/gdd:complete-cycle`), you transition the linked ticket's status and post a **redacted** summary. You are a **single-shot, side-surface** agent: you never re-plan, gate the pipeline, spawn other agents, or ask clarifying questions.
25
+
26
+ You are an **agent-prompt**, not a service: you reach Linear via `mcp__linear__*` and Jira via the Atlassian MCP (`mcp__atlassian__*`) — **ToolSearch-resolved**, no `@linear/sdk`/jira SDK, no raw HTTP from GDD scripts (D-02). When the MCP is absent or the ticket-sync kill-switch is set, you **degrade to a noop** — you never fail the cycle.
27
+
28
+ ---
29
+
30
+ ## Required Reading
31
+
32
+ - `.design/STATE.md` — the `<connections>` block (`linear`/`jira` status) + the `<ticket_links>` block (cycle → ticket map).
33
+ - `.design/DESIGN-VERIFICATION.md` + `.design/DESIGN-AUDIT.md` (write path) — the summary source.
34
+ - **`reference/ticket-sync.md`** — the authoritative `<ticket_links>` STATE schema + the read/write flow + the redact + kill-switch contract. You sync against this; you do not re-derive it.
35
+ - `connections/linear.md` / `connections/jira.md` — the per-system probe + MCP-tool detail.
36
+
37
+ ---
38
+
39
+ ## Kill-switch + degrade (check FIRST)
40
+
41
+ 1. **Kill-switch.** `GDD_DISABLE_LINEAR=1` / `GDD_DISABLE_JIRA=1` (env) OR `.design/config.json` `ticket_sync.<service>.enabled === false` → that system is a noop.
42
+ 2. **Availability.** `ToolSearch({ query: "linear" })` / `ToolSearch({ query: "atlassian jira" })` — empty → `not_configured` → noop for that system. Resolve the exact tool names from the result before any call.
43
+ 3. **Link present.** No `<ticket_links>` entry for this cycle → nothing to sync (read path: nothing to surface; write path: noop). Never error.
44
+
45
+ ---
46
+
47
+ ## Read path (decision-injector — `.design/**.md` open)
48
+
49
+ If the cycle has a `<ticket_links>` entry and the system is `available`: fetch the linked ticket's recent comments (via the resolved MCP tool), and surface them as cycle context (a short, **redacted** digest the decision-injector injects). Do not write anything on the read path.
50
+
51
+ ## Write path (cycle completion)
52
+
53
+ On `/gdd:complete-cycle`, for each linked + available system: transition the ticket status per `reference/ticket-sync.md` (e.g., In Review → Done) and post a **redacted** one-paragraph summary (verify pass/fail + top-line audit). On a status-conflict (the ticket already moved): **the tracker wins** (external source of truth) — reconcile `<ticket_links>` and note it; never force-overwrite a human transition.
54
+
55
+ ## Redaction (mandatory, D-04)
56
+
57
+ Every body written to a ticket (status comment, summary) passes through `scripts/lib/redact.cjs`. No raw artifact excerpt reaches Linear/Jira un-redacted.
58
+
59
+ ---
60
+
61
+ ## Execution Principles
62
+
63
+ 1. **Side surface, not a gate.** Read/write are best-effort; every failure → degraded noop; the cycle never blocks on ticket-sync.
64
+ 2. **Redact everything outbound (D-04).** Single chokepoint.
65
+ 3. **Observable outcomes only.** Report what you synced (ticket id, status transition, comments surfaced y/n) — not intentions.
66
+ 4. **`reference/ticket-sync.md` is authoritative** for the `<ticket_links>` schema + flow; apply it, don't re-derive.
67
+ 5. **Decision authority:** in-context → proceed; out-of-context (architectural, contradicts a locked D-XX, a new external API) → Rule 4: STOP, note it, emit the marker.
68
+ 6. **Single scope.** Touch only `.design/STATE.md` `<ticket_links>` + the record line; no repo files.
69
+
70
+ ---
71
+
72
+ ## Deviation Rules
73
+
74
+ - **Rule 1 — Bug:** a wrong ticket id, an un-redacted body, a malformed `<ticket_links>` write → fix inline.
75
+ - **Rule 2 — Missing Critical:** a linked ticket not transitioned on completion, redact not applied, the comment-surface skipped → add it.
76
+ - **Rule 3 — Blocking:** MCP absent / unauth, no link, kill-switch on → **degrade to noop** (not an error); note it.
77
+ - **Rule 4 — Architectural:** switching off MCP to a bundled SDK, adding a network dependency, auto-creating tickets → STOP, note it, emit the marker.
78
+
79
+ **Fix attempt limit:** 3 attempts per MCP call; then degrade + continue.
80
+
81
+ ---
82
+
83
+ ## Output
84
+
85
+ State: the system(s) synced, the ticket id(s), the status transition (write) or comments surfaced (read), and any degraded-noop reason. Do not modify repo files. Terminate with exactly:
86
+
87
+ ```
88
+ ## EXECUTION COMPLETE
89
+ ```
90
+
91
+ ---
92
+
93
+ ## Constraints
94
+
95
+ This agent MUST NOT:
96
+
97
+ - Run `git clean` (any flags).
98
+ - Fail the cycle — every failure degrades to a noop.
99
+ - Add a Linear/Jira SDK or any network dependency — MCP tools only (D-02).
100
+ - Post any body to a ticket without `scripts/lib/redact.cjs` (D-04).
101
+ - Create or triage tickets (sync an already-linked ticket only — issue creation is Phase 30).
102
+ - Force-overwrite a human status transition (the tracker wins on conflict).
103
+ - Modify the plan/context/connection index or any repo file; re-plan; spawn other agents; ask clarifying questions; or `git add .`/`-A`.
104
+
105
+ ---
106
+
107
+ ## Record
108
+
109
+ At run-end, append one JSONL line to `.design/intel/insights.jsonl`:
110
+
111
+ ```json
112
+ {"ts":"<ISO-8601>","agent":"ticket-sync-agent","cycle":"<cycle from STATE.md>","stage":"<stage from STATE.md>","one_line_insight":"<system(s) synced + ticket id(s) + transition/comments-surfaced + any degraded reason>","artifacts_written":[".design/STATE.md"]}
113
+ ```
114
+
115
+ Schema: `reference/schemas/insight-line.schema.json`.
116
+
117
+ ## EXECUTION COMPLETE
@@ -2,7 +2,7 @@
2
2
 
3
3
  This directory contains connection specifications for external tools and MCPs that the get-design-done pipeline integrates with. Each connection has its own spec file. This file is the index.
4
4
 
5
- **Getting started:** run `/gdd:connections` for the interactive onboarding wizard — it probes all 14 connections, recommends setup based on your project type, and walks you through installing each one (auto-run for reversible MCP adds, copy-command for everything else). You can also run `/gdd:connections list` for a read-only status check or `/gdd:connections <name>` to jump to a single connection's setup.
5
+ **Getting started:** run `/gdd:connections` for the interactive onboarding wizard — it probes all 18 connections, recommends setup based on your project type, and walks you through installing each one (auto-run for reversible MCP adds, copy-command for everything else). You can also run `/gdd:connections list` for a read-only status check or `/gdd:connections <name>` to jump to a single connection's setup.
6
6
 
7
7
  ---
8
8
 
@@ -30,6 +30,10 @@ This directory contains connection specifications for external tools and MCPs th
30
30
  | Print-Renderer | Active | [`connections/print-renderer.md`](connections/print-renderer.md) | **Optional** print render-test (Paged.js/headless-Chrome or PDFKit); rendered PDF/page proof for verify; degrade-to-static-validator (validate-print-css.cjs) / code-only when absent (D-03) |
31
31
  | Lazyweb | Active | [`connections/lazyweb.md`](connections/lazyweb.md) | **Free** bearer-token MCP `lazyweb_search` / `lazyweb_health` (ToolSearch-only probe; copy-command setup, no auto-run); discover **Tier 1** — tried first (D-01) |
32
32
  | Mobbin | Active | [`connections/mobbin.md`](connections/mobbin.md) | **Paid** HTTP MCP `claude mcp add mobbin --transport http https://api.mobbin.com/mcp` (ToolSearch-only probe; auto-run-safe, OAuth); discover **Tier 2** — mobile/flow-level (D-01) |
33
+ | Slack | Active | [`connections/slack.md`](connections/slack.md) | **Notify** (Team Surfaces) — `SLACK_WEBHOOK_URL` incoming webhook; routed+redacted pipeline events; `GDD_DISABLE_SLACK` kill-switch; degrade-to-noop |
34
+ | Discord | Active | [`connections/discord.md`](connections/discord.md) | **Notify** (Team Surfaces) — `DISCORD_WEBHOOK_URL` channel webhook; parity with Slack; `GDD_DISABLE_DISCORD` kill-switch; degrade-to-noop |
35
+ | Linear | Active | [`connections/linear.md`](connections/linear.md) | **Ticket-sync** (Team Surfaces) — `mcp__linear__*` (ToolSearch probe); bidirectional cycle↔issue; redact + `GDD_DISABLE_LINEAR` kill-switch; degrade-to-noop |
36
+ | Jira | Active | [`connections/jira.md`](connections/jira.md) | **Ticket-sync** (Team Surfaces) — Atlassian MCP `mcp__atlassian__*` (ToolSearch probe); parity with Linear; `GDD_DISABLE_JIRA` kill-switch; degrade-to-noop |
33
37
 
34
38
  ---
35
39
 
@@ -37,28 +41,32 @@ This directory contains connection specifications for external tools and MCPs th
37
41
 
38
42
  Each cell describes what the connection contributes at that pipeline stage, or `—` if it is not used.
39
43
 
40
- | Connection | scan | discover | plan | design | verify | canvas | generator |
41
- |-----------|------|----------|------|--------|--------|--------|-----------|
42
- | gdd-state | STATE mutation (init position, probe_connections, add_decision) | STATE mutation (add_decision, add_must_have, transition gate) | STATE mutation (locked decisions, must_haves, transition gate) | STATE mutation (update_progress, resolve_blocker, transition gate) | STATE mutation (must_have pass/fail, add_blocker, set_status) | — | — |
43
- | Figma | token augmentation via `get_variable_defs` (CONN-03) | decisions pre-populate via `get_variable_defs` (CONN-04) | — | write tokens/annotations/Code Connect via `use_figma` (FWR-01..04) | — | — | — |
44
- | Refero | — | reference search via `mcp__refero__search`; fallback → awesome-design-md (CONN-05) | — | — | — | — | — |
45
- | Preview | — | — | — | — | screenshots for `? VISUAL` checks (VIS-02) | — | — |
46
- | Storybook | — | component inventory (STB-01) | change-risk via story count (STB-02) | `.stories.tsx` stub (STB-03) | a11y per story (STB-02) | — | — |
47
- | Chromatic | — | — | change-risk scoping (CHR-02) | — | visual delta narration (CHR-01) | — | — |
48
- | Graphify | — | — | dependency scoping (GRF-03) | — | orphan detection (GRF-04) | — | — |
49
- | Pinterest | probe only | visual reference search via `pinterest_search`; fallback → Refero → awesome-design-md | — | — | — | — | — |
50
- | Claude Design | bundle probe → `claude_design: available` | synthesizer handoff mode — parses bundle → D-XX decisions; discussant `--from-handoff` confirms | — (skipped in handoff) | — (skipped in handoff) | Handoff Faithfulness section; bidirectional write-back via figma-writer `implementation-status` mode | — | — |
51
- | paper.design | — | canvas read: `get_selection`, `get_jsx`, `get_computed_styles` | — | paper-writer: annotate/tokenize/roundtrip | `get_screenshot` for `? VISUAL` | ✓ | — |
52
- | pencil.dev | `.pen` discovery | `.pen` as canonical design source | — | pencil-writer: annotate/roundtrip | spec-vs-impl diff | ✓ | — |
53
- | 21st.dev | — | prior-art gate: marketplace search before greenfield build | — | component-generator (21st impl) | — | — | ✓ |
54
- | Magic Patterns | — | — | — | component-generator (magic-patterns impl) | preview_url → `? VISUAL` check | — | ✓ |
55
- | OpenRouter | — | — | — | — | — | — | ✓ (model-router: tier→model resolution, all stages) |
56
- | Xcode Simulator | — | — | — | native iOS code-gen target (swift-executor / emitSwift) | rendered SwiftUI snapshot when simulator available, else degrade to code-only structural audit (D-03) | — | — |
57
- | Android Emulator | — | — | — | native Android code-gen target (compose-executor / emitCompose) | rendered Compose screenshot when emulator available, else degrade to code-only structural audit (D-03) | — | — |
58
- | Litmus | — | — | — | email render-test target (email-executor) | cross-client rendered evidence when Litmus available, else degrade to the static email-HTML validator / code-only (D-03) | — | — |
59
- | Print-Renderer | — | — | — | print render-test target (pdf-executor) | rendered PDF/page evidence when the print-render is available, else degrade to the static print-CSS validator / code-only (D-03) | — | — |
60
- | Lazyweb | — | reference search via `lazyweb_search` (**Tier 1 — free, tried first**; D-01); complements refero/pinterest | — | — | — | — | — |
61
- | Mobbin | — | reference search via mobbin tools (**Tier 2 — paid, mobile/flow-level**; D-01); complements refero/lazyweb | — | — | — | — | — |
44
+ | Connection | scan | discover | plan | design | verify | canvas | generator | notify | ticket-sync |
45
+ |-----------|------|----------|------|--------|--------|--------|-----------|--------|------------|
46
+ | gdd-state | STATE mutation (init position, probe_connections, add_decision) | STATE mutation (add_decision, add_must_have, transition gate) | STATE mutation (locked decisions, must_haves, transition gate) | STATE mutation (update_progress, resolve_blocker, transition gate) | STATE mutation (must_have pass/fail, add_blocker, set_status) | — | — | — | — |
47
+ | Figma | token augmentation via `get_variable_defs` (CONN-03) | decisions pre-populate via `get_variable_defs` (CONN-04) | — | write tokens/annotations/Code Connect via `use_figma` (FWR-01..04) | — | — | — | — | — |
48
+ | Refero | — | reference search via `mcp__refero__search`; fallback → awesome-design-md (CONN-05) | — | — | — | — | — | — | — |
49
+ | Preview | — | — | — | — | screenshots for `? VISUAL` checks (VIS-02) | — | — | — | — |
50
+ | Storybook | — | component inventory (STB-01) | change-risk via story count (STB-02) | `.stories.tsx` stub (STB-03) | a11y per story (STB-02) | — | — | — | — |
51
+ | Chromatic | — | — | change-risk scoping (CHR-02) | — | visual delta narration (CHR-01) | — | — | — | — |
52
+ | Graphify | — | — | dependency scoping (GRF-03) | — | orphan detection (GRF-04) | — | — | — | — |
53
+ | Pinterest | probe only | visual reference search via `pinterest_search`; fallback → Refero → awesome-design-md | — | — | — | — | — | — | — |
54
+ | Claude Design | bundle probe → `claude_design: available` | synthesizer handoff mode — parses bundle → D-XX decisions; discussant `--from-handoff` confirms | — (skipped in handoff) | — (skipped in handoff) | Handoff Faithfulness section; bidirectional write-back via figma-writer `implementation-status` mode | — | — | — | — |
55
+ | paper.design | — | canvas read: `get_selection`, `get_jsx`, `get_computed_styles` | — | paper-writer: annotate/tokenize/roundtrip | `get_screenshot` for `? VISUAL` | ✓ | — | — | — |
56
+ | pencil.dev | `.pen` discovery | `.pen` as canonical design source | — | pencil-writer: annotate/roundtrip | spec-vs-impl diff | ✓ | — | — | — |
57
+ | 21st.dev | — | prior-art gate: marketplace search before greenfield build | — | component-generator (21st impl) | — | — | ✓ | — | — |
58
+ | Magic Patterns | — | — | — | component-generator (magic-patterns impl) | preview_url → `? VISUAL` check | — | ✓ | — | — |
59
+ | OpenRouter | — | — | — | — | — | — | ✓ (model-router: tier→model resolution, all stages) | — | — |
60
+ | Xcode Simulator | — | — | — | native iOS code-gen target (swift-executor / emitSwift) | rendered SwiftUI snapshot when simulator available, else degrade to code-only structural audit (D-03) | — | — | — | — |
61
+ | Android Emulator | — | — | — | native Android code-gen target (compose-executor / emitCompose) | rendered Compose screenshot when emulator available, else degrade to code-only structural audit (D-03) | — | — | — | — |
62
+ | Litmus | — | — | — | email render-test target (email-executor) | cross-client rendered evidence when Litmus available, else degrade to the static email-HTML validator / code-only (D-03) | — | — | — | — |
63
+ | Print-Renderer | — | — | — | print render-test target (pdf-executor) | rendered PDF/page evidence when the print-render is available, else degrade to the static print-CSS validator / code-only (D-03) | — | — | — | — |
64
+ | Lazyweb | — | reference search via `lazyweb_search` (**Tier 1 — free, tried first**; D-01); complements refero/pinterest | — | — | — | — | — | — | — |
65
+ | Mobbin | — | reference search via mobbin tools (**Tier 2 — paid, mobile/flow-level**; D-01); complements refero/lazyweb | — | — | — | — | — | — | — |
66
+ | Slack | — | — | — | — | — | — | — | verify-fail/audit-pass/ship → Slack webhook (routed, redacted, degrade-to-noop; D-04/D-05) | — |
67
+ | Discord | — | — | — | — | — | — | — | parity with Slack — events → Discord webhook (routed, redacted, degrade-to-noop) | — |
68
+ | Linear | — | — | — | — | — | — | — | — | bidirectional cycle↔issue: read comments (decision-injector) + transition + redacted summary on completion (D-03) |
69
+ | Jira | — | — | — | — | — | — | — | — | parity with Linear — Atlassian MCP; transition + redacted summary on completion |
62
70
 
63
71
  **Column definitions:**
64
72
 
@@ -164,6 +172,38 @@ Step E1 — ToolSearch check:
164
172
  Write mobbin status to STATE.md <connections>.
165
173
  ```
166
174
 
175
+ **Linear probe (ToolSearch-only — ticket-sync):**
176
+
177
+ ```
178
+ Step H1 — ToolSearch({ query: "linear", max_results: 5 })
179
+ → Empty / GDD_DISABLE_LINEAR=1 → linear: not_configured
180
+ → Non-empty → linear: available
181
+ ```
182
+
183
+ **Jira probe (ToolSearch-only — ticket-sync, Atlassian MCP):**
184
+
185
+ ```
186
+ Step I1 — ToolSearch({ query: "atlassian jira", max_results: 5 })
187
+ → Empty / GDD_DISABLE_JIRA=1 → jira: not_configured
188
+ → Non-empty → jira: available
189
+ ```
190
+
191
+ **Slack probe (env-based, no MCP):**
192
+
193
+ ```
194
+ Step F1 — Bash: test -n "$SLACK_WEBHOOK_URL"
195
+ → empty / GDD_DISABLE_SLACK=1 → slack: not_configured
196
+ → non-empty → slack: available
197
+ ```
198
+
199
+ **Discord probe (env-based, no MCP):**
200
+
201
+ ```
202
+ Step G1 — Bash: test -n "$DISCORD_WEBHOOK_URL"
203
+ → empty / GDD_DISABLE_DISCORD=1 → discord: not_configured
204
+ → non-empty → discord: available
205
+ ```
206
+
167
207
  Note: Lazyweb + Mobbin probes are ToolSearch-only (no live call). The discover stage resolves reference sources **cost-aware (D-01): Lazyweb (free) → Mobbin / Refero (paid, whichever is bound + subscribed) → Pinterest → awesome-design-md → WebFetch.**
168
208
 
169
209
  ---
@@ -0,0 +1,77 @@
1
+ # Discord — Connection Specification
2
+
3
+ This file is the connection specification for Discord within the get-design-done pipeline. It lives in `connections/` alongside other connection specs. See `connections/connections.md` for the full connection index and capability matrix (the discord row is added at the 35.2 closeout).
4
+
5
+ ---
6
+
7
+ Discord is a **notification surface** for the Team Surfaces layer — the parity of `connections/slack.md`. GDD routes pipeline events (verify-fail, audit-pass, ship) to a Discord channel via a **channel Webhook**. Outbound only; every body is redacted; delivery degrades to a noop when unconfigured or disabled. The contract is identical to Slack — only the webhook host and the payload field (`content` vs Slack's `text`) differ.
8
+
9
+ ---
10
+
11
+ ## Setup
12
+
13
+ **Prerequisites:** a Discord **channel Webhook** URL (Channel → Edit → Integrations → Webhooks → New Webhook → Copy Webhook URL → `https://discord.com/api/webhooks/...`).
14
+
15
+ **Token (env, never committed):**
16
+
17
+ ```bash
18
+ export DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/XXX/YYY"
19
+ ```
20
+
21
+ The webhook URL is a credential — never commit it, never log it, rotate if exposed. GDD reads it from env only.
22
+
23
+ **Verification:**
24
+
25
+ ```bash
26
+ test -n "${DISCORD_WEBHOOK_URL}" && echo "discord webhook present" || echo "discord webhook absent"
27
+ ```
28
+
29
+ ---
30
+
31
+ ## What GDD sends
32
+
33
+ The notify dispatcher (`scripts/lib/notify/dispatch.cjs`) posts a routed, **redacted** message for pipeline events, using the same routing as Slack (`reference/notification-routing.md`, overridable in `.design/config.json#notifications`): `verify_fail` → critical, `audit_pass`/`ship` → digest.
34
+
35
+ Discord payload shape: `{ "content": "<redacted summary>" }` (Discord's field is `content`, not Slack's `text`). No embeds in v1.
36
+
37
+ ## Redaction (mandatory)
38
+
39
+ Every body passes through `scripts/lib/redact.cjs` before the POST (the single egress chokepoint; asserted by `test/suite/notify-privacy-guard.test.cjs`).
40
+
41
+ ## Kill-switch
42
+
43
+ Noop when **either** `GDD_DISABLE_DISCORD=1` (env) **or** `.design/config.json` `"notifications": { "discord": { "enabled": false } }`. `gsd-health` surfaces it.
44
+
45
+ ## Availability probe (env-based, no MCP)
46
+
47
+ ```bash
48
+ test -n "${DISCORD_WEBHOOK_URL}"
49
+ ```
50
+
51
+ - Non-empty AND not disabled → `discord: available`
52
+ - Empty → `discord: not_configured`
53
+ - Present but a POST errored → `discord: unavailable`
54
+
55
+ Write `discord` status to `.design/STATE.md` `<connections>`.
56
+
57
+ ## Degrade-to-noop
58
+
59
+ Missing `DISCORD_WEBHOOK_URL`, kill-switch on, or a POST failure → skipped (no error); the pipeline never blocks (D-03). The dispatcher returns `{ channel: "discord", status: "skipped"|"sent"|"error" }` and never throws.
60
+
61
+ ## STATE.md integration
62
+
63
+ ```xml
64
+ <connections>
65
+ discord: not_configured
66
+ </connections>
67
+ ```
68
+
69
+ | Value | Meaning |
70
+ |---|---|
71
+ | `available` | `DISCORD_WEBHOOK_URL` set AND not disabled |
72
+ | `unavailable` | URL present but a send errored |
73
+ | `not_configured` | no `DISCORD_WEBHOOK_URL` |
74
+
75
+ ## Outbound + dispatcher
76
+
77
+ The POST is `scripts/lib/notify/dispatch.cjs` (injectable `fetchImpl` default global `fetch`; **no `discord.js` dependency**), allowlisted under the Phase-33.5 outbound gate (`scripts/lib/notify/**`). Slack is the sibling surface (`connections/slack.md`) with the identical contract.
@@ -0,0 +1,62 @@
1
+ # Jira — Connection Specification
2
+
3
+ This file is the connection specification for Jira within the get-design-done pipeline — the parity of `connections/linear.md`. See `connections/connections.md` for the index + capability matrix (the jira row is added at the 35.3 closeout).
4
+
5
+ ---
6
+
7
+ Jira is a **bidirectional ticket-sync surface** (Team Surfaces layer) — identical contract to Linear, only the MCP server differs. GDD links a design cycle to a Jira issue, **reads** the issue's comments as context when a `.design/**.md` opens, and **writes** a redacted status transition + summary on cycle completion. MCP-based (the **Atlassian MCP**, `mcp__atlassian__*`) — GDD calls MCP tools, not raw HTTP; no new outbound egress.
8
+
9
+ ---
10
+
11
+ ## Setup
12
+
13
+ **Prerequisites:** the Atlassian MCP server connected to your Jira site (OAuth on first use). No GDD-held token.
14
+
15
+ ```
16
+ # register the Atlassian MCP per Atlassian's MCP docs, then restart the session
17
+ ```
18
+
19
+ (Alternative for non-MCP runtimes: `JIRA_BASE_URL` + `JIRA_API_TOKEN` env — documented for parity; GDD ships MCP-based.)
20
+
21
+ **Verification:**
22
+
23
+ ```
24
+ ToolSearch({ query: "atlassian jira", max_results: 10 })
25
+ ```
26
+
27
+ Expect Atlassian/Jira issue/comment tools (`mcp__atlassian__*`). If empty → `jira: not_configured`. Verify exact tool names via ToolSearch; do not hardcode.
28
+
29
+ ---
30
+
31
+ ## What GDD does (bidirectional, via `agents/ticket-sync-agent.md`)
32
+
33
+ - **READ (decision-injector):** on `.design/**.md` open, the linked Jira issue's recent comments are surfaced as cycle context.
34
+ - **WRITE (cycle completion):** on `/gdd:complete-cycle`, the agent transitions the linked issue (e.g., In Review → Done) and posts a **redacted** summary. The link map lives in STATE `<ticket_links>` (`jira:PROJ-45`).
35
+
36
+ See `reference/ticket-sync.md` for the `<ticket_links>` schema + the read/write contract.
37
+
38
+ ## Redaction + kill-switch + degrade
39
+
40
+ - Every body written to Jira passes through `scripts/lib/redact.cjs`.
41
+ - Kill-switch: `GDD_DISABLE_JIRA=1` (env) or `.design/config.json` `"ticket_sync": { "jira": { "enabled": false } }`. `gsd-health` surfaces it.
42
+ - **Degrade-to-noop:** `jira: not_configured` / disabled / an MCP error → skip (no error); the pipeline never blocks (D-04).
43
+
44
+ ## STATE.md integration + probe
45
+
46
+ ```xml
47
+ <connections>
48
+ jira: not_configured
49
+ </connections>
50
+ ```
51
+
52
+ | Value | Meaning |
53
+ |---|---|
54
+ | `available` | ToolSearch returned `mcp__atlassian__*` tools AND not disabled |
55
+ | `unavailable` | tools present but a call errored |
56
+ | `not_configured` | ToolSearch empty — Atlassian MCP not registered |
57
+
58
+ **Probe (ToolSearch-only):** `ToolSearch({ query: "atlassian jira", max_results: 5 })` → empty → `not_configured`, non-empty → `available`.
59
+
60
+ ## Anti-pattern
61
+
62
+ Don't auto-transition to an undefined workflow state; don't post un-redacted excerpts; don't create/triage issues (Phase 30). Conflict resolution: when the Jira status and the GDD `<ticket_links>` state diverge, **Jira wins** (external source of truth) and GDD reconciles on next sync with an explicit notice (ROADMAP open-Q default). Linear is the sibling surface (`connections/linear.md`).
@@ -0,0 +1,62 @@
1
+ # Linear — Connection Specification
2
+
3
+ This file is the connection specification for Linear within the get-design-done pipeline. See `connections/connections.md` for the full index + capability matrix (the linear row is added at the 35.3 closeout).
4
+
5
+ ---
6
+
7
+ Linear is a **bidirectional ticket-sync surface** (Team Surfaces layer). GDD links a design cycle to a Linear issue, **reads** the issue's comments as context when a `.design/**.md` file opens, and **writes** a redacted status update + summary on cycle completion. MCP-based (`mcp__linear__*`) — GDD calls MCP tools, not raw HTTP, so there is no new outbound egress.
8
+
9
+ ---
10
+
11
+ ## Setup
12
+
13
+ **Prerequisites:** the Linear MCP server connected to your workspace (OAuth on first use). No GDD-held token.
14
+
15
+ ```
16
+ # register the Linear MCP per Linear's MCP docs, then restart the session
17
+ ```
18
+
19
+ (Alternative for non-MCP runtimes: a `LINEAR_API_KEY` env — documented for parity, but GDD ships MCP-based.)
20
+
21
+ **Verification:**
22
+
23
+ ```
24
+ ToolSearch({ query: "linear", max_results: 10 })
25
+ ```
26
+
27
+ Expect Linear issue/comment tools (`mcp__linear__*`). If empty → `linear: not_configured`. Verify exact tool names via ToolSearch before calling; do not hardcode.
28
+
29
+ ---
30
+
31
+ ## What GDD does (bidirectional, via `agents/ticket-sync-agent.md`)
32
+
33
+ - **READ (decision-injector):** when a `.design/**.md` opens, the linked Linear issue's recent comments are surfaced as cycle context (so a decision made in the ticket reaches the pipeline).
34
+ - **WRITE (cycle completion):** on `/gdd:complete-cycle`, the agent updates the linked issue's status (e.g., In Review → Done) and posts a **redacted** one-paragraph summary (verify result + top-line audit). The link map lives in STATE `<ticket_links>`.
35
+
36
+ See `reference/ticket-sync.md` for the `<ticket_links>` schema + the read/write contract.
37
+
38
+ ## Redaction + kill-switch + degrade
39
+
40
+ - Every body written to Linear passes through `scripts/lib/redact.cjs` (the single chokepoint).
41
+ - Kill-switch: `GDD_DISABLE_LINEAR=1` (env) or `.design/config.json` `"ticket_sync": { "linear": { "enabled": false } }`. `gsd-health` surfaces it.
42
+ - **Degrade-to-noop:** `linear: not_configured` / disabled / an MCP error → skip ticket-sync (no error); the pipeline never blocks on it (D-04).
43
+
44
+ ## STATE.md integration + probe
45
+
46
+ ```xml
47
+ <connections>
48
+ linear: not_configured
49
+ </connections>
50
+ ```
51
+
52
+ | Value | Meaning |
53
+ |---|---|
54
+ | `available` | ToolSearch returned `mcp__linear__*` tools AND not disabled |
55
+ | `unavailable` | tools present but a call errored (auth/rate) |
56
+ | `not_configured` | ToolSearch empty — Linear MCP not registered |
57
+
58
+ **Probe (ToolSearch-only — no token cost):** `ToolSearch({ query: "linear", max_results: 5 })` → empty → `not_configured`, non-empty → `available`. Which stages probe: cycle entry (decision-injector read) + complete-cycle (status write).
59
+
60
+ ## Anti-pattern
61
+
62
+ Don't auto-transition a ticket to a state the team didn't define; don't post raw artifact excerpts (always redacted); don't create/triage issues (Phase 30 territory — this is sync of an already-linked ticket). Jira is the parity surface (`connections/jira.md`); the contract is identical.
@@ -0,0 +1,83 @@
1
+ # Slack — Connection Specification
2
+
3
+ This file is the connection specification for Slack within the get-design-done pipeline. It lives in `connections/` alongside other connection specs. See `connections/connections.md` for the full connection index and capability matrix (the slack row is added at the 35.2 closeout).
4
+
5
+ ---
6
+
7
+ Slack is a **notification surface** for the Team Surfaces layer. GDD routes pipeline events (verify-fail, audit-pass, ship) to a Slack channel via an **Incoming Webhook**, so a non-GDD-running teammate gets alerted where they already watch. Outbound only; every message body is redacted; delivery degrades to a noop when unconfigured or disabled.
8
+
9
+ ---
10
+
11
+ ## Setup
12
+
13
+ **Prerequisites:** a Slack **Incoming Webhook** URL (Slack app → Incoming Webhooks → Add New Webhook to Workspace → pick a channel → copy the `https://hooks.slack.com/services/...` URL).
14
+
15
+ **Token (env, never committed):**
16
+
17
+ ```bash
18
+ export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/XXX/YYY/ZZZ"
19
+ ```
20
+
21
+ The webhook URL is a credential (anyone with it can post to your channel) — never commit it (not in source, not in `.env`, not in config), never log it, rotate if exposed. GDD reads it from env only.
22
+
23
+ **Verification:**
24
+
25
+ ```bash
26
+ test -n "${SLACK_WEBHOOK_URL}" && echo "slack webhook present" || echo "slack webhook absent"
27
+ ```
28
+
29
+ ---
30
+
31
+ ## What GDD sends
32
+
33
+ The notify dispatcher (`scripts/lib/notify/dispatch.cjs`) posts a routed, **redacted** message for pipeline events. Default routing (`reference/notification-routing.md`, overridable in `.design/config.json#notifications`):
34
+
35
+ | Event | Default behavior |
36
+ |---|---|
37
+ | `verify_fail` | post to the critical channel (the configured Slack webhook) |
38
+ | `audit_pass` | post to the digest channel |
39
+ | `ship` | post to the digest channel (PR URL + top-line audit) |
40
+
41
+ Slack payload shape: `{ "text": "<redacted summary>" }`. No blocks/attachments in v1.
42
+
43
+ ## Redaction (mandatory)
44
+
45
+ Every message body passes through `scripts/lib/redact.cjs` before the POST — secrets/API keys/tokens are stripped (11 patterns). The dispatcher is the single egress chokepoint; no notify path bypasses redact (asserted by `test/suite/notify-privacy-guard.test.cjs`).
46
+
47
+ ## Kill-switch
48
+
49
+ Slack delivery is a noop when **either** `GDD_DISABLE_SLACK=1` (env) **or** `.design/config.json` has `"notifications": { "slack": { "enabled": false } }`. `gsd-health` surfaces the state (mirrors Phase 30 / 35.1).
50
+
51
+ ## Availability probe (env-based, no MCP)
52
+
53
+ ```bash
54
+ test -n "${SLACK_WEBHOOK_URL}"
55
+ ```
56
+
57
+ - Non-empty AND not disabled → `slack: available`
58
+ - Empty → `slack: not_configured`
59
+ - Present but a POST errored at send time → `slack: unavailable`
60
+
61
+ Write `slack` status to `.design/STATE.md` `<connections>` after probing.
62
+
63
+ ## Degrade-to-noop
64
+
65
+ Missing `SLACK_WEBHOOK_URL`, kill-switch on, or a POST failure → that channel is skipped (no error); the pipeline never blocks on notification delivery (D-03). The dispatcher returns `{ channel: "slack", status: "skipped"|"sent"|"error" }` and never throws.
66
+
67
+ ## STATE.md integration
68
+
69
+ ```xml
70
+ <connections>
71
+ slack: not_configured
72
+ </connections>
73
+ ```
74
+
75
+ | Value | Meaning |
76
+ |---|---|
77
+ | `available` | `SLACK_WEBHOOK_URL` set AND not disabled |
78
+ | `unavailable` | URL present but a send errored |
79
+ | `not_configured` | no `SLACK_WEBHOOK_URL` |
80
+
81
+ ## Outbound + dispatcher
82
+
83
+ The actual POST is `scripts/lib/notify/dispatch.cjs` (POSTs via an injectable `fetchImpl`, defaulting to global `fetch`; **no `@slack/*` dependency**). It is allowlisted under the Phase-33.5 outbound gate (`scripts/security/outbound-allowlist.json` → `scripts/lib/notify/**`). Discord is the parity surface (`connections/discord.md`); the contract is identical, only the payload field differs (`text` vs `content`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hegemonart/get-design-done",
3
- "version": "1.35.1",
3
+ "version": "1.35.3",
4
4
  "description": "A design-quality pipeline for AI coding agents: brief, plan, implement, and verify UI work against your design system.",
5
5
  "author": "Hegemon",
6
6
  "homepage": "https://github.com/hegemonart/get-design-done",
@@ -0,0 +1,54 @@
1
+ # Notification Routing — the event→channel contract for `scripts/lib/notify/dispatch.cjs`
2
+
3
+ How GDD routes pipeline events to the Team-Surfaces notification channels (Slack + Discord), redacts every outbound body, and degrades to a noop when a channel is unconfigured or disabled. Consumed by `scripts/lib/notify/dispatch.cjs`; the channel specs are `connections/slack.md` + `connections/discord.md`.
4
+
5
+ ---
6
+
7
+ ## Default routing
8
+
9
+ Event type → channels (overridable via `.design/config.json#notifications.routing`):
10
+
11
+ | Event | Meaning | Default channels |
12
+ |---|---|---|
13
+ | `verify_fail` | a verify must-have failed | slack + discord (the "critical" surface) |
14
+ | `audit_pass` | an audit cleared the quality floor | slack + discord (the "digest" surface) |
15
+ | `ship` | a PR was created (`/gdd:ship`) | slack + discord (digest — PR URL + top-line audit) |
16
+
17
+ A user narrows or splits this in `.design/config.json`:
18
+
19
+ ```json
20
+ {
21
+ "notifications": {
22
+ "routing": { "verify_fail": ["slack"], "audit_pass": ["discord"], "ship": ["slack", "discord"] },
23
+ "slack": { "enabled": true },
24
+ "discord": { "enabled": false }
25
+ }
26
+ }
27
+ ```
28
+
29
+ Unlisted event types route to nothing (no notification). Unknown channels are skipped.
30
+
31
+ ## Redaction (mandatory — the single chokepoint)
32
+
33
+ `dispatch(event)` builds the outbound body as `redact(summary + "\n" + details)` using `scripts/lib/redact.cjs` (11 secret/token patterns, Phase 22 + 33.5) **before** any POST. There is exactly one egress chokepoint; no notify path constructs an un-redacted outbound body. The static test `test/suite/notify-privacy-guard.test.cjs` asserts every `scripts/lib/notify/*.cjs` references `redact`.
34
+
35
+ ## Kill-switches (per channel)
36
+
37
+ A channel is a noop when **either**:
38
+
39
+ - env `GDD_DISABLE_SLACK=1` / `GDD_DISABLE_DISCORD=1`, or
40
+ - `.design/config.json` `notifications.<channel>.enabled === false`.
41
+
42
+ `gsd-health` surfaces each channel's enabled/disabled state (mirrors the Phase 30 + 35.1 kill-switch pattern).
43
+
44
+ ## Outbound transport (no SDK, injectable, allowlisted)
45
+
46
+ `dispatch(event, { fetchImpl, config, env })` POSTs `{ <field>: body }` to the channel's webhook URL (Slack `text`, Discord `content`) via an **injectable `fetchImpl`** (defaults to global `fetch`) — **no `@slack/*` / `discord.js` dependency** (D-02). Tests inject a stub fetchImpl (no live network — D-08). The module is allowlisted under the Phase-33.5 outbound gate (`scripts/security/outbound-allowlist.json` → `scripts/lib/notify/**`) with a threat-model egress entry.
47
+
48
+ ## Degrade-to-noop (never blocks the pipeline)
49
+
50
+ For each routed channel, a missing webhook URL → `skipped (not_configured)`; kill-switch on → `skipped (disabled)`; a POST failure → `error` (logged, not thrown). `dispatch` returns `Array<{ channel, status, reason? }>` and **never throws** — notification delivery is a best-effort side surface, never a pipeline gate (D-03).
51
+
52
+ ## Out of scope (per Phase 35 split)
53
+
54
+ Linear/Jira ticket-sync (Phase 35.3); PR-inline (35.1); `pseudonymize.cjs` identity-masking (Phase 30 — wired when available; redact for secrets is the must here); Microsoft Teams; rich blocks/embeds (plain text in v1); scheduled digests (event-driven only).
@@ -916,6 +916,20 @@
916
916
  "type": "heuristic",
917
917
  "phase": 35.1,
918
918
  "description": "Phase 35.1 PR-inline contract — the gh-CLI shapes agents/pr-commenter.md posts against: inline review comments (gh api pulls/{n}/comments with path+line), the summary review (event=COMMENT), the gdd/design-review check-run (gh api check-runs with name/head_sha/conclusion/output.summary carrying audit pillar scores + verify pass/fail + a11y result), Preview/Chromatic screenshot-pair attachment (degrade-to-text), mandatory scripts/lib/redact.cjs on every outbound body, the GDD_DISABLE_PR_COMMENTER kill-switch, and the consent-driven branch-protection setup (scripts/apply-branch-protection.sh; GDD registers the check, never force-edits protection)."
919
+ },
920
+ {
921
+ "name": "notification-routing",
922
+ "path": "reference/notification-routing.md",
923
+ "type": "heuristic",
924
+ "phase": 35.2,
925
+ "description": "Phase 35.2 notification-backplane routing contract — event→channel routing (verify_fail/audit_pass/ship → slack/discord, overridable via .design/config.json#notifications.routing), the mandatory scripts/lib/redact.cjs chokepoint on every outbound body, per-channel kill-switches (GDD_DISABLE_SLACK/GDD_DISABLE_DISCORD), and the injectable-fetchImpl + degrade-to-noop transport consumed by scripts/lib/notify/dispatch.cjs (allowlisted under the 33.5 outbound gate)."
926
+ },
927
+ {
928
+ "name": "ticket-sync",
929
+ "path": "reference/ticket-sync.md",
930
+ "type": "heuristic",
931
+ "phase": 35.3,
932
+ "description": "Phase 35.3 ticket-sync contract — the STATE <ticket_links> cycle→ticket map, the bidirectional read (decision-injector surfaces linked-ticket comments on .design open) + write (transition + redacted summary on cycle completion) flow via MCP tools (mcp__linear__* / mcp__atlassian__*; no SDK, no raw HTTP), the default status-transition map, tracker-wins conflict resolution, the mandatory scripts/lib/redact.cjs chokepoint, and the GDD_DISABLE_LINEAR/GDD_DISABLE_JIRA kill-switches. Consumed by agents/ticket-sync-agent.md."
919
933
  }
920
934
  ]
921
935
  }
@@ -0,0 +1,59 @@
1
+ # Ticket Sync — the `<ticket_links>` contract for `agents/ticket-sync-agent.md`
2
+
3
+ How GDD links a design cycle to a Linear/Jira ticket, reads its comments as context, and writes a redacted status update on completion — all via MCP tools (no raw HTTP, no bundled SDK). The per-system probe + tool detail live in `connections/linear.md` + `connections/jira.md`.
4
+
5
+ ---
6
+
7
+ ## The `<ticket_links>` STATE block
8
+
9
+ GDD records the cycle→ticket map in `.design/STATE.md`:
10
+
11
+ ```xml
12
+ <ticket_links>
13
+ cycle: <cycle-id>
14
+ linear: ABC-123
15
+ jira: PROJ-45
16
+ </ticket_links>
17
+ ```
18
+
19
+ - A cycle may link a Linear issue, a Jira issue, both, or neither.
20
+ - The link is set by the user (or a future `/gdd:link-ticket`); the agent **reads** it, never invents a link.
21
+ - No link for the current cycle → the agent is a noop on both paths.
22
+
23
+ ## Read path (decision-injector — `.design/**.md` open)
24
+
25
+ When a design artifact opens and the cycle has a link to an `available` system, the agent fetches the linked ticket's recent comments (via the resolved `mcp__linear__*` / `mcp__atlassian__*` tool) and surfaces a short **redacted** digest as cycle context — so a decision made in the ticket reaches the pipeline. Read-only; nothing is written on this path.
26
+
27
+ ## Write path (`/gdd:complete-cycle`)
28
+
29
+ On cycle completion, for each linked + available system:
30
+
31
+ 1. **Transition** the ticket status — the default map (overridable in `.design/config.json#ticket_sync.transitions`):
32
+
33
+ | Cycle outcome | Ticket transition |
34
+ |---|---|
35
+ | verify passed | → Done / Closed |
36
+ | verify failed | → In Progress (reopened) |
37
+ | shipped (PR open) | → In Review |
38
+
39
+ 2. **Post** a **redacted** one-paragraph summary (verify pass/fail + top-line audit + PR URL if present) via the ticket's comment tool.
40
+
41
+ ## Conflict resolution (tracker wins)
42
+
43
+ If the ticket's current status diverges from what `<ticket_links>` last recorded (a human moved it), **the tracker is the source of truth** — the agent reconciles `<ticket_links>` to the tracker's state and posts an explicit "GDD observed an external status change; reconciling" note, rather than force-overwriting the human transition. (ROADMAP Phase-35 open-Q default.)
44
+
45
+ ## Redaction (mandatory)
46
+
47
+ Every body written to a ticket — the status comment, the summary — passes through `scripts/lib/redact.cjs` (11 secret/token patterns) before the MCP call. The agent is the single egress chokepoint; no raw artifact excerpt reaches Linear/Jira.
48
+
49
+ ## Kill-switches (per system)
50
+
51
+ A system is a noop when **either** `GDD_DISABLE_LINEAR=1` / `GDD_DISABLE_JIRA=1` (env) **or** `.design/config.json` `ticket_sync.<service>.enabled === false`. `gsd-health` surfaces each system's state (mirrors Phase 30 / 35.1 / 35.2).
52
+
53
+ ## Degrade-to-noop (never blocks the cycle)
54
+
55
+ `not_configured` (MCP absent) / disabled / no link / an MCP error → the agent skips that system and **never throws** into the pipeline — ticket-sync is a best-effort side surface, never a cycle gate (D-04).
56
+
57
+ ## Out of scope (per Phase 35 split)
58
+
59
+ PR-inline (35.1); Slack/Discord notifications (35.2); issue **creation**/triage (Phase 30 territory — this is sync of an already-linked ticket); a bundled Linear/Jira SDK (MCP-based, D-02); `pseudonymize.cjs` (Phase 30 — redact for secrets is the must here); Microsoft Teams / Asana.
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+ /**
3
+ * scripts/lib/notify/dispatch.cjs — Phase 35.2 notification backplane dispatcher.
4
+ *
5
+ * Routes a GDD pipeline event to Slack/Discord incoming webhooks. Every outbound body
6
+ * is REDACTED (scripts/lib/redact.cjs) — the single egress chokepoint. Delivery is
7
+ * degrade-to-noop: a missing webhook URL, a per-channel kill-switch, or a POST failure
8
+ * skips that channel and NEVER throws into the pipeline (D-03/D-04).
9
+ *
10
+ * Outbound is via an INJECTABLE fetchImpl (defaults to global fetch) — no @slack/discord
11
+ * SDK dependency (D-02); tests pass a stub fetchImpl (no live network — D-08). Allowlisted
12
+ * under the Phase-33.5 outbound gate (scripts/security/outbound-allowlist.json).
13
+ */
14
+
15
+ const { redact } = require('../redact.cjs');
16
+
17
+ // Default event → channel routing (overridable via .design/config.json#notifications.routing).
18
+ const DEFAULT_ROUTING = {
19
+ verify_fail: ['slack', 'discord'], // critical
20
+ audit_pass: ['slack', 'discord'], // digest
21
+ ship: ['slack', 'discord'], // digest
22
+ };
23
+
24
+ const CHANNELS = {
25
+ slack: { urlEnv: 'SLACK_WEBHOOK_URL', disableEnv: 'GDD_DISABLE_SLACK', field: 'text' },
26
+ discord: { urlEnv: 'DISCORD_WEBHOOK_URL', disableEnv: 'GDD_DISABLE_DISCORD', field: 'content' },
27
+ };
28
+
29
+ function isDisabled(channel, config, env) {
30
+ if (env[CHANNELS[channel].disableEnv] === '1') return true;
31
+ const c = config && config.notifications && config.notifications[channel];
32
+ return !!(c && c.enabled === false);
33
+ }
34
+
35
+ function channelsFor(eventType, config) {
36
+ const routing = (config && config.notifications && config.notifications.routing) || DEFAULT_ROUTING;
37
+ return routing[eventType] || [];
38
+ }
39
+
40
+ /**
41
+ * dispatch(event, opts) → Promise<Array<{channel, status, reason?}>>
42
+ * event: { type: 'verify_fail'|'audit_pass'|'ship'|string, summary: string, details?: string }
43
+ * opts: { fetchImpl?, config?, env? } (all injectable for hermetic tests)
44
+ * Never throws — every failure mode becomes a {status:'skipped'|'error'} entry.
45
+ */
46
+ async function dispatch(event, opts = {}) {
47
+ const env = opts.env || process.env;
48
+ const config = opts.config || {};
49
+ const fetchImpl = opts.fetchImpl || (typeof fetch === 'function' ? fetch : null);
50
+ const results = [];
51
+ if (!event || !event.type) return results;
52
+
53
+ // Single redaction chokepoint: the outbound body is always redacted.
54
+ const raw = [event.summary, event.details].filter(Boolean).join('\n');
55
+ const body = redact(String(raw));
56
+
57
+ for (const channel of channelsFor(event.type, config)) {
58
+ const meta = CHANNELS[channel];
59
+ if (!meta) { results.push({ channel, status: 'skipped', reason: 'unknown-channel' }); continue; }
60
+ if (isDisabled(channel, config, env)) { results.push({ channel, status: 'skipped', reason: 'disabled' }); continue; }
61
+ const url = env[meta.urlEnv];
62
+ if (!url) { results.push({ channel, status: 'skipped', reason: 'not_configured' }); continue; }
63
+ if (!fetchImpl) { results.push({ channel, status: 'skipped', reason: 'no-fetch' }); continue; }
64
+ try {
65
+ const res = await fetchImpl(url, {
66
+ method: 'POST',
67
+ headers: { 'content-type': 'application/json' },
68
+ body: JSON.stringify({ [meta.field]: body }),
69
+ });
70
+ const ok = res && (res.ok === true || (typeof res.status === 'number' && res.status >= 200 && res.status < 300));
71
+ results.push({ channel, status: ok ? 'sent' : 'error', reason: ok ? undefined : `http-${res && res.status}` });
72
+ } catch (err) {
73
+ // Degrade-to-noop: a delivery failure never propagates into the pipeline.
74
+ results.push({ channel, status: 'error', reason: (err && err.message) || 'fetch-failed' });
75
+ }
76
+ }
77
+ return results;
78
+ }
79
+
80
+ module.exports = { dispatch, DEFAULT_ROUTING, CHANNELS };
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: gdd-connections
3
- description: "Interactive onboarding wizard for the 14 external integrations the pipeline supports — probes all (`figma`, `refero`, `preview`, `storybook`, `chromatic`, `graphify`, `pinterest`, `claude-design`, `paper-design`, `pencil-dev`, `21st-dev`, `magic-patterns`, `lazyweb`, `mobbin`), recommends based on project type, walks the user through setup (auto-run MCP install or copy-command fallback), writes results to `STATE.md <connections>`. Use after `/gdd:new-project` or whenever the user wants to add, inspect, or skip a connection. Re-runnable anytime."
3
+ description: "Interactive onboarding wizard for the 18 external integrations the pipeline supports — probes all (`figma`, `refero`, `preview`, `storybook`, `chromatic`, `graphify`, `pinterest`, `claude-design`, `paper-design`, `pencil-dev`, `21st-dev`, `magic-patterns`, `lazyweb`, `mobbin`, `slack`, `discord`, `linear`, `jira`), recommends based on project type, walks the user through setup (auto-run MCP install or copy-command fallback), writes results to `STATE.md <connections>`. Use after `/gdd:new-project` or whenever the user wants to add, inspect, or skip a connection. Re-runnable anytime."
4
4
  argument-hint: "[list | <connection-name> | --auto]"
5
5
  user-invocable: true
6
6
  tools: Read, Write, Bash, Glob, Grep, AskUserQuestion, ToolSearch
@@ -8,11 +8,11 @@ tools: Read, Write, Bash, Glob, Grep, AskUserQuestion, ToolSearch
8
8
 
9
9
  # /gdd:connections
10
10
 
11
- Interactive onboarding for the 14 external integrations the pipeline supports. Replaces "probe silently at scan entry and hope the user noticed" with an explicit "here is what can plug in, here is how."
11
+ Interactive onboarding for the 18 external integrations the pipeline supports. Replaces "probe silently at scan entry and hope the user noticed" with an explicit "here is what can plug in, here is how."
12
12
 
13
13
  Canonical per-connection specs live in `../../connections/<name>.md` (one file per integration). The capability matrix + probe-pattern spec live in `../../connections/connections.md`. This skill is the **user-facing front end** for those specs.
14
14
 
15
- For the 14 probe scripts (MCP + HTTP + CLI + file probes), bucket categorization, per-connection setup screen, auto-run eligibility matrix, value-prop one-liners, and STATE.md / config.json write contracts, see `./connections-onboarding.md`. For the cross-skill probe pattern + connection-handshake summary, see `../../reference/shared-preamble.md#connection-handshake-summary`. For the cross-skill output discipline, see `../../reference/shared-preamble.md#output-contract-reminders`.
15
+ For the 18 probe scripts (MCP + HTTP + CLI + file probes), bucket categorization, per-connection setup screen, auto-run eligibility matrix, value-prop one-liners, and STATE.md / config.json write contracts, see `./connections-onboarding.md`. For the cross-skill probe pattern + connection-handshake summary, see `../../reference/shared-preamble.md#connection-handshake-summary`. For the cross-skill output discipline, see `../../reference/shared-preamble.md#output-contract-reminders`.
16
16
 
17
17
  ---
18
18
 
@@ -38,7 +38,7 @@ For the 14 probe scripts (MCP + HTTP + CLI + file probes), bucket categorization
38
38
 
39
39
  ## Workflow
40
40
 
41
- 1. **Probe all 14 connections** — run every probe script per `./connections-onboarding.md#step-1--probe-all-14-connections`. MCP probes use `ToolSearch` first; HTTP / CLI / file probes follow non-MCP patterns. Merge results into `STATE.md <connections>` with the three-value schema (`available | unavailable | not_configured`) — never add new values.
41
+ 1. **Probe all 18 connections** — run every probe script per `./connections-onboarding.md#step-1--probe-all-18-connections`. MCP probes use `ToolSearch` first; HTTP / CLI / file probes follow non-MCP patterns. Merge results into `STATE.md <connections>` with the three-value schema (`available | unavailable | not_configured`) — never add new values.
42
42
  2. **Categorize + build summary** — bucket each probe result (available / recommended / optional / skipped / unavailable) using project-hint detection. Detail + recommendation mapping: `./connections-onboarding.md#step-2--bucket-categorization`.
43
43
  3. **Print summary table** — show buckets + value-prop one-liners (verbatim from `./connections-onboarding.md#step-3--summary-table`).
44
44
  4. **Route by mode** — `list` / `--auto` exits after summary; `<name>` jumps straight to Step 5; default mode opens an AskUserQuestion (configure recommended / pick one by one / configure all optional / re-check specific / exit). Routing detail: `./connections-onboarding.md#step-4--route-by-mode`.
@@ -9,7 +9,7 @@ last_updated: 2026-05-18
9
9
 
10
10
  Source: extracted from `skills/connections/SKILL.md` (Phase 28.5 rework — D-10 extract-then-link).
11
11
  The skill's load-bearing routing + invocation-mode dispatch stays in `../skills/connections/SKILL.md`;
12
- this file holds the 14 probe scripts, bucket categorization, per-connection setup screen,
12
+ this file holds the 18 probe scripts, bucket categorization, per-connection setup screen,
13
13
  auto-run eligibility matrix, value-prop one-liners, and STATE.md / config.json write contracts.
14
14
 
15
15
  # Connections Onboarding Procedure
@@ -27,7 +27,7 @@ this file does NOT duplicate them; it points at them by name.
27
27
 
28
28
  ---
29
29
 
30
- ## Step 1 — Probe all 14 connections
30
+ ## Step 1 — Probe all 18 connections
31
31
 
32
32
  Run every probe below in order. MCP probes call `ToolSearch` first (deferred tools fail silently without it). Write every result to `STATE.md <connections>` when done.
33
33
 
@@ -100,6 +100,34 @@ ToolSearch({ query: "mobbin", max_results: 5 })
100
100
  → Non-empty → mobbin: available
101
101
  ```
102
102
 
103
+ **slack:** (notify — Team Surfaces, env-based)
104
+ ```
105
+ Bash: test -n "$SLACK_WEBHOOK_URL" (and GDD_DISABLE_SLACK != 1)
106
+ → empty / disabled → slack: not_configured
107
+ → non-empty → slack: available
108
+ ```
109
+
110
+ **discord:** (notify — parity, env-based)
111
+ ```
112
+ Bash: test -n "$DISCORD_WEBHOOK_URL" (and GDD_DISABLE_DISCORD != 1)
113
+ → empty / disabled → discord: not_configured
114
+ → non-empty → discord: available
115
+ ```
116
+
117
+ **linear:** (ticket-sync — MCP)
118
+ ```
119
+ ToolSearch({ query: "linear", max_results: 5 })
120
+ → Empty / GDD_DISABLE_LINEAR=1 → linear: not_configured
121
+ → Non-empty → linear: available
122
+ ```
123
+
124
+ **jira:** (ticket-sync — Atlassian MCP)
125
+ ```
126
+ ToolSearch({ query: "atlassian jira", max_results: 5 })
127
+ → Empty / GDD_DISABLE_JIRA=1 → jira: not_configured
128
+ → Non-empty → jira: available
129
+ ```
130
+
103
131
  ### Non-MCP probes
104
132
 
105
133
  **storybook** (HTTP):
@@ -145,7 +173,7 @@ Bash: ls .design/handoff/ 2>/dev/null || find . -maxdepth 3 \
145
173
  → Non-empty → claude_design: available
146
174
  ```
147
175
 
148
- After all 14 probes complete, merge results into `STATE.md <connections>`. Preserve the three-value schema verbatim (`available | unavailable | not_configured`). Do not add new values.
176
+ After all 18 probes complete, merge results into `STATE.md <connections>`. Preserve the three-value schema verbatim (`available | unavailable | not_configured`). Do not add new values.
149
177
 
150
178
  ---
151
179
 
@@ -228,6 +256,10 @@ One-line value props (use verbatim):
228
256
  | magic-patterns | AI component generator (DS-aware) |
229
257
  | lazyweb | free design reference search (pricing/onboarding/redesign) — discover Tier 1 |
230
258
  | mobbin | curated mobile + flow-level references (paid) — discover Tier 2 |
259
+ | slack | notify — route verify-fail/audit-pass/ship to a Slack channel (redacted) |
260
+ | discord | notify — route pipeline events to a Discord channel (redacted) |
261
+ | linear | ticket-sync — link a cycle to a Linear issue; read comments + transition on completion |
262
+ | jira | ticket-sync — parity with Linear via the Atlassian MCP |
231
263
 
232
264
  ---
233
265
 
@@ -255,7 +287,7 @@ options:
255
287
  - "Exit" → emit ## CONNECTIONS COMPLETE, exit
256
288
  ```
257
289
 
258
- If recommended bucket is empty, swap that option for "Show all 14 and pick."
290
+ If recommended bucket is empty, swap that option for "Show all 18 and pick."
259
291
 
260
292
  ---
261
293
 
@@ -314,6 +346,10 @@ options:
314
346
  | claude-design | handoff bundle drop | ✗ no | User-driven file drop — force manual |
315
347
  | mobbin | `claude mcp add mobbin --transport http https://api.mobbin.com/mcp` | ✓ yes | Reversible MCP add; no credential filesystem-write (OAuth on first call) |
316
348
  | lazyweb | `claude plugin install lazyweb@lazyweb` (after token write to `~/.lazyweb/`) | ✗ no | Writes a bearer token to disk — force manual (user-consent step) |
349
+ | slack | set `SLACK_WEBHOOK_URL` env (Slack Incoming Webhook URL) | ✗ no | Env credential — user sets it; no install command (degrade-to-noop when unset) |
350
+ | discord | set `DISCORD_WEBHOOK_URL` env (Discord channel Webhook URL) | ✗ no | Env credential — user sets it; no install command (degrade-to-noop when unset) |
351
+ | linear | `claude mcp add linear ...` (Linear MCP) | ✓ yes | Reversible MCP add; OAuth on first call, no credential filesystem-write |
352
+ | jira | `claude mcp add atlassian ...` (Atlassian MCP) | ✓ yes | Reversible MCP add; OAuth on first call |
317
353
 
318
354
  For non-auto-run connections, hide the "Run install command now" option entirely in 5.3.
319
355