Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
train T: doctor JSON goldens list the two new page-class checks as not_run in fast and unreachable runs
garrytan38d78bfa7698
diff --git a/test/fixtures/goldens/doctor/json-pglite-fast.json b/test/fixtures/goldens/doctor/json-pglite-fast.jsonindex bea13afa91..58ed65703e 100644--- a/test/fixtures/goldens/doctor/json-pglite-fast.json+++ b/test/fixtures/goldens/doctor/json-pglite-fast.json@@ -469,6 +469,82 @@},"message": "dream_paid_loop did not run (the database checks did not run, or this tier or report skips it), so its health is unknown, not clear. Measure it with gbrain doctor --only dream_paid_loop --budget-ms 0 --json --brain host, run the full tier (gbrain doctor --alert --tier standard --json) or raise the alert budget (--budget-ms).","reason": "not_run"+ },+ {+ "budget_ms": "<volatile>",+ "check": "dream_write_deferred",+ "code": "doctor_alert_unknown",+ "fix": {+ "actor": "agent",+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "dream_write_deferred",+ "--budget-ms",+ "0",+ "--json",+ "--brain",+ "host"+ ],+ "command": "gbrain doctor --only dream_write_deferred --budget-ms 0 --json --brain host",+ "consent": [],+ "docs": "https://github.com/garrytan/gbrain/blob/master/docs/guides/troubleshooting.md#doctor-alert",+ "next": "run",+ "requires_exclusive": false,+ "verify": {+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "dream_write_deferred",+ "--json",+ "--brain",+ "host"+ ]+ },+ "why": "Measures only this check now, with no overall budget; read-only."+ },+ "message": "dream_write_deferred did not run (the database checks did not run, or this tier or report skips it), so its health is unknown, not clear. Measure it with gbrain doctor --only dream_write_deferred --budget-ms 0 --json --brain host, run the full tier (gbrain doctor --alert --tier standard --json) or raise the alert budget (--budget-ms).",+ "reason": "not_run"+ },+ {+ "budget_ms": "<volatile>",+ "check": "embedding_restamp_stalled",+ "code": "doctor_alert_unknown",+ "fix": {+ "actor": "agent",+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "embedding_restamp_stalled",+ "--budget-ms",+ "0",+ "--json",+ "--brain",+ "host"+ ],+ "command": "gbrain doctor --only embedding_restamp_stalled --budget-ms 0 --json --brain host",+ "consent": [],+ "docs": "https://github.com/garrytan/gbrain/blob/master/docs/guides/troubleshooting.md#doctor-alert",+ "next": "run",+ "requires_exclusive": false,+ "verify": {+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "embedding_restamp_stalled",+ "--json",+ "--brain",+ "host"+ ]+ },+ "why": "Measures only this check now, with no overall budget; read-only."+ },+ "message": "embedding_restamp_stalled did not run (the database checks did not run, or this tier or report skips it), so its health is unknown, not clear. Measure it with gbrain doctor --only embedding_restamp_stalled --budget-ms 0 --json --brain host, run the full tier (gbrain doctor --alert --tier standard --json) or raise the alert budget (--budget-ms).",+ "reason": "not_run"}]},diff --git a/test/fixtures/goldens/doctor/json-postgres-unreachable-fast.json b/test/fixtures/goldens/doctor/json-postgres-unreachable-fast.jsonindex 6e4296e5d8..672d6df6a0 100644--- a/test/fixtures/goldens/doctor/json-postgres-unreachable-fast.json+++ b/test/fixtures/goldens/doctor/json-postgres-unreachable-fast.json@@ -507,6 +507,82 @@},"message": "dream_paid_loop did not run (the database checks did not run, or this tier or report skips it), so its health is unknown, not clear. Measure it with gbrain doctor --only dream_paid_loop --budget-ms 0 --json --brain host, run the full tier (gbrain doctor --alert --tier standard --json) or raise the alert budget (--budget-ms).","reason": "not_run"+ },+ {+ "budget_ms": "<volatile>",+ "check": "dream_write_deferred",+ "code": "doctor_alert_unknown",+ "fix": {+ "actor": "agent",+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "dream_write_deferred",+ "--budget-ms",+ "0",+ "--json",+ "--brain",+ "host"+ ],+ "command": "gbrain doctor --only dream_write_deferred --budget-ms 0 --json --brain host",+ "consent": [],+ "docs": "https://github.com/garrytan/gbrain/blob/master/docs/guides/troubleshooting.md#doctor-alert",+ "next": "run",+ "requires_exclusive": false,+ "verify": {+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "dream_write_deferred",+ "--json",+ "--brain",+ "host"+ ]+ },+ "why": "Measures only this check now, with no overall budget; read-only."+ },+ "message": "dream_write_deferred did not run (the database checks did not run, or this tier or report skips it), so its health is unknown, not clear. Measure it with gbrain doctor --only dream_write_deferred --budget-ms 0 --json --brain host, run the full tier (gbrain doctor --alert --tier standard --json) or raise the alert budget (--budget-ms).",+ "reason": "not_run"+ },+ {+ "budget_ms": "<volatile>",+ "check": "embedding_restamp_stalled",+ "code": "doctor_alert_unknown",+ "fix": {+ "actor": "agent",+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "embedding_restamp_stalled",+ "--budget-ms",+ "0",+ "--json",+ "--brain",+ "host"+ ],+ "command": "gbrain doctor --only embedding_restamp_stalled --budget-ms 0 --json --brain host",+ "consent": [],+ "docs": "https://github.com/garrytan/gbrain/blob/master/docs/guides/troubleshooting.md#doctor-alert",+ "next": "run",+ "requires_exclusive": false,+ "verify": {+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "embedding_restamp_stalled",+ "--json",+ "--brain",+ "host"+ ]+ },+ "why": "Measures only this check now, with no overall budget; read-only."+ },+ "message": "embedding_restamp_stalled did not run (the database checks did not run, or this tier or report skips it), so its health is unknown, not clear. Measure it with gbrain doctor --only embedding_restamp_stalled --budget-ms 0 --json --brain host, run the full tier (gbrain doctor --alert --tier standard --json) or raise the alert budget (--budget-ms).",+ "reason": "not_run"}]},diff --git a/test/fixtures/goldens/doctor/json-postgres-unreachable.json b/test/fixtures/goldens/doctor/json-postgres-unreachable.jsonindex 4a7d0d45cf..a5e42981a2 100644--- a/test/fixtures/goldens/doctor/json-postgres-unreachable.json+++ b/test/fixtures/goldens/doctor/json-postgres-unreachable.json@@ -502,6 +502,82 @@},"message": "dream_paid_loop did not run (the database checks did not run, or this tier or report skips it), so its health is unknown, not clear. Measure it with gbrain doctor --only dream_paid_loop --budget-ms 0 --json --brain host, run the full tier (gbrain doctor --alert --tier standard --json) or raise the alert budget (--budget-ms).","reason": "not_run"+ },+ {+ "budget_ms": "<volatile>",+ "check": "dream_write_deferred",+ "code": "doctor_alert_unknown",+ "fix": {+ "actor": "agent",+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "dream_write_deferred",+ "--budget-ms",+ "0",+ "--json",+ "--brain",+ "host"+ ],+ "command": "gbrain doctor --only dream_write_deferred --budget-ms 0 --json --brain host",+ "consent": [],+ "docs": "https://github.com/garrytan/gbrain/blob/master/docs/guides/troubleshooting.md#doctor-alert",+ "next": "run",+ "requires_exclusive": false,+ "verify": {+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "dream_write_deferred",+ "--json",+ "--brain",+ "host"+ ]+ },+ "why": "Measures only this check now, with no overall budget; read-only."+ },+ "message": "dream_write_deferred did not run (the database checks did not run, or this tier or report skips it), so its health is unknown, not clear. Measure it with gbrain doctor --only dream_write_deferred --budget-ms 0 --json --brain host, run the full tier (gbrain doctor --alert --tier standard --json) or raise the alert budget (--budget-ms).",+ "reason": "not_run"+ },+ {+ "budget_ms": "<volatile>",+ "check": "embedding_restamp_stalled",+ "code": "doctor_alert_unknown",+ "fix": {+ "actor": "agent",+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "embedding_restamp_stalled",+ "--budget-ms",+ "0",+ "--json",+ "--brain",+ "host"+ ],+ "command": "gbrain doctor --only embedding_restamp_stalled --budget-ms 0 --json --brain host",+ "consent": [],+ "docs": "https://github.com/garrytan/gbrain/blob/master/docs/guides/troubleshooting.md#doctor-alert",+ "next": "run",+ "requires_exclusive": false,+ "verify": {+ "argv": [+ "gbrain",+ "doctor",+ "--only",+ "embedding_restamp_stalled",+ "--json",+ "--brain",+ "host"+ ]+ },+ "why": "Measures only this check now, with no overall budget; read-only."+ },+ "message": "embedding_restamp_stalled did not run (the database checks did not run, or this tier or report skips it), so its health is unknown, not clear. Measure it with gbrain doctor --only embedding_restamp_stalled --budget-ms 0 --json --brain host, run the full tier (gbrain doctor --alert --tier standard --json) or raise the alert budget (--budget-ms).",+ "reason": "not_run"}]},