Idunn recipe: declare every name loadConfig reads; state slot at the path the code writes #17

Merged
heimdall merged 1 commit from heimdall/recipe-env-parity into main 2026-11-17 00:10:45 +00:00
Member

Idunn refuses a binding that sets a name the recipe does not declare. Eight names loadConfig reads were undeclared: GitHub and Spotify client ids, the StreamPixels and Repixelizer backend callback lists and runtime ids, the Bifrost runtime ids, and the refresh TTL. A generation admitted by Idunn could never set them. The state slot also said heimdall.service.cc at the state root; the code (and tests/state-root-generations.test.ts) writes cultcache/heimdall.service.cc. Idunn does not read the slot path at runtime, so the slot was a false statement, not a failure.

  • deployment/idunn/recipe.toml: the eight names declared; slot path corrected.
  • tests/recipe-secrets.test.ts: one test over the names the existing recorder already observes: each must be declared, Idunn-owned, or listed as never bound with its reason. Red before the recipe edit with exactly the eight names.

Checked: full vitest 734 passed / 209 skipped (live-PG files); the pnpm bundle esbuild line boots with --state-root and writes cultcache/heimdall.service.cc under it.

🤖 Generated with Claude Code

Idunn refuses a binding that sets a name the recipe does not declare. Eight names `loadConfig` reads were undeclared: GitHub and Spotify client ids, the StreamPixels and Repixelizer backend callback lists and runtime ids, the Bifrost runtime ids, and the refresh TTL. A generation admitted by Idunn could never set them. The state slot also said `heimdall.service.cc` at the state root; the code (and `tests/state-root-generations.test.ts`) writes `cultcache/heimdall.service.cc`. Idunn does not read the slot path at runtime, so the slot was a false statement, not a failure. - `deployment/idunn/recipe.toml`: the eight names declared; slot path corrected. - `tests/recipe-secrets.test.ts`: one test over the names the existing recorder already observes: each must be declared, Idunn-owned, or listed as never bound with its reason. Red before the recipe edit with exactly the eight names. Checked: full vitest 734 passed / 209 skipped (live-PG files); the `pnpm bundle` esbuild line boots with `--state-root` and writes `cultcache/heimdall.service.cc` under it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The recipe left eight names undeclared (GitHub and Spotify client ids,
the StreamPixels and Repixelizer callback lists and runtime ids, the
Bifrost runtime ids, the refresh TTL), so a binding could never set them:
Idunn refuses an undeclared name. The state slot said heimdall.service.cc
at the state root while the code writes cultcache/heimdall.service.cc.

A new test reads the names loadConfig looks up (the existing recorder) and
fails on any that is neither declared, Idunn-owned, nor listed as never
bound with its reason.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Heimdall!17
No description provided.