@skitterbyte/skitterspec-github 0.0.0-stage → 1.0.1

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.
Files changed (112) hide show
  1. package/MIGRATION.md +1126 -0
  2. package/README.md +53 -2
  3. package/assets/claude-md-section.md +85 -0
  4. package/assets/commands/allow-main.md +33 -0
  5. package/assets/commands/spec-connect.md +13 -0
  6. package/assets/commands/spec-live.md +14 -0
  7. package/assets/commands/spec-remote-review.md +37 -0
  8. package/assets/commands/spec-skip.md +24 -0
  9. package/assets/core/SETUP.md +112 -0
  10. package/assets/core/env.config.json.example +56 -0
  11. package/assets/core/env.config.md +557 -0
  12. package/assets/core/gating.config.json.example +4 -0
  13. package/assets/core/gating.config.md +81 -0
  14. package/assets/core/github.config.json.example +18 -0
  15. package/assets/core/github.config.md +66 -0
  16. package/assets/hooks/main-guard.cjs +162 -0
  17. package/assets/hooks/review-gate.cjs +146 -0
  18. package/assets/review/page.html +3384 -0
  19. package/assets/rules/commit-trailers.md +103 -0
  20. package/assets/rules/negative-checks.md +69 -0
  21. package/assets/rules/offered-unblocks.md +100 -0
  22. package/assets/rules/spec-planning.md +692 -0
  23. package/assets/rules/spec-reports.md +557 -0
  24. package/assets/skills/no-spec/SKILL.md +246 -0
  25. package/assets/skills/spec/SKILL.md +718 -0
  26. package/assets/skills/spec-bug/SKILL.md +646 -0
  27. package/assets/skills/spec-cancel/SKILL.md +263 -0
  28. package/assets/skills/spec-claim/SKILL.md +122 -0
  29. package/assets/skills/spec-complete/SKILL.md +450 -0
  30. package/assets/skills/spec-diff/SKILL.md +870 -0
  31. package/assets/skills/spec-github-setup/SKILL.md +236 -0
  32. package/assets/skills/spec-hotfix/SKILL.md +668 -0
  33. package/assets/skills/spec-init/SKILL.md +178 -0
  34. package/assets/skills/spec-list/SKILL.md +172 -0
  35. package/assets/skills/spec-next/SKILL.md +685 -0
  36. package/assets/skills/spec-push/SKILL.md +307 -0
  37. package/assets/skills/spec-review/SKILL.md +258 -0
  38. package/assets/skills/spec-reviewed/SKILL.md +284 -0
  39. package/assets/skills/spec-start/SKILL.md +554 -0
  40. package/assets/skills/spec-status/SKILL.md +112 -0
  41. package/assets/skills/spec-sync/SKILL.md +226 -0
  42. package/assets/skills/spec-to-main/SKILL.md +139 -0
  43. package/bin/skitterspec-github.js +61 -0
  44. package/package.json +41 -4
  45. package/src/cli.js +5907 -0
  46. package/src/deprecate.js +138 -0
  47. package/src/env/bootstrap.js +188 -0
  48. package/src/env/building.js +143 -0
  49. package/src/env/classify.js +176 -0
  50. package/src/env/commitcmd.js +108 -0
  51. package/src/env/config.js +753 -0
  52. package/src/env/dev.js +63 -0
  53. package/src/env/hooks.js +226 -0
  54. package/src/env/hotfix.js +411 -0
  55. package/src/env/hotfixland.js +302 -0
  56. package/src/env/integrate.js +126 -0
  57. package/src/env/live.js +504 -0
  58. package/src/env/mainguard.js +299 -0
  59. package/src/env/provision.js +466 -0
  60. package/src/env/proxy.js +225 -0
  61. package/src/env/prune.js +119 -0
  62. package/src/env/registry.js +159 -0
  63. package/src/env/render.js +17 -0
  64. package/src/env/resolve.js +716 -0
  65. package/src/env/review.js +2577 -0
  66. package/src/env/reviewers/coderabbit.js +228 -0
  67. package/src/env/reviewers.js +517 -0
  68. package/src/env/serve.js +1044 -0
  69. package/src/env/supervise.js +157 -0
  70. package/src/env/teardown.js +248 -0
  71. package/src/env/trust.js +87 -0
  72. package/src/gating.js +155 -0
  73. package/src/init.js +1150 -0
  74. package/src/lines-diff.js +114 -0
  75. package/src/prompts.js +129 -0
  76. package/src/vendor/github/api.js +800 -0
  77. package/src/vendor/github/cli-sync.js +1530 -0
  78. package/src/vendor/github/commands.js +44 -0
  79. package/src/vendor/github/config.js +414 -0
  80. package/src/vendor/github/credentials.js +109 -0
  81. package/src/vendor/github/dialect.js +62 -0
  82. package/src/vendor/github/identity.js +38 -0
  83. package/src/vendor/github/mcp.js +85 -0
  84. package/src/vendor/provider-kit/index.js +41 -0
  85. package/src/vendor/provider-kit/src/adapter.js +23 -0
  86. package/src/vendor/provider-kit/src/apply.js +207 -0
  87. package/src/vendor/provider-kit/src/args.js +68 -0
  88. package/src/vendor/provider-kit/src/assignment.js +277 -0
  89. package/src/vendor/provider-kit/src/config.js +198 -0
  90. package/src/vendor/provider-kit/src/credentials.js +404 -0
  91. package/src/vendor/provider-kit/src/doctor.js +35 -0
  92. package/src/vendor/provider-kit/src/http.js +63 -0
  93. package/src/vendor/provider-kit/src/identity.js +93 -0
  94. package/src/vendor/provider-kit/src/md-compare.js +39 -0
  95. package/src/vendor/provider-kit/src/md-tables.js +94 -0
  96. package/src/vendor/provider-kit/src/prompt.js +50 -0
  97. package/src/vendor/provider-kit/src/released.js +269 -0
  98. package/src/vendor/provider-kit/src/releases.js +380 -0
  99. package/src/vendor/provider-kit/src/specs.js +166 -0
  100. package/src/vendor/provider-kit/src/transport.js +22 -0
  101. package/src/vendor/sync-core/index.js +93 -0
  102. package/src/vendor/sync-core/src/base.js +81 -0
  103. package/src/vendor/sync-core/src/compare.js +338 -0
  104. package/src/vendor/sync-core/src/dialect.js +51 -0
  105. package/src/vendor/sync-core/src/fields.js +36 -0
  106. package/src/vendor/sync-core/src/legacy.js +100 -0
  107. package/src/vendor/sync-core/src/normalize.js +998 -0
  108. package/src/vendor/sync-core/src/push.js +85 -0
  109. package/src/vendor/sync-core/src/retarget.js +278 -0
  110. package/src/vendor/sync-core/src/task-block.js +308 -0
  111. package/src/vendor/sync-core/src/verify.js +67 -0
  112. package/src/vendor/sync-core/src/write.js +191 -0
