Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Train D: doctor goldens gain #8918's skill_health row

garrytana8051c9ac010
diff --git a/test/fixtures/goldens/doctor/content-pglite-human.json b/test/fixtures/goldens/doctor/content-pglite-human.json
index 3b272ef293..8ba7a1fb6f 100644
--- a/test/fixtures/goldens/doctor/content-pglite-human.json
+++ b/test/fixtures/goldens/doctor/content-pglite-human.json
@@ -31,6 +31,7 @@
" [OK] skills_manifest_integrity: No skills.lock.json in <home>/skills — integrity check not applicable",
" [WARN] skill_currency: 64 new built-in skill(s) available that this workspace hasn't installed: academic-verify, archive-crawler, article-enrichment, ask-user, blog-ingest, book-mirror, brain-ingest-gate, brain-link-discipline, … +56 more. Add them with `gbrain skillpack sync`.",
" [OK] skill_preconditions: no installed skills declare preconditions",
+ " [OK] skill_health: 1 skill(s), 0 KB, 0 gbrain invocation(s) (0 with undeclared subcommands, flags checked); no findings",
" [OK] memorable_relay_health: memorable relay off (default)",
" [OK] memory_writeback: ambient writeback off (default): Stop-hook turn capture is off, but the compaction harvest and SessionEnd transcripts still extract (installing the harness hooks opted into them; stop them: gbrain config set memory.auto_writeback off). Enable: gbrain config set memory.auto_writeback salient",
" [OK] connectors: No chat connectors configured (optional).",
diff --git a/test/fixtures/goldens/doctor/content-pglite-json.json b/test/fixtures/goldens/doctor/content-pglite-json.json
index 7b9a5d1f5d..0409fa33ec 100644
--- a/test/fixtures/goldens/doctor/content-pglite-json.json
+++ b/test/fixtures/goldens/doctor/content-pglite-json.json
@@ -178,6 +178,24 @@
"name": "skill_preconditions",
"status": "ok"
},
+ {
+ "category": "skill",
+ "details": {
+ "scope": "managed",
+ "totals": {
+ "bytes": 100,
+ "drift": 0,
+ "invocations": 0,
+ "size": 0,
+ "skills": 1,
+ "subcommands_unverified": 0
+ }
+ },
+ "elapsed_ms": "<volatile>",
+ "message": "1 skill(s), 0 KB, 0 gbrain invocation(s) (0 with undeclared subcommands, flags checked); no findings",
+ "name": "skill_health",
+ "status": "ok"
+ },
{
"category": "ops",
"details": {
diff --git a/test/fixtures/goldens/doctor/early-stop-connection-failure.json b/test/fixtures/goldens/doctor/early-stop-connection-failure.json
index fc1f4b17a5..7e91938f55 100644
--- a/test/fixtures/goldens/doctor/early-stop-connection-failure.json
+++ b/test/fixtures/goldens/doctor/early-stop-connection-failure.json
@@ -135,6 +135,23 @@
"name": "skill_preconditions",
"status": "ok"
},
+ {
+ "details": {
+ "scope": "managed",
+ "totals": {
+ "bytes": 100,
+ "drift": 0,
+ "invocations": 0,
+ "size": 0,
+ "skills": 1,
+ "subcommands_unverified": 0
+ }
+ },
+ "elapsed_ms": "<volatile>",
+ "message": "1 skill(s), 0 KB (commands and flags not checked outside the CLI); no findings",
+ "name": "skill_health",
+ "status": "ok"
+ },
{
"details": {
"enabled": false,
diff --git a/test/fixtures/goldens/doctor/early-stop-null-engine-connect-error.json b/test/fixtures/goldens/doctor/early-stop-null-engine-connect-error.json
index 12344e17cc..569e3c1736 100644
--- a/test/fixtures/goldens/doctor/early-stop-null-engine-connect-error.json
+++ b/test/fixtures/goldens/doctor/early-stop-null-engine-connect-error.json
@@ -125,6 +125,23 @@
"name": "skill_preconditions",
"status": "ok"
},
+ {
+ "details": {
+ "scope": "managed",
+ "totals": {
+ "bytes": 100,
+ "drift": 0,
+ "invocations": 0,
+ "size": 0,
+ "skills": 1,
+ "subcommands_unverified": 0
+ }
+ },
+ "elapsed_ms": "<volatile>",
+ "message": "1 skill(s), 0 KB (commands and flags not checked outside the CLI); no findings",
+ "name": "skill_health",
+ "status": "ok"
+ },
{
"details": {
"enabled": false,
diff --git a/test/fixtures/goldens/doctor/early-stop-null-engine-fast.json b/test/fixtures/goldens/doctor/early-stop-null-engine-fast.json
index 5a02a86f99..0ca7040344 100644
--- a/test/fixtures/goldens/doctor/early-stop-null-engine-fast.json
+++ b/test/fixtures/goldens/doctor/early-stop-null-engine-fast.json
@@ -125,6 +125,23 @@
"name": "skill_preconditions",
"status": "ok"
},
+ {
+ "details": {
+ "scope": "managed",
+ "totals": {
+ "bytes": 100,
+ "drift": 0,
+ "invocations": 0,
+ "size": 0,
+ "skills": 1,
+ "subcommands_unverified": 0
+ }
+ },
+ "elapsed_ms": "<volatile>",
+ "message": "1 skill(s), 0 KB (commands and flags not checked outside the CLI); no findings",
+ "name": "skill_health",
+ "status": "ok"
+ },
{
"details": {
"enabled": false,
diff --git a/test/fixtures/goldens/doctor/early-stop-null-engine-no-config.json b/test/fixtures/goldens/doctor/early-stop-null-engine-no-config.json
index 6d94dd2632..64ccdf7bac 100644
--- a/test/fixtures/goldens/doctor/early-stop-null-engine-no-config.json
+++ b/test/fixtures/goldens/doctor/early-stop-null-engine-no-config.json
@@ -125,6 +125,23 @@
"name": "skill_preconditions",
"status": "ok"
},
+ {
+ "details": {
+ "scope": "managed",
+ "totals": {
+ "bytes": 100,
+ "drift": 0,
+ "invocations": 0,
+ "size": 0,
+ "skills": 1,
+ "subcommands_unverified": 0
+ }
+ },
+ "elapsed_ms": "<volatile>",
+ "message": "1 skill(s), 0 KB (commands and flags not checked outside the CLI); no findings",
+ "name": "skill_health",
+ "status": "ok"
+ },
{
"details": {
"enabled": false,
diff --git a/test/fixtures/goldens/doctor/hot-checks-pglite-json.json b/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
index 1a48759622..7ff5598815 100644
--- a/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
+++ b/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
@@ -179,6 +179,24 @@
"name": "skill_preconditions",
"status": "ok"
},
+ {
+ "category": "skill",
+ "details": {
+ "scope": "managed",
+ "totals": {
+ "bytes": 100,
+ "drift": 0,
+ "invocations": 0,
+ "size": 0,
+ "skills": 1,
+ "subcommands_unverified": 0
+ }
+ },
+ "elapsed_ms": "<volatile>",
+ "message": "1 skill(s), 0 KB, 0 gbrain invocation(s) (0 with undeclared subcommands, flags checked); no findings",
+ "name": "skill_health",
+ "status": "ok"
+ },
{
"category": "ops",
"details": {
@@ -5302,6 +5320,24 @@
"name": "skill_preconditions",
"status": "ok"
},
+ {
+ "category": "skill",
+ "details": {
+ "scope": "managed",
+ "totals": {
+ "bytes": 100,
+ "drift": 0,
+ "invocations": 0,
+ "size": 0,
+ "skills": 1,
+ "subcommands_unverified": 0
+ }
+ },
+ "elapsed_ms": "<volatile>",
+ "message": "1 skill(s), 0 KB, 0 gbrain invocation(s) (0 with undeclared subcommands, flags checked); no findings",
+ "name": "skill_health",
+ "status": "ok"
+ },
{
"category": "ops",
"details": {
diff --git a/test/fixtures/goldens/doctor/hot-checks-postgres-json.json b/test/fixtures/goldens/doctor/hot-checks-postgres-json.json
index ffab954553..9d0a9cfdb2 100644
--- a/test/fixtures/goldens/doctor/hot-checks-postgres-json.json
+++ b/test/fixtures/goldens/doctor/hot-checks-postgres-json.json
@@ -166,6 +166,24 @@
"name": "skill_preconditions",
"status": "ok"
},
+ {
+ "category": "skill",
+ "details": {
+ "scope": "managed",
+ "totals": {
+ "bytes": 100,
+ "drift": 0,
+ "invocations": 0,
+ "size": 0,
+ "skills": 1,
+ "subcommands_unverified": 0
+ }
+ },
+ "elapsed_ms": "<volatile>",
+ "message": "1 skill(s), 0 KB, 0 gbrain invocation(s) (0 with undeclared subcommands, flags checked); no findings",
+ "name": "skill_health",
+ "status": "ok"
+ },
{
"category": "ops",
"details": {
@@ -5297,6 +5315,24 @@
"name": "skill_preconditions",
"status": "ok"
},
+ {
+ "category": "skill",
+ "details": {
+ "scope": "managed",
+ "totals": {
+ "bytes": 100,
+ "drift": 0,
+ "invocations": 0,
+ "size": 0,
+ "skills": 1,
+ "subcommands_unverified": 0
+ }
+ },
+ "elapsed_ms": "<volatile>",
+ "message": "1 skill(s), 0 KB, 0 gbrain invocation(s) (0 with undeclared subcommands, flags checked); no findings",
+ "name": "skill_health",
+ "status": "ok"
+ },
{
"category": "ops",
"details": {