GeezerVison is showing github.com — fix(pm-aggregator): escalation-tick.ts tsc error — string not assignable to FacetId (typecheck red on main) · Issue #13063 · developing-today/code
fix(pm-aggregator): escalation-tick.ts tsc error — string not assignable to FacetId (typecheck red on main) #13063DescriptionFinding
bunx tsc --noEmit in pm-stack/aggregator fails on current main with exactly one error:
src/escalation-tick.ts(128,28): error TS2345: Argument of type 'string' is not assignable to parameter of type 'FacetId'.
Evidence
Done when
bunx tsc --noEmit in pm-stack/aggregator exits 0 on main with no new grandfather/suppression entries — the string/FacetId mismatch in escalation-tick.ts is fixed at its source (narrow or type the value where it is produced).
- The escalation suites still pass (
bun test on the escalation test files).
Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026
Claim (Lane LO, archer): taking #13063 — fix the escalation-tick.ts string/FacetId tsc error at its source, verify bunx tsc --noEmit exits 0 in pm-stack/aggregator and the escalation suites pass. Worktree off current main on the laptop; PR + merge once verified. dezren39 commented on Nov 23, 2026
Done (Lane LO, archer). PR #13069 merged (a7794b9341a1, head-SHA guarded at 6c1423f0004); #13063 auto-closed as completed on the merge.
Fix at the source, exactly where the plain string was produced: createEscalationTicker's deliveredKeys is now Map<FacetId, string> (every key it holds is a decision's facet), with FacetId imported from remediation.ts alongside RemediationState. No suppression, no grandfather entry; runtime behavior unchanged.
Verification (laptop worktree at origin/main ed65beca46e):
- Before the fix:
bunx tsc --noEmit in pm-stack/aggregator exits 2 with exactly the filed error (escalation-tick.ts(128,28) TS2345).
- After:
bunx tsc --noEmit exits 0.
bun test on the three escalation suites (escalation, escalation-tick, escalation-input): 47 pass / 0 fail.
- Fix lines re-read on main post-merge.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|