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 — pm-console edge: the platform's settings are whatever the last machine told it (who may sign in, which repositories, the queue) · Issue #14163 · developing-today/code

pm-console edge: the platform's settings are whatever the last machine told it (who may sign in, which repositories, the queue) #14163

New issue
Copy link
New issue
Copy link
Done
Done
pm-console edge: the platform's settings are whatever the last machine told it (who may sign in, which repositories, the queue)#14163
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/designA design proposal (design-architect): multi-step, phased, decision-bearingmeta/roadmap-driftROADMAP/docs drift from the codesource/agentCreated by an agent workerstatus:in-review

Description

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

What is so

The Worker holds no settings of its own. At every report the laptop's console sends its whole configuration, and the Worker stores whatever it was sent (pm-stack/console/edge/src/edge.ts, the sync handler: edgeConfig(msg.config) → kv.put("cfg", cfg); the sender is config() in pm-stack/console/src/server.ts). That is everything in EdgeConfig (pm-stack/console/src/edge-proto.ts):

  • who may sign in: owners, issuers, certNames, and the Android app's androidPackage / androidFingerprints
  • where the work is: repo, queue, queueDbUrl, queueTokenName (a name, not a value), promptLabel
  • where to look for what needs the owner: needsRepos

So the platform's settings are the environment and defaults of whichever checkout the last machine to report was running.

What it cost, seen today

The console's default needsRepos named three repositories by names they no longer have (fixed with #14103's fix). The correction is merged, deployed to Cloudflare from Actions, and changes nothing in service: the laptop's checkout is behind main (#13833), so it goes on telling the Worker the old list, and the Worker goes on asking by the old names. A change to the platform's own settings reaches the platform only when the laptop runs it. That is the laptop being required for a core function, which is what the platform was reworked to end.

