From e1b2b7fae91bc830efaf64dc2d54f176b024a4e0 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Wed, 13 May 2026 14:20:27 -0700 Subject: [PATCH] chore(gbrain): bump migration to v1.35.0.0 after main merge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit main shipped v1.34.0.0 (factory-export submodule) + v1.34.1.0 (update-check hardening) while this branch was in flight. The migration file I named v1.34.0.0.sh now belongs at v1.35.0.0 — the next minor on top of main, matching the scale of split-engine work (new lib + orchestrator skip + template overhaul + transcripts routing). Renames the migration script and its test file; updates all internal version references in both files. Behavior unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../migrations/{v1.34.0.0.sh => v1.35.0.0.sh} | 10 +++++----- ...t.ts => gstack-upgrade-migration-v1_35_0_0.test.ts} | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) rename gstack-upgrade/migrations/{v1.34.0.0.sh => v1.35.0.0.sh} (91%) rename test/{gstack-upgrade-migration-v1_34_0_0.test.ts => gstack-upgrade-migration-v1_35_0_0.test.ts} (96%) diff --git a/gstack-upgrade/migrations/v1.34.0.0.sh b/gstack-upgrade/migrations/v1.35.0.0.sh similarity index 91% rename from gstack-upgrade/migrations/v1.34.0.0.sh rename to gstack-upgrade/migrations/v1.35.0.0.sh index ec196ac00..10ee84886 100755 --- a/gstack-upgrade/migrations/v1.34.0.0.sh +++ b/gstack-upgrade/migrations/v1.35.0.0.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Migration: v1.34.0.0 — split-engine gbrain (remote MCP brain + optional +# Migration: v1.35.0.0 — split-engine gbrain (remote MCP brain + optional # local PGLite for code search per worktree). # # Per plan D5: prints a ONE-TIME discoverability notice for existing @@ -17,20 +17,20 @@ # When silent: anything else (Path 1/2/3 users, anyone already on PGLite, # anyone who opted out, anyone without remote-http MCP). # -# Idempotency: writes a touchfile at ~/.gstack/.migrations/v1.34.0.0.done +# Idempotency: writes a touchfile at ~/.gstack/.migrations/v1.35.0.0.done # on completion. Re-running this script is silent if the touchfile exists, # OR if local_code_index_offered=true. set -euo pipefail if [ -z "${HOME:-}" ]; then - echo " [v1.34.0.0] HOME is unset — skipping migration." >&2 + echo " [v1.35.0.0] HOME is unset — skipping migration." >&2 exit 0 fi GSTACK_HOME="${GSTACK_HOME:-$HOME/.gstack}" MIGRATIONS_DIR="$GSTACK_HOME/.migrations" -DONE_TOUCH="$MIGRATIONS_DIR/v1.34.0.0.done" +DONE_TOUCH="$MIGRATIONS_DIR/v1.35.0.0.done" CONFIG_BIN="$HOME/.claude/skills/gstack/bin/gstack-config" CLAUDE_JSON="$HOME/.claude.json" GBRAIN_CONFIG="$HOME/.gbrain/config.json" @@ -73,7 +73,7 @@ if is_remote_http_mcp && is_local_engine_missing; then cat <<'NOTICE' ┌──────────────────────────────────────────────────────────────────┐ - │ gstack v1.34.0.0 — split-engine gbrain │ + │ gstack v1.35.0.0 — split-engine gbrain │ │ │ │ Symbol-aware code search is now available on this machine. │ │ Your remote brain at gbrain MCP keeps working as today; you can │ diff --git a/test/gstack-upgrade-migration-v1_34_0_0.test.ts b/test/gstack-upgrade-migration-v1_35_0_0.test.ts similarity index 96% rename from test/gstack-upgrade-migration-v1_34_0_0.test.ts rename to test/gstack-upgrade-migration-v1_35_0_0.test.ts index b22d8e1de..134e9994d 100644 --- a/test/gstack-upgrade-migration-v1_34_0_0.test.ts +++ b/test/gstack-upgrade-migration-v1_35_0_0.test.ts @@ -1,5 +1,5 @@ /** - * Unit tests for gstack-upgrade/migrations/v1.34.0.0.sh — split-engine notice. + * Unit tests for gstack-upgrade/migrations/v1.35.0.0.sh — split-engine notice. * * Per plan D5: print a one-time discoverability notice for existing Path 4 * (remote-http MCP) users who don't yet have a local engine, so they @@ -31,7 +31,7 @@ const MIGRATION = join( "..", "gstack-upgrade", "migrations", - "v1.34.0.0.sh", + "v1.35.0.0.sh", ); interface MigEnv { @@ -100,7 +100,7 @@ exit 0 tmp, home, gstackHome, - doneTouch: join(gstackHome, ".migrations", "v1.34.0.0.done"), + doneTouch: join(gstackHome, ".migrations", "v1.35.0.0.done"), claudeJson, gbrainConfig, configBin, @@ -127,7 +127,7 @@ function runMigration(env: MigEnv): { stdout: string; stderr: string; exitCode: }; } -describe("gstack-upgrade/migrations/v1.34.0.0.sh", () => { +describe("gstack-upgrade/migrations/v1.35.0.0.sh", () => { it("STATE MATCH: remote-http MCP + no local config → notice printed, touchfile written", () => { const env = makeEnv({ remoteHttpMcp: true, hasLocalConfig: false }); try {