Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Regenerate llms-full.txt for the doctor TLS docs

garrytan2c5d58330b5d
diff --git a/llms-full.txt b/llms-full.txt
index 22bae2898c..702ed3822a 100644
--- a/llms-full.txt
+++ b/llms-full.txt
@@ -5744,9 +5744,17 @@ A server that does not accept TLS fails the connection with
[`postgres_tls_required`](guides/error-codes.md#postgres_tls_required),
which names both choices: turn TLS on at the server, or add
`sslmode=disable` to the URL. Nothing falls back to plaintext on its own.
-`gbrain doctor --only postgres_tls` reports whether the current session is
-encrypted (`pg_stat_ssl`) and warns for a non-local brain that is not. PGLite
-opens no network connection, so none of this applies to it.
+`gbrain doctor --only postgres_tls` reports whether this machine's own
+connection to a non-local server uses TLS. It judges that from the client side:
+`sslmode=require`, `verify-ca` and `verify-full` make the driver refuse a
+server without TLS. It warns on `sslmode=disable`, and on `sslmode=prefer` when
+the server does not offer TLS or reports the session unencrypted (prefer falls
+back to plaintext without saying so, so doctor never certifies a prefer
+connection as encrypted). Behind a
+pooler, the server's `pg_stat_ssl` row describes the pooler's own hop to the
+database, which can't be checked from your machine, so doctor shows it as detail
+and never warns about it. PGLite opens no network connection, so none of this
+applies to it.
### Vector index sizing