trace_compare_sessions

[analysis]

Compares two stored GliderTrace sessions and highlights fixed, new, and persisting evidence.

Why this tool exists

Verification work depends on knowing what was fixed, what is new, and what still persists.

How it helps the agent

The model can compare two evidence sessions directly instead of manually diffing logs.

Try it locally in the GliderTrace playground

Parameters

NameTypeRequiredDescription
baselineSessionIdstringYesBaseline trace session id, usually before a fix or change.
candidateSessionIdstringYesCandidate trace session id, usually after a fix or change.
kindsjsonNoOptional evidence kinds such as testFailure, exception, log, counter, process, artifact, or warning.
minSeveritystringNoOptional minimum severity: 'info', 'warning', 'error', or 'critical'.
limitnumberNoMaximum number of fixed, new, and persisting items to return per group.
includeArtifactsbooleanNoInclude artifact references from both sessions. Defaults to true.

Examples

Compare before and after sessions

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trace_compare_sessions",
    "arguments": {
      "baselineSessionId": "trc_before",
      "candidateSessionId": "trc_after"
    }
  }
}

Response Notes

Returns fixed, new, and persisting evidence groups with optional artifact references.

↑/↓ NavigateEnter OpenSpace Expand