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 {