> ## Documentation Index
> Fetch the complete documentation index at: https://aivision.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Read the relevant procedure and prerequisites before suggesting commands. Cite the section and give an observable check. Treat sample data as illustrative. Report product actions and results only when verified in the user's environment.

# Start with existing diagnosers

> Browse the built-in diagnosers, compare Verification After Changes results across two Traces, and try a check for one explicit requirement.

**Decide what to check, then choose where to run it.** You can use the platform's existing rules and specialist checks directly. [Configure a custom diagnoser](https://aivision.mintlify.site/en/guides/diagnosers.md) when those checks do not cover your requirement.

Browse the [built-in diagnoser overview](#builtin-diagnoser-overview) to choose a check, or follow the [Verification After Changes example](#builtin-verification-case). If you need a Trace to check, start with [your first diagnosis](https://aivision.mintlify.site/en/guides/diagnosis.md).

## 1. Find an applicable existing check

### Built-in diagnoser overview

Open **Diagnosis → Diagnosers**, confirm the space and Agent, and select **Source → Official**. Use **Category** to narrow the list by Outcome Quality, Process Quality, Safety & Compliance, or System Performance. Use **Type** to filter for rules or LLM checks. Open a card to check its logic, applicable scenarios, required evidence, and output metrics.

In this Codex example, the official catalog lists 8 rules and 4 LLM checks. The checks you can run depend on the Agent, runtime, permissions, and captured evidence.

[![The Official filter shows 12 built-in diagnosers in four categories. Verification After Changes is under Outcome Quality.](https://mintcdn.com/aivision/pjLBRc4ZW7wuhhi9/assets/figures/diagnosers-official-overview.zh-CN.light.webp?fit=max\&auto=format\&n=pjLBRc4ZW7wuhhi9\&q=85\&s=6827de09abb6a086ffb18ba7c1b39929)](https://aivision.mintlify.site/assets/figures/diagnosers-official-overview.zh-CN.light.webp)

The official catalog for Codex. The purple outlines mark the Official filter and the Verification After Changes rule used below. Chinese UI. Select the image to enlarge it.

| Built-in rule (no model calls) | What it checks | How to read the result |
| - | - | - |
| Tool Execution Results | Recorded tool successes, failures, and unknown outcomes | `signal`. By default, a known tool failure is flagged. |
| Run Duration | Elapsed time and any configured time budget | `signal`. Use it to explain time spent in the run. |
| Repeated Call Clues | Three consecutive equivalent calls with no observed change in their results | `signal`. Check whether the calls were expected retries and whether progress was recorded. |
| Repeated Edit Clues | Repeated edits that overlap in the same file region | `signal`. Inspect the diffs and the context of the changes. |
| Risky Operation Notice | Risky commands observed to have executed | `signal`. Review the operation and its context. Authorization is unknown. |
| Credential Exposure Clues | Signs of credential exposure in the request, tool output, or final response | `signal`. Inspect the channel and masked evidence. |
| User Interruption Events | Recorded interruption status | `signal`. Check whether an interruption occurred and how the run ended. |
| [Verification After Changes](#builtin-verification-case) | Verification after the last relevant code or configuration change | `quality`. Check the source step for missing or failed verification. Unknown verification results are skipped. |

| Built-in semantic check (judge model required) | What it needs | How to read the result |
| - | - | - |
| Text Response Check | The current request and final visible answer | Checks requirements that can be verified from the text. |
| Actual Delivery Check | The request, final answer, and actual artifacts or checks with targets and sources | Verifies delivery within the scope of the captured evidence. |
| Execution Claim Check | The request, final answer, and recorded commands, targets, or results that correspond to the claim | Compares the claim with observed execution. Missing evidence leaves corresponding actions unknown. |
| Evidence Support Check | The request, final answer, and sourced material provided to the model before generation | Checks whether the supplied material supports the answer's claims. |

Cards explain a check's definition. Choose the execution entry that fits your goal:

| Goal | Where to run it | Where to find results |
| - | - | - |
| Check one or more selected Traces | **Agent Traces → Run diagnosis → Saved diagnosers** from the list or details. Choose a rule or saved specialist check. | Inspect the evidence in the run dialog or open the batch with **View quality results**. |
| Check one explicit requirement | **Diagnosers → Specialist Trial**, selecting the check and its scope | The current trial form; it creates no task, BadCase, or quality-board batch. |
| Combine applicable diagnosers for batch or scheduled checks | **Diagnosis Jobs** in a team space | Execution history and the task's quality results. |

`signal` means a runtime clue that does not contribute to quality scores. `quality` means a quality check; scoring still depends on the required materials and coverage. Collection support for an Agent does not make every diagnoser applicable. Use the available options and material status shown on the current page.

### Check the runtime and available materials

The application name, CLI connection identifier, and diagnosis `runtime_type` are different values. This table lists the current semantic-material mappings. It is not a plugin installation list or a guarantee that every Trace contains enough evidence.

| Configured datasource runtime | Built-in material mapping | What to verify |
| - | - | - |
| `cc`, `claudecode`, `codex`, `codefuse`, `antcc`, `antcodex`, `dsh` | Common and Coding materials | Verification After Changes needs an actual change followed by verification. Actual Delivery Check also needs artifacts or checks with a target, source, and result. |
| `langchain`, `langgraph`, `deepagents`, `deep-agents`, `langfuse-sdk` | Common framework materials | Text Response Check needs the current request and final answer. Evidence Support Check also needs material provided before generation. Coding artifact checks require evidence of the actual artifacts. |
| Other runtimes | No dedicated semantic mapping in the current implementation | Ask a maintainer to verify the datasource runtime and deployed version. Successful collection alone does not establish built-in semantic-check support. |

This inventory follows the product's [runtime routing at `b0908e8`](https://github.com/ob-labs/ai-vision-ob/blob/b0908e84288fc0e189badd8a36e40e92a2497197/agentlens/src/agentlens/service/datasource/projection/registry.py). A mapped runtime can still lack evidence. Unknown or filtered content does not establish a good result.

After selecting **Run diagnosis**, choose one saved diagnoser per run. Select 1–10 Traces from the list, or open a single Trace to check just that record. Rules can run directly. Semantic checks need a usable judge model bound to the configuration. Use a team diagnosis task to combine checks. For an example, see the [text-requirement exercise](https://aivision.mintlify.site/en/guides/diagnosis.md#semantic-quality-practice).

### Use Verification After Changes on a coding Trace

One task edits `src/retry.py` and ends before running tests. Another task makes the same edit, then runs a test that passes. Run the built-in **Verification After Changes** rule on both Codex Traces to see how it distinguishes these cases. This rule needs no judge model.

**1. Prepare two Traces to compare**

Make two isolated practice copies from the same starting version. Use your connected Codex Agent to make the same file edit in each copy in a separate task. For example, change the retry delay in `src/retry.py` from 2 seconds to 3. End the first task after the edit. In the second task, run an existing project test after the final edit. This example uses `python3 -m unittest -v test_retry.py`, which exits with code 0. For your own project, use its test command.

> [accordion] Use these two files if you need a practice project
>
> Create a practice project under your home directory, save the files below, then make a second copy. The rule ignores file changes in system temporary directories such as `/tmp`. Open one copy per Codex task and edit only `src/retry.py`. In the second task, make the edit and run the test from the project root in the same turn.
>
> ```python src/retry.py theme={null}
> def delay_seconds():
>     return 2
> ```
>
> ```python test_retry.py theme={null}
> import unittest
>
> from src.retry import delay_seconds
>
>
> class RetryTest(unittest.TestCase):
>     def test_wait(self):
>         self.assertEqual(delay_seconds(), 3)
> ```

Open both captured Traces in **Agent Traces** and confirm the space, Agent binding, and diagnosis execution permission. In **Execution process**, check the file edit and confirm that only the second Trace records a later test and its result.

**2. Select both Traces and run the built-in rule**

In the same Agent's Trace list, select both rows and click **Run diagnosis** in the toolbar. On the **Saved diagnosers** tab, choose **Verification After Changes** from **Diagnoser or specialist check**. Confirm that two Traces are selected, then click **Run diagnosis**.

[![Run diagnosis dialog with Verification After Changes and the Run diagnosis button outlined. The dialog shows two selected Traces.](https://mintcdn.com/aivision/pjLBRc4ZW7wuhhi9/assets/figures/diagnoser-verification-choose.zh-CN.light.webp?fit=max\&auto=format\&n=pjLBRc4ZW7wuhhi9\&q=85\&s=19a7434b334b814bdaf18a46db8bab07)](https://aivision.mintlify.site/assets/figures/diagnoser-verification-choose.zh-CN.light.webp)

Select Verification After Changes under Saved diagnosers and run it on both selected Traces. Chinese UI. Select the image to enlarge it.

**3. Compare the results and open the source step**

Match the two diagnosis records by Trace ID. The edit-only Trace shows **Finding** (`bad`) because verification after the last change is missing. The Trace with a passing post-edit test shows **No issue found** (`good`). The result applies to the recorded verification for this change.

[![The first record reports missing verification after the last edit and highlights View source step. The second record reports No issue found.](https://mintcdn.com/aivision/pjLBRc4ZW7wuhhi9/assets/figures/diagnoser-verification-result.zh-CN.light.webp?fit=max\&auto=format\&n=pjLBRc4ZW7wuhhi9\&q=85\&s=45b4826efa43ae49a5ae5e4f48037741)](https://aivision.mintlify.site/assets/figures/diagnoser-verification-result.zh-CN.light.webp)

The run returns two diagnosis records. Select View source step on the record with missing verification. Chinese UI. Select the image to enlarge it.

Select **View source step** to confirm which file-edit Span the rule identified. In this example it opens the `apply_patch` call that changed `src/retry.py`. Use **View quality results** to revisit this batch later.

[![The apply\_patch source step in Execution process shows the change to the retry delay in src/retry.py, from 2 to 3 seconds.](https://mintcdn.com/aivision/pjLBRc4ZW7wuhhi9/assets/figures/diagnoser-verification-source.zh-CN.light.webp?fit=max\&auto=format\&n=pjLBRc4ZW7wuhhi9\&q=85\&s=7d0fce8984f44d47a40e515f2f65e738)](https://aivision.mintlify.site/assets/figures/diagnoser-verification-source.zh-CN.light.webp)

The source link opens the actual apply\_patch call for the final edit. Chinese UI. Select the image to enlarge it.

A test that passes before the final edit only verifies the earlier state. After fixing the workflow, run the same rule on a newly captured Trace. If the rule skips the Trace or reports an unknown result, check whether the final edit, the later test, and its outcome are readable.

## 2. Try one explicit requirement independently

For a first trial, use a test marker with **Protected marker exposure**. It calls no model and requires no rule code. This exercise only checks whether the configured marker appears in the final visible text.

**1. Prepare one of your own test Traces**

Under an Agent bound to your account, choose a completed SigNoz Trace whose final answer you can open, and copy its Trace ID. Prepare a **fictional test marker**, such as `DEMO_INTERNAL_ONLY_7F3A`. Do not enter a real key or real sensitive content.

First inspect whether the final answer contains the marker, so you can compare that observation with the trial. To practice the matching branch, use this fictional marker only in an isolated test task.

**2. Select the specialist check and scope**

Open **Diagnosers → Specialist Trial**, choose **Protected marker exposure** and the configured exact-marker scope. Keep the unique ID `marker_1`, enter `DEMO_INTERNAL_ONLY_7F3A` as the marker text, and set its visibility to **Protected**. The requirement is that this marker must not appear in the final answer. Read the form's material requirements and check boundary first.

**3. Enter the Trace ID and run the trial**

Enter the prepared Trace ID and select **Try this Trace**. This entry can only try an Agent bound to your current account. A team administrator's access to another member's Traces does not permit trying that member's Agent here.

**4. Compare the result with the original text**

Inspect the verdict, reason, material status, and source references, then return to the same Trace and check the final answer. An exact match finds exposure of that protected marker. No match only means this configured marker was not found. Execution failure or a skip caused by missing materials is not a pass.

### Compare a match with a non-match

In an exercise session with no application data, send these two tasks separately to your connected Agent. Wait for each turn to finish and obtain its own Trace. They use fictional markers, not actual secrets.

```text theme={null}
Test task A: Reply with only this exact test text, without adding or removing characters: DEMO_INTERNAL_ONLY_7F3A
```

```text theme={null}
Test task B: Reply with only this exact test text, without adding or removing characters: DEMO_PUBLIC_OK
```

For both trials, use the same protected marker `DEMO_INTERNAL_ONLY_7F3A`, ID `marker_1`, and Protected visibility. Enter each actual Trace ID separately:

| Final answer you inspect manually first | Expected result of this check |
| - | - |
| A's final visible answer contains the exact protected marker | `bad`: the marker-exposure signal is found. |
| B's final visible answer does not contain the protected marker | `good`: this specific marker was not found. |

If the Agent did not follow the response instructions, use its actual final text. Do not assume the verdict from the task's A or B label. This is a `signal` exercise: it does not contribute to a quality score or establish that all secrets are safe. These trials have not run in a formal task, so they do not create records for review in the BadCase list.

**Completion check:** The trial gives a valid verdict for the expected Trace, with a reason or references you can verify against the actual text. Record the Trace ID, check, configuration, and observation. Trial results are displayed only in the current form; record them before leaving. For traceable batch results, continue with saving and running a task below.

The specialist trial returns results in the current form. For a result you can revisit on the Quality Board, run the saved specialist configuration.

## 3. Choose a specialist for your question

| Check | What to prepare | Result boundary |
| - | - | - |
| Answer relevance | Current request and answer; recorded history when using the conversation-history scope; a model connection | Relevance does not establish task completion. |
| Follow-up reasonableness | Current content, actual conversation history, and a model connection | Missing history is not reconstructed; inspect material status first. |
| Numeric consistency | Supported expressions and text selectors; choose binary arithmetic without units or addition/subtraction with one shared unit | Calls no model; validates only the configured operation, not arbitrary numeric reasoning. |
| Required response language | Target language, allowed terms, the final natural-language answer, and a model connection | Checks only the configured language requirement. |
| Protected marker exposure | Explicit markers, visibility, and the final visible answer | Calls no model; exact matching is not a general detector for sensitive information. |

For a specialist that needs a model, open **Integrations → Model connections** and run **Diagnostic validation** on a connection in the current space. Inspect both the connection status and basic diagnostic result, then select that connection in the specialist. Each feature makes its own model choice; see [Model connections](https://aivision.mintlify.site/en/guides/model-connections.md) for setup. For a language check, specify the target language, enter each allowed product name or technical term, and trial a real Trace whose answer you have inspected manually. Basic validation uses fixed positive and negative text examples; it does not replace checking the specialist's actual materials, configuration, and output.

## 4. Save and run the configuration

With diagnosis management permission in a team space, save the specialist configuration. For specific samples, choose it under **Agent Traces → Run diagnosis → Saved diagnosers**. To run it in batches or on a schedule, add it explicitly to a [diagnosis task](https://aivision.mintlify.site/en/guides/diagnosis-tasks.md).

* **New draft:** Try it first, verify the result, then save.
* **Changed saved configuration:** Save first as prompted, then run the trial against the saved version.
* **Personal space:** You can try drafts with the execution and management permissions required by the page. You cannot use the team workflow to save custom configurations or create team tasks.

After a formal task completes, follow [Quality results and BadCases](https://aivision.mintlify.site/en/guides/quality.md) to inspect results and submit human feedback. To keep checking new data with a verified configuration, continue to [Continuous diagnosis](https://aivision.mintlify.site/en/guides/continuous-diagnosis.md).

## When the entry is unavailable or the trial gives no verdict

| Symptom | Next step |
| - | - |
| No Specialist Trial entry, or a 403 response | Check diagnosis execution permission, the space, and your Agent binding. Do not substitute someone else's Trace ID. |
| The check or scope is unavailable | Use a supported scope; renaming a check does not expand its capabilities. |
| No model is available | Check the current space's connections, credentials, and test status. |
| Missing materials or not applicable | Inspect the original Trace, recorded history, and Privacy filtering. A new configuration cannot restore uncollected content. |
| The trial succeeds but the quality overview has no result | The trial result appears in its form. Run the saved configuration from a Trace or run a formal task to create a batch. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.