GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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) #13063

New issue
Copy link
New issue
Copy link
Closed
#13069
Closed
fix(pm-aggregator): escalation-tick.ts tsc error — string not assignable to FacetId (typecheck red on main)#13063
#13069
Copy link
Labels
status:done

Description

@dezren39
dezren39
opened on Nov 23, 2026
Issue body actions

Finding

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

  • Verified by Lane KU (archer) 2026-11-23 on a pristine worktree at origin/main 86ad3877861 (no local changes): tsc --noEmit exits 2 with this sole error. The same error appears in a feature worktree based on the same main, and disappears from neither — it is on main, not in any lane's diff.
  • The code landed with PR feat(pm-stack): wire the §4 escalation router into the watchdog tick (#9991) #13019 (impl(pm-stack): watchdog escalation router — page vs NEEDS ORCHESTRATOR, budget-aware (#1260 follow-on 4) #9991's escalation-tick wiring). FacetId is the branded facet type from remediation.ts (used in escalation.ts / escalation-input.ts); somewhere in the tick's delivered-keys bookkeeping a plain string flows where a FacetId is required.
  • Runtime tests pass (the module's suites are green); this is a type-level defect only, but it leaves the aggregator's typecheck script red on main, which hides future real errors behind a known-red baseline.

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).

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    developing-todayBot
    on Nov 23, 2026 – with developing.today
    Contributor
    More actions

    CODE-4767

  2. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    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.

  3. developing-today
    added
    status:in-review
    on Nov 23, 2026
  4. dezren39
    closed this as completedin #13069on Nov 23, 2026
  5. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
  6. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.