Skip to content

ui-server: validate activity and inbox rows instead of casting them #1369

Open

Description

@schlessera

Part of #1344.

Context

ui-server's activity code has 18 as any (packages/ui-server/src/activity/store.ts, query.ts, notify.ts, push-sender.ts, digest.ts, stats.ts); inbox and activity stores cast rows throughout.

Blocked by #1367

Scope

Out of scope

  • Schema changes.

Acceptance criteria

  • No as any under packages/ui-server/src/activity/.
  • A skewed-row test per store.

Verification

bun run test packages/ui-server

Contract impact

None.

2026-10-09 triage at main 572dd6d285a2daaa27a6dea9c84d3d170425a001: verified the cited database-read casts and complete migration brief. #1367 owns the measured convention deliverable; migration follows that output rather than choosing a competing convention. Added agent-ready while preserving blocked; implementation remains unpickable until the declared outputs are delivered. No migration or runtime proof is claimed by this triage.

Activity

  1. added
    type: refactor
    area: ui-server
    priority: p3
    blocked
    on Oct 9, 2026
  2. added
    agent-ready
    on Oct 9, 2026
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

    agent-readyarea: ui-serverblockedpriority: p3type: refactor

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions