@cliangdev/conductor 0.2.2 → 0.4.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/assets/claude/commands/conductor/implement.md +44 -27
- package/assets/claude/commands/conductor/prd.md +101 -24
- package/assets/claude/commands/conductor/workflow.md +208 -0
- package/dist/commands/init.d.ts +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +9 -3
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/lint.d.ts.map +1 -1
- package/dist/commands/lint.js +49 -2
- package/dist/commands/lint.js.map +1 -1
- package/dist/commands/login.d.ts +26 -0
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +73 -9
- package/dist/commands/login.js.map +1 -1
- package/dist/daemon/runner.js +1 -1
- package/dist/daemon/runner.js.map +1 -1
- package/dist/daemon/watcher.d.ts +36 -2
- package/dist/daemon/watcher.d.ts.map +1 -1
- package/dist/daemon/watcher.js +124 -18
- package/dist/daemon/watcher.js.map +1 -1
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +6 -2
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/mermaid-lint.d.ts +21 -0
- package/dist/lib/mermaid-lint.d.ts.map +1 -0
- package/dist/lib/mermaid-lint.js +102 -0
- package/dist/lib/mermaid-lint.js.map +1 -0
- package/dist/lib/plugin-assets.d.ts.map +1 -1
- package/dist/lib/plugin-assets.js +1 -0
- package/dist/lib/plugin-assets.js.map +1 -1
- package/dist/mcp/config.d.ts +27 -0
- package/dist/mcp/config.d.ts.map +1 -1
- package/dist/mcp/config.js +56 -7
- package/dist/mcp/config.js.map +1 -1
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +242 -5
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/tools/integrations.d.ts +10 -0
- package/dist/mcp/tools/integrations.d.ts.map +1 -0
- package/dist/mcp/tools/integrations.js +12 -0
- package/dist/mcp/tools/integrations.js.map +1 -0
- package/dist/mcp/tools/issues.d.ts +1 -0
- package/dist/mcp/tools/issues.d.ts.map +1 -1
- package/dist/mcp/tools/issues.js +9 -2
- package/dist/mcp/tools/issues.js.map +1 -1
- package/dist/mcp/tools/workflows.d.ts +67 -0
- package/dist/mcp/tools/workflows.d.ts.map +1 -0
- package/dist/mcp/tools/workflows.js +99 -0
- package/dist/mcp/tools/workflows.js.map +1 -0
- package/package.json +3 -3
|
@@ -64,25 +64,21 @@ Load the PRD if not already in context.
|
|
|
64
64
|
|
|
65
65
|
## Step 2b — Advance to IN_PROGRESS
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
For any status in the last row, use AskUserQuestion with options: **Continue anyway** / **Abort**.
|
|
84
|
-
|
|
85
|
-
After each `set_issue_status` call, check for a `warning` field in the response. If present, surface it and pause:
|
|
67
|
+
Walk the Work Item to `IN_PROGRESS` **driven by the Workflow definition**, not a hardcoded graph — so this
|
|
68
|
+
works for any Workflow, not only Engineering. Loop:
|
|
69
|
+
|
|
70
|
+
1. Call `get_available_transitions({issueId})` → the valid next statuses for this Work Item right now
|
|
71
|
+
(`{workflow, currentStatus, noun, transitions: [{toStatus, label, requiresReview}]}`).
|
|
72
|
+
2. If `currentStatus` is already `IN_PROGRESS`, stop — you're ready to implement.
|
|
73
|
+
3. If `currentStatus` is terminal or `CODE_REVIEW` (no path forward toward IN_PROGRESS), the issue may already
|
|
74
|
+
be implemented — use AskUserQuestion with options **Continue anyway** / **Abort**.
|
|
75
|
+
4. Otherwise pick the transition whose `toStatus` advances toward `IN_PROGRESS`
|
|
76
|
+
(the typical path is `DRAFT → IN_REVIEW → READY_FOR_DEVELOPMENT → IN_PROGRESS`), call
|
|
77
|
+
`transition_work_item({issueId, toStatus})`, then repeat from step 1.
|
|
78
|
+
|
|
79
|
+
Never call a status that isn't in the returned `transitions` list — the backend rejects an invalid or
|
|
80
|
+
review-gated move. After each `transition_work_item` call, check for a `warning` field (sync queued); if
|
|
81
|
+
present, surface it and pause:
|
|
86
82
|
|
|
87
83
|
> ⚠️ Status update failed (queued): {warning}
|
|
88
84
|
> Run `conductor start` to drain the sync queue, then verify the status in the UI before continuing.
|
|
@@ -359,19 +355,40 @@ Show the PR URL to the user.
|
|
|
359
355
|
|
|
360
356
|
---
|
|
361
357
|
|
|
362
|
-
## Step 7 —
|
|
358
|
+
## Step 7 — Record the PR, report the run, advance to CODE_REVIEW
|
|
363
359
|
|
|
364
|
-
After the PR is created successfully
|
|
360
|
+
After the PR is created successfully:
|
|
365
361
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
```
|
|
362
|
+
1. **Record the PR as an Asset** (supersedes the old `github_pr_url` column):
|
|
363
|
+
|
|
364
|
+
```
|
|
365
|
+
record_asset({issueId, type: "github_pr", kind: "link", ref: <pr_url>, label: "Pull Request", done: true})
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
2. **Report the step-run** so the human Review gate can judge what you did (P0-6):
|
|
369
|
+
|
|
370
|
+
```
|
|
371
|
+
report_step_run({
|
|
372
|
+
issueId, stepKind: "skill", skill: "conductor:implement", status: "AWAITING_REVIEW",
|
|
373
|
+
reportedBy: <your conductor user/email>, fromStatus: "IN_PROGRESS", toStatus: "CODE_REVIEW",
|
|
374
|
+
inputBrief: "<one-line: what this issue asked you to implement>",
|
|
375
|
+
produced: [{kind: "asset", ref: <pr_url>, label: "PR", assetType: "github_pr"}]
|
|
376
|
+
})
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
3. **Advance to CODE_REVIEW** (definition-driven — confirm `CODE_REVIEW` is in the available transitions first):
|
|
380
|
+
|
|
381
|
+
```
|
|
382
|
+
get_available_transitions({issueId}) // expect CODE_REVIEW among the options from IN_PROGRESS
|
|
383
|
+
transition_work_item({issueId, toStatus: "CODE_REVIEW"})
|
|
384
|
+
```
|
|
369
385
|
|
|
370
|
-
|
|
386
|
+
**Stop here.** `CODE_REVIEW → DONE` is a server-enforced Review gate — a human approves the PR; do not
|
|
387
|
+
attempt to move the Work Item to DONE yourself (the PR merge completes it).
|
|
371
388
|
|
|
372
|
-
**Check
|
|
389
|
+
**Check each response**: if it contains a `warning` field, surface it to the user:
|
|
373
390
|
|
|
374
|
-
> ⚠️
|
|
391
|
+
> ⚠️ Update failed (queued): {warning}
|
|
375
392
|
> Run `conductor start` to drain the sync queue, or update the status manually in the UI.
|
|
376
393
|
|
|
377
394
|
---
|
|
@@ -46,6 +46,7 @@ Before drafting, explore the codebase:
|
|
|
46
46
|
2. Search for relevant existing patterns using Grep/Glob
|
|
47
47
|
3. Identify tech stack, data models, and constraints relevant to the feature
|
|
48
48
|
4. Note any files that will need to change
|
|
49
|
+
5. **If the feature involves UI**: scan existing frontend pages and components to catalogue the design language in use — layout structure, spacing conventions, color/typography primitives, component library (e.g. shadcn/ui, MUI), interaction patterns, and navigation model. Record these as the baseline that new UI must match.
|
|
49
50
|
|
|
50
51
|
Use the codebase context to make the PRD technically accurate and grounded.
|
|
51
52
|
|
|
@@ -224,7 +225,7 @@ Call MCP tools in this exact sequence:
|
|
|
224
225
|
|
|
225
226
|
3. **Write content**: Use the Write tool with the `absolutePath` from step 2 (Write requires absolute paths) to write the full PRD with YAML frontmatter including the `issueId` from step 1.
|
|
226
227
|
|
|
227
|
-
4. **Move to IN_REVIEW
|
|
228
|
+
4. **Move to IN_REVIEW** (definition-driven): call `get_available_transitions({issueId})` to confirm `IN_REVIEW` is an available next status from `DRAFT`, then `transition_work_item({issueId, toStatus: "IN_REVIEW"})`, signalling the PRD is ready for team review.
|
|
228
229
|
|
|
229
230
|
5. **Confirm**: "PRD saved — **{displayId}** is now IN_REVIEW."
|
|
230
231
|
|
|
@@ -242,8 +243,30 @@ For each accepted supporting document:
|
|
|
242
243
|
2. Write the template content (see templates below) using the Write tool with the returned `absolutePath`
|
|
243
244
|
3. **Update the PRD's Supporting Documents section**: Read the saved `prd.md` (use the `absolutePath` returned from step 2 of the main save sequence), replace the placeholder line with a relative link entry (e.g. `- [Architecture](./architecture.md)`), and write it back.
|
|
244
245
|
|
|
246
|
+
**UI/UX quality bar for wireframes and HTML mocks:**
|
|
247
|
+
Before writing any UI artifact, recall the design language catalogued in Phase 2a. All wireframes and mocks must:
|
|
248
|
+
- **Be user-first**: present the user's primary task prominently; avoid burying key actions in menus or below the fold
|
|
249
|
+
- **Be consistent with the existing product**: reuse the same layout skeleton, navigation position, spacing scale, component vocabulary, and color/type tokens found in codebase research — do not invent new patterns when existing ones apply
|
|
250
|
+
- **Show real interaction states**: include empty state, loading, error, and success variants — not just the happy path
|
|
251
|
+
- **Follow progressive disclosure**: surface only what users need at each step; defer advanced options to secondary panels or modals
|
|
252
|
+
- **Apply accessibility basics**: adequate contrast, meaningful labels on controls, keyboard-navigable flows
|
|
253
|
+
- **Annotate decisions**: for non-obvious layout choices, add a brief rationale comment so reviewers understand intent
|
|
254
|
+
|
|
245
255
|
## Supporting Document Templates
|
|
246
256
|
|
|
257
|
+
### Mermaid authoring rules (ASCII-safe — follow these to avoid render failures)
|
|
258
|
+
|
|
259
|
+
Conductor renders Mermaid in the web app, and its parser rejects several characters that are easy to write by reflex. Keep every ```mermaid block ASCII-safe:
|
|
260
|
+
|
|
261
|
+
- **No `;` inside `sequenceDiagram` message labels** — `;` is a statement separator and splits the line. Use a comma: `A->>B: do x, then y` (not `do x; then y`).
|
|
262
|
+
- **No `#` in labels** — Mermaid treats `#` as an HTML-entity escape. Write `Gate 1`, not `Gate #1`.
|
|
263
|
+
- **No `(`, `)`, or `:` in participant aliases** — `participant Web as Founder` is fine; `participant Web as Web app (Founder)` and `participant S as conductor:video-batch` break the parser. Drop the parens/colon.
|
|
264
|
+
- **No unicode arrows or dashes in labels** — use `->`/`to` and `-`, not `→`, `–`, `—`.
|
|
265
|
+
- **Line breaks in node labels use `<br/>`, never `\n`** — `\n` renders literally. `A["Service<br/>status"]`, not `A["Service\nstatus"]`.
|
|
266
|
+
- **Give subgraphs the `id ["Title"]` form** when you reference them in edges: `subgraph API ["Spring Boot API"]`.
|
|
267
|
+
|
|
268
|
+
`conductor lint` flags these (errors for `;` / alias chars, warnings for `#` / literal `\n`) — run it after writing supporting docs.
|
|
269
|
+
|
|
247
270
|
### Architecture Diagram (architecture.md)
|
|
248
271
|
```markdown
|
|
249
272
|
---
|
|
@@ -300,39 +323,93 @@ title: {title} — Wireframes
|
|
|
300
323
|
|
|
301
324
|
# {title} — Wireframes
|
|
302
325
|
|
|
303
|
-
|
|
326
|
+
> Style notes: mirrors existing product design language — [note the component library, layout skeleton, and navigation model observed in Phase 2a, e.g. "left sidebar nav, shadcn/ui Card + Button primitives, 4px spacing scale"]
|
|
327
|
+
|
|
328
|
+
## User Flow
|
|
329
|
+
|
|
330
|
+
\`\`\`
|
|
331
|
+
[Entry point] → [Primary action] → [Confirmation / Result]
|
|
332
|
+
↓ (error path)
|
|
333
|
+
[Error state] → [Recovery action]
|
|
334
|
+
\`\`\`
|
|
335
|
+
|
|
336
|
+
## Desktop Layout — {Primary Screen Name}
|
|
337
|
+
|
|
338
|
+
\`\`\`
|
|
339
|
+
+--------------------+------------------------------------------+
|
|
340
|
+
| {Nav / Sidebar} | {Page Title} [{Action Button}] |
|
|
341
|
+
| +------------------------------------------+
|
|
342
|
+
| {Nav Item 1} ◀ | {Section heading} |
|
|
343
|
+
| {Nav Item 2} | +--------------------------------------+ |
|
|
344
|
+
| {Nav Item 3} | | {Primary Content} | |
|
|
345
|
+
| | | | |
|
|
346
|
+
| | | {Field / Element 1} [ Action ] | |
|
|
347
|
+
| | | {Field / Element 2} | |
|
|
348
|
+
| | +--------------------------------------+ |
|
|
349
|
+
+--------------------+------------------------------------------+
|
|
350
|
+
\`\`\`
|
|
351
|
+
|
|
352
|
+
## Mobile Layout — {Primary Screen Name}
|
|
304
353
|
|
|
305
354
|
\`\`\`
|
|
306
|
-
|
|
307
|
-
|
|
|
308
|
-
|
|
309
|
-
|
|
|
310
|
-
|
|
|
311
|
-
|
|
|
312
|
-
|
|
|
313
|
-
|
|
|
314
|
-
|
|
355
|
+
+-----------------------------+
|
|
356
|
+
| ☰ {App Name} |
|
|
357
|
+
+-----------------------------+
|
|
358
|
+
| {Page Title} |
|
|
359
|
+
| ───────────────────────── |
|
|
360
|
+
| {Primary Content} |
|
|
361
|
+
| |
|
|
362
|
+
| {Field / Element 1} |
|
|
363
|
+
| [ Primary Action ] |
|
|
364
|
+
+-----------------------------+
|
|
315
365
|
\`\`\`
|
|
316
366
|
|
|
317
|
-
##
|
|
367
|
+
## State Variants
|
|
318
368
|
|
|
369
|
+
### Empty State
|
|
319
370
|
\`\`\`
|
|
320
|
-
|
|
321
|
-
|
|
|
322
|
-
|
|
323
|
-
|
|
|
324
|
-
|
|
|
325
|
-
|
|
326
|
-
| |
|
|
327
|
-
+----------------------+
|
|
371
|
+
+------------------------------------------+
|
|
372
|
+
| {Illustration or icon placeholder} |
|
|
373
|
+
| {Heading: "No {items} yet"} |
|
|
374
|
+
| {Sub-copy: what user should do next} |
|
|
375
|
+
| [ {Primary CTA} ] |
|
|
376
|
+
+------------------------------------------+
|
|
328
377
|
\`\`\`
|
|
329
378
|
|
|
330
|
-
|
|
379
|
+
### Loading State
|
|
380
|
+
\`\`\`
|
|
381
|
+
+------------------------------------------+
|
|
382
|
+
| ▓▓▓▓▓▓▓▓▓▓▓▓ (skeleton line) |
|
|
383
|
+
| ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ (skeleton line) |
|
|
384
|
+
+------------------------------------------+
|
|
385
|
+
\`\`\`
|
|
331
386
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
387
|
+
### Error State
|
|
388
|
+
\`\`\`
|
|
389
|
+
+------------------------------------------+
|
|
390
|
+
| ⚠ {Error message} |
|
|
391
|
+
| {Recovery instruction} [Retry] |
|
|
392
|
+
+------------------------------------------+
|
|
393
|
+
\`\`\`
|
|
394
|
+
|
|
395
|
+
## Element Annotations
|
|
396
|
+
|
|
397
|
+
| Element | Component | Interaction | Notes |
|
|
398
|
+
|---------|-----------|-------------|-------|
|
|
399
|
+
| {Element 1} | {e.g. Button / Card / Input} | {click / hover / focus behavior} | {any non-obvious rationale} |
|
|
400
|
+
| {Element 2} | ... | ... | ... |
|
|
401
|
+
|
|
402
|
+
## Accessibility Notes
|
|
403
|
+
- {e.g. "Primary action button must have visible focus ring and aria-label"}
|
|
404
|
+
- {e.g. "Error messages linked to input via aria-describedby"}
|
|
335
405
|
```
|
|
336
406
|
|
|
337
407
|
### HTML Mock (mockup.html)
|
|
338
408
|
Write a valid standalone HTML file with inline CSS — no external dependencies.
|
|
409
|
+
|
|
410
|
+
**Style consistency rules for HTML mocks:**
|
|
411
|
+
- Match the color palette, border-radius, and font observed in the existing product (reference the Phase 2a findings; if unknown, use a clean neutral palette — white/gray-50 backgrounds, gray-900 text, a single accent color)
|
|
412
|
+
- Replicate the existing layout skeleton (sidebar, top nav, or other chrome) so the new screen looks like it belongs in the product
|
|
413
|
+
- Use the same component vocabulary: if the product uses card containers with subtle shadows, use that here; if it uses bordered panels, do that instead
|
|
414
|
+
- Show at least two states: the default/happy-path view AND one of empty/loading/error
|
|
415
|
+
- Add a small `<!-- note: ... -->` comment for any placeholder or approximation that differs from the real product
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: conductor:workflow
|
|
3
|
+
description: Design and create a Conductor workflow — YAML automation (schedule/webhook/event triggers) or statechart lifecycle (Work Item state management) — via guided discovery, design, and MCP creation.
|
|
4
|
+
allowed-tools: mcp__conductor__*, AskUserQuestion, Read, Write, Glob, Grep, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /conductor:workflow
|
|
8
|
+
|
|
9
|
+
You are the Conductor workflow design assistant. Your job is to help the user define a business problem, choose the right workflow type, discover available data sources and integrations, design the workflow, and create it in Conductor via MCP — without ever requiring the user to write YAML or know integration credentials.
|
|
10
|
+
|
|
11
|
+
## Trigger
|
|
12
|
+
|
|
13
|
+
This skill runs when the user invokes `/conductor:workflow` or asks to "build/create/add a workflow."
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Step 0 — Identify Workflow Type
|
|
18
|
+
|
|
19
|
+
Before discovery, determine which type fits the user's request:
|
|
20
|
+
|
|
21
|
+
| Type | When to use | YAML key |
|
|
22
|
+
|------|-------------|----------|
|
|
23
|
+
| **YAML automation** | Runs on a schedule, webhook, or event. Queries data sources, calls APIs, sends reports, triggers deploys. | `on: + jobs:` |
|
|
24
|
+
| **Statechart lifecycle** | Defines how Work Items (PRDs, bugs, features) advance through named statuses with optional review gates and skill steps. | `definition: {}` (COND-18 format) |
|
|
25
|
+
|
|
26
|
+
If ambiguous, ask:
|
|
27
|
+
> "Is this an automation that runs on a schedule or webhook (e.g. weekly SEO report, deploy pipeline), or are you defining how your team's work items move through stages (e.g. Draft → In Review → Approved)?"
|
|
28
|
+
|
|
29
|
+
The rest of this skill focuses on **YAML automation** workflows, which is the more common case. For statechart lifecycle design, follow the COND-18 schema in the project docs.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Step 1 — Discovery (always run first)
|
|
34
|
+
|
|
35
|
+
Run these in parallel before designing anything:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
1. list_integration_tools → what data sources are connected + their operations
|
|
39
|
+
2. list_workflows → existing workflows (for naming/area conventions)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Then ask the user (use AskUserQuestion for structured choices where applicable):
|
|
43
|
+
|
|
44
|
+
1. **What is the goal?** One sentence describing what the workflow should do.
|
|
45
|
+
2. **What triggers it?**
|
|
46
|
+
- Weekly/daily/hourly schedule → `on: schedule: cron:`
|
|
47
|
+
- External push (GitHub, Zapier, etc.) → `on: webhook:`
|
|
48
|
+
- Issue status change → `on: conductor.issue.status_changed:`
|
|
49
|
+
- Manual run button → `on: workflow_dispatch:`
|
|
50
|
+
3. **What data or actions does it need?** (use `list_integration_tools` output to suggest connected options)
|
|
51
|
+
4. **Where do results go?** Discord webhook, Slack, create a Conductor issue, HTTP POST, etc.
|
|
52
|
+
|
|
53
|
+
If `list_integration_tools` shows relevant connected integrations, name them explicitly:
|
|
54
|
+
> "I can see Google Search Console is connected (operations: search_analytics, top_queries, top_pages). Should I use that as the data source?"
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Step 2 — Design
|
|
59
|
+
|
|
60
|
+
### Prefer `uses: integration` over `uses: http`
|
|
61
|
+
|
|
62
|
+
When a connector is available for the data source, use the `integration` step type. Credentials are resolved at runtime — they never appear in the workflow YAML.
|
|
63
|
+
|
|
64
|
+
```yaml
|
|
65
|
+
# Preferred — connector: gsc resolves the active GSC connection at runtime
|
|
66
|
+
steps:
|
|
67
|
+
- id: seo_data
|
|
68
|
+
uses: integration
|
|
69
|
+
with:
|
|
70
|
+
connector: gsc # connectorId from list_integration_tools
|
|
71
|
+
operation: search_analytics # operationId from toolMetadata.operations
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Only use `uses: http` with `${{ secrets.KEY }}` when no connector exists for the data source:
|
|
75
|
+
|
|
76
|
+
```yaml
|
|
77
|
+
# Fallback — only when no integration connector is available
|
|
78
|
+
steps:
|
|
79
|
+
- id: custom_api
|
|
80
|
+
uses: http
|
|
81
|
+
with:
|
|
82
|
+
method: GET
|
|
83
|
+
url: https://api.example.com/data
|
|
84
|
+
headers:
|
|
85
|
+
Authorization: Bearer ${{ secrets.MY_API_KEY }}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Reference: Step types
|
|
89
|
+
|
|
90
|
+
| Step type | `uses` value | When to use |
|
|
91
|
+
|-----------|-------------|-------------|
|
|
92
|
+
| Integration | `integration` | Connected data source (GSC, PostHog, RevenueCat, GCP Billing) |
|
|
93
|
+
| HTTP | `http` | Any REST API call; custom integrations |
|
|
94
|
+
| Docker | `docker://image` | Run a script or CLI tool in a container |
|
|
95
|
+
| Condition | `condition` | Branch to different jobs based on a runtime value |
|
|
96
|
+
| Kestra | `kestra` | Delegate to an existing Kestra flow |
|
|
97
|
+
|
|
98
|
+
### Reference: Interpolation
|
|
99
|
+
|
|
100
|
+
| Expression | Value |
|
|
101
|
+
|------------|-------|
|
|
102
|
+
| `${{ event.FIELD }}` | Trigger event payload field |
|
|
103
|
+
| `${{ secrets.SECRET_NAME }}` | Project secret (custom secrets only; integrations don't need this) |
|
|
104
|
+
| `${{ steps.STEP_ID.outputs.KEY }}` | Output from a step in the current job |
|
|
105
|
+
| `${{ needs.JOB_ID.outputs.KEY }}` | Output from a completed upstream job |
|
|
106
|
+
| `${{ loop.iteration }}` | Current loop iteration (1-based) |
|
|
107
|
+
|
|
108
|
+
### Annotated example — Weekly SEO report
|
|
109
|
+
|
|
110
|
+
```yaml
|
|
111
|
+
on:
|
|
112
|
+
schedule:
|
|
113
|
+
cron: "0 9 * * 1" # Mondays at 9am UTC
|
|
114
|
+
workflow_dispatch: {} # also triggerable manually
|
|
115
|
+
|
|
116
|
+
jobs:
|
|
117
|
+
fetch_seo:
|
|
118
|
+
runs-on: conductor
|
|
119
|
+
steps:
|
|
120
|
+
- id: data
|
|
121
|
+
uses: integration
|
|
122
|
+
with:
|
|
123
|
+
connector: gsc
|
|
124
|
+
operation: search_analytics
|
|
125
|
+
# outputs: data.topPages, data.topQueries, data.clicks, data.impressions
|
|
126
|
+
|
|
127
|
+
report:
|
|
128
|
+
needs: fetch_seo
|
|
129
|
+
runs-on: conductor
|
|
130
|
+
steps:
|
|
131
|
+
- id: notify
|
|
132
|
+
uses: http
|
|
133
|
+
with:
|
|
134
|
+
method: POST
|
|
135
|
+
url: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
|
136
|
+
body: >
|
|
137
|
+
{"content": "📊 Weekly SEO Report\nTop pages: ${{ needs.fetch_seo.outputs.data }}"}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## Step 3 — Creation Loop
|
|
143
|
+
|
|
144
|
+
Run these steps in order. Never skip `get_workflow` after `create_workflow`.
|
|
145
|
+
|
|
146
|
+
### 3a. Create (DRAFT)
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
create_workflow(name, area, yaml)
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
- `name`: human-readable display name (e.g. "SEO Performance Audit")
|
|
153
|
+
- `area`: slug grouping in nav (e.g. "marketing", "engineering")
|
|
154
|
+
- `yaml`: the full YAML string designed in Step 2
|
|
155
|
+
|
|
156
|
+
### 3b. Verify (observability close)
|
|
157
|
+
|
|
158
|
+
```
|
|
159
|
+
get_workflow(workflowId)
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
Always call this after `create_workflow`. Confirm the stored YAML matches what was designed. If it doesn't match, call `update_workflow` before proceeding.
|
|
163
|
+
|
|
164
|
+
### 3c. Publish
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
publish_workflow(workflowId)
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
- **`success: true`**: workflow is live. Report to user and offer a test dispatch.
|
|
171
|
+
- **`errors: [...]`**: for each error, explain it in plain language, fix via `update_workflow`, then retry `publish_workflow`. **Never create a second workflow — always fix in place.**
|
|
172
|
+
|
|
173
|
+
### 3d. Test dispatch (optional)
|
|
174
|
+
|
|
175
|
+
dispatch_workflow(workflowId)
|
|
176
|
+
|
|
177
|
+
Offer to trigger a test run immediately so the user can see it work. Returns workflowId + runId.
|
|
178
|
+
|
|
179
|
+
After dispatching, call get_workflow_run once to check the run started:
|
|
180
|
+
|
|
181
|
+
get_workflow_run(workflowId, runId)
|
|
182
|
+
|
|
183
|
+
Don't poll — one check is enough since runs are async. Include the status in the final report to the user. A RUNNING or SUCCESS status means the workflow is live and executing.
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## Step 4 — Report to User
|
|
188
|
+
|
|
189
|
+
When the workflow is PUBLISHED, summarize:
|
|
190
|
+
|
|
191
|
+
> **"Created '[name]' workflow (ID: `workflowId`)**
|
|
192
|
+
> - Trigger: [how it fires]
|
|
193
|
+
> - Data source: [integration or API used]
|
|
194
|
+
> - Output: [where results go]
|
|
195
|
+
> - Test run: [started / available via dispatch]"
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## Agent Invariants
|
|
200
|
+
|
|
201
|
+
These rules apply regardless of the user's request. Never deviate from them.
|
|
202
|
+
|
|
203
|
+
1. **Always call `list_integration_tools` before designing** — never guess what integrations are available from secret key names or conversation context.
|
|
204
|
+
2. **Use `uses: integration` for any connected integration** — credentials must never appear in workflow YAML.
|
|
205
|
+
3. **Always call `get_workflow` after `create_workflow`** — close the observability loop before publishing.
|
|
206
|
+
4. **DRAFT is the safe buffer** — only call `publish_workflow` when the design is fully confirmed.
|
|
207
|
+
5. **Fix publish errors in place** — call `update_workflow` and retry; never call `create_workflow` a second time for the same workflow.
|
|
208
|
+
6. **Do not invent connector IDs** — only use `connectorId` values returned by `list_integration_tools`.
|
package/dist/commands/init.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare function getProjectRoot(workingDir: string): string;
|
|
|
13
13
|
export declare function ensureGitignore(projectRoot: string): void;
|
|
14
14
|
export declare function readMcpJson(workingDir: string): McpJson;
|
|
15
15
|
export declare function writeMcpJson(workingDir: string, content: McpJson): void;
|
|
16
|
-
export declare function buildMcpJson(existing: McpJson): McpJson;
|
|
16
|
+
export declare function buildMcpJson(existing: McpJson, projectId?: string): McpJson;
|
|
17
17
|
export declare function registerInit(program: Command): void;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=init.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAKA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wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAUzD;AAED,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAUzD;AAED,wBAAgB,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAQvD;AAED,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAGvE;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAc3E;AA2DD,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA6KnD"}
|
package/dist/commands/init.js
CHANGED
|
@@ -57,12 +57,18 @@ export function writeMcpJson(workingDir, content) {
|
|
|
57
57
|
const mcpPath = path.join(workingDir, '.mcp.json');
|
|
58
58
|
fs.writeFileSync(mcpPath, JSON.stringify(content, null, 2) + '\n', 'utf8');
|
|
59
59
|
}
|
|
60
|
-
export function buildMcpJson(existing) {
|
|
60
|
+
export function buildMcpJson(existing, projectId) {
|
|
61
|
+
// Pin the project to this repo via env so the MCP server targets the right
|
|
62
|
+
// project regardless of the mutable global config. This is the durable
|
|
63
|
+
// repo→project binding that makes cross-project mis-stamping impossible.
|
|
64
|
+
const conductor = projectId
|
|
65
|
+
? { ...CONDUCTOR_MCP_ENTRY, env: { ...CONDUCTOR_MCP_ENTRY.env, CONDUCTOR_PROJECT_ID: projectId } }
|
|
66
|
+
: { ...CONDUCTOR_MCP_ENTRY };
|
|
61
67
|
return {
|
|
62
68
|
...existing,
|
|
63
69
|
mcpServers: {
|
|
64
70
|
...(existing.mcpServers ?? {}),
|
|
65
|
-
conductor
|
|
71
|
+
conductor,
|
|
66
72
|
},
|
|
67
73
|
};
|
|
68
74
|
}
|
|
@@ -243,7 +249,7 @@ Examples:
|
|
|
243
249
|
console.log(chalk.green('✓ Conductor Claude plugin up to date'));
|
|
244
250
|
}
|
|
245
251
|
const existing = readMcpJson(workingDir);
|
|
246
|
-
writeMcpJson(workingDir, buildMcpJson(existing));
|
|
252
|
+
writeMcpJson(workingDir, buildMcpJson(existing, config.projectId));
|
|
247
253
|
console.log(chalk.green('✓ Updated .mcp.json'));
|
|
248
254
|
const legacyEntry = originalConfig?.projectId && originalConfig?.localPath
|
|
249
255
|
? { [originalConfig.projectId]: { localPath: originalConfig.localPath, projectName: originalConfig.projectName } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAA;AACxB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAA;AAC5B,OAAO,KAAK,EAAE,MAAM,IAAI,CAAA;AACxB,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAExC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,GAAG,MAAM,KAAK,CAAA;AACrB,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAarD,MAAM,mBAAmB,GAAmB;IAC1C,OAAO,EAAE,WAAW;IACpB,IAAI,EAAE,CAAC,KAAK,CAAC;CACd,CAAA;AAED,MAAM,UAAU,YAAY,CAAC,SAAiB;IAC5C,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,YAAY,E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AG,CAAC,2DAA2D,CAAC,CAAC,CAAA;QACrF,CAAC;QACD,cAAc,EAAE,CAAA;IAClB,CAAC,CAAC,CAAA;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../src/commands/lint.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../src/commands/lint.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AA0BnC,UAAU,SAAS;IACjB,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,IAAI,EAAE,OAAO,CAAA;CACd;AAED,UAAU,WAAW;IACnB,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACvB,IAAI,EAAE,OAAO,CAAA;CACd;AAgCD,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAY/E;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAuEtD;AA8ED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,WAAW,CA6E9E;AAyED,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA0HnD"}
|