Title: pm-stack: push answer write-back to the queue broker — a phone tap applies broker-sourced decides (Actions-exec extensions first) · Issue #14043 · developing-today/code · GitHub
Open Graph Title: pm-stack: push answer write-back to the queue broker — a phone tap applies broker-sourced decides (Actions-exec extensions first) · Issue #14043 · developing-today/code
X Title: pm-stack: push answer write-back to the queue broker — a phone tap applies broker-sourced decides (Actions-exec extensions first) · Issue #14043 · developing-today/code
Description: PM stack next phase — push answer write-back to the queue broker The phase: a phone tap on a broker-raised push writes the answer back to the queue broker, so the broker applies it directly — no seat-run intermediary. Where v1 stops (the...
Open Graph Description: PM stack next phase — push answer write-back to the queue broker The phase: a phone tap on a broker-raised push writes the answer back to the queue broker, so the broker applies it directly — no se...
X Description: PM stack next phase — push answer write-back to the queue broker The phase: a phone tap on a broker-raised push writes the answer back to the queue broker, so the broker applies it directly — no se...
Opengraph URL: https://github.com/developing-today/code/issues/14043
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pm-stack: push answer write-back to the queue broker — a phone tap applies broker-sourced decides (Actions-exec extensions first)","articleBody":"## PM stack next phase — push answer write-back to the queue broker\n\n**The phase:** a phone tap on a broker-raised push writes the answer back to the queue broker, so the broker applies it directly — no seat-run intermediary.\n\n**Where v1 stops (the gap):** the fleet Actions exec tiered lease-extension policy (#13774, tiers live via PR #13854) raises its tier-2/tier-3 asks as answerable pushes. Drew's tap records his answer in the PM ledger through the Phase 1 answer machinery (the tap posts to `/api/needs-drew/\u003cledgerId>/answer` under the per-question token; the resolution is recorded and exported like any other). But nothing then applies that answer to the broker: a seat notices the recorded answer and runs `/actions-exec-extend-decide` (`{handle, approve: bool}`) by hand. #13774's endpoint list names this exactly: \"the phone tap → broker write-back is the PM stack's next phase; v1's write-back is a seat running this verb on Drew's recorded answer.\" The broker-side alert builder says the same (`pkgs/fleet/crates/fleet-queue/src/needs_drew.rs`: \"the phone -> broker write-back is the PM stack's next phase\").\n\n**What this phase delivers:** when a recorded answer belongs to a broker-sourced alert (first consumer: source `fleet-actions-exec`, key `actions-exec-ext:\u003chandle>`, options approve/deny), an applier calls the broker's decide verb with the recorded answer — automatically, exactly once, and with failures raised as alerts rather than dropped log-only. The seat-run step disappears; the ledger remains the place of record for the answer itself.\n\n**Why this is design-first (the seams a design of record must settle before a build packet):**\n1. **Applier placement** — aggregator-side dispatch when a broker-sourced resolution is recorded, vs broker-side consumption of the resolution records the aggregator already exports to the ledger/fleet-feed path. The choice spans both codebases (pm-stack aggregator, pkgs/fleet broker).\n2. **Identity and authority** — the decide route is seat-shaped (a seat acting on Drew's answer). What identity does the applier present to the broker, and how does the broker know the call carries Drew's genuine recorded answer? The per-question answer token's authority ends at the aggregator; the broker needs its own reason to trust the application.\n3. **Exactly-once application and races** — intake dedupes double-taps/retries by answer id; application must additionally be idempotent against an already-decided session, an expired decision grace, and a tier-2 silence-approval landing before a late tap arrives.\n4. **Failure behaviour** — a failed decide application must raise a visible alert (the #13902 lesson: today a failed raise is a broker log line and nothing else).\n\n**Dependency:** #13902 (the PM alerts throat returns 401 for the current alerts-intake token — broker-raised pushes dropped) is the prerequisite for any live end-to-end proof: until pushes flow again, a tap answer cannot be exercised against a real session. The aggregator-restart fix for #13902 is in flight as its own lane. Design work for this phase can proceed in parallel; the live proof cannot.\n\n**Sibling, not duplicate:** #13469 (Phase 2 step 3: edge answer intake + heartbeat drain) is the transport that lets Drew answer while the laptop is down; it lands answers in the same ledger and explicitly leaves \"the catcher's application of answers\" out of its scope. This phase is that application step, for broker-sourced alerts. The two compose: however an answer reaches the place of record, the applier consumes it from there.\n\n**Acceptance (phase level):** on a live Actions exec session, Drew taps approve (or deny) on the extension push and the broker applies the decide with no seat in the loop — the session's lease state reflects the answer, the application is recorded against the answer's record, and a forced application failure raises an alert Drew can see. Proven live, the way ACTIONS-EXEC-3's tiers were proven on the production broker.\n\n**Prioritization:** Drew, 2026-11-23 ~21:13 CST — \"Please prioritize that next phase.\" (Recorded in full, with the queue packet, in the comment below.)\n\n\u003c!-- pm-metadata:start -->\n```json\n{\n \"direct_parent\": null,\n \"links\": [],\n \"lineage\": {\n \"design\": null,\n \"roadmap_item\": null,\n \"priority\": null\n },\n \"pm_meta\": 1,\n \"provenance\": {\n \"queue_id\": null,\n \"scheduled_start\": null,\n \"picked_up_at\": null,\n \"work_started_at\": null,\n \"created_at\": \"2026-11-24T03:19:33Z\",\n \"session_id\": null,\n \"lane\": null,\n \"host\": \"htch-runtime\",\n \"worktree\": null,\n \"model\": null,\n \"lane_start_issues\": [],\n \"workspace_ref\": null,\n \"auth_subject\": \"archer\",\n \"stamped_by\": \"fleet 0.1.0 (native)\"\n }\n}\n```\n\u003c!-- pm-metadata:end -->\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-24T03:19:47Z","url":"https://github.com/developing-today/code/issues/14043"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e4ff3116-c85b-5342-ede5-7baa137da98f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E308:38A9D8:E0F2:12821:6B060AD2 |
| html-safe-nonce | 8f09a4f17148b52dfa088e1603e26d5741f52a95c45ac5d6d88a58ad8bd2c442 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzA4OjM4QTlEODpFMEYyOjEyODIxOjZCMDYwQUQyIiwidmlzaXRvcl9pZCI6IjQwMzU2MDc5NDUyMTA2Mjg4MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a84e955eebb3e43e176e53b7439fe45d5324ab02efcb32c1adb719b1bebec862 |
| hovercard-subject-tag | issue:6573855706 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/14043/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fb2f94d8406c7781f1bea24a7638be3ac48cb8a4bd4ddc5976828f9313040cf4/developing-today/code/issues/14043 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fb2f94d8406c7781f1bea24a7638be3ac48cb8a4bd4ddc5976828f9313040cf4/developing-today/code/issues/14043 |
| og:image:alt | PM stack next phase — push answer write-back to the queue broker The phase: a phone tap on a broker-raised push writes the answer back to the queue broker, so the broker applies it directly — no se... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 47127d2f2009e000f3401193f8b4163109ac669adad0804de1ee0e6333ca7b9e |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0760ea46a027ba5099cdef7abd54f27865eb4f44 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width