@skyf0xx/hedgehog 6.2.6 → 6.2.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyf0xx/hedgehog",
3
- "version": "6.2.6",
3
+ "version": "6.2.7",
4
4
  "description": "Install the Hedgehog build discipline (agents + skills) into a repo, for Claude Code, Cursor, or Gemini CLI.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: bootstrap
3
- description: Use once per invocation, at the start of a new Hedgehog project, to land the workspace for whichever core `planner` selected at Phase 0 — the first real workspace this project gets, since `init` with no explicit core flag lands the shared agents/skills/build-graph payload and leaves the workspace to bootstrap. Reads the chosen core's own bootstrap skill, installed from that core's package, and follows it: how many steps Bootstrap takes and what each one lands are that skill's to state, not this agent's. Not for per-phase/per-module work — that's the core's own loop skill and its agents. Skip entirely if the core's workspace already exists, per the already-ran check the core's bootstrap skill opens with.
3
+ description: Use once per invocation, at the start of a new Hedgehog project, to land the workspace for whichever core `planner` selected at Phase 0 — the first real workspace this project gets, since `init` with no explicit core flag lands the shared agents/skills/build-graph payload and leaves the workspace to bootstrap. Reads the chosen core's own bootstrap skill, installed from that core's package, and follows it: how many steps Bootstrap takes and what each one lands are that skill's to state, not this agent's. Not for per-phase/per-module work — that's the core's own loop skill and its agents. Skip entirely if the core's workspace already exists, per the already-ran check the core's bootstrap skill opens with. Never dispatched for copywriting — that core ships no bootstrap skill; `init --copywriting` lands its whole workspace at install time, and its own planning intake runs `hedgehog plan` directly instead of handing off here.
4
4
  model: sonnet
5
5
  color: green
6
6
  tools: Read, Glob, Grep, Edit, Write, Bash
@@ -21,7 +21,9 @@ You run on two paths, and Workflow step 2 decides which:
21
21
 
22
22
  - **First run** (the graph holds no intents): **Phase 0 — core
23
23
  selection**, the gate below, then **Phase 1 — planning intake** in the
24
- shape the chosen core defines, then the `bootstrap` handoff.
24
+ shape the chosen core defines, then the `bootstrap` handoff — except
25
+ copywriting, which has no bootstrap skill and whose planning intake
26
+ runs `hedgehog plan` itself; see step 9.
25
27
  - **Re-entry** (the graph already holds intents): new scope entering play
26
28
  on a project that's already been built or is mid-build, on a core with
27
29
  a module axis to add an intent to (full-stack-app, authored). The core
@@ -88,7 +90,8 @@ memory of what a core is. Read every entry before choosing; the first
88
90
  plausible match is not the answer until the rest have been ruled out.
89
91
  A core whose `when` fits and whose `flag` is listed is chosen by name
90
92
  and handed to `bootstrap`, which installs that core's package and
91
- follows the bootstrap skill it ships.
93
+ follows the bootstrap skill it ships — except copywriting, which ships
94
+ no bootstrap skill; see step 9.
92
95
 
93
96
  **Before matching against `when` paragraphs, ask up to three
94
97
  clarifying questions if the description alone doesn't already settle
@@ -272,7 +275,12 @@ the first-run shape; on re-entry, run `hedgehog-planning-intake`'s
272
275
  full-stack-app before that Phase 0 begins. `hedgehog-copywriting-loop`
273
276
  owns `.hedgehog/copy/00-brief.md` and this core's own Confirm & Lock
274
277
  stage; `.hedgehog/BMAD/` is written by the shared Phase 0 in
275
- `hedgehog-planning-intake`.
278
+ `hedgehog-planning-intake`. This core's own Confirm & Lock runs
279
+ `hedgehog plan` itself and does not hand off to `bootstrap` — its
280
+ workspace (`scripts/check-copy/` and `core.yaml`) is already fully
281
+ installed by `init --copywriting`, before planning intake ever starts,
282
+ and this core ships no bootstrap skill. Step 9 below does not apply to
283
+ it; the core's own loop skill picks up from here directly.
276
284
  - **`deepseek-harness`** → no BMAD shelf runs on this core, and none of
277
285
  `hedgehog-planning-intake` applies. Intake is mechanical, owned
278
286
  entirely by `hedgehog-dsh-loop`'s own Planning intake section: confirm
@@ -487,6 +495,10 @@ as full-stack-app's Auth/Queue/Mobile trio.
487
495
  run**, don't run `plan` yet — no core is installed until step 9's
488
496
  `bootstrap` handoff lands one, and `plan` requires `core.yaml` to
489
497
  exist. Leave the written intents `proposed` and continue to step 8.
498
+ **Copywriting is the one exception**: its own Confirm & Lock (see the
499
+ core-specific procedures above) already ran `hedgehog plan` as part
500
+ of step 6, since its `core.yaml` is on disk before planning intake
501
+ ever starts — nothing left to defer here.
490
502
  8. **Commit planning intake's output as one commit** — not on the
491
503
  adoption re-entry path, where `hedgehog-adopt` already committed its
492
504
  own work as `chore(planning): adopt change` (step 2). Elsewhere:
@@ -502,18 +514,22 @@ as full-stack-app's Auth/Queue/Mobile trio.
502
514
  only). Write these with the `no-history-in-output` skill: current
503
515
  state only, no narration of the intake conversation. This is planning
504
516
  intake's own unit of work, landed before `bootstrap` touches anything.
505
- 9. **First run only, and not on the brownfield path hand off to the
506
- `bootstrap` agent** once the commit lands. It scaffolds the chosen
507
- core's workspace (and, for full-stack-app, whichever add-ons are on;
508
- for pwa-app, whichever of sync/remote entities is on) before any build
509
- step starts. Once that workspace exists, `core.yaml` exists too this
510
- is the point at which the `hedgehog plan` step 7 deferred on a first
511
- run can finally succeed. `bootstrap` runs it before closing (see
512
- `bootstrap.md`'s "Closing Bootstrap"), so the intents planner wrote are
513
- compiled into tasks before the core's loop skill picks anything up. On
514
- re-entry on any other core the workspace already exists and step 7
515
- already ran `plan`: hand straight to that core's loop skill instead,
516
- which picks the new work up from `hedgehog next`.
517
+ 9. **First run only, not on the brownfield path, and not on
518
+ copywriting — hand off to the `bootstrap` agent** once the commit
519
+ lands. It scaffolds the chosen core's workspace (and, for
520
+ full-stack-app, whichever add-ons are on; for pwa-app, whichever of
521
+ sync/remote entities is on) before any build step starts. Once that
522
+ workspace exists, `core.yaml` exists too this is the point at which
523
+ the `hedgehog plan` step 7 deferred on a first run can finally
524
+ succeed. `bootstrap` runs it before closing (see `bootstrap.md`'s
525
+ "Closing Bootstrap"), so the intents planner wrote are compiled into
526
+ tasks before the core's loop skill picks anything up. On re-entry on
527
+ any other core the workspace already exists and step 7 already ran
528
+ `plan`: hand straight to that core's loop skill instead, which picks
529
+ the new work up from `hedgehog next`. **On copywriting**, first run or
530
+ not, there is no `bootstrap` handoff at all — its own Confirm & Lock
531
+ already ran `plan` (see the core-specific procedures above); hand
532
+ straight to `hedgehog-copywriting-loop` instead.
517
533
  10. **Return a summary**: which core (naming it as authored or adopted,
518
534
  if it is), the intents added (or subject statement, for
519
535
  landing-page), any open questions.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgehog",
3
- "version": "6.2.6",
3
+ "version": "6.2.7",
4
4
  "description": "Hedgehog build discipline: ordered, tested, verified build steps.",
5
5
  "contextFileName": "GEMINI.md"
6
6
  }