Skip to content

PM-stack prompt & chat surface: scoped prompt widgets + session interface (program) #9539

Open

Description

@dezren39

Program starter (Drew, 2026-11-13 05:54 CT). Full brief: doc/2026-11-13T11-54-00Z_design_pm_stack_prompt_surface/brief.md on main (PR #9535, merged e30df92199).

What Drew wants: prompt widgets on all appropriate PM-stack pages — scoped to a section, a page, the PM stack generically, generic agent access (chat + task delegation queued at a priority), and specialized task variants (reprioritization, detail gathering, comparing new options, integrating insights since last review). Targets: Claude or Muse per prompt/default; the OpenCode/OpenChamber pools with auto + low/medium/high; a decision-model variant that generates a question series for a decision API / LLM / hybrid with effort steering, default fallbacks, "not confident" answers, and speed-optimized answer generation at a provided context level; access to the advanced (conditional-clause) constraints; context generation via any model or queued task, shaped for the decision API; attachments/multimedia now, streaming audio later. Async (checkable ID, optional completion notification) and sync (block, or WebSocket until answered) modes. Plus a chat surface: review all messages, new session per message unless replying in context, open/close/archive/reply/cross-reference, notification count + push, defaults = Muse hook task immediately or a medium-high queue item on auto/workhorse, everything overridable.

Cross-links: the decision-question variant builds on the decision-model supplement in the pool/effort mill (code#9399); the async queue + ID pattern should reuse the fleet queue, not invent a second one.

Sequencing for the owning task: (1) design pass — placement map per PM-stack page + the prompt API contract (scopes, targets, modes) as a design doc in this folder + a summary comment here; (2) granular implementation issues per slice; (3) build the core slice first: the generic PM-stack prompt widget + section/page-scoped widgets on the main pages, target selector, async submission with checkable ID. Chat surface and decision variant are following slices, not the first build.

EPIC GUARD: this issue holds work in itself; subtasks completing never closes it.

Activity

  1. added
    designDesign record / living design doc tracking home
    on Nov 13, 2026
  2. developing-today commented on Nov 13, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 13, 2026

    @dezren39
    MemberAuthor

    Picked up by repo-worker-any-b — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-any-b posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  4. added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed on Nov 13, 2026
  5. dezren39 commented on Nov 13, 2026

    @dezren39
    MemberAuthor

    Progress from repo-worker-any-b: verified: issue open, no hard-stop labels, program starter; brief PR #9535 merged; next: read brief, survey PM-stack pages, design pass step 1

  6. dezren39 commented on Nov 13, 2026

    @dezren39
    MemberAuthor

    state: claimed / verified (fallback mode)
    worker: repo-worker-any-b (lane any-b)
    queue: FALLBACK MODE — primary claim at ~23:10Z failed with laptop-agent proxy closed during CONNECT; a fresh health re-test at ~23:15Z timed out, so this issue was claimed in fallback mode (claim marker comment 6867364971, 2026-11-13T23:18:14Z).

    Verified on fresh GitHub state (2026-11-13 ~23:19Z):

    • Issue PM-stack prompt & chat surface: scoped prompt widgets + session interface (program) #9539 is OPEN, labels queue/claimed + work/assigned (set by the fallback claim) + design. No held / user/owned / do-not-merge / do-not-auto-edit labels — no hard stop.
    • Brief is on main: doc/2026-11-13T11-54-00Z_design_pm_stack_prompt_surface/brief.md (PR PM-stack prompt & chat surface brief #9535 merged 2026-11-13T11:55:16Z). Read in full.
    • This is a program starter (EPIC GUARD: subtasks completing never closes it). Sequencing step 1 = design pass: placement map per PM-stack page + prompt API contract (scopes, targets, modes) as a design doc in the brief folder + a summary comment here.

    Next: survey the PM-stack pages on the laptop clone, draft the design doc, open the PR, post the summary. Infra note: the laptop tunnel is flapping this shift (repeated "proxy closed during CONNECT" since ~23:10Z, intermittent successes); fallback heartbeats via the fleet tool are being retried at every checkpoint — this note carries the checkpoint state in the meantime.

  7. dezren39 commented on Nov 13, 2026

    @dezren39
    MemberAuthor

    Progress from repo-worker-any-b: design doc drafted (placement map for 21 pages + API contract, reuse DashAction/comments/decisions/push); next: worktree + commit + PR

  8. dezren39 commented on Nov 13, 2026

    @dezren39
    MemberAuthor

    state: in-progress — design drafted; laptop tunnel down; scripted pipeline armed
    worker: repo-worker-any-b (lane any-b), fallback claim on #9539 (marker 6867364971; last fleet heartbeat 6867623797 at ~23:34Z)

    Progress:

    • Design doc COMPLETE (step 1 of the starter sequencing): placement map for all 21 aggregator pages + sub-routes, prompt API contract (scopes/targets/modes), decision-variant design on the existing decisions system + code#9399 supplement, chat surface on the existing comments store + sessions registry, build slices S1–S6. Draft held in the lane's sandbox scratch (design.md, md5 5f531b01989ade11c7d803d92fea1126) pending transfer.
    • Laptop worktree already created: ~/git/fleet/queue-9539-9539-design, branch queue/9539-design-prompt-surface, from origin/main 70430e2; the brief folder exists there with brief.md only.

    Blocker: the laptop tunnel has been down since ~23:37Z (repeated laptop-agent "proxy closed during CONNECT"; this is the same flapping outage noted by earlier shifts today). A scripted pipeline is retrying every ~60s: heartbeat → transfer design.md (md5-verified) → commit → push → open PR, for up to ~80 minutes.

    Resume condition (if this claim goes stale first): claim #9539, create/verify the worktree above, and land doc/2026-11-13T11-54-00Z_design_pm_stack_prompt_surface/design.md per the scope above, open the PR, post the summary comment, then file the S1–S6 slice issues (step 2) or release naming them as the remainder. The design text itself is summarized in the pickup note's sources (pages.ts manifest, actions.ts, comments.ts, decisions.ts, notifications/push) — re-derivable from those plus brief.md.

  9. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Picked up by repo-worker-code-d — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code-d posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  10. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · released — another worker's completed work is in flight

    • Agent: repo queue worker, lane code-d (repo-worker-code-d), FALLBACK MODE (queue backend down)
    • Task: issue PM-stack prompt & chat surface: scoped prompt widgets + session interface (program) #9539 (PM-stack prompt & chat surface — program starter, step 1 design pass)
    • Why released: lane any-b (repo-worker-any-b) already COMPLETED the step-1 design doc (placement map for 21 aggregator pages + prompt API contract + decision variant + chat surface, slices S1–S6; design.md md5 5f531b01989ade11c7d803d92fea1126, held in their scratch) and has a scripted pipeline retrying the transfer → commit → push → PR for up to ~80 minutes from ~23:37Z against the prepared laptop worktree ~/git/fleet/queue-9539-9539-design (branch queue/9539-design-prompt-surface). This lane's claim was legitimate (their claim read stale in the fallback scan) and superseded theirs, but building a parallel design would duplicate completed work — released immediately instead.
    • Verified at release: no PR for issue PM-stack prompt & chat surface: scoped prompt widgets + session interface (program) #9539 exists yet and the branch is not on the remote (404) — nothing pushed as of 2026-11-14T00:13Z; the laptop tunnel is down again, which is what is blocking any-b's pipeline.
    • Resume (unchanged from any-b's note): if their pipeline does not land it, claim issue PM-stack prompt & chat surface: scoped prompt widgets + session interface (program) #9539, use the worktree above, land doc/2026-11-13T11-54-00Z_design_pm_stack_prompt_surface/design.md per any-b's scope summary, open the PR, post the summary comment, then file the S1–S6 slice issues or release naming them as the remainder. EPIC GUARD: this issue never closes on subtask completion.
  11. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Released by repo-worker-code-d (outcome: free). Released: lane any-b already completed the step-1 design doc (md5 5f531b01989ade11c7d803d92fea1126) and has an armed retry pipeline to land it via worktree ~/git/fleet/queue-9539-9539-design (branch queue/9539-design-prompt-surface) once the laptop tunnel recovers; nothing pushed yet (branch 404, no PR). No parallel work built. Resume per any-b's note on the issue.

  12. 160 remaining items

  13. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · design pass landed

    • Agent: queue worker (repo-worker-code), lane code-j
    • Session / ID: task 16078
    • Found via: queue claim (unblock-all release)

    Design pass complete

    PR: #10030
    Design doc: doc/2026-11-13T11-54-00Z_design_pm_stack_prompt_surface/design.md

    What landed

    • Placement map (§2): all 21 PM-stack pages × 4 scopes (section/page/stack/agent) + specialized task variants (reprioritize, detail-gather, compare-options, integrate-insights, report). Section widgets only where pages have discrete rows.
    • Prompt API contract (§3): POST /api/prompt, GET /api/prompt/:id, GET /api/prompt. Scopes, targets (Claude/Muse/pool:auto/low/medium/high/decision), effort override, modes (async/sync-block/sync-ws), decision variant with contextLevel/advancedConstraints/contextGenerator.
    • Chat/session surface (§4): threaded view, reply, cross-reference, archive, notification count + push, defaults.
    • Reuse (§5): fleet queue for async execution, decisions machinery for decision variant, comments, events. No second queue.
    • 7 implementation slices (§6): S1 generic widget + main pages, S2 target expansion + notification, S3 sync modes, S4 decision variant, S5 specialized variants, S6 chat surface, S7 attachments/multimedia.
    • Open questions (§8): 4 items for Drew (default target, sync-block timeout, attachments storage, decision contextGenerator). None block S1-S3.

    Next

    Granular implementation issues to be filed per slice. S1 (core slice) is the first build target.

    EPIC GUARD: this issue holds work in itself; subtasks completing never closes it.

  14. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor
  15. added a commit that references this issue on Nov 14, 2026
  16. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done — design pass already landed (task 16078 revalidation); one guard conflict flagged

  17. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Reopened — wrongful auto-close (same family as #7610 / #183).

    This epic was closed when its design PR #10030 merged (closed 2026-11-14T14:49:06Z, status:done), but its implementation slices are all still open:

    Flagged by lane code-a's shift report (2026-11-14 10:26 CST, Lanes chat) and verified live via gh by the dropped-thread-catcher this run. The epic stays open until its slices close; status:done removed. The slices carry their own queue work — no new tasks needed.

    — dropped-thread-catcher (Step 4a solve)

  18. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — triaged (lane any-m, task 19030)

    State: triaged

    Fresh verification (2026-11-17):

    This bulk-intake triage task (task 19030) completes as triaged: the epic stays open until its slices close, exactly as the reopen record directs.

  19. removed their assignment
    on Nov 20, 2026
  20. added a commit that references this issue on Nov 21, 2026
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

    designDesign record / living design doc tracking homestatus:to-do

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions