GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(server): MCP tools for an inbox, approvals, thread diffs, and more thread actions by maria-rcks · Pull Request #15428 · pingdotgg/t3code

Conversation

@maria-rcks

@maria-rcks maria-rcks commented Oct 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Stacked on #15219. Its explicit threadId/projectId targets make these tools usable from outside a thread.

Problem

With #15219 an MCP client can target any thread, but it still can't do much once it gets there. Nothing tells it which threads need attention. It can't approve a command, read what a thread changed, or delete a thread, mark one read, or toggle auto-settle. The app's own commands already do all of these.

Change

These are thin wrappers over existing commands and services. Nothing new in orchestration.

  • t3_inbox (read-only): active threads that need attention, built from thread shells. Pending requests come first, then failed runs, then unread completed work. Snoozed and settled threads only show for pending requests, using the client's snooze early-wake rule. Scoped to a project. A client outside a thread can see every project.
  • t3_thread_organize: new actions mark_read (thread.visit, the reverse of mark_unread), auto_settle_on/auto_settle_off, and delete. Delete requires a full-access caller.
  • t3_pending_request_list/read/respond now cover approvals. respond takes a decision, limited to the options the provider offered, or the composer's defaults when it offered none. list keeps requestIds and adds requests with each kind. Approving requires a full-access caller, since it lets the caller run commands in another thread. Declining or cancelling only stops a command, so any caller that can reach the thread may do it. New t3_pending_request_dismiss maps to thread.user-input.dismiss.
  • t3_thread_diff (read-only): a thread's working-tree and branch diffs via ReviewService, with a character budget. Requesting one file resolves a rename's old path.
  • The tool rows for pending requests now say "requests" instead of "questions", because they also cover approvals.

Verification

  • Server and client-runtime typecheck pass. The touched MCP, adapter-allowlist and presentation tests pass, and lint is clean.
  • I ran it live in a dev app with Claude Sonnet 5.5. Thread A ran in full-access mode and thread B in supervised mode.
    • A found B's pending command approval through t3_inbox, read it, and accepted it. B's command ran.
    • On a second approval, A declined. B stopped and the command never ran.
    • A also toggled auto-settle on itself and marked B unread, then read.
    • t3_thread_diff returned both diff sources.
    • From B, delete was refused in both forms: on itself (capability_denied) and on A (mode check).

thread B waiting on a command approval

thread A finds B through t3_inbox and reports the pending request

thread B after A accepted the approval over MCP, command ran

relabeled pending-request rows with a decline decision

thread B after the decline, command never ran

auto-settle and mark read/unread calls from thread A

delete refused from a supervised thread

Not verified: the outside-client path over OAuth (#15220), t3_pending_request_dismiss (no dismissable question came up), a one-file diff of a renamed file (no rename on the branch). Inbox snooze hiding was checked live, and a before screenshot of the old "Answered pending questions" label.

Still missing (follow-ups, not in this PR)

Full settings (providers, models, keybindings), git and PR actions, terminals, provider auth and usage, folder browsing for adding projects, pin reordering (the order-key helper lives in client-runtime), and opening a thread in a client.

Written by claude-opus-5-5 in Claude Code, running in T3 Code.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@maria-rcks
feat(server): MCP tools for an inbox, approvals, thread diffs, and mo…
a4a5839
…re thread actions
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Oct 4, 2026
macroscopeapp[bot]
macroscopeapp Bot reviewed Oct 4, 2026
View reviewed changes
Comment thread apps/server/src/mcp/toolkits/thread/handlers.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@macroscopeapp

macroscopeapp Bot commented Oct 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Not approved

Macroscope's review found this PR not approvable — The PR introduces multiple production MCP capabilities, including approval execution, inbox aggregation, Git diff exposure, lifecycle toggles, and irreversible thread deletion. It also broadens Claude's default read-only tool allowlist, making the change cross-cutting and consequential rather than a contained additive update.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@maria-rcks
fix(server): approvals over MCP accept only the offered decisions
37a238b
macroscopeapp[bot]
macroscopeapp Bot reviewed Oct 4, 2026
View reviewed changes
Comment thread apps/server/src/mcp/toolkits/thread/handlers.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

maria-rcks added 2 commits October 4, 2026 02:18
@maria-rcks
fix(server): inbox respects snooze, file diffs keep renames, pending …
1db29c2
…list keeps requestIds
@maria-rcks
fix(server): interrupted runs do not wake a snoozed thread in the inbox
49b177a
@maria-rcks maria-rcks mentioned this pull request Oct 4, 2026
feat(server): MCP tools for settings, providers, git, pull requests, terminals, projects, pin order, and opening threads #15445
Closed
@maria-rcks
fix(server): one-file thread diffs do not fail on an unreachable baseRef
55dae44
macroscopeapp[bot]
macroscopeapp Bot reviewed Oct 4, 2026
View reviewed changes
Comment thread apps/server/src/mcp/toolkits/review/handlers.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

maria-rcks added 3 commits October 4, 2026 03:49
@maria-rcks
fix(server): any caller that can reach a thread may decline its approval
1b75ae7
@maria-rcks
fix(server): working-tree thread diffs ignore a baseRef they don't use
4a164be
@maria-rcks
fix(server): pass the working-tree diff's baseRef explicitly
035a10d
@maria-rcks maria-rcks mentioned this pull request Oct 4, 2026
feat(server): MCP tools for settings, providers, git, pull requests, terminals, projects, pin order, and opening threads #15465
Closed
@maria-rcks

maria-rcks commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator Author

Note

Written by claude-opus-5-5 on behalf of Maria

Moved to #15464 so it can be stacked properly: same branch and head (035a10d), now pushed to pingdotgg instead of the fork. Review threads here are resolved or answered.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@maria-rcks maria-rcks closed this Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@maria-rcks
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.