@@ -0,0 +1,263 @@
1
+ ---
2
+ name: spec-cancel
3
+ description: Cancel a spec — capture the reason, record final progress, stamp the reason on the spec header, then move it into specs/cancelled/. Targets a spec by name (arg) or the spec currently in context. Use when the user says "/spec-cancel", "drop this spec", "we're not doing this spec", or "shelve <spec>".
4
+ ---
5
+
6
+ # /spec-cancel — record, stamp a reason, archive a spec
7
+
8
+ > Stay silent while this runs — speak only to ask something you cannot answer
9
+ > yourself, or to report a failure at the moment it happens. Read
10
+ > `.claude/rules/spec-reports.md` before reporting; it defines the block this
11
+ > skill ends with.
12
+
13
+ ## 1. Identify the target spec
14
+
15
+ - Use the name/path argument if given, else the spec **in context**. If unclear,
16
+ ask which spec.
17
+ - Locate it under `specs/` (any bucket — `backlog/`, `in-progress/`, …). Entry point
18
+ is its `00-overview.md`; phases are separate files (`01-<slug>.md`, `02-…`) listed
19
+ in its phase index (legacy specs may be a bare `<name>.md`).
20
+
21
+ ## 2. Ask for the cancellation reason — required
22
+
23
+ Ask the user **why** it's being cancelled (e.g. superseded by X, descoped, no
24
+ longer needed, blocked indefinitely). Do not proceed without a reason; capture
25
+ it verbatim/condensed for the header.
26
+
27
+ ## 3. Double-check and record progress
28
+
29
+ - Read the overview and every phase file and reconcile task state with reality:
30
+ tick anything that was actually completed before cancelling so the record is
31
+ honest about what landed.
32
+ - Note any partial/abandoned work so it isn't mistaken for unstarted.
33
+ - **Check for pre-existing uncommitted changes — before you touch anything.**
34
+ Run `git status`. Anything already uncommitted is the *user's* work and must not
35
+ be swept into the cancellation commit: offer `/commit` and **stop**. Everything
36
+ this skill writes in steps 4–5 is its own, and step 5 commits that.
37
+
38
+ ## 4. Stamp the spec
39
+
40
+ Update the **Status** header in the entry point so the reason is visible at the
41
+ top:
42
+
43
+ ```
44
+ > **Status:** Cancelled (<YYYY-MM-DD>) — <reason>
45
+ ```
46
+
47
+ Append a **State log** row:
48
+ `| <YYYY-MM-DD> | Cancelled | cancelled | <git user.name> |`.
49
+
50
+ Add a **Changelog** entry:
51
+ `- <YYYY-MM-DD> — Cancelled: <reason>.`
52
+
53
+ ## 5. Move to cancelled — and commit it
54
+
55
+ `mkdir -p specs/cancelled` then **`git mv`** the file or folder:
56
+ `git mv "specs/<bucket>/<name>" "specs/cancelled/<name>"` (preserve history;
57
+ move the whole folder).
58
+
59
+ **Only when `specs/.core/github.config.json` exists** and the spec's overview
60
+ carries a `github_identifier`. Either missing → **skip**, in one line
61
+ (`not linked to GitHub — /spec-push to mirror it`), and carry on. Nothing else in
62
+ this step changes.
63
+
64
+ **Refresh the mirror now, without asking.** Run `/spec-push`. The repo has just
65
+ become the truth about this spec's state, and the tracker is a generated mirror
66
+ of it — leaving them to diverge until someone remembers to push by hand is the
67
+ gap this exists to close. It costs one engine call and no model tokens when a
68
+ GitHub token is set (see `apply.transport` in `github.config.md`).
69
+
70
+ - **Never mint.** An unlinked spec is skipped, not created. An issue born closed
71
+ is tracker noise, and a spec kept deliberately local should stay
72
+ that way — `/spec-push` is how someone opts in.
73
+ - **Never fatal.** If the push fails — offline, no token, a GitHub error — say so
74
+ and **finish the operation anyway**. The spec is complete/cancelled/reviewed in
75
+ the repo regardless; the mirror is disposable and the next push repairs it.
76
+ Do not roll anything back, and do not stop to ask.
77
+ - **Say what happened** in the skill's report: mirror updated, skipped as
78
+ unlinked, or failed with the reason.
79
+ - **There is no unassign step, and that is not an omission.** Where the repo owns
80
+ `assignee`, the projection derives it from the spec's lifecycle
81
+ bucket — so moving the folder to `complete`/`cancelled` is *itself* what
82
+ releases the issue, and the push above carries it like any other field. The
83
+ `github_assignee_id` stamp and the `> **Developer:**` header both stay put:
84
+ they record who actioned the work, which outlives who is holding it.
85
+
86
+ ### Why it sits here
87
+
88
+ In `/spec-complete` and `/spec-cancel` this step is deliberately pinned
89
+ **after the `git mv` and before the commit**, and both halves matter:
90
+
91
+ - **After the move**, because the projection reads a spec's workflow state from
92
+ its folder bucket. Push while the folder is still in `in-progress/` and the
93
+ issue is set to the state the spec is *leaving*.
94
+ - **Before the commit**, because the push stamps ids into the spec and writes a
95
+ snapshot under `specs/.core/`. Push after the commit instead and both are left
96
+ uncommitted, which makes `spec-env integrate` refuse to land the branch.
97
+
98
+ The snapshot is reached **by name**, not by breadth. It is a declared
99
+ `spec.companionPaths` entry (`specs/.core/github-base/{identifier}.base.json`),
100
+ so `spec-env stage` returns it among this spec's owned paths and the commit below
101
+ names it. This is why the commit no longer stages `specs/` wholesale: the one
102
+ file outside the spec's folder that had to be swept up is addressable, so the
103
+ breadth bought nothing and cost another session's work.
104
+
105
+ Then **commit the cancellation edits** — this skill wrote them, so it commits
106
+ them. Ask the engine which paths are this spec's, then stage and commit
107
+ **exactly those**:
108
+
109
+ ```
110
+ skitterspec spec-env stage <name> # lists them; --json to consume
111
+ git add -- <the owned paths>
112
+ git commit -m "chore(spec): cancel <name>" -- <the owned paths>
113
+ ```
114
+
115
+ **Never `git add specs/`.** That stages a *directory*, so a spec another
116
+ session is part-way through writing lands in this commit under this spec's
117
+ ticket. The `--` on the **commit** is the other half: a checkout has one
118
+ `.git/index`, shared by every session standing in it, so a bare `git commit`
119
+ takes whatever else is staged there however carefully you staged your own.
120
+ `.claude/rules/spec-planning.md` carries the full account.
121
+
122
+ **This matters more here than anywhere else.** Teardown (step 7) refuses a dirty
123
+ worktree and offers `--force` as the way through — and forcing would destroy the
124
+ cancellation record this skill just wrote. Committing first means teardown never
125
+ needs `--force`. Do not `git push`.
126
+
127
+ ## 6. Report
128
+
129
+ **The block is emitted when the run ends, not where this section sits.** The
130
+ sections below run after it, so their outcome belongs in the block — write it
131
+ once, at the end, with what actually happened.
132
+
133
+ End with the block defined in `.claude/rules/spec-reports.md`. That file carries
134
+ the shape; this section carries only what is specific here.
135
+
136
+ **Verdicts**
137
+
138
+ - `✅` — stamped, moved to `cancelled`, committed, torn down.
139
+ - `⚠️` — cancelled, with something worth knowing: teardown declined, a tracker
140
+ refresh that failed, unpushed commits the operator chose to let go.
141
+ - `❌` — it acted and stopped part-way. Say what is where.
142
+ - `⏸` — no reason given, or no such spec. Nothing changed.
143
+
144
+ **Fields:** `Tracker` · `Spec` · `Worktree` · `Follow-ups` · `Next`
145
+
146
+ **The reason goes in the verdict clause** — `✅ /spec-cancel · feat-foo ·
147
+ superseded by feat-bar`. It is the one thing anyone reading this later wants,
148
+ and a cancellation is an ordinary successful run, so it must not be mistaken for
149
+ a `Why`: that field is for a run that did not do what it set out to.
150
+
151
+ `Worktree` says what was reclaimed, or that teardown was declined and the
152
+ worktree still stands — on a cancelled spec that worktree may hold the only copy
153
+ of the work, so an unreclaimed one is worth a line rather than a silence.
154
+
155
+ ## 7. Tear down the environment (opt-in, only if configured)
156
+
157
+ **Only when `specs/.core/env.config.json` exists**, offer — don't force — to
158
+ reclaim the cancelled spec's environment. On confirmation, run the `spec-env` CLI
159
+ directly (the old `/spec-env-down` skill is gone — teardown is folded in here):
160
+
161
+ 0. **Name a pass still waiting for THIS spec — before anything is removed.**
162
+
163
+ ```
164
+ skitterspec spec-env review waiting --json
165
+ ```
166
+
167
+ Filter to the spec being cancelled and say nothing about any other: a run
168
+ reports itself and nothing else (`.claude/rules/spec-reports.md`). For each
169
+ one, give the code, the verdict and the age, then the two exits — claim it
170
+ now with `/spec-reviewed <code>` **while the worktree still stands**, or
171
+ disown it with `skitterspec spec-env review <spec> --drop <code>`.
172
+
173
+ **Why here and not anywhere else.** Nothing is about to become unreachable —
174
+ a pass can be disowned long after its spec is gone. What is about to pass is
175
+ the last moment the verdict can still be **honoured**: before teardown a
176
+ `commit` pass can be claimed and acted on, after it there is no branch left
177
+ to commit to and disowning is all that remains. On a cancelled spec that is
178
+ sharper still — the worktree may hold the only copy of the work, so a pass
179
+ approving it is the one thing that might argue for keeping it.
180
+
181
+ **It reports, and it never blocks.** No refusal, no confirmation of its own,
182
+ no non-zero exit — this step already asks before it reclaims anything, and a
183
+ waiting pass is information rather than a second gate.
184
+ And **it never claims** — reporting a pass is not taking one, and
185
+ `/spec-diff` §0 is untouched by this step.
186
+
187
+ Put what you found in the report's `Notes` row.
188
+ Silent when nothing is waiting, which is the usual case.
189
+
190
+ 1. If `.spec-env/connected` names this spec, run `skitterspec spec-env connect
191
+ main` first to free the canonical ports.
192
+ 2. `skitterspec spec-env dev down <name>` — stop its host dev servers.
193
+ **Standing in the worktree? Leave it before you tear it down.** If this session's
194
+ cwd is inside the spec's own worktree — the normal case in `worktree` mode, since
195
+ `/spec-start` moves you there — get out **first**, then run the teardown commands.
196
+ One instruction covers it:
197
+
198
+ ```
199
+ cd <primary checkout>
200
+ ```
201
+
202
+ That is the whole mechanism, and it does not matter how you got in: the session
203
+ was moved by a `cd` and it leaves by one. There is no tool to call here, and none
204
+ should be reached for — the move in is a plain `cd` precisely because a tool that
205
+ asks for approval is unusable on a phone.
206
+
207
+ **`spec-env down` stays the single thing that deletes a worktree.** The plan
208
+ below is the only deleter, because a second one is how the teardown guards get
209
+ bypassed.
210
+
211
+ Not because git refuses — it does not. `git worktree remove` **succeeds** on the
212
+ tree you are standing in, and that is the problem: the directory vanishes under
213
+ the shell, `pwd` keeps reporting the path that no longer exists, and every
214
+ command after it dies with `fatal: Unable to read current working directory`.
215
+ The teardown looks fine and everything following it breaks — the report, the
216
+ prune, any check you meant to run. Relocating first costs nothing and is the
217
+ only ordering that survives.
218
+
219
+ 3. `skitterspec spec-env down <name>` — then execute the printed commands to
220
+ remove the worktree/stack and free the slot. It respects the teardown guards
221
+ (won't destroy a dirty/unpushed worktree without `--force`).
222
+
223
+ **When it refuses over unpushed commits, relay both ways out.**
224
+ A cancelled spec is normally unlanded, so this is the one moment in the
225
+ lifecycle where that guard genuinely fires — and it fires about real loss.
226
+ The worktree is the only copy of this work: the branch is on no remote and
227
+ not merged into the base branch, so removing it ends it. Say that plainly,
228
+ relay the engine's reason, and give both endings:
229
+
230
+ ```
231
+ publish it first — keeps the work reachable, then re-run /spec-cancel:
232
+ git -C <worktreePath> push -u origin <branch>
233
+
234
+ or accept the loss (the worktree and its commits go):
235
+ skitterspec spec-env down <name> --force
236
+ ```
237
+
238
+ **Print the push; never run it.** Publishing abandoned work to a shared
239
+ remote is the same unasked-for act this workflow took out of `/spec-start`,
240
+ and it is no more wanted here — someone may well want this branch to exist
241
+ nowhere but their own machine. Offer the command and wait for an answer.
242
+
243
+ **Never reach for `--force` yourself either.** The engine's own message names
244
+ only that half, which is the whole reason this step exists: meeting a wall
245
+ labelled *--force to tear down anyway* at the exact moment a backup is still
246
+ cheap is how work gets thrown away. Both options, then stop — the choice is
247
+ a decision about someone's work, and it is theirs.
248
+
249
+ If the plan prints a `remote branch — confirm with the user first:` section,
250
+ **ask before running that line** — it is a `git push <remote> --delete`, and
251
+ the branch is merged, so it loses nothing. Usually there is nothing to ask:
252
+ a cancelled spec is normally **unlanded**, and the planner deliberately never
253
+ offers the remote delete then, because the pushed branch is the only surviving
254
+ copy of abandoned work. Seeing no such section here is the expected case, not
255
+ a fault — and if the user wants the remote branch gone anyway, that is their
256
+ call to make explicitly, not something to tidy away on their behalf.
257
+ 4. `skitterspec spec-env prune` — reap orphaned test-DB volumes that belong to no
258
+ live spec (leftovers from declined/aborted teardowns or manual worktree
259
+ removal). Show the orphan list and, **only on the user's confirmation**, run
260
+ the printed `docker volume rm` commands. Non-fatal: if it can't run or the user
261
+ declines, report and finish cancelling anyway.
262
+
263
+ If `env.config.json` is absent, skip this entirely — behave exactly as before.
@@ -0,0 +1,122 @@
1
+ ---
2
+ name: spec-claim
3
+ description: Take ownership of a spec, hand it back, or give it to a teammate — the spec records who is building it and its GitHub issue is assigned to them. Opt-in — needs specs/.core/github.config.json with the repo owning assignee in sync.fieldOwnership. Use when the user says "/spec-claim", "claim this spec", "take ownership of this", "I'm picking this up", "hand this back", or "assign this spec to someone".
4
+ disable-model-invocation: true
5
+ ---
6
+
7
+ # /spec-claim — take a spec, hand it back, or hand it over
8
+
9
+ > Stay silent while this runs — speak only to ask something you cannot answer
10
+ > yourself, or to report a failure at the moment it happens. Read
11
+ > `.claude/rules/spec-reports.md` before reporting; it defines the block this
12
+ > skill ends with.
13
+
14
+ Ownership lives in the repo: the spec's frontmatter records who is building it,
15
+ and the push that follows tells GitHub. This skill is how that record changes
16
+ after `/spec-start` has set it — a hand-off mid-flight, a spec picked up from
17
+ someone who moved on, or work a lead is distributing.
18
+
19
+ **Opt-in.** Needs `specs/.core/github.config.json` *and* the repo to **own**
20
+ `assignee` in its `sync.fieldOwnership` — which `"none"` declines as surely as
21
+ omitting it does. If either is missing, say which one and stop: without the field
22
+ the stamp would sit in the file doing nothing.
23
+
24
+ **The engine refuses this too, and that is the point.** `spec-sync assign` checks
25
+ the same thing and writes nothing, so the rule holds for a script, a chained
26
+ command, and anyone who reached for the CLI directly. This paragraph was the only
27
+ thing enforcing it for long enough that the engine's own success line —
28
+ `next: push it, so GitHub agrees` — was printed over a push that would drop the
29
+ field. Prose in one skill is not a guard; it is a guard's documentation.
30
+
31
+ ## 1. Identify the target spec
32
+
33
+ The argument, else the spec in flight for this session, else ask. Unlike
34
+ `/spec-next` this does not refuse a spec you are not standing in: reassigning a
35
+ colleague's spec from your own checkout is a normal thing to want, and it writes
36
+ no code.
37
+
38
+ ## 2. Work out the mode
39
+
40
+ | Invocation | Mode |
41
+ |------------|------|
42
+ | `/spec-claim [<spec>]` | **take** — you are building it |
43
+ | `/spec-claim [<spec>] --release` | **release** — nobody is |
44
+ | `/spec-claim [<spec>] --to <name-or-email>` | **hand over** — they are |
45
+
46
+ ### take
47
+
48
+ 1. `skitterspec spec-sync whoami --json`. If it answers, use that `id`/`name`.
49
+ If it reports `transport = mcp`, call `get_me` and cache
50
+ the answer with `whoami --set <id> --name "<name>"`.
51
+ 2. **If the spec already records someone else, confirm before taking it** —
52
+ name them and say what will happen. Taking a colleague's spec by accident is
53
+ the one mistake here worth a round trip; every other path is reversible with
54
+ a second `/spec-claim`.
55
+ 3. Stamp it: `skitterspec spec-sync assign <spec> --to <id> --name "<name>"`.
56
+ 4. Set `> **Developer:**` to **`git config user.name`** — not the GitHub display
57
+ name. You are taking this spec yourself, so the header should name you the
58
+ way `Author:`, the **State log** and your commits already do. The GitHub name
59
+ belongs to the *assignment*, which step 3 just recorded; the two answer
60
+ different questions.
61
+
62
+ ### release
63
+
64
+ `skitterspec spec-sync assign <spec> --release`. This removes the stamp and, on
65
+ the next push, unassigns the GitHub issue.
66
+
67
+ **It does not clear `> **Developer:**`** — that header records who *actioned*
68
+ the work, which outlives who is currently holding it. If nobody will pick the
69
+ spec up, `/spec-cancel` is the honest move; releasing only says "not me, for
70
+ now".
71
+
72
+ ### hand over (`--to`)
73
+
74
+ 1. **Resolve the person through a search, never a typed id.** Run
75
+ `skitterspec spec-sync users <name-or-email>` (or the user-list tool on MCP)
76
+ and **confirm the match** before writing. This is the one path where the repo
77
+ writes into somebody else's GitHub inbox, so a mistyped id would assign a
78
+ stranger and nothing downstream would notice.
79
+ 2. On several matches, show them and let the user pick. On none, say so and
80
+ stop — do not fall back to the raw argument as an id.
81
+ 3. Stamp it with the resolved id and display name.
82
+ 4. Set `> **Developer:**` to that person's **GitHub display name**.
83
+
84
+ This is the **one** place the tracker's name reaches the header, and the
85
+ exception is the whole reason it exists: there is no `git config user.name`
86
+ for somebody else's machine, so without it the header would go on crediting
87
+ you for work you just gave away. Everywhere else — `/spec-start`, the
88
+ `/spec-next` backfill, and taking a spec above — the git name wins, because
89
+ there the person *is* you and the rest of the spec already names you that way.
90
+
91
+ ## 3. Record it in the spec
92
+
93
+ Add a dated line to the **Changelog** in `00-overview.md` — who it moved to (or
94
+ from), and why if the user said. Ownership is a course-correction, not a
95
+ lifecycle transition, so it belongs there and **not** in the State log.
96
+
97
+ ## 4. Push
98
+
99
+ Run `/spec-push`. The stamp is repo state, and the mirror catches up like any
100
+ other edit.
101
+
102
+ **If the push fails, the claim still stands.** Say so and stop: the repo is
103
+ correct, the mirror is disposable, and the next push repairs it. Do not roll the
104
+ stamp back — that would throw away the one durable half of the change.
105
+
106
+ ## 5. Report
107
+
108
+ End with the block defined in `.claude/rules/spec-reports.md`. That file carries
109
+ the shape; this section carries only what is specific here.
110
+
111
+ **Verdicts**
112
+
113
+ - `✅` — the spec records the new owner and GitHub agrees.
114
+ - `⚠️` — the spec records it; GitHub does not yet. The spec file is the record
115
+ and the ticket is the mirror, so this is a lag rather than a conflict — say
116
+ which way round it is.
117
+ - `⏸` — nothing to claim, or no provider configured.
118
+
119
+ **Fields:** `Tracker` · `Follow-ups` · `Next`
120
+
121
+ `Tracker` is who owns it now and whether GitHub agrees yet — the whole answer,
122
+ in one row.