Skip to content

feat(pm-aggregator): decisions page — request more information, comments ride back, filled answers win, guided defer (#8766) - #8770

Merged
dezren39 merged 1 commit into
mainfrom
decisions-request-info-8766
Nov 11, 2026
Merged

dezren39 merged 1 commit into
mainfrom
decisions-request-info-8766

Conversation

@dezren39

@dezren39 dezren39 commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Follow-up to the decisions page (#8766, page shipped in #8767), from Drew's live use of the page on 2026-11-11.

Request more information — per-question action with an optional note ("what's missing"), plus a checked-items bulk action (POST /api/decisions/<setId>/request-info). New resolution kind request-info: the question leaves Drew's page like a defer, but it is not a ruling. It publishes through the fleet feed's decisionResolutions (kind + note + comment) for the dropped-thread catcher, which marks the ledger question awaiting enrichment (never closes the item, never unblocks). When the orchestrator gathers the information, the question is re-raised in a later set carrying it as a question-level infoProvided block, rendered on the page as a marked "Information you requested" section. First-resolution-wins still holds inside a set, so the re-raise is a later set by construction; one push per set is unchanged (the re-raise rides that set's push).

Comments ride back — a comment field on resolutions of every kind: the per-question text box rides as the comment on a defer, a bulk comment rides with bulk defers, the note covers request-info, and an answer may carry a comment beside its free text. Comments land in the feed payload the catcher writes onto the ledger.

Filled answers win over bulk defer — /defer accepts the page's gathered submissions and the store records them first (deferWithSubmissions); only still-unanswered questions in scope are deferred. Three-level precedence per question on a bulk send-back: (1) the question's own defer setting — including guided defer, where a tentative option pick + comment ride along as guidance while the kind stays deferred; (2) a filled answer, submitted as an answer; (3) the bulk dropdown's flavor, which is a default that reaches only untouched questions. Per-question flavor pickers sit on every question, so one bulk action can carry mixed flavors.

Copy — the bulk/defer controls now say what happens in plain words: flavors are "Defer" / "Defer — leaning no" / "Defer — leaning yes"; buttons are "Defer checked to orchestrator" and "Defer ALL remaining"; the item checkbox says it selects the item for a bulk action. Semantics/endpoints of the original defer flow are unchanged apart from the additions above.

Tests: test/decisions.test.ts — 18 pass (8 new: request-info per-question + bulk + re-raise with infoProvided, comments on every kind, filled-answers-win, guided defer, three-level bulk precedence). Full suite compared against pristine main: the only failures are the same pre-existing environmental ones on both trees (live-source/source-gate; digest + port-timeout failures appear only under full parallel runs on both). No tsc errors in touched files (26 pre-existing errors repo-wide, identical count on main).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…nts ride back, filled answers win, guided defer (#8766)

Request-info: per-question action with an optional note, plus a checked-items bulk action (POST /api/decisions/<setId>/request-info). The resolution kind request-info leaves the page like a defer but is not a ruling: it publishes through the fleet feed decisionResolutions array with its note, and the enrichment/re-raise path carries the gathered information back as a question-level infoProvided block, rendered as a marked Information-you-requested section in a later set.

Comments ride back: a comment field on resolutions of every kind — the per-question text box rides as a defer comment, a bulk comment rides with bulk defers, and the request-info note covers that kind.

Filled answers win over bulk defer: /defer accepts gathered submissions and the store records them first (deferWithSubmissions); only still-unanswered questions in scope are deferred. Three-level bulk precedence: a questions own defer setting (guided defer — tentative option pick + comment attached as guidance) > a filled answer > the bulk dropdown default flavor for untouched questions.

Copy: the send-back controls now say what happens in plain words — Defer / Defer — leaning no / Defer — leaning yes, Defer checked to orchestrator, Defer ALL remaining, and the item checkbox says it selects the item for a bulk action.
@dezren39
dezren39 requested a review from a team as a code owner November 11, 2026 20:23
@dezren39
dezren39 merged commit 416b6fe into main Nov 11, 2026
@dezren39
dezren39 deleted the decisions-request-info-8766 branch November 11, 2026 20:23
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T20:24:13.554501Z 6d6b81d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant