Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test: map the seat E2E file and refresh the bootstrap help golden (#4618)
garrytan8daf04561628
diff --git a/scripts/e2e-test-map.ts b/scripts/e2e-test-map.tsindex 27c025bb62..731465f2ee 100644--- a/scripts/e2e-test-map.ts+++ b/scripts/e2e-test-map.ts@@ -349,7 +349,10 @@ export const E2E_TEST_MAP: Record<string, string[]> = {// fix wave GBRA-35 lane C (#5809/#5832): drain hard stops, bounded counts and lease loss on Postgres."src/core/cycle/extract-atoms-drain.ts": ["test/e2e/extract-atoms-drain-postgres.test.ts", "test/e2e/managed-connector-job-contract.test.ts"],"src/core/cycle/extract-atoms.ts": ["test/e2e/extract-atoms-page-state.test.ts", "test/e2e/cycle.test.ts", "test/e2e/dream.test.ts", "test/e2e/multi-source-bug-class.test.ts", "test/e2e/managed-extract-atoms.test.ts", "test/e2e/managed-atom-regressions.test.ts", "test/e2e/managed-atom-compaction.test.ts"],- "src/core/cycle/synthesize*.ts": ["test/e2e/managed-maintenance.test.ts", "test/e2e/managed-synthesis-postprocess.test.ts", "test/e2e/managed-writers-w3.test.ts"],+ "src/core/cycle/synthesize*.ts": ["test/e2e/managed-maintenance.test.ts", "test/e2e/managed-synthesis-postprocess.test.ts", "test/e2e/managed-writers-w3.test.ts", "test/e2e/session-seat-synthesize.test.ts"],+ // #4618: seat sidecar discovery and the seat stamp on both synthesis write paths.+ "src/core/cycle/transcript-discovery.ts": ["test/e2e/session-seat-synthesize.test.ts"],+ "src/core/cycle/dream-provenance.ts": ["test/e2e/session-seat-synthesize.test.ts"],"src/core/cycle/concept-publication.ts": ["test/e2e/managed-writers-w3.test.ts"],"src/core/chronicle/extract-events.ts": ["test/e2e/managed-writers-w3.test.ts"],"src/commands/enrich.ts": ["test/e2e/managed-writers-w3.test.ts"],diff --git a/test/fixtures/goldens/cli/engine-free-db-down.json b/test/fixtures/goldens/cli/engine-free-db-down.jsonindex 5ff2bc4629..8752c47de7 100644--- a/test/fixtures/goldens/cli/engine-free-db-down.json+++ b/test/fixtures/goldens/cli/engine-free-db-down.json@@ -224,12 +224,15 @@" contract [--repair] Audit the same-turn GBrain write-back contract."," --repair appends it additively and backs up AGENTS.md."," hooks [--harness claude-code|codex|opencode] [--repair] [--no-hooks] [--gbrain-bin <path>]",+ " [--seat <label> | --no-seat]"," Register MCP (+ per-turn hooks on Claude Code,"," ON by default; --no-hooks opts out, GBRAIN_HOOKS=0"," disables at runtime). opencode registrations are"," written directly into its JSONC config (user-global"," by default; MCP_SCOPE=project is an explicit opt-in",- " with a sharing warning).",+ " with a sharing warning). --seat credits captured",+ " sessions to this agent seat (kept on re-install;",+ " --no-seat clears it; --seat off records none)."," repo Create the dedicated PRIVATE GitHub repo (or adopt"," an EMPTY private repo you created under your own"," account), verify the privacy bit via the API, push.",@@ -239,6 +242,7 @@" harness [--harness claude-code|codex|opencode|all] [--url U | --port N] [--source ID]"," [--token-name NAME | --token TOK] [--name MCPNAME] [--project DIR]..."," [--no-hooks] [--no-capture] [--force] [--status] [--remove] [--refresh-skills] [--yes] [--json]",+ " [--seat <label> | --no-seat]"," Wire framework-spawned Claude Code / Codex / opencode"," sessions to a RUNNING `gbrain serve --http` on this box"," (#4043): scoped bearer token, user-scope MCP + headless",