The question sets, enumerated
A question set is any surface where the stack asks the owner a question and writes the answer back. The survey enumerates eight, F1–F8. Every entry below follows the same shape: what the set is, where it surfaces, who answers, where the answer writes back, and its failure shapes and open points where the survey records them. The routes named here are specified in Aggregator HTTP routes and API; the pages and views are specified in The aggregator website, page by page and The console, view by view.
F1. Decision sets (aggregator)
- What it is: The main batched question set. The model is
pm-stack/aggregator/src/decisions.ts: a set mirrors a group of items from the Muse-side decisions ledger (pending-questions.json, per that file’s header). A set has items (ledgerId); an item has 1–16 questions; a question has aqidof the form<ledgerId>#<1-based index>, 0–12 options ({id, label, tags?, combinationOf?}), amodeofsingleormulti,recommendedOptionIds, context, description, detail, group, order, and version history (DecisionQuestionVersion, #9335 v2). - Defaults: Version 1 defaults
modetosingle. A free-text-only question — 0 options — is legitimate. - Where it surfaces: The index
/decisions, the per-set page/decisions/<setId>?t=<token>, and the console view#needs/questions, which reads the same sets from the decisions file (console/src/work.ts,Work.questions()): open questions only, newest set first, context clipped to 280 characters in the list, full context throughWork.question(). - Who answers: The owner, on the set page or in the console. Producers raise sets:
scripts/raise-decision-set.ts(throughPOST /api/alertswith thedecisionSetextension, one push per set) andscripts/submit-decision-set.ts(throughPOST /api/decision-sets, v2, with--refreshfor standing ledger-mirror sets such as the standing open-questions set). - Where the answer writes back: The page client posts to
/api/decisions/<setId>/submitwith{submissions}, to/defer, and to/request-info; draft and edit events go to/api/decisions/<setId>/events(alias/api/decision-sets/<setId>/events). Resolution kinds (DecisionResolutionindecisions.ts) areanswered(anoptionIdoroptionIds, plus free text and a comment),deferred(with a lean ofnone,skeptical, orapprove), andrequest-info. First resolution wins per question; drafts are deleted when a question resolves (pruneResolvedDrafts). Resolutions record in the aggregator’s decisions store (defaultDecisionsFile,recordResolutionsindecisions.ts), export asDecisionResolutionRecordvalues for the ledger,listDecisionResolutions, and fleet-feed path, and — per the header ofdecisions.ts— the dropped-thread catcher applies them to the ledger per question. Decision events sync out throughscripts/sync-decision-events.tsto Turso and to the decision-events Worker. - Bulk answers: The page offers submit-all. The console offers “Accept <n> recommended” per set (
Work.acceptRecommended, batched at 200; the dashboard cap noted in code is 256 per request). - Push shape: One push covers the whole set, and its tap opens the set page. A decision set has no tappable notification answers: the page is the answer surface.
F2. Needs-Drew single questions (aggregator, #8568)
- What it is: A single raised question riding its notification candidate:
NotificationCandidate.needsDrew = {ledgerId, question, options}insrc/notifications.ts. - Where it surfaces: The push notification itself, and the per-question answer page. The push’s first two options become notification actions (
src/sw-source.ts). - Who answers: The owner, by tapping a notification action or by using the answer page. On a tap, the service worker posts directly to the answer endpoint with no page open; errors in the service worker are silent, and the answer page remains the fallback.
- Where the answer writes back:
POST /api/needs-drew/<ledgerId>/answerwith{token, optionId}; the per-question token in the answer-page URL is the authority. The write-back is the same decisions-ledger resolution machinery as F1: the ledger item’s question resolves. - Open point: D9 —
decisions.tsstates that sets and the per-question store inneeds-drew.tsare explicitly not the same store. UNVERIFIED: the exact file the single-question answer writes, beyondsrc/needs-drew.tsbeing named “the question store” there.
F3. Needs-Drew census sets (console #needs)
- What it is: The census of work waiting on the owner, built from
GET /api/needs-drew.json(src/needs-drew.ts): open issues and PRs labelleduser/revieworuser/escalatedacross the fleet repos, deduped, withhands:v1markers (kind: physical,interactive-login,payment,signature). - Where it surfaces: The console
#needsview.Work.census()inconsole/src/work.tssplits the census into three sets: hands (an item with ahands:v1action), reviews (user/review, no hands marker), and other/escalated (no stated action — the fleet’s to decide). Session-derived waiting items from/api/attention.json(Work.sessions(), tierneeds-drew) join the same view. - Who answers: The owner, in the console.
- Where the answer writes back: Reply posts
act("need.comment"), which runsWork.needComment: a GitHub issue comment carrying the marker<!-- owner-reply:v1 -->. For hands items, I did it postsact("hands.done"), which runsWork.handsDone: a GitHub comment (“Done by the owner…”) and deletion of theuser/escalatedlabel. - Disagreement carried: D4 — the aggregator census itself never writes labels; the console writes them. D13 — the shipped census vocabulary (hands, reviews, escalated) is the book’s vocabulary; the 2026-10-26 needs-user design doc is history.
F4. Prompt and chat questions (aggregator /chat, console #ask)
- What it is: Free-form prompts and their threads. Aggregator side:
src/prompts.ts,src/prompt-ws.ts,src/prompt-notify.ts,src/prompt-widget.ts,src/prompt-attachments.ts. - Where it surfaces: The aggregator page
/chat, and the console view#ask. The console view is the owner-facing version of the same idea against GitHub and the queue, not against the aggregator store. - Who answers: Fleet sessions answer prompts; the owner asks, replies, and closes.
- Where the answer writes back: Aggregator routes:
POST /api/prompt,GET /api/prompt,GET /api/prompt/threads,GET /api/prompt/thread/<id>,GET /api/prompt/<id>, attachments atGET /api/prompt/<id>/attachments/…,PATCH /api/prompt/<id>,GET /api/prompt/unread-count, and the WebSocketGET /ws/prompt/<id>. A prompt submitted with notifications on receives aprompt-class push when it is answered or fails (#10035). Console side:act("ask.send")files an issue and enqueues a top-band (priority 10) triage packet (promptPacketandnotePacketpatterns inconsole/src/work.tsandconsole/src/plan.ts, marker<!-- owner-prompt:v1 -->); replies read back from the issue (ask.reply,ask.closeinconsole/src/actions.ts).
F5. Dashboard comments and discuss (aggregator)
- What it is: Comments on dashboard items, written from
/discuss/<subject>and tracked on/comments. - Where it surfaces: The discuss page per item, and the comments queue page.
- Who answers: The owner comments; the applying fleet run answers by its outcome.
- Where the answer writes back:
POST /api/comments(dashboard-native comment; storesrc/comments.ts),POST /api/comments/triage, andPOST /api/comments/github-result, where the external poster reports the GitHub result back; reads areGET /api/comments.jsonand the queue twin. The dashboard itself never writes GitHub — a fleet job applies and posts and reports back (src/actions.tsheader). This set is a question-and-answer-back surface in the loose sense: a comment on an item is answered by the applying run’s outcome.
F6. Dashboard actions (aggregator)
- What it is: Structured answers on tier items: the action records of
src/actions.ts. - Where it surfaces: The dashboard’s tier items; consumers poll for new actions.
- Who answers: The owner issues actions; consumer runs apply them and return outcomes.
- Where the answer writes back:
POST /api/actionsandPOST /api/actions/batchcreate actions; consumers pollGET /api/actions.json?state=new; outcomes return throughPOST /api/actions/resultwith{id, outcome: applied|rejected, byRun, note}. Kinds:triage(acknowledge, snooze, escalate, de-escalate, answer, delegate, dismiss),status-request,session(poke, answer, stop — consumed by the fast session-action consumer foropencode-laptop), andpreference(set-delegation-default). The triageanswerverb is an answer-back: the pass delivers payload text, option, or answers like its own classifications (actions.tsheader). - Outage variant:
GET /api/actions/outage-queue.json,POST /api/actions/outage-queue/confirm,POST /api/actions/outage-queue/reject(src/outage-queue.ts).
F7. Console generic actions (POST /console/api/act)
- What it is: The console’s audited action table:
console/src/actions.ts(ownActions,actions(...),perform). - Where it surfaces: Every console view posts here; the question actions are
questions.answer,questions.defer,questions.accept,need.comment,hands.done,ask.send,ask.reply, andask.close, alongside the queue, priority, issue, service, and PR actions. - Defaults:
questions.deferis the “Decide for me” action; its lean defaults toapprove. - Who answers: The owner, from the console.
- Where the answer writes back: Through the same stores as F1–F4:
Work.submit()calls the dashboard’s own/api/decisions/<setId>/submit; needs and hands answers write GitHub comments and labels as in F3; asks file issues and queue packets as in F4. - Behaviour: Every action is audit-logged before it is taken — an action that cannot be recorded is not taken. When the laptop is unreachable, the edge holds the action and replays it through the same table on the host’s return.
F8. Reports, roadmap annotations, and alerts
- What it is: Three smaller answer-backs, grouped by the survey.
- Reports:
POST /api/reports/resolveresolves a prose conflict by choosing a stored version;POST /api/reports/late-updaterecords a late update. Surface:/reports. The answer writes back to the report store, and stored text is not overwritten. - Roadmap annotations:
POST /api/roadmap/annotationsandPOST /api/roadmap/annotations/alias(src/roadmap-annotations.ts). Surface:/roadmap. Annotations write back onto roadmap rows. - Alerts: Ack and close on
/alertswrite the incident lifecycle (open,acked,closedinsrc/alerts.ts). Preference toggles on/alerts/preferenceswrite the subscription’s class map, which the engine reads on its next tick (src/notifications.ts,NOTIFICATION_CLASSES). D14: the class count is eight, not the six of issue #8882’s premise.
Sources: PM-SURVEY website census §F (pm-stack/aggregator/src/decisions.ts, pm-stack/aggregator/src/notifications.ts, pm-stack/aggregator/src/needs-drew.ts, pm-stack/aggregator/src/actions.ts, pm-stack/console/src/actions.ts, pm-stack/console/src/work.ts), survey files website-pages.md, push.md, and disagreements.md (D4, D9, D13, D14), census date 2026-11-23.