Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test(doctor): db_ahead_of_git in the Postgres hot-check golden
garrytan5020689e3395
diff --git a/test/fixtures/goldens/doctor/hot-checks-postgres-json.json b/test/fixtures/goldens/doctor/hot-checks-postgres-json.jsonindex 3b9b0c58d5..bfeb91268e 100644--- a/test/fixtures/goldens/doctor/hot-checks-postgres-json.json+++ b/test/fixtures/goldens/doctor/hot-checks-postgres-json.json@@ -3715,6 +3715,56 @@"name": "person_title_duplicates","status": "ok"},+ {+ "category": "brain",+ "details": {+ "docs": "docs/designs/GIT_CANONICAL_MEMORY.md#the-git-gap-census",+ "errors": [],+ "informational": true,+ "partial_sources": [],+ "sources": [+ {+ "complete": true,+ "declared": {+ "alias_private": 0,+ "database_only": 0,+ "db_only_prefix": 0,+ "derive_folder": 0,+ "git_ignored": 0,+ "lineage_private": 0,+ "mirror_source": 0,+ "private": 0+ },+ "head": "1c068d3facec1879b1763dd6f98d3849133473da",+ "pages": 19,+ "source_id": "notes",+ "states": {+ "database_ahead": 4,+ "declared_database_only": 0,+ "equal": 11,+ "git_ahead": 0,+ "undeclared_database_only": 0,+ "unparseable": 4,+ "unsafe_path": 0,+ "worktree_only": 0+ },+ "worktree": {+ "absent": 0,+ "clean": 18,+ "deleted": 0,+ "modified": 1,+ "untracked": 0+ }+ }+ ],+ "sources_without_git_checkout": 2,+ "timeout_ms": "<volatile>"+ },+ "elapsed_ms": "<volatile>",+ "message": "Informational, nothing to do: the database compared with the commit at HEAD, per source with a Git checkout. notes: 11 equal, 4 database_ahead, 4 unparseable. Page detail: gbrain sources git-gap <source-id>.",+ "name": "db_ahead_of_git",+ "status": "ok"+ },{"category": "brain","details": {@@ -8358,6 +8408,56 @@"name": "person_title_duplicates","status": "ok"},+ {+ "category": "brain",+ "details": {+ "docs": "docs/designs/GIT_CANONICAL_MEMORY.md#the-git-gap-census",+ "errors": [],+ "informational": true,+ "partial_sources": [],+ "sources": [+ {+ "complete": true,+ "declared": {+ "alias_private": 0,+ "database_only": 0,+ "db_only_prefix": 0,+ "derive_folder": 0,+ "git_ignored": 0,+ "lineage_private": 0,+ "mirror_source": 0,+ "private": 0+ },+ "head": "1c068d3facec1879b1763dd6f98d3849133473da",+ "pages": 19,+ "source_id": "notes",+ "states": {+ "database_ahead": 4,+ "declared_database_only": 0,+ "equal": 11,+ "git_ahead": 0,+ "undeclared_database_only": 0,+ "unparseable": 4,+ "unsafe_path": 0,+ "worktree_only": 0+ },+ "worktree": {+ "absent": 0,+ "clean": 18,+ "deleted": 0,+ "modified": 1,+ "untracked": 0+ }+ }+ ],+ "sources_without_git_checkout": 2,+ "timeout_ms": "<volatile>"+ },+ "elapsed_ms": "<volatile>",+ "message": "Informational, nothing to do: the database compared with the commit at HEAD, per source with a Git checkout. notes: 11 equal, 4 database_ahead, 4 unparseable. Page detail: gbrain sources git-gap <source-id>.",+ "name": "db_ahead_of_git",+ "status": "ok"+ },{"category": "brain","details": {