Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs(connectors): describe watermark quarantine behavior in the chat connectors guide (#5944)
time-attacka3b922124a1e
diff --git a/docs/guides/chat-connectors.md b/docs/guides/chat-connectors.mdindex 54765cd9e6..cb9ebb0109 100644--- a/docs/guides/chat-connectors.md+++ b/docs/guides/chat-connectors.md@@ -82,7 +82,7 @@ lane (`gbrain transcripts ingest <export-file>`). Verify with│ ▼│ runTranscriptsIngest (redact → slug → split → import)▼ │- watermark (config scalar) ◀──────────┘ advance ONLY on a fully clean run+ watermark (config scalar) ◀──────────┘ advance only when watermark gates passconnectors.<p>.watermark_iso receipt → ingest_log; stamp last_sync_at```@@ -98,10 +98,15 @@ imported. Later runs list newest-first and stop at `watermark − windowDays`- a conversation edited just behind the watermark (within the trailing window)is re-listed and re-imported in place — no silent gap.-The watermark advances **only on a fully clean run** (no fetch errors, no-`--limit` cap, clean ingest). A `partial` run leaves it untouched so the next run-heals. Re-imports are free (content-hash idempotency), so re-running is always-safe.+For watermark purposes, a run is eligible to advance when listing completed,+there is no non-quarantined conversation failure, no `--limit` cap was hit, and+the run was not aborted. After three fetch or ingest failures for the same+conversation update, that conversation is quarantined and stops blocking the+watermark; a run can therefore remain `partial` while the watermark advances.+A quarantined conversation is skipped on normal sync until its update time+changes; `--full` also retries it. Re-imports are free (content-hash+idempotency), so re-running is safe for conversations that are eligible to+retry.The watermark is deliberately a config scalar, **not** `op_checkpoint`:`op_checkpoint` stores a completed-key set (no scalar timestamp) and GCs rows@@ -197,7 +202,7 @@ the export-file lane (`conversation-archive`) — it always works.| `forbidden` | Cloudflare/bot challenge on server-side fetch | Use the official export + `gbrain transcripts ingest` | user (downloads the export); agent ingests it | none | `gbrain connectors status --json` || `auth_required` | cookie expired/invalid | Re-copy a fresh Cookie header, `gbrain connectors auth` | user (copies a fresh Cookie header) | `credentials` | `gbrain connectors status --json` || `connectors auth` exits 1 with an `[AGENT]` cookie checklist | no credential and nobody at the terminal ([headless lane](#headless-lane-an-agent-without-a-terminal)) | Relay the `[SHOW USER]` checklist; the user pipes the cookie into `gbrain connectors auth <provider> --cookie -` | user (copies the cookie) | `credentials` | `gbrain connectors status --json` |-| `partial` | some fetches failed | Watermark not advanced; just re-run | agent | `egress` (fetches from the provider again) | `gbrain connectors status --json` |+| `partial` | some fetches or ingests failed | Re-run: unquarantined failures hold the watermark and are retried. After three failures at the same conversation update, that conversation is quarantined, skipped on normal sync and no longer holds the watermark; an update or `--full` retries it | agent | `egress` (fetches from the provider again) | `gbrain connectors status --json` || receipt shows drift | provider API shape changed | Affected threads skipped (not lost); export lane still works | agent (reports it) | none | `gbrain connectors status --json` |## v2 roadmap