Repository navigation
Inbox for code review only - #4067
Merged
Merged
Conversation
…the Full Inbox switch One setting, config.json inboxReviewOnly, in effect while Code review is on. Agents get the review-only rule in the Inbox tool and the MCP instructions, no session-start reminder and no Inbox note (taken out on a switch, put back on a switch back, only their own section). The window shows Reviews first and hides what belongs to the full Inbox; Settings has the Full Inbox row. The switch is shared across linked computers and plannotator inbox capability turns it. The review-only rule is not approved yet.
… notes pass - The mode is this computer's own: full_inbox is out of the shared capability set and of plannotator inbox capability; Code review is not shared while in it. - inboxReviewOnly alone is the mode and holds Code review on; the Full Inbox switch is the one way out. --review stamps Code review's flip and never puts back someone who switched back. - inboxAgentWords is the one resolver for the tool lead, reminder, notes, help line, one-time dialogs and tool actions; every host builds the tool through it. - One queue for every writer of agent notes; the pass records intent first, keeps edited sections, uses the automatic add's guards and retries until the files match. - The welcome is the one-time dialog review_welcome, claimed through the line. - Window: sidebar per the mock, Reminder switch hidden in the mode, failed saves said, phone switch drawn and sized, App.tsx import restored.
… welcome out of the dialog schedule's people; wait for the pull request tiles in the spec
…ox-review-only # Conflicts: # docs/agent-guides/server-and-storage.md # packages/server/inbox.ts
…debar peek holds a hidden copy)
…only visible rows
…ox-review-only # Conflicts: # apps/mobile/contract/parity/ledger.json
…no data-sidebar-item, so the old checks matched nothing)
…ox-review-only # Conflicts: # apps/mobile/contract/parity/ledger.json # docs/agent-guides/server-and-storage.md # packages/inbox/App.tsx # packages/inbox/components/Settings.tsx # packages/inbox/data/actions/settings.ts # packages/shared/config.ts # tests/inbox-size-ceilings.json
… after the welcome, flip stamp, backoff, all-or-nothing --review save - Notes: an edited section is saved by the file it came out of (resolved through links), so two agents sharing one file put the person's text back whichever comes first (the second only takes its record back), and one agent with two edited files keeps both, each back where it came from. - Retries while a file stays read-only or hard-linked: a minute, then doubling up to an hour; nothing logged. - Switching back to the full Inbox stamps Code review's flip, so a linked computer's flip made meanwhile never turns it off here. - The launch dialog: the welcome is ahead only while due and showable (release build, unshown, within the line's patience); once it had its turn the launch holds the line no more; the window shows it after the line's gap in the same tab; the launch opens only while the page is still ready. - plannotator inbox --review: the welcome (state.json) is saved first, the rest (config.json) after, and the welcome is put back when the second does not land, so a failure changes nothing.
- Turning a note on by hand (Settings -> Agents, the note dialog) puts back the person's saved text for that agent's files instead of Plannotator's note, and it stays for every agent sharing the file. - Once a saved text is back in its file it is done for every agent: each other agent on the list reading that file takes its record back then, so it is never written again after the person deletes it. - A text that cannot go back (its file holds another section, no agent reads its file any more, a deleted extra file whose target cannot take it) is kept aside in state.json inboxNoteSectionsKept (16 newest), never deleted, and its old file is never written. - An extra instructions file the person deleted is never made again; its text goes into the target only when the target has no section.
…ox-review-only # Conflicts: # docs/agent-guides/environment.md # packages/server/inbox.ts # packages/shared/inbox/reveals.ts # tests/inbox-size-ceilings.json
…ox-review-only # Conflicts: # apps/mobile/contract/parity/ledger.json # packages/inbox/data/actions/settings.ts # tests/inbox-size-ceilings.json
backnotprop
marked this pull request as ready for review
November 28, 2026 13:44
backnotprop
added a commit
to bendrucker/plannotator
that referenced
this pull request
Nov 28, 2026
…panel swipes and the HTML viewer's lost highlights ui 0.67.0 and core 0.25.35 went to npm on 2026-11-28 with package files that match the v0.29.6 tag (c21f65e), so this pair carries what merged after v0.29.6, up to v0.29.7. core 0.25.36 is additive: the linked mark "decisions" and InboxDecision.machine (backnotprop#4066), DraftFileUploader.previewUrl (backnotprop#4165), and holdingsOf no longer counting a question Mark read closed (backnotprop#4160). No exports subpath changes; nothing removed. ui 0.68.0 is a minor: Escape while an input method composes only ends the composition, and shortcuts skip such keys; holdsImeEscape is new (backnotprop#3689, backnotprop#4162). HtmlViewer treats a collapsed live Range as lost (backnotprop#4152). Compact panels: OverlayScrollArea scrollMemory, SidebarContainer closing and scrollPositions, ActionMenu compactEdgeSwipe, four new hooks and the panel rules in theme.css (backnotprop#2861). useLaunchAnnouncement waits for ready (backnotprop#4067). ui uses nothing new from core; its exact pin follows so a host gets one core. Publish core first. README and HANDOFF name the new pair, and HANDOFF adds what the published 0.25.35 / 0.67.0 already held beyond their notes (backnotprop#4114, backnotprop#4151). bun.lock is bun install's own output: the two package version lines, and six app workspace version lines (0.29.5 to 0.29.7) the release bumps left behind.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This push
inboxCodeReviewline, then this PR'sinboxReviewOnlyline.InboxServerOptions: both test options,reviewOnlyandcodeReviewOffer.INBOX_REVEALS: this PR'sreview_welcomeentry, then main's comment on the offer.inbox-review-only-notes.ts,inbox-agent-notes.ts) is byte for byte the reviewed version, because main did not change it.revealTable(the offer switched off since 0.29.6) only rewrites thecode_reviewentry, soreview_welcomepasses through unchanged.What this does
The Inbox for code review only, built from the owner's approved mocks (rounds 1 to 3, 2026-11-23) and on top of Code review's offer (#3960).
inboxReviewOnly.truealone is the mode, and it holds Code review on by itself. In Settings it is the Full Inbox switch (full_inbox: { on, chosen? }; on = the full Inbox). That switch is the one way out, and turning it on leaves Code review on, stamped as the person's newest flip of it.full_inboxis not in the shared capability set and not inplannotator inbox capability. While in the mode, Code review is not shared either. A--reviewlaptop linked to a full-Inbox desktop changes nothing on the desktop, and nothing on the desktop ends the mode. It cannot be set for another computer: the per-computer groups are gone (the owner, 2026-11-24), and a linked computer'sPOST capabilitiestakes only the shared switches.plannotator inbox --review--reviewis not in the usage text.inboxAgentWords(config)gives the tool lead, the reminder, the notes, the help line, the allowed one-time dialogs and the tool actions. It is used by the server, the CC mod and every plugin host. A test fails when a host builds the tool without it.cardorstepsaction and no Board line. Board and Checklist values are kept.--help"When to use it" carries the approved B3 line.PLANNOTATOR_INBOX_NOTES=0, and no second copy beside a hand-pasted note.review_welcome, claimed through the line like every other dialog. It reads "Welcome to the code review Inbox", has the four lines and the switch row "The full Plannotator Inbox" (off), and the button "Start reviewing".createInboxLaunchQueue'safter). Once the welcome had its turn, the launch holds the line no more, and the same tab shows it after the line's gap. The launch opens only while the page is still ready, so the two never show at once.Guide:
docs/agent-guides/inbox-review-only.md.The tool description's lead (code review only)
The full Inbox's lead is unchanged. The MCP instructions make the same swap.
Tests
packages/server/inbox-review-only-words.test.ts: the mode's difference in the tool, the MCP instructions, the reminder and--help, with a size cap. It also covers mod parity and the host guard.packages/server/inbox-review-only.test.ts:--reviewlaptop and a full-Inbox desktop, both orders.apps/hook/server/inbox-review-command.test.ts: a first run; a failed save, due time or mark; someone who switched back; an existing user.packages/inbox/reviewOnly.test.tsx(DOM): the sidebar, home, the welcome through the claim and the Settings rows.tests/e2e/inbox-review-only.spec.ts: the browser flow, with whole-window pictures.