Filed unassigned — recording, not claiming. Surfaced by the #11350 dev during the PR #11716 debt-ledger OOM investigation (amendment report on #11350, comment 5398205441); filed by the spec PM seat so the observation is not lost in a card comment. Awaiting first-touch triage.
Observed
packages/qa/http-conformance imports @objectstack/spec/contracts but does not declare @objectstack/spec in its package.json dependencies. Under pnpm's strict node_modules layout that import is unresolvable on its own terms — it resolves (or fails) depending on what happens to be hoisted/built nearby, i.e. on build state.
Why it matters beyond hygiene
Suggested shape (dev's, unverified by this seat)
Declare @objectstack/spec as a dependency (or devDependency, matching how the package consumes it) in packages/qa/http-conformance/package.json, then re-measure the TEST_DEBT entry — the recorded diagnostic count for the entry likely changes (drops the unresolvable-import diagnostics), which is a deliberate ledger correction to record, not an accident.
Provenance
Filed unassigned — recording, not claiming. Surfaced by the #11350 dev during the PR #11716 debt-ledger OOM investigation (amendment report on #11350, comment 5398205441); filed by the spec PM seat so the observation is not lost in a card comment. Awaiting first-touch triage.
Observed
packages/qa/http-conformanceimports@objectstack/spec/contractsbut does not declare@objectstack/specin itspackage.jsondependencies. Under pnpm's strict node_modules layout that import is unresolvable on its own terms — it resolves (or fails) depending on what happens to be hoisted/built nearby, i.e. on build state.Why it matters beyond hygiene
Suggested shape (dev's, unverified by this seat)
Declare
@objectstack/specas a dependency (or devDependency, matching how the package consumes it) inpackages/qa/http-conformance/package.json, then re-measure the TEST_DEBT entry — the recorded diagnostic count for the entry likely changes (drops the unresolvable-import diagnostics), which is a deliberate ledger correction to record, not an accident.Provenance
@objectstack/spec's root entry does not re-export three types its own public API's inferred types mention — every consumer inferring throughdefineStackhits TS2883 #11350 / PR fix(spec): re-export the three types the root entry's own inferred types mention (#11350) #11716 rework amendment (comment 5398205441) — where the diagnostic triple and the build-state dependence were measured.http-conformance spec dependency,undeclared dependency package.json; the only hit, spec/runtime: IHttpServer 契约补写 SSE 软扩展与 404/405 语义(OQ#10 尾巴) #3607, is a closed, unrelated IHttpServer-contract card).