Skip to content

Machines: enrol a second machine under its own key, send each action to one that can do it #13492

Open

Description

@dezren39

Today. A machine says what it is called and what it can do in each report, and More, Machines shows it (#13471). But only one machine can report: the edge holds one key, learned by asking the machine through the tunnel, and relays every action it does not do itself to that one address.

What done looks like.

  • A second machine is enrolled from the app: it shows a code, the owner approves it on the Machines screen (as a phone is linked today), and the edge then takes reports under its key. A machine can be removed there too.
  • The edge keeps each machine's sections apart and says which machine each came from. Where two report the same section, the screen says whose it is showing.
  • An action that needs a machine goes to one that says it can do it. A machine with no address the edge can reach (no tunnel) takes its actions with the answer to its next report, as held actions are taken today.
  • What is held is held for a machine that can do it, and Machines shows it under that machine.
  • When no connected machine says it can do a kind, the edge answers at once that none can, and does not relay blind.
  • The protocol change is in pm-stack/console/src/edge-proto.ts; reports from a machine older than the change still work.

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


Generated by Claude Code

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions