Skip to content

fix(cli): report the running server version from t3 triage - #40

Closed
macodev00 wants to merge 1 commit into
mainfrom
cursor/triage-server-version-redo-abac
Closed

macodev00 wants to merge 1 commit into
mainfrom
cursor/triage-server-version-redo-abac

Conversation

@macodev00

@macodev00 macodev00 commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

What Changed

t3 triage now labels packageJson.version as the triage CLI version and, when server-runtime.json has a live pid that still belongs to that server, reads serverVersion from GET /.well-known/t3/environment and records it as the local server version. The playbook tells the agent to ask which version, device, and surface the bug happened on, then check the probed server version against that answer.

A stalled response body, a reused pid, or a corrupt origin falls back to unavailable or not-running instead of hanging or aborting triage.

Why

npx t3 triage was presenting the CLI package version as the installed app version, so the agent cloned the wrong tree. The local server already publishes its build on the unauthenticated environment descriptor. The probe has to ignore a pid that no longer belongs to the recorded server, stop waiting when the body never finishes, and keep writing context when origin is not a URL.

Fixes pingdotgg#13337
pingdotgg#13337

UI Changes

None.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes
Open in Web Open in Cursor 

t3 triage labeled the CLI package version as the installed version, so npx t3 triage diagnosed against that binary instead of the desktop app or service the bug happened on. The context now names the triage CLI separately and records serverVersion from the live server when the recorded pid still owns the process. A stalled body, a reused pid, or a corrupt origin falls back instead of aborting. The playbook asks which version, device, and surface the bug happened on before cloning.

Fixes pingdotgg#13337

Co-authored-by: maco <macodev00@users.noreply.github.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Sep 24, 2026
@macodev00

Copy link
Copy Markdown
Owner Author

Superseded: upstream READY already opened and closed after Macroscope Not approved. Leaving fork PR closed.

@macodev00 macodev00 closed this Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

t3 triage presents the CLI's version as the version the bug happened on

1 participant