Skip to content

fix(engine): the register path ladder — the container never read the mounted register - #50

Merged
tmttodd merged 3 commits into
mainfrom
fix/register-path
Oct 19, 2026
Merged

tmttodd merged 3 commits into
mainfrom
fix/register-path

Conversation

@tmttodd

@tmttodd tmttodd commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

The repo-relative path math (three parents up) resolves to / inside the container: the Dockerfile puts the package at /app/corvus and the register at /app/decision-register.yaml, so the engine's _REGISTER stayed empty in every deployed pod — every answer served unquantized, through both the stub register and the real one (PR tmt-homelab/homelab-k3s#10882 mounted the real register and sites loaded: 0).

The ladder: CORVUS_REGISTER_PATH env → /app/decision-register.yaml (container) → three-parents-up (checkout). Verified: 19 sites in the checkout layout, the env override honored, 108 tests pass.

Claude Code (agent) added 3 commits October 19, 2026 14:23
…ner never read the mounted register

The repo-relative math (three parents up) is correct in a checkout but
resolves to / in the container (package at /app/corvus, register COPY'd
to /app/decision-register.yaml): the deployed engine served every answer
unquantized with the register mounted and unread — through the stub AND
the real register. The ladder: CORVUS_REGISTER_PATH env → /app/
(the Dockerfile layout) → three-up (the checkout layout). Verified: 19
sites load in the checkout layout, the env override wins, 108 pass.
…nes reflected (1277 lines, the drift guard's instruction)
…ests, 79.1%, 1274 lines (the prior commit had measured a broken subset)
@tmttodd
tmttodd merged commit 2191155 into main Oct 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant