You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: finish the consumer sweep — repo-wide typecheck is green
The remaining sites the compiler named, all the same shape as the last commit:
`metadata-protocol`'s seed-loader and search query plumbing hold parse results,
so they name `XParsed`; `ISeedLoaderService`'s request/result/graph follow, and
its contract test's mocks with them.
Two test-typecheck ledgers move because the flip fixed what they recorded, not
because anything was suppressed:
@objectstack/spec 79 files / 691 errors -> 58 / 268
@objectstack/client 3 files / 6 errors -> 0 / 0 (ledger now empty)
Both ledgers' own headers describe their contents as "fixture literals annotated
with a schema OUTPUT type while holding an authored INPUT literal" — which is the
defect ADR-0122 exists to end. No fixture was edited to achieve this; the bare
name simply means the input type now. The four entries that reached zero are
deleted, which is what the shrink-only ratchet requires.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015bLZKxxUUk4mahNfn3g3Ed
"_comment": "Per-file tsc error debt of the @objectstack/client TEST layer (#5286). `tsconfig.test.json` compiles `src/**/*.test.ts` — which `tsconfig.json` excludes and therefore no gate ever read — and every file below still carries errors from before that gate existed, almost all of them fixture literals annotated with a schema OUTPUT type (`z.infer`) while holding an authored INPUT literal. EXACT ratchet, judged by re-running tsc: a file that gains errors is red, a file that loses them is red until its number is re-recorded, a file that reaches zero is red until its entry is deleted, and a file NOT listed here may have no errors at all. Regenerate with: pnpm --filter @objectstack/client gen:test-typecheck-debt",
3
-
"entries": {
4
-
"src/client.batch-transaction.test.ts": 3,
5
-
"src/client.environment-scoping.test.ts": 1,
6
-
"src/client.hono.test.ts": 2
7
-
}
2
+
"_comment": "Per-file tsc error debt of the @objectstack/client TEST layer (#5286). `tsconfig.test.json` compiles `src/**/*.test.ts` — which `tsconfig.json` excludes and therefore no gate ever read — and every file below still carries errors from before that gate existed, almost all of them fixture literals annotated with a schema OUTPUT type (`z.infer`) while holding an authored INPUT literal. EXACT ratchet, judged by re-running tsc: a file that gains errors is red, a file that loses them is red until its number is re-recorded, a file that reaches zero is red until its entry is deleted, and a file NOT listed here may have no errors at all. Regenerate with: pnpm --filter @objectstack/client gen:test-typecheck-debt ADR-0122 phase 2 (#6083) emptied this ledger: all three remaining files were exactly the conflation described above — an authored literal annotated with the OUTPUT type — and the flip made the bare name mean the INPUT type, so they compile with no edit. An empty `entries` is the goal state, not a disabled gate: a file that gains an error is red on arrival.",
0 commit comments