qyl-mcp-server 17.0.2 → 17.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analysis-tools.js +1 -1
- package/dist/analysis-tools.js.map +1 -1
- package/dist/contracts/generated/api.d.ts +16 -2
- package/dist/contracts/generated/api.js +1 -1
- package/dist/contracts/generated/api.js.map +1 -1
- package/dist/contracts/generated/definitions.d.ts +3 -1
- package/dist/contracts/generated/tool-schemas.json +374 -179
- package/dist/skills/qyl-investigate/SKILL.md +12 -2
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ saved queries and failure status in that project, never the telemetry.
|
|
|
27
27
|
| The user wants to know | Start with | Then |
|
|
28
28
|
| --- | --- | --- |
|
|
29
29
|
| What is wrong or what changed (open-ended) | `triage` | `get_failure_context` for the top failure, `list_releases` when a release coincides |
|
|
30
|
-
| Why this request, trace or session failed | `get_failure_context` with
|
|
30
|
+
| Why this request, trace or session failed | `get_failure_context` with exactly one of `trace_id`, `session_id`, `failure_id` or `ci_run_id` | `compare_traces` against a passing execution, `get_trace` for the span tree |
|
|
31
31
|
| Which errors recur and their status | `list_failures` | `update_failure_status` when the user records a decision |
|
|
32
32
|
| Why something is slow | `aggregate_telemetry` grouped by operation with `duration_p95` | `get_trace` with `selection: critical_path` on a slow `trace_id` |
|
|
33
33
|
| Whether a fix held | `verify_fix` with the `failure_id` and `since` (when the fix shipped) or `release` | repeat with the returned `verify_id` once `needs` is met |
|
|
@@ -54,6 +54,8 @@ saved queries and failure status in that project, never the telemetry.
|
|
|
54
54
|
spans and 100 logs, `aggregate_telemetry` 20 groups, `get_trace` 100
|
|
55
55
|
spans. `has_more` and `next_cursor` continue the same query; `coverage`
|
|
56
56
|
says how much was examined, so report truncation instead of guessing.
|
|
57
|
+
A `cursor.stale` error means results ahead of the cursor changed after it
|
|
58
|
+
was issued: run the query again without the cursor.
|
|
57
59
|
- **Trace detail.** For a failure, call `get_trace` with
|
|
58
60
|
`selection: errors_with_ancestors`: the error spans plus their path to the
|
|
59
61
|
root. Widen to `all` only when that path is not enough, and raise
|
|
@@ -67,12 +69,16 @@ saved queries and failure status in that project, never the telemetry.
|
|
|
67
69
|
- **Filters.** `matchers` take `key`, `op` (`eq`, `neq`, `in`, `prefix`,
|
|
68
70
|
`contains`, `exists`, `gt`, `gte`, `lt`, `lte`) and `value` or `values`;
|
|
69
71
|
`discover_attributes` lists which keys and values exist before you filter.
|
|
72
|
+
`eq`, `neq` and `in` compare typed values: the number 1 does not match the
|
|
73
|
+
string "1", so pass a value in the type `discover_attributes` reports.
|
|
70
74
|
|
|
71
75
|
## Reading a verdict
|
|
72
76
|
|
|
73
77
|
- `verify_fix.verdict` is `passed`, `failed`, `pending` or `inconclusive`.
|
|
74
78
|
`pending` means the `needs` (requests and minutes) are not met yet: say
|
|
75
|
-
so and offer to check again later with the `verify_id`.
|
|
79
|
+
so and offer to check again later with the `verify_id`. `inconclusive`
|
|
80
|
+
means the evidence cannot decide: no requests after the change, or a scan
|
|
81
|
+
that did not hold the whole window after it.
|
|
76
82
|
- `triage` ranks failures by `change`: `new`, `worsening`, `ongoing`,
|
|
77
83
|
`recovering`, `regressed`. A `coinciding_release` is a lead, not a cause.
|
|
78
84
|
- `get_failure_context.observed` is evidence (root-cause span, error spans,
|
|
@@ -81,6 +87,10 @@ saved queries and failure status in that project, never the telemetry.
|
|
|
81
87
|
could not establish. Report the unknowns with the findings.
|
|
82
88
|
- `coverage.scan_complete: false` or `truncated: true` means the answer
|
|
83
89
|
rests on part of the data. Say which part.
|
|
90
|
+
- `check_telemetry_health.metric_conflicts` lists metric timestamps that
|
|
91
|
+
hold contradicting measurements. `query_metric` refuses a window that
|
|
92
|
+
holds one with a `conflict` error: narrow the window or choose another
|
|
93
|
+
`series_id`.
|
|
84
94
|
|
|
85
95
|
## Record and reuse (only when asked)
|
|
86
96
|
|