@rallycry/conveyor-skills 1.0.23 → 1.0.25
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/README.md +4 -0
- package/package.json +1 -1
- package/skills/conveyor-brainstorm-review/SKILL.md +1 -1
- package/skills/conveyor-build/SKILL.md +10 -63
- package/skills/conveyor-build/references/pack-path.md +1 -5
- package/skills/conveyor-consensus/SKILL.md +1 -1
- package/skills/conveyor-local-loop/SKILL.md +8 -58
- package/skills/conveyor-manager/SKILL.md +10 -62
- package/skills/conveyor-meeting-review/SKILL.md +1 -1
- package/skills/conveyor-plan/SKILL.md +25 -34
- package/skills/conveyor-plan/references/plan-format.md +1 -1
- package/skills/conveyor-prune/SKILL.md +5 -44
- package/skills/conveyor-release-review/SKILL.md +7 -55
- package/skills/conveyor-review/SKILL.md +13 -64
- package/skills/conveyor-spike/SKILL.md +214 -0
- package/skills/conveyor-spike/references/handoff.md +161 -0
- package/skills/conveyor-start/SKILL.md +17 -3
- package/skills/conveyor-triage/SKILL.md +2 -8
- package/skills/conveyor-workflows/SKILL.md +29 -241
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: conveyor-review
|
|
3
|
-
description: Review a Conveyor
|
|
3
|
+
description: Review a Conveyor PR or pack child and record one verdict through the card’s review workflow.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Conveyor Review
|
|
@@ -14,41 +14,11 @@ raise, what this project cares about — comes from the reviewer agent's own
|
|
|
14
14
|
instructions, and from the host repo's CLAUDE.md. Where the two disagree about
|
|
15
15
|
process, this skill loses: a project's own rules outrank a general one.
|
|
16
16
|
|
|
17
|
-
## Ground rules
|
|
18
|
-
|
|
19
|
-
- **All Conveyor tools fully-qualified** — `mcp__conveyor__get_task`, not
|
|
20
|
-
`get_task`. Bare names fail.
|
|
21
|
-
- **Exactly one verdict per review.** Not zero (the card waits forever), not
|
|
22
|
-
two (the first one wins and the second is noise).
|
|
23
|
-
- **Substantive issues only.** Linting and formatting have their own gates;
|
|
24
|
-
spending a verdict on style spends the team's attention on the wrong thing.
|
|
25
|
-
- **Review the diff, not the repository.** Pre-existing problems in a file the
|
|
26
|
-
PR touches are not this PR's job — note them in chat if they matter, or file
|
|
27
|
-
a suggestion, but do not block on them.
|
|
28
|
-
|
|
29
17
|
## Goal and finish line
|
|
30
18
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
in a pod, `mcp__conveyor__approve_task` / `mcp__conveyor__request_changes`
|
|
35
|
-
locally — OR a blocked note is posted with the specific blocker and no verdict
|
|
36
|
-
(the `## Blocked` case).
|
|
37
|
-
**A turn may end only when:** (a) the verdict call succeeded — read the
|
|
38
|
-
response; a "superseded by a newer review cycle" error is not success; (b) the
|
|
39
|
-
blocked note is posted; or (c) you pushed your own fix and are waiting for CI
|
|
40
|
-
before approving. Nothing else. Findings posted with no verdict called is a
|
|
41
|
-
stalled review, not a paused one.
|
|
42
|
-
|
|
43
|
-
**Reviewer of record for a pack child** has no verdict tool: its finish line is
|
|
44
|
-
the merge (locally) or the `mcp__conveyor__update_task` → ReviewDev write
|
|
45
|
-
(pod), and the pack path's goal wording in conveyor-build governs instead.
|
|
46
|
-
|
|
47
|
-
**Runtime:** *Codex CLI* — before reading the change, create a thread goal with
|
|
48
|
-
your goal tool: "Render exactly one review verdict on PR <n> for card <slug>."
|
|
49
|
-
Mark it complete only after the verdict call succeeded, never because the
|
|
50
|
-
budget is low. *Claude Code* — there is no goal tool; the finish line above is
|
|
51
|
-
the loop.
|
|
19
|
+
Give exactly one accepted verdict on the current review cycle. End the turn after the verdict tool returns success, after posting a specific blocker in task chat, or while CI runs on a fix you pushed. A “superseded by a newer review cycle” response leaves that verdict unrecorded. Wait for CI on the new head before approving a fix.
|
|
20
|
+
|
|
21
|
+
**Codex CLI:** Before reading the diff, create a thread goal to render one verdict on the PR and card slug. Mark it complete only after the verdict is accepted. Pack children follow the reviewer-of-record procedure and the pack’s goal. The finale follows the regular PR verdict path.
|
|
52
22
|
|
|
53
23
|
## Read the change
|
|
54
24
|
|
|
@@ -89,31 +59,14 @@ the loop.
|
|
|
89
59
|
8. `mcp__conveyor__get_tag` on the card's tags — a tag's overview and linked
|
|
90
60
|
rules are what "follows existing patterns" actually means in this project.
|
|
91
61
|
|
|
92
|
-
##
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
-
|
|
100
|
-
async context.
|
|
101
|
-
- **Error handling** — handled at system boundaries, nothing swallowed.
|
|
102
|
-
- **Test coverage** — are new paths tested? Edge cases covered? A test that
|
|
103
|
-
asserts nothing is worse than no test, because it reads as coverage.
|
|
104
|
-
- **Typing** — proper types, no unnecessary `any`, correct async/await.
|
|
105
|
-
- **Data model** — a fact stored twice (denormalization), a nullable column
|
|
106
|
-
with no stated reason, a relation that duplicates an existing path, a
|
|
107
|
-
contract member without `describe`, and a hand-edited or stale schema page
|
|
108
|
-
(its generated header line is missing, or the project's generate step leaves
|
|
109
|
-
a diff).
|
|
110
|
-
- **Naming and readability** — clear names, and no comment that says something
|
|
111
|
-
the code does not do.
|
|
112
|
-
|
|
113
|
-
**If previous review feedback is in the chat history, verify those specific
|
|
114
|
-
issues were addressed before raising new ones.** Re-litigating a resolved point
|
|
115
|
-
while the actual fix goes unchecked is the most common way a second review
|
|
116
|
-
wastes everyone's time.
|
|
62
|
+
## Review criteria
|
|
63
|
+
|
|
64
|
+
Verify prior findings against the current head. Use the owning tag and host repo’s rules to check patterns and invariants. Block on substantive regressions introduced by the diff.
|
|
65
|
+
|
|
66
|
+
- Check correctness against the card, including edge cases and races.
|
|
67
|
+
- Check for secrets, injection, missing boundary validation, N+1 queries, blocking async work, and swallowed errors.
|
|
68
|
+
- Check that tests assert the changed behavior, and that types, async control flow, and names make the behavior clear.
|
|
69
|
+
- On data-model changes, check for duplicate facts or relationships, unexplained nullable fields, missing contract descriptions, and stale generated schema pages.
|
|
117
70
|
|
|
118
71
|
## Fix or flag
|
|
119
72
|
|
|
@@ -221,8 +174,4 @@ empty, CI never ran, or the branch does not match the card — say so in chat
|
|
|
221
174
|
with the specific blocker and do NOT render a verdict. An approval issued
|
|
222
175
|
because you could not see the code is worse than no review at all.
|
|
223
176
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
If this skill was insufficient or slowed the work down, file it with
|
|
227
|
-
`mcp__conveyor__create_suggestion` on the Conveyor project: the issue,
|
|
228
|
-
evidence, and proposed fix.
|
|
177
|
+
If this skill causes friction, follow the [Conveyor skill feedback workflow](../conveyor-workflows/SKILL.md#skill-feedback).
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: conveyor-spike
|
|
3
|
+
description: Prototype an idea in local Conveyor dev for immediate feedback, then hand off a Planning card or clean up the spike.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Conveyor Spike
|
|
7
|
+
|
|
8
|
+
Speed is the only bar. Get the idea onto the user's screen in minutes, ugly
|
|
9
|
+
code and all, so they can see how hard it is and which direction is right. The
|
|
10
|
+
screen is the question: build first, ask second. The output is a verdict and a
|
|
11
|
+
set of findings, never shippable code.
|
|
12
|
+
|
|
13
|
+
> **Environment — this skill does not apply inside a pod.** Check the
|
|
14
|
+
> environment first, before any tool call, so the first cut never waits for
|
|
15
|
+
> the Conveyor MCP to connect: if `CONVEYOR_TASK_ID`, `CONVEYOR_AGENT_VERSION`
|
|
16
|
+
> or `CONVEYOR_POD_IMAGE` is set, you are in a pod. Say so and stop. A pod is
|
|
17
|
+
> bound to its own card, and `mcp__conveyor__create_task` does not exist
|
|
18
|
+
> there. Today the cloud way to iterate live with an agent is an Interactive
|
|
19
|
+
> card. Locally, the Conveyor MCP is needed only at the handoff.
|
|
20
|
+
|
|
21
|
+
## Goal and finish line
|
|
22
|
+
|
|
23
|
+
**Goal:** the idea working on the user's screen as fast as possible, then the
|
|
24
|
+
user's verdict on it.
|
|
25
|
+
|
|
26
|
+
**Finish line,** one of two:
|
|
27
|
+
|
|
28
|
+
- **Dropped.** The checkout is back on the starting branch. The logged side
|
|
29
|
+
effects are undone, or named to the user. The checkout claim is released.
|
|
30
|
+
The spike branch stays unless the user says to delete it.
|
|
31
|
+
- **Handed off.** A card sits in Planning with the spike brief attached and
|
|
32
|
+
summarized in its chat. The branch decision is applied. The card URL and
|
|
33
|
+
next steps are reported. The checkout is back on the starting branch (unless
|
|
34
|
+
the user asked to stay), and the claim is released.
|
|
35
|
+
|
|
36
|
+
**A turn may end only when:**
|
|
37
|
+
|
|
38
|
+
1. a new result is visible and you asked the user for their reaction;
|
|
39
|
+
2. an AskUserQuestion is pending; or
|
|
40
|
+
3. the finish line is true.
|
|
41
|
+
|
|
42
|
+
**Runtime:** *Codex CLI* — do NOT create a thread goal. A spike is a
|
|
43
|
+
conversation, and a goal would keep iterating without the user. Ask the user to
|
|
44
|
+
run the dev server in their own terminal, because a held command session blocks
|
|
45
|
+
the conversation. Codex sets no session id, so pass one stable
|
|
46
|
+
`--session <id>` to every checkout command and record it in the spike log.
|
|
47
|
+
*Claude Code* — there is no goal tool; the turn endings above are the loop.
|
|
48
|
+
|
|
49
|
+
## Ground rules
|
|
50
|
+
|
|
51
|
+
- **Quality rules are suspended.** Tests, lint, typecheck, formatting, repo
|
|
52
|
+
gates, contracts-first and service patterns, docs regeneration, file-size
|
|
53
|
+
rules, i18n and polish all wait for the real build. Invoking this skill is
|
|
54
|
+
the user's instruction to skip them, git hooks included: commit and push with
|
|
55
|
+
`--no-verify`. The repo's own quality and verification rules do not apply to
|
|
56
|
+
a spike.
|
|
57
|
+
- **Safety rules stay.**
|
|
58
|
+
- Never touch production, or shared data and infrastructure.
|
|
59
|
+
- Never commit secrets.
|
|
60
|
+
- Never push to the base branch or to anyone else's branch.
|
|
61
|
+
- Never open a pull request, and never merge.
|
|
62
|
+
- Never send real outbound effects (email, Slack or Discord posts, GitHub
|
|
63
|
+
writes, payments). Stub them.
|
|
64
|
+
- Never reset the shared dev database or change it destructively.
|
|
65
|
+
- Harness hooks still apply.
|
|
66
|
+
- **Show, don't ask.** Build the most plausible reading of the idea first. Ask
|
|
67
|
+
before the first cut only when no reasonable cut exists without the answer.
|
|
68
|
+
- **Take the cheapest path to something visible.**
|
|
69
|
+
- Use inline fake data, hardcoded values, copy-paste and inline styles.
|
|
70
|
+
- Reuse existing components, and call existing endpoints directly.
|
|
71
|
+
- Add no service methods, schema changes or migrations unless the backend IS
|
|
72
|
+
the idea. Fake missing data in the client first.
|
|
73
|
+
- A schema change needs the user's OK. Make it on an isolated dev database
|
|
74
|
+
when the repo has one, for example a second dev-stack configuration with
|
|
75
|
+
its own database.
|
|
76
|
+
- **No ceremony.** No plan mode, TODO lists, research sweeps or subagents.
|
|
77
|
+
Read only the one to three files the idea plugs into.
|
|
78
|
+
- **Time-box.** Aim for the first visible result in about 15 minutes. Past
|
|
79
|
+
that, stop, name what is slow, and offer a cheaper cut that fakes the hard
|
|
80
|
+
part. The slowness is a finding.
|
|
81
|
+
- **Commit every iteration, and log it.** Each iteration is a checkpoint
|
|
82
|
+
commit. Log every side effect the moment it happens: database writes or
|
|
83
|
+
schema pushes, installed dependencies, generated code, env or config edits,
|
|
84
|
+
and extra processes. The brief and the clean-up are built from the log.
|
|
85
|
+
- **"Visible" depends on the idea.** It can be a page in the user's browser, a
|
|
86
|
+
response body, or command output and numbers.
|
|
87
|
+
|
|
88
|
+
## Every turn starts here
|
|
89
|
+
|
|
90
|
+
Run `checkout verify --card spike-<slug>` and read the tail of the spike log.
|
|
91
|
+
The log survives context compaction; your memory does not.
|
|
92
|
+
|
|
93
|
+
On `lost` or `branch-moved`, stop and tell the user: another session took the
|
|
94
|
+
checkout or switched its branch.
|
|
95
|
+
|
|
96
|
+
## Phase 0 — Set up (under a minute)
|
|
97
|
+
|
|
98
|
+
1. Pick a short kebab-case slug for the idea.
|
|
99
|
+
2. Record the starting point: `git branch --show-current`,
|
|
100
|
+
`git rev-parse --short HEAD` and `git status --porcelain`.
|
|
101
|
+
3. Take the checkout claim with `--card spike-<slug>`, using the forms in
|
|
102
|
+
[checkout-claim.md](../conveyor-build/references/checkout-claim.md)
|
|
103
|
+
("How to call it").
|
|
104
|
+
- On `held`: name the holder (card, branch and host) and offer
|
|
105
|
+
`checkout wait`. Never use a git worktree. The provisioned checkout, with
|
|
106
|
+
its dependencies, env and running stack, is the whole value of working
|
|
107
|
+
locally.
|
|
108
|
+
- On `dirty`: ask the user to commit, stash or discard the changes, or to
|
|
109
|
+
say that they belong to the idea. Never stash for them.
|
|
110
|
+
4. Run `git switch -c spike/<slug>` from the current HEAD. It is instant, and
|
|
111
|
+
a running dev stack keeps serving. Then run
|
|
112
|
+
`checkout acquire --card spike-<slug> --branch spike/<slug>`. If the branch
|
|
113
|
+
already exists, treat it as a resume (below) or add a `-2` suffix.
|
|
114
|
+
5. Start the spike log. Run
|
|
115
|
+
`mkdir -p "$(git rev-parse --git-path conveyor-spike)"`, then write
|
|
116
|
+
`<that dir>/<slug>.md`. A file in the git dir is never committed and never
|
|
117
|
+
shows in `git status`. The header holds:
|
|
118
|
+
- the idea, in the user's own words;
|
|
119
|
+
- the starting branch and sha;
|
|
120
|
+
- the base branch;
|
|
121
|
+
- the date;
|
|
122
|
+
- the Codex session id, when there is one.
|
|
123
|
+
6. Get the app running. Find how this repo runs locally, in this order:
|
|
124
|
+
1. a repo skill that stands it up (a `*-standup` or `run` skill);
|
|
125
|
+
2. `.claude/launch.json` through `preview_start`, when the harness has it;
|
|
126
|
+
3. the dev command in the repo's CLAUDE.md or README.
|
|
127
|
+
|
|
128
|
+
Reuse a stack that already runs. Start a missing one in the background.
|
|
129
|
+
Prefer a hot-reload dev server over a production build.
|
|
130
|
+
|
|
131
|
+
## Phase 1 — First cut on screen
|
|
132
|
+
|
|
133
|
+
1. Find the seam with the repo's code graph or with grep. Open only what you
|
|
134
|
+
must edit.
|
|
135
|
+
2. Make the change the simplest way that works.
|
|
136
|
+
3. Make it visible. When you cannot see the screen, check it with a cheap text
|
|
137
|
+
probe (`curl`, the page text). Give the user the exact URL and click path.
|
|
138
|
+
Take a screenshot only when the user cannot see the screen, or for the
|
|
139
|
+
handoff.
|
|
140
|
+
4. Checkpoint, in ONE shell call:
|
|
141
|
+
`<checkout verify --card spike-<slug>> && git add <paths> && git commit --no-verify -m "spike(<slug>): v1 — <what>"`.
|
|
142
|
+
Stage by path, never with `git add -A`: in a shared checkout an untracked
|
|
143
|
+
file can belong to another session.
|
|
144
|
+
5. Log what v1 does, what is faked (with `file:line`), what was hard, the time
|
|
145
|
+
it took, and any side effects.
|
|
146
|
+
6. Report in 10 lines or fewer, then end the turn:
|
|
147
|
+
- what you built, and where to look;
|
|
148
|
+
- what is faked;
|
|
149
|
+
- a difficulty read: what made it easy, and what a real version needs;
|
|
150
|
+
- one to three concrete next iterations.
|
|
151
|
+
|
|
152
|
+
## Phase 2 — Iterate
|
|
153
|
+
|
|
154
|
+
- **For each reaction:** make the smallest change, make it visible, checkpoint
|
|
155
|
+
it (v2, v3, …), log the user's words and the change, report, and end the
|
|
156
|
+
turn.
|
|
157
|
+
- **"Go back to vN":** run `git restore --source <vN sha> -- <paths>`, then
|
|
158
|
+
commit it as a new version.
|
|
159
|
+
- **"Show me another take":**
|
|
160
|
+
- For a different take, cut a sibling branch `spike/<slug>-alt-<n>` from the
|
|
161
|
+
starting sha. Run `checkout acquire --branch` after every switch.
|
|
162
|
+
- For a side-by-side comparison, add a temporary toggle in the page instead
|
|
163
|
+
(`?spike=a|b`).
|
|
164
|
+
- Log which take the user preferred, and why.
|
|
165
|
+
- **A change needs a restart** (server code without watch, env, dependencies):
|
|
166
|
+
say so, and restart only that process.
|
|
167
|
+
- **The real version needs heavy work** (a schema change, a new service,
|
|
168
|
+
permissions): say so. That is a finding. Offer to keep faking it.
|
|
169
|
+
- **Ask for a verdict** when the reactions settle, or when a few iterations
|
|
170
|
+
bring no new direction.
|
|
171
|
+
|
|
172
|
+
## Phase 3 — Verdict
|
|
173
|
+
|
|
174
|
+
Follow the user's words when they are clear. Otherwise ask one
|
|
175
|
+
AskUserQuestion: Keep iterating / Drop it / Move it forward.
|
|
176
|
+
|
|
177
|
+
**Drop it:**
|
|
178
|
+
|
|
179
|
+
1. Undo the logged side effects: reinstall dependencies from the lockfile,
|
|
180
|
+
regenerate generated code, restore the schema from the starting branch. Or
|
|
181
|
+
tell the user exactly what is left.
|
|
182
|
+
2. Run `git switch <starting branch>`.
|
|
183
|
+
3. Keep `spike/<slug>` and its log unless the user says to delete them. Run
|
|
184
|
+
`git branch -D` only on their word.
|
|
185
|
+
4. Release the checkout claim.
|
|
186
|
+
5. If the spike found something worth remembering, offer to file it with
|
|
187
|
+
`mcp__conveyor__create_suggestion`. Do not file it unasked.
|
|
188
|
+
|
|
189
|
+
**Move it forward:** follow [references/handoff.md](references/handoff.md).
|
|
190
|
+
|
|
191
|
+
**Keep iterating:** back to Phase 2.
|
|
192
|
+
|
|
193
|
+
## Resume
|
|
194
|
+
|
|
195
|
+
`/conveyor-spike resume [slug]`:
|
|
196
|
+
|
|
197
|
+
1. With no slug, list the logs in the spike-log directory
|
|
198
|
+
(`git rev-parse --git-path conveyor-spike`) and ask which one.
|
|
199
|
+
2. Read the log.
|
|
200
|
+
3. Run `git switch spike/<slug>`, then
|
|
201
|
+
`checkout acquire --card spike-<slug> --branch spike/<slug>`. The same
|
|
202
|
+
`--card` lets you take over a stale claim on the spike's own dirty tree.
|
|
203
|
+
4. Check that the dev stack runs.
|
|
204
|
+
5. Continue at Phase 2.
|
|
205
|
+
|
|
206
|
+
## What this skill is not
|
|
207
|
+
|
|
208
|
+
- **Not a builder.** Nothing it writes ships as written. The real build is
|
|
209
|
+
`/conveyor-plan`, then `/conveyor-build` or `/conveyor-start`.
|
|
210
|
+
- **Not a planner.** The brief is input for `/conveyor-plan`, never a plan.
|
|
211
|
+
- **Not a launcher.** Never call `mcp__conveyor__start_task` unless the user
|
|
212
|
+
asks for it after the handoff.
|
|
213
|
+
|
|
214
|
+
If this skill causes friction, follow the [Conveyor skill feedback workflow](../conveyor-workflows/SKILL.md#skill-feedback).
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# Spike handoff — move a spike forward as an unplanned card
|
|
2
|
+
|
|
3
|
+
The "Move it forward" half of [conveyor-spike](../SKILL.md). The spike becomes
|
|
4
|
+
a NEW card in Planning with no plan. The card carries the spike brief, a short
|
|
5
|
+
chat summary of it, and optionally the spike branch as its starting point.
|
|
6
|
+
Planning belongs to `/conveyor-plan`, and Plan + Build boots a Planner only for
|
|
7
|
+
a card with no plan, so never write the brief into the card's `plan`.
|
|
8
|
+
|
|
9
|
+
Every Conveyor tool below is the local MCP surface, fully qualified.
|
|
10
|
+
|
|
11
|
+
## 1. Look for an existing card
|
|
12
|
+
|
|
13
|
+
Resolve the project first: `mcp__conveyor__get_connection_context`; if it
|
|
14
|
+
reports no default project, call `mcp__conveyor__list_projects` and match
|
|
15
|
+
`githubRepoOwner/Name` to the checkout's `git remote`. Ambiguous → ask.
|
|
16
|
+
|
|
17
|
+
If the user named a card, or `mcp__conveyor__search_tasks` on two or three
|
|
18
|
+
keywords of the idea finds a near-duplicate, offer to hand off onto that card
|
|
19
|
+
instead. Then attach the brief and post the summary there (step 5, items 3-5),
|
|
20
|
+
and skip `mcp__conveyor__create_task`.
|
|
21
|
+
|
|
22
|
+
## 2. Decide the branch
|
|
23
|
+
|
|
24
|
+
You propose; the user confirms. Two options:
|
|
25
|
+
|
|
26
|
+
- **Starting point.** The code sits in the right files and layers, and what is
|
|
27
|
+
left is hardening: replace the fakes, add tests, handle the edge cases. The
|
|
28
|
+
Builder keeps the behavior and removes the shortcuts.
|
|
29
|
+
- **None.** The real build belongs elsewhere, or the spike is mostly fakes.
|
|
30
|
+
The brief's snippets carry what matters.
|
|
31
|
+
|
|
32
|
+
If the user preferred an alt take, that branch is the one to push.
|
|
33
|
+
|
|
34
|
+
## 3. Prepare a starting point
|
|
35
|
+
|
|
36
|
+
Only for the starting-point option. Every check must pass; if one fails, fall
|
|
37
|
+
back to none and say why.
|
|
38
|
+
|
|
39
|
+
1. Run `git fetch origin <base>`. Then `git log --oneline origin/<base>..<branch>`
|
|
40
|
+
must list only spike commits. If the starting HEAD was not the base, run
|
|
41
|
+
`git rebase --onto origin/<base> <start-sha> <branch>`. On any conflict,
|
|
42
|
+
run `git rebase --abort` and fall back to none.
|
|
43
|
+
2. Read `git diff origin/<base>...<branch>`. Look for secrets, tokens,
|
|
44
|
+
personal data and stray debug files. Check `.npmrc`, `bunfig.toml` and
|
|
45
|
+
every `.env*` file by name. Remove anything you find in a final spike
|
|
46
|
+
commit. `--no-verify` skipped any commit-time secret guard the repo has, so
|
|
47
|
+
this read replaces it.
|
|
48
|
+
3. Run `git ls-remote --heads origin <branch>`. It must print nothing; if the
|
|
49
|
+
name is taken, add a suffix. Keep the `spike/` prefix. Never use a name of
|
|
50
|
+
the shape `conveyor/new-card-…`, `conveyor/task-…` or
|
|
51
|
+
`conveyor/untitled-…`: Conveyor treats those as placeholders and renames
|
|
52
|
+
them.
|
|
53
|
+
4. Run `git push --no-verify -u origin <branch>`. A local pre-push hook can
|
|
54
|
+
run the repo's whole gate, and spike code fails it by design.
|
|
55
|
+
|
|
56
|
+
## 4. Confirm with the user
|
|
57
|
+
|
|
58
|
+
Show it in one message, then wait for their yes:
|
|
59
|
+
|
|
60
|
+
- **Title:** imperative, naming the real feature. Never "Spike: …".
|
|
61
|
+
- **Description:** 255 characters or fewer, in plain words, ending
|
|
62
|
+
"Prototyped in a spike; the brief is attached."
|
|
63
|
+
- **The brief's outline** (below).
|
|
64
|
+
- **The branch decision.**
|
|
65
|
+
|
|
66
|
+
## 5. File the card
|
|
67
|
+
|
|
68
|
+
Every call after the create uses the returned task **id**, not the slug.
|
|
69
|
+
|
|
70
|
+
1. `mcp__conveyor__create_task` with `title` and `description`. Do NOT pass
|
|
71
|
+
`plan`, and omit `status` (it defaults to Planning). Omit `tags` unless you
|
|
72
|
+
are certain: pre-set tags make identification skip choosing them.
|
|
73
|
+
2. For a starting point, call `mcp__conveyor__update_task` with
|
|
74
|
+
`{ taskId, githubBranch: <branch> }` straight away. Do it BEFORE anyone
|
|
75
|
+
starts the card: a start mints a branch of its own, and a live environment
|
|
76
|
+
then refuses a new one. If the write fails, say so, and mark the branch
|
|
77
|
+
"reference only" in the brief.
|
|
78
|
+
3. Write the brief to `<spike-log dir>/<slug>-brief.md`. Call
|
|
79
|
+
`mcp__conveyor__upload_attachment` with
|
|
80
|
+
`{ taskId, path, comment: "Spike brief — read this before planning" }`.
|
|
81
|
+
The `comment` posts the file to the card's chat, which is what puts the
|
|
82
|
+
brief in front of a cloud Planner when it starts.
|
|
83
|
+
4. Call `mcp__conveyor__post_to_chat` with `{ taskId, content }`: a summary
|
|
84
|
+
under 2,000 characters. Include the Settled list, the number of open
|
|
85
|
+
questions, the branch line, and "full brief attached". Chat posts can be
|
|
86
|
+
mirrored to Slack or Discord, so keep it short.
|
|
87
|
+
5. For a visual spike, take a screenshot of the final state with the repo's
|
|
88
|
+
screenshot tool or Playwright. Upload it with a `comment`. Never set
|
|
89
|
+
`showcase: true`: a showcase file is appended to the eventual pull
|
|
90
|
+
request's body, and this is not the finished result.
|
|
91
|
+
6. Do not move the card to Open. Do not set story points, an agent or an
|
|
92
|
+
icon. Do not start the card.
|
|
93
|
+
|
|
94
|
+
## 6. Report and finish
|
|
95
|
+
|
|
96
|
+
1. Give the card URL (`<project url>/cards/<slug>`) and say what is on it.
|
|
97
|
+
2. Give the next step. It runs in a FRESH session or in the web app, never in
|
|
98
|
+
this one: this session's context is full of shortcuts. Either:
|
|
99
|
+
- plan it locally: `/conveyor-plan <card url>`, then `/conveyor-build` or
|
|
100
|
+
`/conveyor-start`;
|
|
101
|
+
- or run Plan + Build in the cloud: the card's Plan popover → Plan + Build,
|
|
102
|
+
or `/conveyor-start <card>` asking for Plan + Build.
|
|
103
|
+
3. Switch back to the starting branch, unless the user wants to stay on the
|
|
104
|
+
spike.
|
|
105
|
+
4. Release the checkout claim.
|
|
106
|
+
5. Keep the local spike branch until the card ships. Cancelling the card
|
|
107
|
+
deletes its branch on origin.
|
|
108
|
+
|
|
109
|
+
## 7. No Conveyor MCP connected
|
|
110
|
+
|
|
111
|
+
Write the brief to the spike-log directory, then print the title, the
|
|
112
|
+
description and the brief for the user. Point them to
|
|
113
|
+
[mcp-setup.md](../../conveyor-workflows/references/mcp-setup.md) to connect
|
|
114
|
+
the MCP, then run step 5. Never improvise another way to file the card.
|
|
115
|
+
|
|
116
|
+
## The brief
|
|
117
|
+
|
|
118
|
+
Fixed headings, under about 4,000 characters:
|
|
119
|
+
|
|
120
|
+
```markdown
|
|
121
|
+
## Spike brief — <idea>
|
|
122
|
+
|
|
123
|
+
Filed by /conveyor-spike from a local session on <date>. Input for
|
|
124
|
+
/conveyor-plan, not a plan.
|
|
125
|
+
|
|
126
|
+
### The idea
|
|
127
|
+
<the user's own words>
|
|
128
|
+
|
|
129
|
+
### What the spike proved
|
|
130
|
+
- <bullets; refer to the screenshot when there is one>
|
|
131
|
+
|
|
132
|
+
### Settled with <user> — do not relitigate
|
|
133
|
+
- <decision> — <the user's reason>
|
|
134
|
+
|
|
135
|
+
### Still open
|
|
136
|
+
- <questions the planner owns>
|
|
137
|
+
|
|
138
|
+
### Difficulty and direction
|
|
139
|
+
- Easy because: <…>
|
|
140
|
+
- Faked, and what the real build needs instead: <…>
|
|
141
|
+
- Size guess: <one card | a pack>
|
|
142
|
+
- Riskiest unknown: <…>
|
|
143
|
+
|
|
144
|
+
### How the spike did it
|
|
145
|
+
<`git diff --stat <start-sha>..<branch>`, then the 1-3 snippets that carry the idea>
|
|
146
|
+
|
|
147
|
+
### De-spike checklist
|
|
148
|
+
- [ ] <every fake, hardcode, toggle and stub, with file:line>
|
|
149
|
+
|
|
150
|
+
### Side effects left behind
|
|
151
|
+
- <only when there are any>
|
|
152
|
+
|
|
153
|
+
### Branch
|
|
154
|
+
<one of:>
|
|
155
|
+
starting point `<branch>`, cut from `<base>` at `<sha>`. Cancelling this card deletes it on origin.
|
|
156
|
+
reference only `<branch>`
|
|
157
|
+
none
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
With a starting point, the de-spike checklist is exactly what the Builder
|
|
161
|
+
removes.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: conveyor-start
|
|
3
|
-
description:
|
|
3
|
+
description: Start a planned Conveyor card in Claudespace and confirm the pod came up.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Conveyor Start
|
|
@@ -23,8 +23,6 @@ worked, until you check an hour later.
|
|
|
23
23
|
|
|
24
24
|
## Ground rules
|
|
25
25
|
|
|
26
|
-
- **All Conveyor tools fully-qualified** — `mcp__conveyor__start_task`, not
|
|
27
|
-
`start_task`. Bare names fail.
|
|
28
26
|
- **Never start a card you have not read.** A start mints compute against a
|
|
29
27
|
human's subscription key and reassigns the card; doing that to the wrong card
|
|
30
28
|
is expensive and confusing to undo.
|
|
@@ -54,14 +52,24 @@ starting anyway:
|
|
|
54
52
|
`/conveyor-manager` run's duty card. Its plan is a charter; a pod has nothing
|
|
55
53
|
to build from it.
|
|
56
54
|
|
|
55
|
+
**Plan + Build is the exception.** A Planning card with no plan may start as
|
|
56
|
+
Plan + Build when the user asks for Plan + Build by name; a `/conveyor-spike`
|
|
57
|
+
handoff card is the usual case. A Planner plans it first, and the saved plan
|
|
58
|
+
hands off to a Builder on the same pod. The dependency and manager-card checks
|
|
59
|
+
still apply. Without that ask, offer `/conveyor-plan` first.
|
|
60
|
+
|
|
57
61
|
If any check fails, report which one and what would fix it. Do not start.
|
|
58
62
|
|
|
59
63
|
## 2. Start it
|
|
60
64
|
|
|
61
65
|
```
|
|
62
66
|
mcp__conveyor__start_task(taskId)
|
|
67
|
+
mcp__conveyor__start_task(taskId, planAndBuild: true) # the Plan + Build exception
|
|
63
68
|
```
|
|
64
69
|
|
|
70
|
+
Pass the card's `id` from `get_task`, never its slug: `start_task` does not
|
|
71
|
+
resolve a slug and answers "Task not found".
|
|
72
|
+
|
|
65
73
|
The build runs on **your** account and key, and starting reassigns the card to
|
|
66
74
|
you — that is the documented contract, not a side effect. If you are starting
|
|
67
75
|
something on someone else's behalf, say so, because their name comes off the
|
|
@@ -85,6 +93,12 @@ longer than a warm one. Then report the outcome honestly:
|
|
|
85
93
|
instead of guessing, and do not immediately retry — a terminal cause will
|
|
86
94
|
fail the same way.
|
|
87
95
|
|
|
96
|
+
For a Plan + Build start, also confirm the card left Planning: an auto start
|
|
97
|
+
moves a plan-less Planning card to Open. If it is still Planning once the
|
|
98
|
+
workspace runs, the server ignored the flag (an older API drops unknown
|
|
99
|
+
fields) and booted a Builder with no plan. Run `mcp__conveyor__stop_task` and
|
|
100
|
+
point the user to the card's Plan popover → Plan + Build.
|
|
101
|
+
|
|
88
102
|
Never report "started" from the tool call alone.
|
|
89
103
|
|
|
90
104
|
## 4. Hand back a place to watch
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: conveyor-triage
|
|
3
|
-
description: Investigate
|
|
3
|
+
description: Investigate a Conveyor incident or unverified report and record the evidence and disposition on its card.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Conveyor Triage
|
|
@@ -19,8 +19,6 @@ determine" is more useful than a confident wrong fix.
|
|
|
19
19
|
|
|
20
20
|
## Ground rules
|
|
21
21
|
|
|
22
|
-
- **All Conveyor tools fully-qualified** — `mcp__conveyor__get_task`, not
|
|
23
|
-
`get_task`.
|
|
24
22
|
- **Reports are not infallible, and many are machine-filed** — error
|
|
25
23
|
boundaries and internal reporters produce titles that are whatever the
|
|
26
24
|
throwing code said, not a considered bug report. Read the code before
|
|
@@ -177,8 +175,4 @@ your own reporting pipeline are visible; the moment passes.
|
|
|
177
175
|
Use `mcp__conveyor__list_tags` to pick real tag names; unknown names come back
|
|
178
176
|
in the result rather than failing the call.
|
|
179
177
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
If this skill was insufficient or slowed the work down, file it with
|
|
183
|
-
`mcp__conveyor__create_suggestion` on the Conveyor project: the issue,
|
|
184
|
-
evidence, and proposed fix.
|
|
178
|
+
If this skill causes friction, follow the [Conveyor skill feedback workflow](../conveyor-workflows/SKILL.md#skill-feedback).
|