Skip to content

CF-6 (#14866): PM interactive surfaces — attention + answer flows (M6) #14946

Backlog

Description

@developing-today-fleet

CF-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

Activity

  1. added
    priority/high
    kind/infrastructure
    on Nov 25, 2026
  2. developing-today commented on Nov 25, 2026

    @developing-today
    Contributor
  3. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    ContributorAuthor

    agent-note:v1 — claimed by felix lane (queue task 23738), premise check done 2026-11-25.

    Premise verdict: NOT already done, and implementation is blocked by this issue's own recorded prerequisites:

    1. Formal blockers are open. The GitHub dependencies API lists CF-6 (#14866): PM interactive surfaces — attention + answer flows (M6) #14946 as blocked_by CF-4 (#14866): PM front door + tunnel tier (M1+M3) #14944 (CF-4: front door + edge intake / route state) and CF-5 (#14866): PM hosted read surfaces (M4+M5) #14945 (CF-5: the hosted read surfaces this slice composes). Both are OPEN.
    2. CF-4 is itself parked. Its queue task 23736 is parked pending main CI failure: pm-console-cloudflare config (run 45534453946) #14806 (pm-cloudflare tunnel/Access config green) and queue task 21686's M1 acceptance (the route-flip pipeline). The edge intake and front-door route state CF-6 builds on do not exist on main yet.
    3. CF-6's acceptance — a live answer at pm.security.cab applied exactly once by the pm-stack: push answer write-back to the queue broker — a phone tap applies broker-sourced decides (Actions-exec extensions first) #14043 applier with no seat in the loop — cannot be met or honestly evidenced until the CF-4 intake tier and CF-5 surfaces land.

    Disposition: task 23738 dep-blocked on issues #14944 and #14945 (3600s recheck). It resumes automatically when both blockers close; no person is the resume condition.

  4. added
    status/needs-triage
    effort/m
    meta/enriched
    on Nov 25, 2026
  5. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    ContributorAuthor

    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.

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

    @developing-today-fleet
    ContributorAuthor

    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)

    1. 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.)
    2. 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.
    3. 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).
    4. 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.

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

    @developing-today-fleet
    ContributorAuthor

    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.

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

    @developing-today-fleet
    ContributorAuthor

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

  9. 4 remaining items

  10. added
    queue/claimed
    work/assigned
    status/in-progress
    on Nov 28, 2026
  11. added
    queue/claimed
    and removed
    queue/claimed
    on Nov 28, 2026
  12. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    ContributorAuthor

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

  13. dezren39 commented on Nov 28, 2026

    @dezren39
    Member

    Lane 1422-F (delta PRESS 2026-11-28) verified-park: read issue + all comments firsthand; formal blockers #14944 (CF-4) OPEN (updated 2026-11-28T04:41:54Z) and #14945 (CF-5) OPEN status/parked (updated 2026-11-27T07:03:06Z) — gate has NOT fired. Queue task 23738 parked (verified status=parked, read-back 2026-11-28T20:29Z) with non-person wake condition: issues_closed developing-today/code [14944, 14945]. Partial slice PR #16129 already merged per prior notes; remaining acceptance (live answer applied exactly once) cannot be met until both blockers close.

  14. dezren39 commented on Nov 29, 2026

    @dezren39
    Member

    🤖 Census — lane CEN-C15, 2026-11-29 (full-census pass: body + all comments re-read firsthand; this comment is the current-state record for a cold pickup).

    Verdict: blocked. Exactly-once acceptance is the #14043 criterion, stated testably; lease behaviour is specified in both editions. A partial slice (PR #16129) merged.

    Blocker / wake, verbatim: #14944 + #14945 must CLOSE — task 23738 is parked on issues_closed [14944, 14945].

    Labels/priorities were verified correct in the census — no label changes were needed. (priority high confirmed.)

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

    @developing-today-fleet
    ContributorAuthor

    Census 2026-11-29 (Felix): rechecked in full (body, labels, comments, edges).

    STRENGTHS: The exactly-once requirement is anchored to its owner (#14043's applier acceptance), the failure behaviour is specified (writes never auto-fall; when the apply path is down the surface says so and keeps the user's input), and both formal blockers are carried as native blocked_by edges — to CF-4 (#14944) and CF-5 (#14945), both still OPEN and therefore both edges correct. kind/infrastructure + priority/high already set.

    GAPS: Nothing to fix in the issue. Two lanes (0937-D, 1422-F) verified-parked it on the standing blockers; one more dependency worth naming for the pickup: PR #14440 (#14043's applier) is still open, so even after CF-4/CF-5 land, the exactly-once leg needs that merge.

    FIXES I APPLIED: None — labels, priority, and blocker edges verified correct.

    REMAINS: Nothing for Drewry. Resumes when CF-4's flip verifies and CF-5's surfaces land.

  16. added
    app/pm-stack
    on Nov 29, 2026
  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Issue census — 2026-11-29

    Gaps found

    • No app//area/ label at census time — added app/pm-stack.
    • status/in-progress sits on an issue whose body states it is blocked by CF-4 and CF-5 — noted; the 2026-11-28 lane note records a verified park on exactly those formal blockers, so the discrepancy is in the label, not the record. Labels left as-is beyond the app add, since a work/assigned claim history is live.

    Strengths

    Blocker recorded

    Actions taken by this census

    • Labels added: app/pm-stack.
  18. added
    status/blocked
    and removed
    status/in-progress
    on Nov 30, 2026
  19. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    P0.2/P0.6 status hygiene (Felix lane 0640-PB, 2026-11-30, Refs #17071). Live re-verification before mutation: OPEN with native blockers #14944 and #14945 both still OPEN; the reviewable slice PR #16129 merged 2026-11-27 and no active landing PR remains. Before: status/in-progress. After: status/blocked (verified by re-read). work/assigned left intact — no explicit lease release on record.

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-stackeffort/mkind/infrastructuremeta/enrichedpriority/highstatus/blockedwork/assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions