@skyf0xx/hedgehog-core-full-stack-app 1.0.8 → 1.0.10

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-core-full-stack-app",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Hedgehog's full-stack-app core: an Nx/pnpm/NestJS/Next.js workspace, backend-first domain module build discipline, and the agents and skills that drive it.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -75,6 +75,8 @@ controller (thin HTTP)
75
75
  hook (TanStack Query) — Phase B only
76
76
  ```
77
77
 
78
+ This is what `workspace/core.yaml` declares as `pattern: vertical-slice` — every layer's scope carries `{module}`, so the chain above runs once per module, independently, joined only at the exclusive `join` layer.
79
+
78
80
  Plus, when an operation needs async **and the Queue add-on is on for this
79
81
  project** (check `.hedgehog/addons.yaml`'s `queue.on`): **queue = port +
80
82
  BullMQ adapter**, same port/adapter shape as the repository. The service
@@ -202,7 +204,15 @@ outcome of the whole intent, not just this layer's objective. A layer's
202
204
  verify command runs the tests that layer wrote, so it measures internal
203
205
  consistency, never coverage of what was asked; build the layer's share of
204
206
  the goal and say so when the packet doesn't account for something the
205
- goal asks for. When `hedgehog verify` closes the **last** layer of an
207
+ goal asks for. How deep those tests need to go is not uniform across
208
+ layers — see `hedgehog-authored-loop`'s "Test depth follows verify
209
+ radius" for the rule (`verify_radius`/`exclusive: true` mark where the
210
+ real bar and the `reviewer` pass belong). Every per-module layer here has
211
+ its verify radius equal to its own scope by construction (`core.yaml`'s
212
+ own header comment says so) — internally-consistent-only. The real
213
+ integration point is `join`, the workspace-wide `exclusive: true` layer
214
+ that runs the full typecheck and test suite after every module's layers
215
+ land; that is where the real test bar sits on this core. When `hedgehog verify` closes the **last** layer of an
206
216
  intent it prints the goal and outcome back as an **INTENT CHECK** — read
207
217
  the built work against it there, because nothing else in the build does.
208
218
 
@@ -17,6 +17,7 @@
17
17
  # every test once after every module's layers land, in exchange for those
18
18
  # layers running in parallel.
19
19
  id: full-stack-app
20
+ pattern: vertical-slice
20
21
  layers:
21
22
  - id: schema
22
23
  scope: ["packages/db/src/schema/{module}/**", "packages/db/src/schema/index.ts"]