Skip to content

fix(planning): limit the interview page's Needs you list to items that need the user - #8035

Merged
kyle-sexton merged 7 commits into
mainfrom
work-resolve-issue/issue-7751-39097866379-1
Oct 20, 2026
Merged

kyle-sexton merged 7 commits into
mainfrom
work-resolve-issue/issue-7751-39097866379-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #7751

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The interview page's Needs you list now holds only a restatement to confirm, the finish, and entries naming a question that still waits on the user. Added questions, revisions and saved Notes replies go to the log, so they no longer raise the badge, notice, toast or tab-title count. round.py now marks revise entries revised and reply/wait entries waits, so the page can tell bookkeeping from an ask.

Not verified

  • The browser UI tests (ui_page.js phase 10) and the rest of surface.test.sh were not run: the full suite exceeded the 10 minute limit here, so the new UI checks are unexecuted.
  • No fresh-context review subagent was run on the diff; the review step was skipped.
  • The 'restatement/finish/waiting question still under Needs you' case relies on existing UI tests (ui_page phase 7, ui_journey); not re-run here.

Fix

  • plugins/planning/surface/index.html: needsAct drops the notes/added clauses and ignores open-question ids on notes/added/revised entries unless the entry also waits
  • plugins/planning/surface/round.py: summarize marks revised and waits on activity entries
  • plugins/planning/surface/schema/questions.schema.json: allows the revised and waits activity marks
  • plugins/planning/surface/test_round.py: new mark test; wait test expects waits
  • plugins/planning/surface/tests/ui_page.js: phase 10 UI checks for log vs Needs you and the badge
  • plugins/planning/surface/README.md, plugins/planning/skills/interview/context/surface.md: describe the new Needs you rule
  • .changes/planning/fix-needs-you-user-input-only-7751a1c4.md: patch fragment

Verification

The run reports:

Left out: the items under Not verified.

Related

#7751

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 704596b82ab2232174de564f70a5db762f75fd05: 0 finding(s), 0 as inline comments.

No security findings in PR #8035 at head 704596b.

I read the full PR diff. It changes how the local interview page sorts Activity entries into "Needs you" and "Log".

  • round.py: summarize() gains an asks flag, and revised and waits marks. They are plain booleans derived from op names and from args.needsAnswer, which the existing note-reply op already accepts. No new input parsing, subprocess, path, or deserialization surface.
  • index.html: needsAct is a boolean predicate over entry fields. It adds no DOM sink and no new rendering of user text.
  • Schema: it adds two optional boolean properties.
  • surface-checks.sh, the tests, the docs and the changelog fragment: the shell changes are static test-fixture payloads, with no interpolation of untrusted input.
  • Instruction surface: surface.md is reworded but removes no guardrail. It narrows what raises the notice, toast and title count, which is a display behaviour and not a control on any action. I did not read the instruction exception register. The finding rests on recognising by consequence that no protected class is affected.

Comment thread plugins/planning/surface/index.html Resolved
@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 704596b82ab2232174de564f70a5db762f75fd05: 0 finding(s), 0 as inline comments.

No blocking findings. I read the full diff and the PR context, and checked the changed round.py and index.html code against the callers. I ran none of the tests, so I confirm nothing about test results. The PR's own "Not verified" section says the browser UI tests, including the new ui_page phase 10 checks, were not run.

Closing issue #7751. The code meets each "Done when" item:

  • Log versus Needs you. needsAct in plugins/planning/surface/index.html ignores open-question ids on notes, added and revised entries unless the entry also has waits set.
  • Entries that stay under Needs you. finished, restate, asks, and waits entries naming a question that still waits on the user all still count.
  • Badge, notice, toast and tab title. All of them go through needsAct, so they follow the same rule.
  • UI tests. ui_page.js phase 10 and the ui_journey.js checks cover the log split and the badge count.

Things worth a look (not blocking):

  • Undocumented asks mark. The PR body and the Fix list describe only revised and waits. The code also adds an asks mark for a note-reply sent with needsAnswer, which needsAct treats as Needs you (the changelog fragment does mention it). It is consistent across round.py, the schema, the docs and the tests, but the PR body should name it.
  • New rounds no longer notify. The old comment and docs listed "a new round" under Needs you. Now an add or add-round entry goes to the log unless a reply or wait also touches an open question. A user away from the tab gets no badge, toast or title count when Claude posts a new batch of questions. That follows the issue's recorded decision ("Added Q61 ... Q86" is bookkeeping), so I didn't flag it. It is still a behavior change the owner should know about.
  • Old activity entries. Entries written before this change have no revised or waits mark. A saved questions.json with old revise entries on still-open questions will keep showing them under Needs you until the 200-entry cap pushes them out.

I found no secrets, machine-specific data, or schema/code mismatches in the diff.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of 3 on ad82266.

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 18, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped on this pull request and needs a person: a review finding is uncertain or deferred, so a person decides it.

  • Reason: feedback-uncertain
  • Resume key: ad82266b043ce1f51d9ae4a3628f608ff275cab3 (the head the lane stopped on)

To resume, deal with the reason above, remove the needs-human label (and do-not-merge, if set), then dispatch the pr-unblock workflow with pr-number=8035 and activity=address-feedback:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=8035 -f activity=address-feedback

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: risk MED at head ad82266b043ce1f51d9ae4a3628f608ff275cab3. Only LOW merges without a human; this pull request waits for one.

MED findings:claude-review: 2 open

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 2 of 3 on ad82266.

kyle-sexton and others added 3 commits October 20, 2026 01:13
summarize() now records an `asks` mark on the activity entry for a
note-reply sent with needsAnswer, from both the CLI command and apply,
and needsAct in index.html lists an entry with `asks` under Needs you.
A plain Notes reply stays in the log. The activity schema allows the
mark; README, surface.md and the patch fragment describe it.

Tests: test_round asserts the mark on an asking note-reply and its
absence on a plain one; ui_page phase 10 asserts the asking reply is
under Needs you and the plain one in the log.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WyWcv2NwzrPQ4dChfwFjM7
# Conflicts:
#	plugins/planning/surface/surface.test.sh
@kyle-sexton

Copy link
Copy Markdown
Member

Attended session (Attended Build) is fixing this PR's open threads overnight; please leave the needs-human hold in place until it posts that it is done.

kyle-sexton and others added 2 commits October 20, 2026 05:31
The journey phases expected Claude-side bookkeeping (a Notes reply,
an added question, a revision) to raise the notice, title count, toast
and notification. Per #7751 that bookkeeping now goes to the log, so
each phase gets a Notes reply sent with needsAnswer as its Needs-you
trigger and a twin assertion that the bookkeeping beside it raises
nothing: phase 3 (reply to the user's note goes to the log; the notice
moves to the reply on Q3, Go reveals Q3 from the Open filter), phase 4
(the restatement outranks an asking reply), phases 9, 11 and 13 (a
plain reply adds no title count), phase 14 (an added question raises
no toast) and phase 15 (a revision raises no notification).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WyWcv2NwzrPQ4dChfwFjM7
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit a871bf6 Oct 20, 2026
32 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-7751-39097866379-1 branch October 20, 2026 10:21
@kyle-sexton kyle-sexton removed the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 20, 2026
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.

fix(planning): limit the interview page's Needs you list to items that need the user

1 participant