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: owner route-flip endpoint for the front door (CF-4, #14944) by developing-today-fleet[bot] · Pull Request #15546 · developing-today/code

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 26, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

What changed

The per-surface route state landed in #15519 (CF-4, #14944) is kept in the PmEdge Durable Object and flippable only on the internal channel (/internal/route), which nothing calls: no operator and no pipeline step could flip a surface, so a flip could never become what /console/health says from outside.

This PR adds the operator surface for the same flip: POST /console/api/route in the edge's owner section of pm-stack/console/edge/src/edge.ts.

  • The owner is verified and the write is same-site-checked exactly as for the sibling /console/api/act; the flip itself is the existing routeFlip the internal channel uses, so the two surfaces can never disagree about what a surface or a tier is.
  • A flip changes declared state only — it is what /console/health reports (routes), and undoing it is flipping back. It is never relayed to a machine: route state is the edge's own, rebuildable front-door data.
  • Unverified requests keep the edge's standing behaviour (passed to the host; state unchanged). A body that is not a surface name and a tier is refused 400 and changes nothing, as on the internal channel.

One test in pm-stack/console/test/edge.test.ts (owner flips hosted → health says so → flips back → stranger cannot flip → malformed flip refused), beside the existing internal-channel test.

Verification

Remote only (fleet-command workflow on developing-today/fleet, run id recorded in a follow-up comment): bun test test/route-state.test.ts test/edge.test.ts in pm-stack/console at this head.

Deploy / rollback

Deploys automatically on merge via pm-console-edge-deploy (versions upload → deployed-commit health gate → promote; a failed gate restores the previous version). Rollback: workflow_dispatch with rollback_version set to the previously serving version (currently the one reporting commit ae3967f), or expose.py --edge off on the host. Full rollback note is on #14944 (comment 7190090064), posted before this PR.

After merge + green deploy, the live flip verification (flip board hosted → read /console/health → flip back → read again) is recorded on #14944; that closes CF-4's live-flip acceptance item. The client-fallback shell layer and request-path consultation of route state remain open on #14944/#14107 as recorded there — this PR does not claim them.

Refs #14944

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-26T11:03:12Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "4291c7d25d6699e6d0378dcce687f1935ec39c09"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Felix
pm-console-edge: owner route-flip endpoint for the front door (CF-4, #…
d363c82
…14944)

The per-surface route state landed in #15519 is kept in the PmEdge
Durable Object and flippable only on the internal channel, which
nothing calls: no operator and no pipeline step could flip a surface,
so the flip could never be what /console/health says from outside.

Add POST /console/api/route in the edge's owner section: the owner is
verified and the write is same-site-checked exactly as for
/console/api/route's sibling /console/api/act, and the flip itself is
the same routeFlip the internal channel uses, so the two surfaces can
never disagree about what a surface or a tier is. A flip changes
declared state only; undoing it is flipping back. Unverified requests
keep the edge's standing behaviour (passed to the host, state
unchanged); a body that is not a surface and a tier is refused 400
and changes nothing.

Refs #14944
@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b399fa6d-bd39-460d-9d1c-637822a67eb4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 26, 2026
CF-4 (#14866): PM front door + tunnel tier (M1+M3) #14944
Open
3 tasks
@developing-today-fleet

developing-today-fleet Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

agent-note:v1 — recheck lane CB, 2026-11-26 ~11:12Z: stand-down, verification still pending.

  • PR state re-read fresh: OPEN, head unchanged d363c8243a19c03ab9a3b18d5886f66d6c8b3d87, mergeable=true / mergeable_state=clean (REST). No new PR or CF-4 (#14866): PM front door + tunnel tier (M1+M3) #14944 comments since the felix lane's 11:08:03Z agent-note; no completion/release note from the author lane yet.
  • Verification run 45806464283 (bun test test/route-state.test.ts test/edge.test.ts at this head): still queued — the Linux (developing-today/code) job has not started (target-selection job succeeded 11:07Z; macOS job skipped). No conclusion, no test output yet.
  • Not merged: merge gate requires that run SUCCESS with real test output at this head. Next check should re-read the run; merge only on success with the author lane no longer actively working the PR.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 26, 2026
fleet-stalling: queue broker unreachable since 2026-11-25T14:00:28Z #15131
Closed
4 tasks done
@developing-today-fleet
developing-today-fleet Bot merged commit 3989108 into main Nov 26, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot deleted the felix/cf4-route-flip-endpoint branch November 26, 2026 13:07
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
CF-6 (#14866): PM interactive surfaces — attention + answer flows (M6) #14946
Open
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

0 participants

Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.