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 — Machines: enrol a second machine under its own key, send each action to one that can do it · Issue #13492 · developing-today/code

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

New issue
Copy link
New issue
Copy link
Open
Open
Machines: enrol a second machine under its own key, send each action to one that can do it#13492
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/enhancementqueue/parkedQueue task is parked (waiting on CI, time, or an event)source/agentCreated by an agent workerstatus/parkedDeliberately paused with a recorded resume condition

Description

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

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. dezren39
    added
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    kind/enhancement
    source/agentCreated by an agent worker
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

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

    CODE-4920

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (oc-code-02, 2026-11-24): not resolved. Open issue with no implementing PR found for its scope (search of PRs by number finds only unrelated blob-gate work). Routing the second-machine enrolment and action routing as a scoped follow-on; issue stays open. Tracking: #14158.

  4. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (code-i, 2026-11-24)

    Fresh GitHub state: open, no implementing PR found for the second-machine enrolment or action routing. The issue is a large feature, not a small fix, so it is not closable on triage.

    Decision (FDR-0013, no owner gate): route two scoped implement packets. (1) Edge enrolment of a second machine under its own key, with per-machine section separation and remove. (2) Action routing to a connected machine that declares the kind, held actions per machine, and an immediate none-can answer. Protocol change lands in pm-stack/console/src/edge-proto.ts and must keep reports from older machines working. Design record: doc/2026-11-23T06-50-00Z_architecture_pm_platform_cloudflare_core/.

    Tracking: #14158.

  5. dezren39
    added 7 commits that reference this issue on Nov 26, 2026

    feat(pm-console): route actions to a capable machine (#13492 slice 2)

    7384027

    feat(pm-console): enroll a second machine under its own key (#13492 s…

    9767c88

    feat(pm-console): enroll a second machine under its own key (#13492 s…

    49e376a

    feat(pm-console): enrollment protocol for a machine's own key (#13492 …

    d02d767

    test(pm-console): held actions clear on the ack report, not the deliv…

    3042b1a

    fix(pm-console): keep the first machine's Machines entry as it was (#…

    274c749

    fix(pm-console): await the machine actions so their refusals are answ…

    c2e5405
  6. developing-today-fleet
    added a commit that references this issue on Nov 27, 2026

    feat(pm-console-edge): owner-approved enrollment of a second machine (#…

    bbf5cdb
  7. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Slice 1 is implemented in #15894 (edge multi-machine enrollment, ready for review).

    What landed

    • Owner-approved enrollment of a second machine under its own key: the owner mints a single-use 15-minute code (POST /console/api/machines/enroll-code), the machine enrolls its public key with it (POST /console/edge/enroll), and each machine's reports verify against its own key with a per-machine replay line.
    • GET /console/api/machines lists every enrolled machine with its own last-seen, quiet flag, version, declared actions/sections and settings revision; a never-reported enrollment shows with seen null. Legacy tunnel-learned reports are unchanged.
    • Removal (DELETE /console/api/machines/): the key stops verifying (410 gone), the entry leaves the list, and the tunnel never re-learns it without a fresh owner code.
    • Proof: new pm-stack/console/test/machines-multi.test.ts (mint, enroll, both sync and appear, removal revokes, first machine unaffected). Suites at the slice commit: machines-multi 1/1, edge 213/214 (sole failure pre-existing on origin/main: /console/health returns workerChecks but that test expectation was not updated), work+direct 97/97, plan+push+console 87/87. tsc shows only the pre-existing origin/main error (edge/src/worker.ts:137 literal from Questions, what needs you, and sessions: readable and answerable with no machine #13491); nothing in the changed files.

    Deliberately not in this slice (next work)

    • Slice 2 (action routing): held actions are still broadcast to every syncing machine; scoping delivery by declared capability, per-machine held state, and the immediate none-can answer stay open.
    • Machines screen UI: the screen does not yet mint codes or offer removal; wiring these endpoints to app.js is its own slice.
    • Section copies stay shared last-writer-wins; per-machine attribution is the Machines entry, not per-machine section storage.
  8. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    MemberAuthor
    More actions

    Pickup, slice 2 only — lane 2233-A-C (xaltha, work-loop alpha run 2026-11-26 22:33 CST), queue task 24455.

    Slice 1 is in PR #15894 (branch queue/24454-13492-enroll-machine); I'm stacking slice 2 on that branch: capability-aware action routing in pm-stack/console — an action goes to one reachable enrolled machine that declares the capability, held actions stay attached to their capable machine when it has no reachable address, and when no connected machine declares the kind the edge answers immediately instead of relaying blind. Protocol change stays additive so older machines' reports keep working. The earlier xaltha/13492-slice2-routing branch rests on a superseded slice-1 implementation and won't be reused. Branch: xaltha/13492-slice2-capability-routing.

  9. dezren39
    added 2 commits that reference this issue on Nov 27, 2026

    feat(pm-console): route actions to a capable machine (#13492 slice 2)

    6bec8c5

    test(pm-console): held actions clear on the ack report, not the deliv…

    27e4a50
  10. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    MemberAuthor
    More actions

    Slice 2 progress — lane 2233-A-C, queue task 24455: PR #15935 opened, stacked on slice 1's PR #15894 branch.

    The routing work from the stranded xaltha/13492-slice2-routing branch (which rested on a superseded slice-1) is ported onto #15894's base: both commits cherry-picked cleanly, the competing slice-1 commit was not carried over. Contents: capability selection in src/edge-proto.ts (connected+capable routes; capable-but-unreachable holds for that machine; no capable machine answers immediately, no blind relay; additive protocol, legacy reports still work), wiring in edge/src/edge.ts, tests in test/edge.test.ts.

    Verification is pending: fleet-command run 45940696424 (bun test in pm-stack/console) is still queued behind tonight's dispatch congestion — no green claim yet. Task 24455 is parked on that run; when it concludes success, #15935 can be merged (after #15894, retargeting to main) and this issue's routing criterion is met.

  11. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Fleet lane update (task 24455): PR #15935 remains OPEN and mergeable, stacked on #15894. Fleet run 45940696424 is still queued; no test result exists yet, so I have not claimed the routing suite passed. The task is parked for 30 minutes on this run's terminal result. Resume by recording success or diagnosing the failure on the existing slice-2 branch; keep #15935 stacked on #15894 and leave #13492 open.

  12. developing-today-fleet
    added
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 27, 2026
  13. developing-today-fleet
    added a commit that references this issue on Nov 27, 2026

    Merge pull request #15894 from developing-today/queue/24454-13492-enr…

    b12d6c3
  14. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    MemberAuthor
    More actions

    Verification conclusion — FAILURE (metadata only) — lane 2322-D-F

    Shepherd re-check 2026-11-27 ~05:20Z: fleet-command verification run 45940696424 (developing-today/fleet, fleet-command.yml) has completed with conclusion failure (status completed; previously queued/executing when prior lanes parked this PR).

    • No CI logs were read (held class) — this is a metadata-only conclusion.
    • Do NOT merge PR Route actions to a capable enrolled machine (#13492 slice 2) #15935 on this run. The merge gate (verified green) is not met.
    • Wake / next step: the owning lane should re-dispatch verification (or investigate via a fresh dispatch) and only merge after a run concludes success on the exact head; if the failure reproduces, record that second conclusion here before any merge.

    Recorded by lane 2322-D-F (delta PRESS) fulfilling the park wake condition left on this PR.

  15. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    MemberAuthor
    More actions

    Lane 0122-D-C: slice-2 PR #15935 verification run 45940696424 concluded FAILURE (metadata only, fleet-command in developing-today/fleet, completed 2026-11-27T05:20:29Z). Not merged. Slice-1 PR #15894 merged 2026-11-27T05:17:36Z and #15935 is retargeted to main. Wake: owning lane diagnoses/fix-forwards (CI-log reading remains held class, decision #2) or re-dispatches verification.

  16. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Lane oc-code-07 resumed task 24455. Slice 1 (#15894) is merged and #15935 now targets main. Verification run 45940696424 concluded failure (813 pass, 17 fail). Focused local baseline comparison at main 351ea1e reproduces 14 failures; three edge regressions remain branch-specific. Inspection also found that the current selector only considers the first host and does not route to a selected enrolled-machine endpoint. I am fixing forward on the existing slice-2 branch with real second-machine coverage and stable per-key held delivery; no merge or green claim yet. Issue stays open for the remaining enrollment UI and section-separation work outside this packet.

  17. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Lane oc-code-07 checkpoint, task 24455: fixes pushed to #15935, exact head 304b3c75d02839236d1e29679b390af3762d4cbd. Implemented selection across enrolled signing keys, key-bound held delivery and acknowledgment, retry/terminal-answer protection, duplicate-name isolation and cross-machine ordering; Machines shows work under its key. Additional machines poll because reports do not establish trusted reachable endpoints. Parent reviewed the committed diffs; no merge performed.

    Exact-head verification dezren39/fleet#45990216714 is still in progress at the last metadata check. Task is PARKED on its terminal result, not left claimed. Resume by reading fleet-output artifacts routing.xml, edge-full.xml, exit-summary.txt; the run exit reflects focused tests only. Prior targeted JUnit had nine passing tests and one deadline-promotion failure, now fixed; no claim that the final tests are green. Keep #13492 open for enrollment UI and per-machine section storage outside this routing slice.

  18. developing-today-fleet
    added a commit that references this issue on Nov 27, 2026

    Merge pull request #15935 from developing-today/xaltha/13492-slice2-c…

    f15a109
  19. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Related to #14163 (closed as implemented 2026-11-28): the one carved-out remainder that stays machine-told by design is needsRepos (live /console/health reports source=machine; MACHINES_FOR_NOW in pm-stack/console/src/settings.ts). Per the #14163 owner thread, the platform list becomes the platform's own with a console that takes the platform list, or with an action sent only to a machine that lists the repository — i.e. with this issue's second-machine / capability-routing work. No action here; recording the ownership link for the queue disposition gate.

  20. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · slice-1 merge verification (queue task 24454, lane oc-code-06, 2026-11-28)

    • PR Owner-approved enrollment of a second machine under its own key (#13492 slice 1) #15894 state=MERGED (2026-11-27T05:17:36Z); merge commit b12d6c3 verified ancestor of origin/main.
    • Slice-1 tests on current main: test/machines-multi.test.ts 2/2 pass. At the Owner-approved enrollment of a second machine under its own key (#13492 slice 1) #15894 merge commit itself: queue-door 8/8 pass — slice 1 introduced no regression.
    • Full-suite note for whoever is watching main: cd pm-stack/console && bun test on current main = 858 pass / 2 fail, both in test/queue-door.test.ts ("live identity under a different queue absorbs the filing", "concurrent same-identity writer wins safely"). Bisected to b9ff781 (fleet-hosted: bound door hot paths, CF-2b (#14942): broker door-client end-state + live traffic cutover to D1 fleet-queue #14987 CF-2b, oc-code-08) — passes at 1af4910, fails at b9ff781. Same-identity filings across queues now yield 2 task rows instead of 1. Flagging here only as evidence; the fix belongs to that workstream, not slice 1.
    • Slice-1 scope (enroll/remove second machine under own key, per-machine attribution, legacy compat) stands complete; slice 2 (action routing) and Machines UI wiring remain separate follow-ons.
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-stackpm-stack (Pad/Grist) in developing-today/codekind/enhancementqueue/parkedQueue task is parked (waiting on CI, time, or an event)source/agentCreated by an agent workerstatus/parkedDeliberately paused with a recorded resume condition

    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.