Skip to content

Platform: fold the decision events and the queue's alert into the PM console #13503

Open

Description

@dezren39

Today. Three Workers hold state about the same thing, the fleet's work as the owner sees it: the PM console (the board, prompts, what is held), decision-events (each decision-set event, once), and queue-transport-alert (whether the queue's broker answers, every ten minutes). Each has its own Durable Object, its own deploy and its own way of telling the owner something: the console's notifications, a D1 table nobody reads at the edge, an alert of its own.

What done looks like.

  • The queue's alert becomes one of the console's notifications: the console's own alarm does the probe, and the separate Worker and its queue are retired. One place decides what reaches the owner's phone.
  • Decision events are kept where the console can read them, so open questions are read at the edge with no machine (see the issue on questions). Either the console takes the events itself, or it binds to decision-events as a service.
  • pm-stack/platform/workers.json loses the rows that are retired, and the Platform screen with them.
  • Nothing is merged before it is deployed from Actions with a way back (the issue on deploys), so that a merge that goes wrong can be undone.

Design record: doc/2026-11-23T06-50-00Z_architecture_pm_platform_cloudflare_core/.


Generated by Claude Code

Activity

  1. added
    kind/refactor
    app/pm-stack
    source/agent
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  3. added
    epic/pm-stack
    stray-work
    on Nov 24, 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

    app/pm-stackepic/pm-stackkind/refactorsource/agentstray-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions