Skip to content

feat(planning): share Claude's answers on arrival, with Just me, Take down and a host review view - #8412

Merged
kyle-sexton merged 7 commits into
mainfrom
feat/shared-host-review
Oct 19, 2026
Merged

kyle-sexton merged 7 commits into
mainfrom
feat/shared-host-review

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: PR 7 of the shared interview question-screen spec (the owner's sharing-default decision of 2026-10-19 and follow-up item 13 from the live dogfood rounds); the spec lives in the owner's local working notes.

Summary

In the live rounds two of three people could not find Claude's answers, because every answer waited for the host's Share, and the host's request queue was hard to work. Answers to a question are now shared when they arrive, with Just me and Take down, and the host gets one review view in the Inbox.

Fix

  • An answer asked for Everyone is shared on arrival; "@claude" in chat or a Discussion counts as Everyone. Just me answers are private to the asker and the owner, stay out of the digest, and the asker can share them later (POST /api/result/share). The owner can Take down any shared answer. Guests' requests still wait for the owner's Run.
  • Ask defaults to Everyone on a question and Just me for "About the whole session". A Host setting, "Review Claude's answers before they are shared", restores review-first; a session whose state predates the setting keeps reviewing, so running sessions do not change under their guests. No schema version bump (only optional fields).
  • The Inbox's "Waiting on you" becomes the host's review view: every request and answer newest first, status chips (Waiting, Running, Failed, Not shared, Shared), inline Run, Decline, Run again, Share, Discard and Take down, failed reasons shown, chips remembered per device. The rail's Requests panel is retired in its favour. lane-shared.md: every answer draws only on what every guest already sees.

Verification

  • Shared Python tests: 982 OK (new TestSharingDefault, TestReviewFirstOldSessions; 12 failures and 4 errors before the change).
  • ui.test.sh: 34 suites, 1136 passed, 0 failed (new ui_review.js). align.test.sh: PASS 492/492 with a review view.
  • interview-defenses.test.sh: 172 pass, 0 fail, no re-pin. check-changelog-fragments.sh --check: all valid.
  • Left out: a page that already loaded a taken-down general answer's chat message older than the 50-message window keeps showing it until reload (snapshots and chat paging no longer return it); the Windows run, which CI's pr-test-windows covers.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 6 commits October 19, 2026 07:04
…ake down

A request now names who sees its answer (`audience`: everyone, or `me`
for Just me). An answer to a request asked for everyone is shared when
Claude writes it; a Just me answer reaches only its asker and the owner
until one of them shares it (POST /api/result/share). The owner takes
any shared answer down (`takedown`), which also removes a general
answer's chat message and blanks quotes of it. Run still gates every
guest request.

The new `reviewAnswers` setting holds every answer for the owner's
Share. New sessions write it off; a state file from before it lacks it
and keeps reviewing, so no running session changes. No schema bump:
the new fields are optional.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The question's Ask form and Ask Claude offer Everyone and Just me:
Everyone on a question, Just me about the whole session. A result card
says who sees it; its asker shares a Just me answer, and the host shares,
discards or takes down any answer. Host settings gain "Review Claude's
answers before they are shared".

The Inbox's Waiting on you becomes the host's review view: every request
to Claude and every answer, newest first, behind status chips (Waiting,
Running, Failed, Not shared, Shared) that the device remembers along
with the Inbox tab, with Run, Decline, Edit, Mark failed, Run again,
Share, Discard and Take down on each row and a failed row's reason. It
replaces the rail's Requests panel; the Host view's request cards link
to it.

Suites that follow the host's Share now turn review on; ones that
shared by hand rely on sharing on arrival. align.js's requests view is
now the review view.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…reviewed

An answer is now shared when it arrives, or reaches its asker alone when
asked Just me, unless the session reviews answers first. The rule that a
general answer draws only on what every guest already sees now covers
every answer. Adds the planning changelog fragment for the change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… kinds

- Take down keeps a general answer's chat message as Claude's tombstone
  ("Taken down by the host.", claude: {takenDown: true}) and touches it
  and its quotes, so open pages refresh it with no reload; a re-share
  puts the answer back in the same message.
- Only ask and research answers to an asker still in are shared without
  review; explore, design and prototype answers, and an answer whose
  asker was removed, wait for the owner's Share.
- Discard is refused on a private answer (Just me delivered, or taken
  down) and hidden on its card and review row.
- The owner's /api/result/share shares with everyone.
- Chat and Discussion request lines say "Taken down by the host" or
  "Answered, just for you" instead of "waiting for the host to share".
- The review view splits Private (Just me, taken down) from Not shared,
  off by default, so the default view shows only what needs the owner.
- Comments and README state what the review view does, not its history.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…view

The shared lane's routing line for explore and its sharing rule now
agree: explore, design and prototype answers wait for the owner's
review before guests see them, and ask and research answers, which can
reach guests unreviewed, draw only on what every guest already sees.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 19, 2026 12:13
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T12:15:30.699154Z d270d8e Draft marked ready
ℹ️ 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.

@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental, head c60ee82)

The change since d270d8e is a spelling fix, "behaviour" to "behavior". It touches one comment in plugins/planning/shared/session.py and one docstring in plugins/planning/shared/tests/test_session.py.

It changes no executable code, no instruction surface and no setting values. I read the diff and found no security issues. The rest of the pull request is unchanged since d270d8e, which was reviewed then.

Findings: 0

@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental review of d270d8e4..c60ee825: no findings.

The change touches two lines. plugins/planning/shared/session.py has a comment above SETTING_VALUES that now reads "behavior" instead of "behaviour". plugins/planning/shared/tests/test_session.py has the same respelling in the TestReviewFirstOldSessions docstring. Both are text-only, so nothing in the code's logic, strings or test selection changes. I read the incremental diff and the PR context. I did not run the tests, so the 982-test result in the PR body is author-claimed and unverified.

The PR context file has no closing issue (No related issue:), so there were no acceptance criteria to check. It contains no embedded instructions. The files unchanged since the last reviewed commit were not re-reviewed.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 19, 2026
Merged via the queue into main with commit 9b22ce6 Oct 19, 2026
32 checks passed
@kyle-sexton
kyle-sexton deleted the feat/shared-host-review branch October 19, 2026 12:42
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