Follow-up recorded at the ledger-v2 merge closeout (pre-existing debt, independent of #31).
packages/contracts/out/ is gitignored yet required by dependent tests and typechecks. In a fresh clone, running pnpm -r typecheck (or some package tests) before pnpm --filter @dspack-studio/contracts build:catalogs fails with transient TS errors that disappear once the artifacts exist; CI avoids it only by step ordering (.github/workflows/ci.yml builds catalogs first). This was re-observed during #31's cold fresh-clone verification.
Wanted: make the coupling explicit — e.g. a pretest/pretypecheck hook or pnpm dependency ordering so build:catalogs runs automatically wherever its outputs are consumed, or commit a minimal typed stub. First noted in the original composer investigation's known-debt list.
🤖 Generated with Claude Code
Follow-up recorded at the ledger-v2 merge closeout (pre-existing debt, independent of #31).
packages/contracts/out/is gitignored yet required by dependent tests and typechecks. In a fresh clone, runningpnpm -r typecheck(or some package tests) beforepnpm --filter @dspack-studio/contracts build:catalogsfails with transient TS errors that disappear once the artifacts exist; CI avoids it only by step ordering (.github/workflows/ci.ymlbuilds catalogs first). This was re-observed during #31's cold fresh-clone verification.Wanted: make the coupling explicit — e.g. a
pretest/pretypecheckhook or pnpm dependency ordering sobuild:catalogsruns automatically wherever its outputs are consumed, or commit a minimal typed stub. First noted in the original composer investigation's known-debt list.🤖 Generated with Claude Code