@skyf0xx/hedgehog 4.2.2 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -284,7 +284,7 @@ the ones that were designed.
|
|
|
284
284
|
Same fresh-context handoff as `hedgehog-loop`'s Stop Condition (offer it
|
|
285
285
|
once every task is `complete`, `hedgehog boundary` exits 0, and
|
|
286
286
|
scope isn't genuinely ambiguous; the permanent record is the committed
|
|
287
|
-
intents, friction log, and
|
|
287
|
+
intents, friction log, and `.hedgehog/core.yaml`, not `.hedgehog/hedgehog.db`,
|
|
288
288
|
which is gitignored and derived; a `tweaker` session in a *new* chat
|
|
289
289
|
window handles adjustments, using the same paste-in prompt that skill's
|
|
290
290
|
Stop Condition gives). On a module axis, "every task complete" means
|
|
@@ -36,7 +36,11 @@ copied to the repo root:
|
|
|
36
36
|
(`DATABASE_URL`/`NODE_ENV`/`WEB_ORIGIN`, copied to `.env` in step 4),
|
|
37
37
|
`lefthook.yml`, `commitlint.config.cjs`,
|
|
38
38
|
`tools/phase-gate.cjs`, `.github/workflows/phase-gate.yml`,
|
|
39
|
-
`tsconfig.base.json`, `pnpm-lock.yaml
|
|
39
|
+
`tsconfig.base.json`, `pnpm-lock.yaml`, and `core.yaml` — the shipped
|
|
40
|
+
layer sequence `hedgehog plan`/`verify`/`next` read for this project.
|
|
41
|
+
This root `core.yaml` is a different file from `.hedgehog/core.yaml`,
|
|
42
|
+
which only exists on an authored core (see `hedgehog-core-design`) —
|
|
43
|
+
the two never coexist on the same project.
|
|
40
44
|
- `packages/config/` — `eslint-base.js`, `prettier.js` (no
|
|
41
45
|
`prettier-plugin-tailwindcss` — that's `apps/web`'s own config, already
|
|
42
46
|
wired), `env.schema.ts` (core fields only: `DATABASE_URL`, `NODE_ENV`,
|
|
@@ -514,8 +514,10 @@ question and wait.
|
|
|
514
514
|
On the former (a real build completion, not an ambiguity stop), offer a
|
|
515
515
|
fresh-context handoff before doing anything else: tell the user the
|
|
516
516
|
build is complete, and that clearing context now costs nothing. The
|
|
517
|
-
permanent record is the committed intents, friction log,
|
|
518
|
-
|
|
517
|
+
permanent record is the committed intents, friction log, root
|
|
518
|
+
`core.yaml` (the shipped core definition — not `.hedgehog/core.yaml`,
|
|
519
|
+
which only exists on an authored core), and the commit history itself —
|
|
520
|
+
not `.hedgehog/hedgehog.db`, which is
|
|
519
521
|
gitignored and derived, rebuildable at any time via `hedgehog db
|
|
520
522
|
rebuild`. That's what makes the next session cheap.
|
|
521
523
|
|
package/src/templates/CLAUDE.md
CHANGED
|
@@ -119,8 +119,9 @@ state.
|
|
|
119
119
|
below — it checks nothing-in-flight, a clean tree, and a closed intent
|
|
120
120
|
together), the build session is complete. The permanent record is the committed
|
|
121
121
|
intents (`.hedgehog/intents/*.json`), the friction log
|
|
122
|
-
(`.hedgehog/friction/*.md`), `core.yaml
|
|
123
|
-
|
|
122
|
+
(`.hedgehog/friction/*.md`), the core definition (root `core.yaml` for a
|
|
123
|
+
shipped core, `.hedgehog/core.yaml` for an authored one), and the git
|
|
124
|
+
commit history itself — not the database. `.hedgehog/hedgehog.db` is gitignored: a
|
|
124
125
|
derived index, rebuildable at any time via `hedgehog db rebuild`, which
|
|
125
126
|
replays those committed sources against git history. That rebuild also
|
|
126
127
|
runs automatically on a fresh clone when the DB is missing but
|