Skip to content

Commit e1b2b7f

Browse files
garrytanclaude
andcommitted
chore(gbrain): bump migration to v1.35.0.0 after main merge
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) <noreply@anthropic.com>
1 parent 6f4ffe0 commit e1b2b7f

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# Migration: v1.34.0.0 — split-engine gbrain (remote MCP brain + optional
2+
# Migration: v1.35.0.0 — split-engine gbrain (remote MCP brain + optional
33
# local PGLite for code search per worktree).
44
#
55
# Per plan D5: prints a ONE-TIME discoverability notice for existing
@@ -17,20 +17,20 @@
1717
# When silent: anything else (Path 1/2/3 users, anyone already on PGLite,
1818
# anyone who opted out, anyone without remote-http MCP).
1919
#
20-
# Idempotency: writes a touchfile at ~/.gstack/.migrations/v1.34.0.0.done
20+
# Idempotency: writes a touchfile at ~/.gstack/.migrations/v1.35.0.0.done
2121
# on completion. Re-running this script is silent if the touchfile exists,
2222
# OR if local_code_index_offered=true.
2323

2424
set -euo pipefail
2525

2626
if [ -z "${HOME:-}" ]; then
27-
echo " [v1.34.0.0] HOME is unset — skipping migration." >&2
27+
echo " [v1.35.0.0] HOME is unset — skipping migration." >&2
2828
exit 0
2929
fi
3030

3131
GSTACK_HOME="${GSTACK_HOME:-$HOME/.gstack}"
3232
MIGRATIONS_DIR="$GSTACK_HOME/.migrations"
33-
DONE_TOUCH="$MIGRATIONS_DIR/v1.34.0.0.done"
33+
DONE_TOUCH="$MIGRATIONS_DIR/v1.35.0.0.done"
3434
CONFIG_BIN="$HOME/.claude/skills/gstack/bin/gstack-config"
3535
CLAUDE_JSON="$HOME/.claude.json"
3636
GBRAIN_CONFIG="$HOME/.gbrain/config.json"
@@ -73,7 +73,7 @@ if is_remote_http_mcp && is_local_engine_missing; then
7373
cat <<'NOTICE'
7474
7575
┌──────────────────────────────────────────────────────────────────┐
76-
│ gstack v1.34.0.0 — split-engine gbrain │
76+
│ gstack v1.35.0.0 — split-engine gbrain │
7777
│ │
7878
│ Symbol-aware code search is now available on this machine. │
7979
│ Your remote brain at gbrain MCP keeps working as today; you can │

test/gstack-upgrade-migration-v1_34_0_0.test.ts renamed to test/gstack-upgrade-migration-v1_35_0_0.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Unit tests for gstack-upgrade/migrations/v1.34.0.0.sh — split-engine notice.
2+
* Unit tests for gstack-upgrade/migrations/v1.35.0.0.sh — split-engine notice.
33
*
44
* Per plan D5: print a one-time discoverability notice for existing Path 4
55
* (remote-http MCP) users who don't yet have a local engine, so they
@@ -31,7 +31,7 @@ const MIGRATION = join(
3131
"..",
3232
"gstack-upgrade",
3333
"migrations",
34-
"v1.34.0.0.sh",
34+
"v1.35.0.0.sh",
3535
);
3636

3737
interface MigEnv {
@@ -100,7 +100,7 @@ exit 0
100100
tmp,
101101
home,
102102
gstackHome,
103-
doneTouch: join(gstackHome, ".migrations", "v1.34.0.0.done"),
103+
doneTouch: join(gstackHome, ".migrations", "v1.35.0.0.done"),
104104
claudeJson,
105105
gbrainConfig,
106106
configBin,
@@ -127,7 +127,7 @@ function runMigration(env: MigEnv): { stdout: string; stderr: string; exitCode:
127127
};
128128
}
129129

130-
describe("gstack-upgrade/migrations/v1.34.0.0.sh", () => {
130+
describe("gstack-upgrade/migrations/v1.35.0.0.sh", () => {
131131
it("STATE MATCH: remote-http MCP + no local config → notice printed, touchfile written", () => {
132132
const env = makeEnv({ remoteHttpMcp: true, hasLocalConfig: false });
133133
try {

0 commit comments

Comments
 (0)