What it will cost with a second machine (#13492)

  • Two machines on different checkouts each replace the other's settings at every report, and the Worker flips between them (it also re-evaluates what it can do itself each time they change).
  • Any enrolled machine can change who may sign in. Today one machine holds the one key, so this is no wider than the key; with machines enrolled under their own keys it is every machine.

What done looks like

  1. The settings are the platform's own: defaults carried by the deploy (from the repository, by the Actions deploy that already ships the Worker), and what the owner changes from the app kept at the edge. One place says which is in force and since when.
  2. A machine's report cannot change them. A machine is told the settings (or reads them) so that what it does for the platform agrees with the platform.
  3. A machine running other settings than the platform's is said on the Machines screen, next to the machine on other code (pm-console: the laptop's console has not followed main since 2026-11-23 22:09Z #13833), not acted on.
  4. Sign-in never opens wider on the way: the first deploy that carries settings carries exactly the owners and issuers in force now, there is no moment with none, and a test holds the deploy's values to the console's defaults (as pm-stack/console/test/needs.test.ts now holds needsRepos to the dashboard's REPOS).
  5. Seen in service: change a setting in the repository, watch it take effect at the Worker with the laptop off.

Not part of this

Secrets. The Worker's tokens are handed to it by name and stay as they are.


Generated by Claude Code

Activity

  1. dezren39
    added
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    source/agentCreated by an agent worker
    on Nov 24, 2026
  2. developing-today commented on Nov 24, 2026

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

    CODE-5208

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026 – with Claude
    MemberAuthor
    More actions

    First step merged and in service (#14172, deployed as e053b2753c3b).

    • The repository's settings are written once (pm-stack/console/src/settings.ts), and the Worker's bundle carries them.
    • The Worker says in its health answer in which of them the laptop tells it otherwise, by name only:
    curl -s https://pm-console-edge.developing-today.workers.dev/console/health | jq .machineSettingsDiffer
    ["needsRepos"]
    

    So the laptop tells the repository, the queue, where its store answers, its token's name, the Android package and the instruction label exactly as main has them. None is set by hand on the laptop, and the Worker going by its own for those six changes nothing it does today. That is next.

    The list of repositories is set apart. A machine takes a reply, or "done", only for an item in a repository on its own list. The Worker leaves a reply to a machine when its own token is turned away, and whether its token may write in the other three repositories cannot be known from outside. Reading by main's list while the laptop has the old one would make a reply that works today fail. So for the list the Worker goes on by the machine's while one tells it, says that it differs, and the list becomes the platform's own together with what makes that safe (a console that takes the platform's list from the Worker, or an action sent only to a machine that lists the repository, #13492). The plan and this change to it are in the design record.


    Generated by Claude Code

  4. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026 – with Claude
    MemberAuthor
    More actions

    Second step merged and deployed (#14185, in service as 2e0b792ba653).

    The Worker goes by its own for six settings: the repository, the queue, where the queue's store answers, what its token is called, the Android package and the instruction label. They are the ones its bundle carries (pm-stack/console/src/settings.ts), so they change with a merge to main and a deploy and with nothing else. What a machine tells for them is kept as told, compared and shown on the Machines screen (what the machine says, what main says, which Cloudflare goes by), and not used.

    Checked in the real Worker runtime with the stand-in host telling others than main's for all six throughout the run; with the change undone that check fails.

    Left of this issue

    • The list of repositories looked in for what needs the owner. It is still the machine's while a machine tells one, for the reason above. It becomes the platform's own with a console that takes the platform's list from the Worker's answer to its report, or with actions sent only to a machine that lists the repository (Machines: enrol a second machine under its own key, send each action to one that can do it #13492).
    • Who may sign in. Still as a machine tells it, until the hostname's settings are applied from Actions (Platform: the hostname, its sign-in and its route are applied from Actions, not from the laptop #13495).
    • Settings the owner changes from the app, kept at the edge.

    Not seen yet. The Worker's hourly check of its own reads under this version (due after 08:49Z; the six are the same values as before, so the requests are the same). The Machines screen itself needs the owner signed in.


    Generated by Claude Code

  5. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triage (task 22533, lane oc-code-06)

    Triage verdict fresh 2026-11-24 (main 9c2b4ad096e): OPEN, in active progress today — no packet routed to avoid colliding with it.

    • Fresh state: pm-console edge: the platform's settings are whatever the last machine told it (who may sign in, which repositories, the queue) #14163 OPEN (app/pm-stack/kind/design/source/agent). Two steps merged and deployed today: feat(pm-console): the repository's settings are written once, and the edge says where the laptop differs #14172 (repo settings carried by the Worker bundle, machineSettingsDiffer in health) and feat(pm-console): the edge goes by the repository's settings, whatever a machine says #14185 (Worker goes by its own for six settings). No queue item, no open PR.
    • Remainder (per the issue thread): needsRepos list (still the machine while one tells it — becomes platform-owned with a console that takes the platform list from the Worker, or actions sent only to a listing machine, Machines: enrol a second machine under its own key, send each action to one that can do it #13492); sign-in settings (until hostname settings applied from Actions, Platform: the hostname, its sign-in and its route are applied from Actions, not from the laptop #13495); owner-changed settings kept at the edge. Gates Machines: enrol a second machine under its own key, send each action to one that can do it #13492 and Platform: the hostname, its sign-in and its route are applied from Actions, not from the laptop #13495 both OPEN.
    • Why no packet: same-day owner-driven rollout in flight; a lane packet on the remainder now would compete with it, and the remainder is gated on Machines: enrol a second machine under its own key, send each action to one that can do it #13492/Platform: the hostname, its sign-in and its route are applied from Actions, not from the laptop #13495 which carry their own work.
    • Resume condition: Machines: enrol a second machine under its own key, send each action to one that can do it #13492 lands (second machine) or Platform: the hostname, its sign-in and its route are applied from Actions, not from the laptop #13495 lands (hostname from Actions) — then route the corresponding pm-console edge: the platform's settings are whatever the last machine told it (who may sign in, which repositories, the queue) #14163 remainder slice. Completing task 22533 as triaged.
  6. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (lane oc-code-02, queue task 22737, 2026-11-24): open and real. The Worker stores whatever config the laptop console last sent (edge.ts sync handler, kv cfg), so settings follow the last reporting checkout. A fix means choosing where the authoritative settings live (Worker-held config vs laptop-pushed with a version check), which is a design decision, not a small fix. No code packet routed yet; route a design follow-on under the pm-stack design work. Tracking: #14158.

  7. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026 – with Claude
    MemberAuthor
    More actions

    Seen in service at 2026-11-24T08:49:26Z: the Worker's own hourly check ran under d8688f81024b, which goes by the platform's own settings, and all five things it reads itself (board, pull requests, priorities, prompts, the needs list) read whole. machineSettingsDiffer is ["needsRepos"] and nothing else, as expected until the console takes the platform's list.


    Generated by Claude Code

  8. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026 – with Claude
    MemberAuthor
    More actions

    The list of repositories no longer differs in service. Since 2026-11-24 10:19Z the laptop's console runs main's code from its own copy of main (#14286, #13833), and main's console takes the platform's list. machineSettingsDiffer on the Worker's health is now empty; it was ["needsRepos"] while the laptop ran older code.

    Still open here: who may sign in is told by a machine (#13495), and none of the settings can be changed from the app.


    Generated by Claude Code

  9. developing-today-fleet commented on Nov 25, 2026

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

    🤖 Agent note · triage (task 22737, lane felix)

    Verdict, fresh 2026-11-25: OPEN and real, but most of it is already resolved in service. Not closable; one ungated remainder, now routed.

    Verified against the issue thread and main (pm-stack/console/src/settings.ts, pm-stack/console/edge/src/edge.ts):

    • ✅ The seven platform settings are the platform's own. Step 1 (feat(pm-console): the repository's settings are written once, and the edge says where the laptop differs #14172) put them in the repository (settings.ts, carried by the Worker bundle); step 2 (feat(pm-console): the edge goes by the repository's settings, whatever a machine says #14185) made the Worker go by its own for them. A machine's told values are kept for comparison only (machineSettingsDiffer in health).
    • ✅ needsRepos no longer differs in service — since 2026-11-24T10:19Z the laptop's console runs main's code (fix(pm-console): a machine's console runs from its own copy of main, fetched from GitHub #14286, pm-console: the laptop's console has not followed main since 2026-11-23 22:09Z #13833) and machineSettingsDiffer is empty.
    • ⏳ Who may sign in (owners/issuers) is still a machine's/deployment's, by design for now. settings.ts states it directly: sign-in is "set when the hostname is, and are the deployment's". That remainder belongs to Platform: the hostname, its sign-in and its route are applied from Actions, not from the laptop #13495 (OPEN, updated today 2026-11-25T08:13Z) — no packet routed for it here; it moves when Platform: the hostname, its sign-in and its route are applied from Actions, not from the laptop #13495 lands.
    • Routed: the last ungated remainder — settings the owner changes from the app, kept at the edge, with one place saying which are in force and since when (acceptance item 1) — as a design-first feature_slice packet on repo-health-code-pilot (dedupe repo-health:v1:slice:developing-today/code:issue:14163:slice-1): design doc PR in doc/ covering edge storage, precedence vs platformSettings(), per-setting in-force reporting, and machine propagation, then implementation slices filed from it.

    Tracking: #14158.

  10. developing-today-fleet commented on Nov 25, 2026

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

    🤖 Agent note · design lane (task 23728, lane felix)

    Picked up the routed remainder slice: settings the owner changes from the app, kept at the edge (acceptance item 1). Premise checked fresh against main dc64602f1 / worktree base 941ec5e3e8: #14163 OPEN, no open PR covers this design, the seven platform settings are repository-carried (pm-stack/console/src/settings.ts), the Worker goes by its own for six (goesBy() in settings.ts, applied in Edge.config()), needsRepos no longer differs in service, and sign-in stays the deployment's — gated on #13495, out of this slice's scope.

    Working: design doc PR in doc/ covering edge storage for owner-changed settings, precedence vs platformSettings(), per-setting in-force reporting, and how machines learn the effective settings; implementation slices filed from it. No implementation in this packet.

  11. developing-today
    added
    status:in-review
    on Nov 25, 2026
  12. developing-today-fleet commented on Nov 25, 2026

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

    🤖 Agent note · design landed (task 23728, lane felix)

    Design PR: #14963 — doc/2026-11-25T08-48-36Z_design_pm-owner-settings-at-edge.md, written against main 941ec5e3e8 (settings.ts, edge.ts toldConfig/config()/health, edge-proto.ts, src/config.ts).

    In short: an OWNER_CHANGEABLE class (initially promptLabel + needsRepos; sign-in, credential routing and platform identity are structurally out), one OwnerSettings record {rev, at, by, values} kept in the PmEdge object's storage under "ownerSettings" alongside — never inside — the machine-told "cfg", three-layer precedence (repository → machine for needsRepos → owner) via a pure effectiveSettings(), in-force reporting via settingsInForce() on health (names/sources/since) and the Machines answer (values + repository contrast), settings.set/settings.clear owner actions with whole-or-nothing validation, and machines learning the effective settings from an additive SyncResponse.settings field.

    Implementation slices filed: S1 #14953 (vocabulary + merge; enqueued as task 23732), S2 #14954 (edge keeps and goes by the record), S3 #14955 (in-force reporting), S4 #14956 (write path + app), S5 #14957 (machines learn). S2–S5 enqueue as predecessors land.

    Remaining gated item, restated: who may sign in (owners/issuers) is still a machine's/deployment's — that remainder belongs to #13495 (OPEN) and is out of this design's scope, exactly as settings.ts states. #14163 stays open for S1–S5 and the #13495 remainder.

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

    Merge pull request #14963 from developing-today/felix/14163-owner-set…

    75278de
  14. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026 – with Claude
    MemberAuthor
    More actions

    Lane 1 update: slices S3, S4 and S5 (#14955, #14956, #14957) merged in PR #15350 as 746dc77.

    • Item 1 is met in code. The owner changes a setting from the Machines screen and the edge keeps it. Health and the machines API both say which setting is in force, where it came from (repository, owner or machine) and since when.
    • Item 2 is met for owner-changeable settings. Machines are told the settings in the sync answer and run with them.
    • Proof: remote run https://github.com/developing-today/code/actions/runs/45744339068 printed TSC_OK, 726 pass, 0 fail. The pm-console-edge deploy from main started as run 45744959050.

    Item 5 (seen in service with the laptop off) is still open. This issue stays open for it.


    Generated by Claude Code

  15. developing-today-fleet commented on Nov 26, 2026

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

    🤖 Agent note · triage (queue task 24523, lane oc-code-02)

    • Verdict: not closable. Most of the issue is delivered: the design PR doc(pm-console): design — settings the owner changes from the app, kept at the edge (#14163 remainder) #14963 landed, and slices S3–S5 merged in PR pm-console: settings in force, changed by the owner, used by machines (#14955 #14956 #14957) #15350 (746dc77). Owner-changeable settings live at the edge, and machines are told the effective settings.
    • Still open: acceptance item 5 (seen in service with the laptop off), which needs a live check after a deploy.
    • Sign-in (owners/issuers) stays with the deployment until Platform: the hostname, its sign-in and its route are applied from Actions, not from the laptop #13495 lands. That is a separate issue, so no new packet is routed here.
    • No follow-up issue filed: the remaining work is already tracked.
  16. developing-today-fleet commented on Nov 26, 2026

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

    Triage re-verification · task 24706, lane code-g (2026-11-26): not closable, no small fix. S1 #14953 and S2 #14954 CLOSED; S3-S5 merged in PR #15350. Still open: acceptance item 5 (settings change seen in service with the laptop off — needs a live check after deploy) and the sign-in remainder gated on #13495 (OPEN). No new packet routed; remaining work already tracked.

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

    Triage re-verification · task 24706, lane any-n (2026-11-28): not closable yet, follow-on routed.

    • State fresh: pm-console edge: the platform's settings are whatever the last machine told it (who may sign in, which repositories, the queue) #14163 OPEN; design PR doc(pm-console): design — settings the owner changes from the app, kept at the edge (#14163 remainder) #14963 landed; slices S3–S5 merged in PR pm-console: settings in force, changed by the owner, used by machines (#14955 #14956 #14957) #15350 (746dc77, 2026-11-26). No code change in this packet (triage scope).
    • Gate update vs the 23:41Z note: Platform: the hostname, its sign-in and its route are applied from Actions, not from the laptop #13495 is CLOSED/COMPLETED (2026-11-27T02:55Z, criteria verified against merged slices) — the sign-in remainder it gated is now actionable, as is the item-5 live service check (settings change seen with the laptop off).
    • Follow-on routed: queue task 26297 (repo-health-code-pilot) — verify item 5 + sign-in remainder against the live service; close this issue with evidence if green, or route scoped real-work packet if red.
  18. 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

    Verification verdict (queue task 26297, lane oc-code-03, 2026-11-28T00:35Z): both scoped items GREEN against the live service. Closing with evidence.

    Item 5 — repo setting change takes effect at the Worker (no laptop in the path): GREEN

    • Repo change: e79730eb937 (PR Move the fleet queue and dispatch jobs store to D1 #14840, merged Nov 26) changed queueDbUrl in platformSettings() (pm-stack/console/src/settings.ts): https://fleet-queue-dezren39.aws-us-east-1.turso.io -> https://d1-gateway.developing-today.workers.dev/db/fleet-queue.
    • Deploy: Actions workflow pm-console-edge deploy, run 46064110272 (main push, success 2026-11-27T20:30:39Z). Live Worker reports version a765fe2a, deployedAt 2026-11-27T20:32:39Z; a765fe2a verified descendant of e79730eb937, so the bundle carries the new URL.
    • Live effect (checked 2026-11-28 ~00:20-00:30Z): /console/health shows settingsInForce with queueDbUrl and the five other PLATFORM_OWN settings all source=repository; machineSettingsDiffer=[] while the laptop is reporting fresh (hostSeen 00:21:05Z) — a machine report cannot move them (code: PLATFORM_OWN + goesBy() in settings.ts). queueTransport.status=up (lastOk 00:10:27Z) and all eight selfCheck queue-backed reads ok: the Worker serves queue reads through the repo D1 URL from its deployed bundle.

    Sign-in remainder post-#13495: GREEN

    • Platform: the hostname, its sign-in and its route are applied from Actions, not from the laptop #13495 closed COMPLETED 2026-11-27T02:55Z (slices Add repo-described Cloudflare state applier (#13495 slice 1) #14563/fix(pm-cloudflare): use the PM account token source #14810/fix(pm-cloudflare): preserve Google sign-in when credentials are absent #14828, feat(pm-cloudflare): switch Worker direct mode through Actions #14921, feat(pm-console): show Cloudflare apply provenance on the Cloudflare screen (#13495 slice 3) #14930, fix(pm-stack): keep laptop expose tunnel-only #15846).
    • Live: https://pm.security.cab/console/ answers 302 to the Cloudflare Access login for hostname pm.security.cab — the deployment gate is in force. Repo infra/pm-cloudflare/state.json (main) declares the host, tunnel amd-6-pm-stack, Access app (owner allow + Google IdP, five public bypass paths including /console/health and /console/edge), DNS and Worker route with repo-secret token envs.
    • pm-stack/console/scripts/expose.py on main owns only tunnel ingress (usage: expose.py [--check]; its own docstring: Access, DNS, Worker routes and Worker settings are applied only by the repository workflow). settings.ts states sign-in is "set when the hostname is, and [is] the deployment" — and the hostname is now applied from Actions.

    Known carve-out, not this packet: needsRepos still reports source=machine in live health — by design (MACHINES_FOR_NOW in settings.ts), owned by OPEN #13492 (second machine / platform-list adoption per the owner thread). No owner-settings overrides exist in service yet (no owner sources in settingsInForce). No platform changes made in this packet (verification only).

  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

    Closed as implemented.

  20. developing-today-fleet
    closed this as completedon Nov 28, 2026
  21. dezren39
    added
    meta/roadmap-driftROADMAP/docs drift from the code
    on Nov 28, 2026
  22. dezren39 commented on Nov 28, 2026

    @dezren39
    dezren39
    on Nov 28, 2026
    MemberAuthor
    More actions

    Program tending 2026-11-28 — roadmap drift flag (no edit made).

    planning/roadmaps/pm-stack.md row "The platform's settings are its own, not the last machine's" is still in-progress and its only Links entry is this issue, which closed COMPLETED 2026-11-28T00:35Z. But the row's intent text says the sign-in / repository-list part is "still a machine's to tell" and cites #13495 in that clause — so whether the row is now shipped, or continues on work not represented by its Links, is the row owner's call, not a tending guess. Flagged meta/roadmap-drift; the Atlas-book true-up from the same window is in PR #16576.

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/designA design proposal (design-architect): multi-step, phased, decision-bearingmeta/roadmap-driftROADMAP/docs drift from the codesource/agentCreated by an agent workerstatus:in-review

    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.