Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs: Bun postinstall line sits after the shared npm-trap/#218 block, which stays identical to master
garrytanbfeb5361c1b8
diff --git a/AGENTS.md b/AGENTS.mdindex fd2a710320..18a7413323 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -29,7 +29,9 @@ start here.only when the schema is at head; exit 1 with `migrations_pending` means the schema is still behind, and another`--yes` repeats the failure, so run `gbrain doctor --json` and fall back to the deterministic install:`git clone https://github.com/garrytan/gbrain.git ~/gbrain && cd ~/gbrain && bun install && bun link`.- Bun blocks gbrain's postinstall on `bun install -g` (`Blocked 1 postinstall`); a new install can skip it: the script only repeats the refusal every gbrain command prints on a Bun below the floor and runs `gbrain apply-migrations --yes --non-interactive`, which has nothing to migrate before a brain exists, and `gbrain setup` creates the brain and applies its setup migrations.++Bun blocks gbrain's postinstall on `bun install -g` (`Blocked 1 postinstall`); a new install can skip it: the script only repeats the refusal every gbrain command prints on a Bun below the floor and runs `gbrain apply-migrations --yes --non-interactive`, which has nothing to migrate before a brain exists, and `gbrain setup` creates the brain and applies its setup migrations.+2. Set up keyless memory for the harness: `gbrain setup claude-code` (on Codex, `gbrain setup codex`)creates the brain if none exists, wires MCP and verifies it. Otherwise, or for any other harness, init keylessmemory: `gbrain init --pglite --no-embedding` (zero-config). For 1000+ files ordiff --git a/INSTALL_FOR_AGENTS.md b/INSTALL_FOR_AGENTS.mdindex 1ee091db19..4dc453faf0 100644--- a/INSTALL_FOR_AGENTS.md+++ b/INSTALL_FOR_AGENTS.md@@ -72,8 +72,8 @@ key ([Step 3](#step-3-create-the-brain)). On any other harness, `gbrain init --p> git clone https://github.com/garrytan/gbrain.git ~/gbrain && cd ~/gbrain> bun install && bun link> ```->-> Bun blocks gbrain's postinstall on `bun install -g` (`Blocked 1 postinstall`); a new install can skip it: the script only repeats the refusal every gbrain command prints on a Bun below the floor and runs `gbrain apply-migrations --yes --non-interactive`, which has nothing to migrate before a brain exists, and `gbrain setup` creates the brain and applies its setup migrations.++Bun blocks gbrain's postinstall on `bun install -g` (`Blocked 1 postinstall`); a new install can skip it: the script only repeats the refusal every gbrain command prints on a Bun below the floor and runs `gbrain apply-migrations --yes --non-interactive`, which has nothing to migrate before a brain exists, and `gbrain setup` creates the brain and applies its setup migrations.## Step 2: API Keysdiff --git a/llms-full.txt b/llms-full.txtindex 9f86eeafa7..f4424aca92 100644--- a/llms-full.txt+++ b/llms-full.txt@@ -1734,7 +1734,9 @@ start here.only when the schema is at head; exit 1 with `migrations_pending` means the schema is still behind, and another`--yes` repeats the failure, so run `gbrain doctor --json` and fall back to the deterministic install:`git clone https://github.com/garrytan/gbrain.git ~/gbrain && cd ~/gbrain && bun install && bun link`.- Bun blocks gbrain's postinstall on `bun install -g` (`Blocked 1 postinstall`); a new install can skip it: the script only repeats the refusal every gbrain command prints on a Bun below the floor and runs `gbrain apply-migrations --yes --non-interactive`, which has nothing to migrate before a brain exists, and `gbrain setup` creates the brain and applies its setup migrations.++Bun blocks gbrain's postinstall on `bun install -g` (`Blocked 1 postinstall`); a new install can skip it: the script only repeats the refusal every gbrain command prints on a Bun below the floor and runs `gbrain apply-migrations --yes --non-interactive`, which has nothing to migrate before a brain exists, and `gbrain setup` creates the brain and applies its setup migrations.+2. Set up keyless memory for the harness: `gbrain setup claude-code` (on Codex, `gbrain setup codex`)creates the brain if none exists, wires MCP and verifies it. Otherwise, or for any other harness, init keylessmemory: `gbrain init --pglite --no-embedding` (zero-config). For 1000+ files or@@ -2623,8 +2625,8 @@ key ([Step 3](#step-3-create-the-brain)). On any other harness, `gbrain init --p> git clone https://github.com/garrytan/gbrain.git ~/gbrain && cd ~/gbrain> bun install && bun link> ```->-> Bun blocks gbrain's postinstall on `bun install -g` (`Blocked 1 postinstall`); a new install can skip it: the script only repeats the refusal every gbrain command prints on a Bun below the floor and runs `gbrain apply-migrations --yes --non-interactive`, which has nothing to migrate before a brain exists, and `gbrain setup` creates the brain and applies its setup migrations.++Bun blocks gbrain's postinstall on `bun install -g` (`Blocked 1 postinstall`); a new install can skip it: the script only repeats the refusal every gbrain command prints on a Bun below the floor and runs `gbrain apply-migrations --yes --non-interactive`, which has nothing to migrate before a brain exists, and `gbrain setup` creates the brain and applies its setup migrations.## Step 2: API Keys