Skip to content

The advisor

The advisor is a small panel that appears inline on a probe editor, the chain editor, the project dashboard and the proxy view when the state of that screen supports a concrete next move. It reads what is already there (the probe’s last result, the chain’s last run, the project’s configuration, the exchanges the proxy captured), works out the moves that state makes valid and offers each move to apply with one click.

The same state always produces the same moves. Every move is built from rules in the application and nothing is sent to a model, so the advisor works on every tier and with no AI assistant configured. It also never acts on its own. A move edits the probe or chain you have open (you save it), creates a new probe or environment (saved at once) or opens an editor. Sending stays with you.

A probe that succeeded, a chain whose last run was green with every extracted value asserted and a project that has an environment show no panel. The moves cover what the screen does not already tell you, such as the cause behind an error message. The one exception is an extractor nothing reads, which the Test quality bar already flags and the advisor offers to fix (see On a chain).

When there is a move to offer, the advisor shows a short cue with a light bulb. It reads Why did this fail? when the screen shows a real failure (a failed send, a failed chain run) and Suggestions otherwise. On a probe editor the cue sits on the result’s status row, next to the status and the time. On the chain editor, the project dashboard and the proxy view it sits above the content.

Clicking the cue expands the What now panel. On a probe it starts with one line explaining the failure in plain terms (for example that the connection was refused below the protocol, so the credentials were never tried), then lists the moves. Each move has a label, the reason it is offered, Apply and Dismiss.

A failed MySQL probe with the advisor expanded under the status row

Dismiss drops one move. The menu in the panel header offers Mute this here (this probe, chain or project) and Mute this everywhere (this kind of view). Muting is remembered on this machine. Close folds the panel back into the cue.

The advisor appears on the editor of every protocol except HTTP. After a send that failed, it distinguishes a connection that never reached the protocol from a server that answered and refused.

When the connection failed (the name did not resolve, the connection was refused or timed out, or the peer reset it), the moves turn the failure into checks of the layers underneath:

  • Probe DNS for host: a DNS probe for the host’s address record, to confirm the name resolves to the address you expect
  • Probe TCP host:port: a raw TCP Freestyle probe, to show whether anything is listening on that port at all

A host that did not resolve is offered only the DNS probe. A failing DNS probe is offered only the TCP probe, since checking a resolver with another DNS query proves nothing. Applying a move creates the probe in the same bundle, already filled in, then opens it.

When the server refused the login, the advisor offers a move only where the reason is a known configuration problem rather than a wrong password. It reads the failure with the same rules the connection doctor uses, so the two give the same fix for the same failure.

ProtocolWhat the advisor recognizesMove
MySQLThe account uses caching_sha2_password over a plaintext connection and the server’s public key is neededAllow public-key retrieval, or Turn TLS on instead
PostgreSQLThe server has no rule for an unencrypted client (no pg_hba.conf entry ... no encryption)Require TLS
PostgreSQL, SQL ServerThe server’s certificate is not trustedEncrypt without verifying the certificate
MongoDBAn authentication failure, which MongoDB reports the same way whether the password or the authentication database is wrongSet the authentication database
LDAPThe directory requires an encrypted connection to bind (confidentialityRequired)Turn TLS on
RedisThe server has no password configured and rejected AUTHClear the credential

The advisor also reads a failed Kerberos send, which the doctor has no login step for. When the KDC answers that its reply is too large for UDP, the advisor offers Use TCP instead of UDP.

Apply on one of these moves sets that field in the probe you have open. A move with no value of its own (Turn TLS on instead, Set the authentication database, Clear the credential) leaves the field for you to change.

A rejection with no such pattern produces no move. To find out which part of a refused login the server objected to, run the connection doctor.

The chain advisor reads the chain together with its most recent run, which the Test quality bar in the chain editor never sees:

  • A step that failed. For the first step that sends something and failed in the last run (without being tolerated or skipped), the advisor offers Add a connection check before step. Applying it inserts an ANALYZE step running the connection doctor against the same target just before the failing step. The ANALYZE step passes whatever the doctor finds, so add an ASSERT on its result (see In a chain) to make the next run stop at the real cause (DNS, TCP, TLS or authentication) instead of at a protocol error further up.
  • A green step with an empty value. A step that succeeded but extracted a value that came back empty, zero, false or an empty list, with no assertion reading it, gets Assert on variable.

Below those, an extractor whose variable nothing in the chain reads (the case the Test quality bar already flags) gets the same Assert on variable move. Applying an assertion move adds an ASSERT step right after the step that extracts the variable, with the expected value left empty for you to fill in. A chain that has never run gets only that last kind of move.

A project with no environment gets Create an environment. Without one, {{variables}} and credential bindings have nothing to resolve against. Applying the move creates an environment named Default in the project, which you can rename and fill in on the project dashboard. See Environments.

While the proxy runs, the advisor watches the captured exchanges for a host that answered 401 or 403 at least twice. For each such host it offers Mock the auth for host, because refusals from one host are spread across many rows of the feed. Applying it opens the mock rule editor pre-filled with that host and a 200 mock response, so you can test the flow behind the authentication. You review it and save it to a rule set as with any mock.

The AI assistant is a conversation with the model you configured. It reads the same workspace through its tools and acts once you approve a change (or at once, with auto-approve on). The advisor offers only the moves its rules know.