Registry Mirror
Skip to content

Conversation

@gabrielelpidio

Copy link
Copy Markdown
Contributor

t3_feedback refused any report whose subject was not a T3 tool name, a t3 command, or general. Agents name what they had trouble with, such as the bundled device CLI (agent-device), so those reports were refused. An agent that did not resend as general lost the report. Subject refusals are part of the invalid_request failures that mcp.tool.invoked shows for this tool.

Now a subject that names no T3 tool or t3 command is filed under general. The subject stays a closed set: the agent's own word for it is not stored or sent, as 08_product-analytics.md requires for reports sent without a preview. The tool description and schema are unchanged; only the refusal text is gone.

Proof: the new unit test fails on main with FeedbackSubjectError and passes here. The new mcp-tool-use case feedback-device-cli-subject goes from 0/4 on main (refused, then resent as general) to 4/4 on GPT-6.1 Sol, and the other 18 agent-feedback cases pass 2/2. Claude models were not run.

Not in this PR: a closed subject for the device CLI. Device reports now arrive as general, which says little, so one may be worth adding.

Reviewed with sol-loop: 1 round with gpt-6.2-sol. Sol verdict: approved

Created with Claude Fable 5.2 in T3 Code (Claude Code harness).

🤖 Generated with Claude Code

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 21.5 KiB 21.5 KiB 0 B (0.0%) 24.4 KiB ✅
Codex Live turn messages 1 1 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.9 KiB 21.9 KiB 0 B (0.0%) 24.4 KiB ✅
Claude Live turn messages 1 1 0 (0.0%) 8 ✅

Other scenarios

All 64 scenario measurements match main.

All 64 scenario measurements
Provider Scenario Metric Main baseline This PR Impact PR ceiling
Codex short turn resume WebSocket decoded 10.5 KiB 10.5 KiB 0 B (0.0%) 12.7 KiB ✅
Codex short turn resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex long turn running, cold open HTTP decoded 281.7 KiB 281.7 KiB 0 B (0.0%) 302.7 KiB ✅
Codex long turn running, cold open rows 75 75 0 (0.0%) 75 ✅
Codex long turn running, history page HTTP decoded 92.5 KiB 92.5 KiB 0 B (0.0%) 107.4 KiB ✅
Codex long turn running, history page rows 75 75 0 (0.0%) 75 ✅
Codex long turn finished, cold open HTTP decoded 381.5 KiB 381.5 KiB 0 B (0.0%) 410.2 KiB ✅
Codex long turn finished, cold open rows 151 151 0 (0.0%) 151 ✅
Codex long turn finished, socket cold open WebSocket decoded 381.6 KiB 381.6 KiB 0 B (0.0%) 410.2 KiB ✅
Codex long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex long turn finished, socket cold open rows 151 151 0 (0.0%) 151 ✅
Codex long turn finished, work page HTTP decoded 78.3 KiB 78.3 KiB 0 B (0.0%) 200.2 KiB ✅
Codex long turn finished, work page rows 75 75 0 (0.0%) 150 ✅
Codex idle thread resume WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B ✅
Codex idle thread resume WebSocket messages 1 1 0 (0.0%) 1 ✅
Codex fleet shell snapshot HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB ✅
Codex fleet shell snapshot rows 27 27 0 (0.0%) 27 ✅
Codex fleet shell subscribe WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B ✅
Codex fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 ✅
Codex fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B ✅
Codex fleet shell resume check rows 0 0 0 0 ✅
Codex stale shell reload HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB ✅
Codex stale shell reload rows 27 27 0 (0.0%) 27 ✅
Codex stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B ✅
Codex stale shell resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex stale todo list cold open HTTP decoded 72.4 KiB 72.4 KiB 0 B (0.0%) 83.0 KiB ✅
Codex stale todo list cold open rows 75 75 0 (0.0%) 75 ✅
Codex stale todo list cold open nodes 2 2 0 (0.0%) 4 ✅
Codex stale todo list cold open subagents 2 2 0 (0.0%) 4 ✅
Codex stale todo list cold open plans 1 1 0 (0.0%) 2 ✅
Codex stale todo list cold open providerTurns 1 1 0 (0.0%) 2 ✅
Codex stale todo list cold open checkpoints 1 1 0 (0.0%) 2 ✅
Claude short turn resume WebSocket decoded 10.6 KiB 10.6 KiB 0 B (0.0%) 12.7 KiB ✅
Claude short turn resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude long turn running, cold open HTTP decoded 283.3 KiB 283.3 KiB 0 B (0.0%) 302.7 KiB ✅
Claude long turn running, cold open rows 75 75 0 (0.0%) 75 ✅
Claude long turn running, history page HTTP decoded 93.4 KiB 93.4 KiB 0 B (0.0%) 107.4 KiB ✅
Claude long turn running, history page rows 75 75 0 (0.0%) 75 ✅
Claude long turn finished, cold open HTTP decoded 384.2 KiB 384.2 KiB 0 B (0.0%) 410.2 KiB ✅
Claude long turn finished, cold open rows 151 151 0 (0.0%) 151 ✅
Claude long turn finished, socket cold open WebSocket decoded 384.3 KiB 384.3 KiB 0 B (0.0%) 410.2 KiB ✅
Claude long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude long turn finished, socket cold open rows 151 151 0 (0.0%) 151 ✅
Claude long turn finished, work page HTTP decoded 79.2 KiB 79.2 KiB 0 B (0.0%) 200.2 KiB ✅
Claude long turn finished, work page rows 75 75 0 (0.0%) 150 ✅
Claude idle thread resume WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B ✅
Claude idle thread resume WebSocket messages 1 1 0 (0.0%) 1 ✅
Claude fleet shell snapshot HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB ✅
Claude fleet shell snapshot rows 27 27 0 (0.0%) 27 ✅
Claude fleet shell subscribe WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B ✅
Claude fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 ✅
Claude fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B ✅
Claude fleet shell resume check rows 0 0 0 0 ✅
Claude stale shell reload HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB ✅
Claude stale shell reload rows 27 27 0 (0.0%) 27 ✅
Claude stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B ✅
Claude stale shell resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude stale todo list cold open HTTP decoded 73.4 KiB 73.4 KiB 0 B (0.0%) 83.0 KiB ✅
Claude stale todo list cold open rows 75 75 0 (0.0%) 75 ✅
Claude stale todo list cold open nodes 2 2 0 (0.0%) 4 ✅
Claude stale todo list cold open subagents 2 2 0 (0.0%) 4 ✅
Claude stale todo list cold open plans 1 1 0 (0.0%) 2 ✅
Claude stale todo list cold open providerTurns 1 1 0 (0.0%) 2 ✅
Claude stale todo list cold open checkpoints 1 1 0 (0.0%) 2 ✅

Baseline: 4b81999 · PR result: 723c328 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@macroscopeapp

macroscopeapp Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Needs Human Approval

Macroscope's review found this PR requires human approval — Unrecognized feedback subjects will now be accepted as general rather than refused, while existing privacy and approval safeguards remain. Human review is needed to confirm this change to the default acceptance policy.

Notes:

  • All code in this push has already been reviewed. Approvability was decided on eligibility alone.

No code changes detected at 723c328. Prior analysis still applies.

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

@gabrielelpidio
gabrielelpidio force-pushed the t3/feedback-accepts-unknown-subject branch from 66cf24c to 27ced0c Compare December 2, 2026 19:08
@coderabbitai

coderabbitai Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Feedback subject resolution now uses "general" for unrecognized subjects. Feedback submission no longer rejects those subjects or applies the early caller thread ID check for requested reports. Tests and the MCP tool-use evaluation reflect these changes.

Changes: Feedback submission

Layer / File(s) Summary
Subject resolution and validation
apps/server/src/feedback/FeedbackReport.ts, apps/server/src/feedback/FeedbackService.ts, apps/server/src/feedback/FeedbackService.test.ts
Unrecognized subjects now resolve to "general". The subject validation error was removed, and tests no longer expect empty, arbitrary, or other-server tool subjects to be rejected.
Requested-report flow
apps/server/src/feedback/FeedbackService.ts, evals/mcp-tool-use/run.ts, evals/mcp-tool-use/cases/agent-feedback.ndjson
The early check for a missing caller thread ID was removed; later checks for a missing run or root node remain. The evaluation runner continues to its existing report paths, and a new case expects a successful user-requested feedback call.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Merge Risk: Minimal · up to 27ced

Reports about unrecognized subjects such as the agent-device CLI are now filed under general instead of being refused. The change is small, tested, and low risk to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: agent feedback with a subject that is not a T3 tool, a t3 command, or general is now filed under general instead of refused. It uses a conventional commit prefix and a…
Description check Passed The description follows the template sections (Problem, Change, Scope, Verification). The Problem and Change sections are clear. Scope links the analytics guidance and says the change is a bug fix, bu…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: agent feedback with a subject that is not a T3 tool, a t3 command, or general is now filed under general instead of refused. It uses a conventional commit prefix and a plain-language description. It does not cover the analytics or eval details, which is expected.

Full details: Description check

Explanation

The description follows the template sections (Problem, Change, Scope, Verification). The Problem and Change sections are clear. Scope links the analytics guidance and says the change is a bug fix, but it does not link an issue that shows the bug, and it does not say why no issue is needed. The Verification section gives specific results: a new unit test that fails on main and passes on the branch, and eval pass rates. It states that Claude models were not run. The template comment asks for a model and harness line, and the description includes one (Claude Fable 5.2 in T3 Code). The description is mostly complete, with a gap in Scope.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 9b419ae and 27ced0c.

Files selected for processing: 5

  • apps/server/src/feedback/FeedbackReport.ts
  • apps/server/src/feedback/FeedbackService.test.ts
  • apps/server/src/feedback/FeedbackService.ts
  • evals/mcp-tool-use/cases/agent-feedback.ndjson
  • evals/mcp-tool-use/run.ts
Files with no reviewable changes: 2

  • apps/server/src/feedback/FeedbackService.ts
  • evals/mcp-tool-use/run.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

gabrielelpidio and others added 2 commits December 3, 2026 10:51
…eral instead of refused

t3_feedback refused a report whose subject named no T3 tool, t3 command or
`general`, such as the bundled device CLI (`agent-device`). Agents that did
not resend lost the report.

The subject now falls back to `general`, so it stays a closed set and the
agent's own word for it is never stored or sent. Adds a unit test and an
mcp-tool-use eval case that fail on the old rule.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…t test

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@gabrielelpidio
gabrielelpidio force-pushed the t3/feedback-accepts-unknown-subject branch from 27ced0c to 723c328 Compare December 3, 2026 14:53
@gabrielelpidio
gabrielelpidio merged commit b020481 into main Dec 3, 2026
37 checks passed
@gabrielelpidio
gabrielelpidio deleted the t3/feedback-accepts-unknown-subject branch December 3, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant