Repository navigation
Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a focused, additive MCP reporting fix that surfaces already-persisted native goal state without changing execution, provider selection, defaults, or existing response requirements. List output is bounded and covered by targeted tests, while the contract remains backward-compatible. Notes:
You can add or adjust custom eligibility rules. Learn more. |
Dismissing prior approval to re-evaluate a90af6f
|
Note Written by Thanks for identifying the gap in MCP goal visibility. Adding native goal fields and bounded summaries expands what the thread tools expose rather than correcting their existing execution-status result, so this needs prior approval. The PR explicitly states that no prior maintainer approval exists. Please preserve the use case in an Ideas discussion and obtain approval for the response contract and scope before requesting reconsideration. |
Problem
T3 displays native
/goalstate, butt3_thread_readandt3_thread_listomit it. MCP consumers see execution status without the active provider conversation's objective and disposition, so they cannot distinguish an ended turn from an unfinished native goal.Change
Expose the active provider thread's native goal separately from execution status. Thread reads return the full reported goal; thread lists bound the objective to 1,000 characters and evaluator feedback to 2,000, with
goalTextTruncatedindicating clipping. A thread without an active native goal returnsnull. The new response fields are optional for compatibility with older servers.Tool descriptions and MCP usage documentation describe the new fields and how to recover full goal text from a bounded list result.
Scope and approval
This is a focused correction to existing thread-state reporting for the established native
/goalcapability added in #15592. It exposes already-persisted state through the existing read/list operations. It does not create goals, resume them, change execution policy, add controls, or alter provider selection. I believe it fits the focused obvious-bug exception; there is no claim of prior maintainer approval for a new feature.Verification
Based on current upstream
mainatd514a8c617:vp test run apps/server/src/mcp/OrchestratorMcpService.activity.test.ts: all 10 tests passed. Added cases verify full read versus bounded list output, missing/previous provider-conversation goals, and response-schema serialization.node apps/server/scripts/cli.ts build-exe --target linux-x64 --verbose: executable build passed with Node 26.8.2.Synthetic service fixtures exercise the reporting and wire contracts. No new native goal was created in a live user conversation for this PR. No UI changes or browser verification.
Model: GPT-6.1-Sol through the Codex harness in T3 Code; independent review by Claude Opus 5.5 through T3 Code.