Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Record the room CLI serial test and refresh the dispatch and export-surface goldens for --room
garrytan2bf07957590e
diff --git a/scripts/serial-files.tsv b/scripts/serial-files.tsvindex 35a16b5c63..3d0854a3c3 100644--- a/scripts/serial-files.tsv+++ b/scripts/serial-files.tsv@@ -6,6 +6,7 @@ test/unmanaged-push-every-site-gst2456.serial.test.ts R1 R1: mutates HOME, GBRAItest/unmanaged-push-history-scan-8902.serial.test.ts R1 R1: mutates HOME, GBRAIN_HOME and GBRAIN_GIT_ALLOW_FILE_TRANSPORT for real policy, scaffolding, sources push and bootstrap pushes to local bare remotestest/http-db-config.serial.test.ts global-state global-state: binds HTTP listeners; drains process-wide pending eval capture registry; withEnv scopes GBRAIN_HOME and GBRAIN_CONTRIBUTOR_MODEtest/access-as.serial.test.ts global-state global-state: spawns real gbrain CLI children (src/cli.ts --as) that each open one on-disk PGLite brain and take its file lock in a temp GBRAIN_HOME; the cases seed and read that one brain in order+test/access-room-cli.serial.test.ts global-state global-state: spawns real gbrain CLI children (src/cli.ts --room) that each open one on-disk PGLite brain in a temp GBRAIN_HOME, and runs a live PGLite persistence owner on a socket in its own temp home that later cases delegate reads totest/enforced-member.serial.test.ts global-state global-state: spawns real gbrain CLI children (src/cli.ts under GBRAIN_ENFORCED_MEMBER) that each open one on-disk PGLite brain and take its file lock in a temp GBRAIN_HOME, or one isolated Postgres database; the cases seed and read that one brain in ordertest/access-binding.serial.test.ts global-state global-state: spawns real gbrain CLI children (auth create|rescope|register-client, access member) that each open one on-disk PGLite brain and take its file lock in a temp GBRAIN_HOME; later cases read the bindings earlier ones wrotetest/admin-grant-outcome.serial.test.ts global-state global-state: R3: constructs PGLiteEngine outside beforeAll; R4: PGLiteEngine without an afterAll disconnect; binds local servers/portsdiff --git a/test/fixtures/goldens/cli/dispatch-phase.json b/test/fixtures/goldens/cli/dispatch-phase.jsonindex 0415c167b5..b10c119d4e 100644--- a/test/fixtures/goldens/cli/dispatch-phase.json+++ b/test/fixtures/goldens/cli/dispatch-phase.json@@ -2221,6 +2221,16 @@"ask"]},+ {+ "commands": [],+ "condition": "cliOpts.room !== undefined && !helpRequested && (CLI_ONLY.has(command) || !(cliOps.has(command) || cliAliases.has(command)))",+ "connectsEngine": false,+ "refusesThinClient": false,+ "routesThinClient": false,+ "terminates": false,+ "thinClientCheck": false,+ "unconditionalFor": []+ },{"commands": [],"condition": "!['serve', 'jobs', 'autopilot'].includes(command)",@@ -2293,7 +2303,7 @@},{"commands": [],- "condition": "cliOpts.as === undefined && !enforcedClass && ['search', 'query', 'get', 'recall'].includes(command) && await (await import('./cli-socket-client.ts')).maybeServeFromCliSocket(command, subArgs)",+ "condition": "cliOpts.as === undefined && cliOpts.room === undefined && !enforcedClass && ['search', 'query', 'get', 'recall'].includes(command) && await (await import('./cli-socket-client.ts')).maybeServeFromCliSocket(command, subArgs)","connectsEngine": false,"refusesThinClient": false,"routesThinClient": false,diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.jsonindex 582b921481..c831c01283 100644--- a/test/fixtures/goldens/exports/types.json+++ b/test/fixtures/goldens/exports/types.json@@ -9180,6 +9180,7 @@"question: string","quote_check?: { grounded: number; repaired: number; unverified: number; } | undefined","requested_model?: string | undefined",+ "room_extra?: ({ table: \"pages\"; sourceId: string; slug: string; } | { table: \"calibration\"; id: number; })[] | undefined","rounds: number","savedSlug?: string | undefined","synthesisOk?: boolean | undefined",