GeezerVison is showing github.com — CF-6 (#14866): PM interactive surfaces — attention + answer flows (M6) · Issue #14946 · developing-today/code
CF-6 (#14866): PM interactive surfaces — attention + answer flows (M6) #14946DescriptionCF-6 — PM interactive surfaces (#14107 M6).
/attention and the answer flows end to end at the canonical name: edge answer intake (#13469 pattern — record at the edge, hold in the edge DO), the #14043 applier applying recorded answers to the queue exactly once, writer-of-record lease (#9079 §5) respected in every tier. Writes never auto-fall; when the apply path is down the surface says so and keeps the user's input in front of them.
Acceptance: a live answer given at pm.security.cab with no seat in the loop is applied exactly once (the #14043 acceptance), with failures raised as alerts; lease behaviour verified for one board in both editions.
Blocked by CF-4 (front-door route state + edge intake) and CF-5 (the read surfaces it composes) — the #14107 M6 dependencies.
Child of #14866 (Cloudflare-first migration programme). Design of record: doc/2026-11-25_design_cloudflare-first-migration.md (PR #14940). Secrets by name only. Deploys follow the versions standard in design §4 unless this issue says otherwise.
{
"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-25T08:48:37Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Acceptance criteria
- PM interactive surfaces (attention + answer flows, M6) work over the indexed projections as specified in the issue body
- An end-to-end attention item can be answered through the hosted surface, verified live
- Evidence recorded on this issue before closure
Activitydeveloping-today commented on Nov 25, 2026 developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions Intake review
🤖 Agent note · filed
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: repo-fleet-monitor run 2026-11-25T03:14 CST
- Found via: monitor reconciliation — Duty 2 intake enrichment
- Task: Intake pass (protocol §5): verified still live, acceptance criteria appended, labels normalized
- Expectation: Triage and route through the pilot queue when a lane is free
- Links: this issue
Live check: no merged PR or commit referencing this issue was found in this run's merged-PR pull, and the issue is open with no resolving PR — it reads as still live, not solved.
Related: parent programme context named in the title/body (see issue body).
Notes: Filed this morning as part of a coordinated slice wave; several sibling slices are already claimed by lanes — this one was unclaimed at intake time.
Risks: Scope is programme-sized; the acceptance criteria are the monitor's reading of the slice spec in the body — the claiming lane should re-validate them against the parent design before implementing.
Suggested approach: claim through the pilot queue, work the body's spec in order, and check off the acceptance criteria with evidence as each lands.
developing-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions agent-note:v1 — felix lane (CF-6, #14866), 2026-11-26: dependency assessment + sequencing, under the owner ruling on #14866 (comment 7189808145). CF-6 is blocked by CF-4 and CF-5 by its own body; this note records the fresh state of each dependency and what is genuinely independent. No CF-5 work is duplicated here (separate lane owns #14945 and children #14967–#14970, including their D1 retarget).
Dependency state, verified 2026-11-26
CF-4 #14944 (front door + edge intake / route state) — code landed, live flip pending one merge.
CF-5 #14945 (the read surfaces CF-6 composes) — all four children still OPEN.
#14043 (the exactly-once applier CF-6's acceptance names) — not on main.
What is independent, and what this lane did
- The CF-4 flip endpoint (above) is CF-6's route-state prerequisite and is done as a PR.
- The edge's held-answer path can be observed live today (health
held counts + answered/deferred counters), and the writer-of-record lease tables exist in the tenant schema (pm_writer_leases, epoch-fenced) — no new code is needed from CF-6 for either; both are inputs, recorded here so the CF-6 implementation pass does not re-derive them.
- The client half of the write path (Drew's 2026-11-24 amendment on PM stack: migrate fully to Cloudflare hosting (fallbacks: CF Tunnel, then Tailscale DNS) #14107: durable client write queue, reattempted against the same edge intake with the same answer id) belongs to the console shell; it is M1/CF-6 shell work and is NOT started here — building it before the applier exists would queue writes to a consumer that isn't there.
Sequencing (resume conditions, in order)
- Felix merges this lane's CF-4 PR → edge deploy green → live flip recorded on CF-4 (#14866): PM front door + tunnel tier (M1+M3) #14944. (CF-4's route-state leg then fully exists.)
- PR feat(pm-aggregator): applier loop carries broker answers to the decide verb (#14043 S3) #14440 merges → the pm-stack: push answer write-back to the queue broker — a phone tap applies broker-sourced decides (Actions-exec extensions first) #14043 applier exists on main; pm-stack: push answer write-back to the queue broker — a phone tap applies broker-sourced decides (Actions-exec extensions first) #14043's S4 (failure alerts/retry) follows on its own issue.
- CF-5 children close or are explicitly carried, with the D1 tenant DB provisioned and its copy counts recorded on CF-5c (#14945): pm-service serving substrate — async tenant store + Worker entry #14969/CF-5d (#14945): M5 read waves over tenant-DB projections #14970 (CF-5 lane).
- Only then: CF-6 implementation — compose /attention over the CF-5 surfaces at the canonical name, wire the answer flow edge-intake → held queue → pm-stack: push answer write-back to the queue broker — a phone tap applies broker-sourced decides (Actions-exec extensions first) #14043 applier, verify lease behaviour for one board in both editions, and run the live exactly-once acceptance (answer given with no seat in the loop; duplicate delivery of the same answer id applies once; apply-path-down keeps the user's input in front of them and says so).
Until steps 1–3 hold, CF-6 implementation would be theatre over missing foundations; this lane records the blockers rather than faking progress past them. No person is a resume condition except Felix's merge in step 1, which is the standing PR rule for every lane. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions agent-note:v1 — code-j, 2026-11-27: reviewable client retry slice in PR #16129 (not merged), head 65baba3056c94cda84e098b366472397f630a456.
- Free-text submitted answers are retained verbatim by set/ledger/qid after a failed/refused send; reopening restores those words. Drafts clear only after done/held/kept handoff. Submission-identity fencing prevents an older acceptance from erasing a newer failed draft, even when both contain identical words.
- Regression tests drive the real card button → dialog close → submit/sendAnswer path using the console's minimal DOM pattern. Cases cover whitespace/Unicode, every question identity dimension, refused/failed, done/held/kept (including stored payload), and overlapping identical-word submissions. Independent read-only worker and parent reviewers approved the final diff.
- Remote-first verification: Fleet run 45990805387, pinned to this exact head, runs the current regression tests against pre-fix app.js (expected red), restores the new app.js, then runs
bun test test/answer-draft.test.ts test/app.test.ts. Its Execute target command step succeeded at 11:34:48Z, but the run is still in post-command work as of 11:41Z; final conclusion and detailed red/green log inspection remain pending. No local test/build fallback was used. Earlier attempts were setup failures (short-SHA checkout; test PAGES fixture), not accepted red evidence. The normal placement dispatch also hit HTTP 403, so this run uses the documented raw workflow fallback.
- Route actions to a capable enrolled machine (#13492 slice 2) #15935 collision checked: that PR touches edge routing, not these UI/test files.
Acceptance inventory: all three broad acceptance checkboxes stay unchecked. This PR is only the current-page submitted-input-retention subcase, not proof of live hosted exactly-once application, failure alerts, or one-board lease behavior in both editions. Browser reload persistence, cancelled edits, and real-browser rendering are not claimed. No write-tier fallback or outbox protocol behavior was changed.
Next slice: after a follow-up PR, a hosted answer delivered twice under the same answer ID is shown applied exactly once with the seat absent; an unavailable apply path raises its alert and preserves the user's retry text. Record live evidence and both-edition lease checks before checking the broad acceptance or closing #14946. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions
Progress note — oc-code-04, 2026-11-27 ~14:00Z (shortlist task, CF-6 slice)
1. PR #16129 verification closed (was pending in the 11:41Z note)
Remote Fleet run 45990805387 concluded success at 11:43:37Z. I read the full command log and confirm genuine red-green, not just a green conclusion:
- Red: new
test/answer-draft.test.ts against pre-fix app.js (main @ 6cee609): 0 pass / 5 fail (all five draft-retention cases fail as designed; no UNEXPECTED_RED_PASS).
- Green: restored PR
app.js: all 5 answer-draft tests pass, full test/app.test.ts green (70 pass / 0 fail combined), step conclusion success.
- Fresh check this run: test-merged PR head
65baba3 onto current origin/main (8012c1a) in a scratch worktree — auto-merge, zero conflicts (app.js merged, answer-draft.test.ts clean add). bun test test/answer-draft.test.ts test/app.test.ts on the merged tree: 70 pass / 0 fail. Scratch worktree removed afterwards; no repo files touched. PR remains open for Felix per the standing merge rule.
2. Dependency matrix refreshed (changes since the 2026-11-26 assessment)
3. No further independent code slice taken this run — why
Every remaining CF-6 code surface is owned or foundation-blocked: pm-stack/console/public/app.js + answer-draft tests are code-j's open PR #16129 (one writer per file — not touched); the applier is #14043-S5 territory; the /attention composition needs the CF-5 read surfaces, all still open under the CF-5 lane. Building the hosted exactly-once proof now would be theatre over missing foundations.
Recommended next slice (for the next lane that finds CF-5 closed)
Hosted answer delivered twice under the same answer_id is applied exactly once with the seat absent; apply-path-down raises its alert while the user's retry text stays in front of them. Resume when #14967–#14970 close and #14043 records its coordinated live deployment; then run the seat-absent live acceptance (part of #14946). developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions
Progress note — oc-code-08, 2026-11-27 ~18:50Z (shortlist task, CF-6 slice)
1. PR #16129 merge-health verified on current main (was pending in the 14:07Z note)
#16129 merged 17:13Z as 7b7f96dd564. Verified in a scratch worktree at origin/main (f77662f), no repo files touched:
pm-stack/console: bun test test/answer-draft.test.ts test/app.test.ts — 70 pass / 0 fail.
pm-stack/aggregator: actions-exec-apply.test.ts 8/8, actions-exec-apply-alerts.test.ts 6/6 (S3 double-tap + never-resent, S4 alerts, all green).
edge-answers.test.ts 12/12 with the documented dev-mode env (PM_AGG_DEV=1 PM_AGG_SOURCE=fixtures); bare run refuses fixture mode per src/config.ts:258 guard — env setup, not a regression.
- Scratch worktree removed afterwards. PR merged by the fleet bot under the standing merge rule; nothing left open on this subcase.
2. Acceptance inventory re-checked against origin/main — all three boxes stay unchecked
3. No further code slice taken this run — why
Every remaining CF-6 surface is landed, lane-owned, or infra-blocked: console retention merged (#16129); applier + edge intake covered; lease-abort enforcement sits in pm-stack/pm-service/src/collector/store.ts (CF-5c territory, actively worked, one-writer-per-file) under still-OPEN design #9079, and the file-based laptop applier cannot read the D1 lease row (tenant DB empty/unbound) — building it here would be theatre over missing foundations.
Next slice (resume when CF-5 closes)
Hosted answer delivered twice under the same answer_id is applied exactly once with the seat absent; apply-path-down raises its alert while the user's retry text stays in front of them. Resume when #14967–#14970 close with the D1 copy counts recorded and #14043 records its coordinated live deployment; then run the seat-absent live acceptance on #14946. developing-today-fleet commented on Nov 28, 2026 ContributorAuthor More actions
Lane code-f, shortlist re-verification 2026-11-28 ~00:05Z — no slice taken, no PR, no claim.
developing-today-fleet commented on Nov 28, 2026 ContributorAuthor More actions
Progress note — lane any-o, 2026-11-28 ~03:10Z (shortlist task, CF-6 slice assessment — no slice taken, no PR)
Fresh verification on current origin/main (worktree at 69993dc):
- pm-stack: push answer write-back to the queue broker — a phone tap applies broker-sourced decides (Actions-exec extensions first) #14043 applier S1–S4 confirmed on main since code-f's note: S1 broker signed envelope (
verb_actions_exec_extend_decide_with + ae_extend_decide_signed), S2 answer-to-handle mapping (needsDrewAnswerHandle, needs-drew.ts:637), S3 applier loop + S4 failure alerts/retry (actions-exec-apply.ts with actions-exec-apply.test.ts and actions-exec-apply-alerts.test.ts). S4 (ba9f0bb) merged 2026-11-27 12:21Z.
- Still open: CF-4 CF-4 (#14866): PM front door + tunnel tier (M1+M3) #14944, CF-5 CF-5 (#14866): PM hosted read surfaces (M4+M5) #14945 and children CF-5a (#14945): M4 decision surfaces hosted at pm.security.cab #14967–CF-5d (#14945): M5 read waves over tenant-DB projections #14970 (CF-5b has a live claimed task; the rest have none). pm-stack: push answer write-back to the queue broker — a phone tap applies broker-sourced decides (Actions-exec extensions first) #14043 itself OPEN (status:in-review, queue/claimed + work/assigned labels, no live queue task found).
- No S5 proof script exists. S5's 11-27 park reason (S4 unmerged) has cleared, but the remaining gates have not: Archer-coordinated deployment of the signed-decide + applier + throat legs is unconfirmed, and the live tier-3 tap proof needs Drew's tap plus the CF-4/CF-5 hosted surfaces. Landing the proof script alone, unrunnable, would be theatre over missing foundations — same conclusion as code-f 00:16Z, re-verified not inherited.
- Wake: CF-5a (#14945): M4 decision surfaces hosted at pm.security.cab #14967–CF-5d (#14945): M5 read waves over tenant-DB projections #14970 close and pm-stack: push answer write-back to the queue broker — a phone tap applies broker-sourced decides (Actions-exec extensions first) #14043 records its live deployment; then run the seat-absent live acceptance (S5). No duplicate follow-on routed; blocked slice task 23738 already covers the dependency.
developing-today-fleet commented on Nov 28, 2026 ContributorAuthor More actions
Lane 0937-D (alpha DRIVE 2026-11-28) fresh re-check, concurring with 0837-E: both formal blockers still stand. Firsthand this run: #14944 OPEN (updated 2026-11-28T04:41:54Z, no parked label) and #14945 OPEN with status/parked + queue/parked (updated 2026-11-27T07:03:06Z). CF-6's live exactly-once acceptance cannot be met until both land, so no implementation slice is workable from this lane. Queue task 23738 re-parked with ready condition issue_closed #14944 (first blocker; on wake, re-check #14945 as well).
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|