Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
v0.57.1.0 ci: move Linux validation to larger Ubicloud runners (#5460)
Garry Tan8453d003e01b
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex 1e1b71a0ba..8baffc5fa7 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain",- "version": "0.57.0.0",+ "version": "0.57.1.0","description": "Personal knowledge brain for your coding agent — hybrid search, synthesis, graph traversal, and durable cross-session memory over Postgres/PGLite with pgvector, plus a curated brain-first skill set.","author": {"name": "Garry Tan",diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.jsonindex 81873941a8..1ad43161e7 100644--- a/.codex-plugin/plugin.json+++ b/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain",- "version": "0.57.0.0",+ "version": "0.57.1.0","description": "Personal knowledge brain for your coding agent — hybrid search, synthesis, graph traversal, and durable cross-session memory over Postgres/PGLite with pgvector, plus a curated brain-first skill set.","author": {"name": "Garry Tan",diff --git a/.github/actionlint.yaml b/.github/actionlint.yamlnew file mode 100644index 0000000000..380311f83d--- /dev/null+++ b/.github/actionlint.yaml@@ -0,0 +1,7 @@+self-hosted-runner:+ labels:+ - ubicloud-standard-2-ubuntu-2404+ - ubicloud-standard-4-ubuntu-2404+ - ubicloud-standard-16-ubuntu-2404+ - ubicloud-standard-30-ubuntu-2404+ - ubicloud-standard-16-arm-ubuntu-2404diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.ymlindex a6973ec4b8..9f2a052e6f 100644--- a/.github/workflows/actionlint.yml+++ b/.github/workflows/actionlint.yml@@ -10,10 +10,12 @@ on:branches: [master]paths:- '.github/workflows/**'+ - '.github/actionlint.yaml'pull_request:branches: [master]paths:- '.github/workflows/**'+ - '.github/actionlint.yaml'workflow_dispatch:permissions:@@ -25,7 +27,7 @@ concurrency:jobs:actionlint:- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-2-ubuntu-2404timeout-minutes: 5steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex ee187196c0..84fafb859d 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -29,7 +29,7 @@ jobs:# Postgres and HARD-FAILS if DATABASE_URL is missing, so the guard can never# silently skip.name: JSONB parity (#2339 regression guard)- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 15services:postgres:@@ -103,7 +103,7 @@ jobs:# Freeze selection before setup; each worker owns a separate Postgres service.prepare-e2e:- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-2-ubuntu-2404timeout-minutes: 5outputs:matrix: ${{ steps.select.outputs.matrix }}@@ -142,7 +142,7 @@ jobs:strategy:fail-fast: falsematrix: ${{ fromJSON(needs.prepare-e2e.outputs.matrix) }}- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 60services:postgres:@@ -196,7 +196,7 @@ jobs:tier1:name: Tier 1 (Mechanical)- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 30services:postgres:@@ -325,7 +325,7 @@ jobs:# OpenAI/Anthropic tokens and must not fire when the build# can't even pass the cheapest DB guard.needs: jsonb-parity- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 30services:postgres:@@ -427,7 +427,7 @@ jobs:# ──────────────────────────────────────────────────────────────────────coverage-full-unit:if: github.event_name == 'schedule'- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 30strategy:fail-fast: false@@ -455,7 +455,7 @@ jobs:coverage-full-serial:if: github.event_name == 'schedule'- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 30steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -478,7 +478,7 @@ jobs:coverage-full-slow:if: github.event_name == 'schedule'- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 25steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -508,7 +508,7 @@ jobs:coverage-full-e2e:if: github.event_name == 'schedule'- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 60services:postgres:@@ -562,7 +562,7 @@ jobs:coverage-full-report:needs: [coverage-full-unit, coverage-full-serial, coverage-full-slow, coverage-full-e2e]if: always() && github.event_name == 'schedule'- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-4-ubuntu-2404timeout-minutes: 15steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -609,7 +609,7 @@ jobs:e2e-status:needs: [jsonb-parity, tier1, tier2, prepare-e2e, selected-e2e, coverage-full-unit, coverage-full-serial, coverage-full-slow, coverage-full-e2e]if: always()- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-2-ubuntu-2404timeout-minutes: 5steps:- name: Aggregate resultdiff --git a/.github/workflows/heavy-tests.yml b/.github/workflows/heavy-tests.ymlindex 6cab0b5283..97aa77f542 100644--- a/.github/workflows/heavy-tests.yml+++ b/.github/workflows/heavy-tests.yml@@ -47,7 +47,7 @@ jobs:if: |github.event_name != 'pull_request' ||contains(github.event.pull_request.labels.*.name, 'heavy-tests')- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-30-ubuntu-2404timeout-minutes: 30services:postgres:@@ -136,7 +136,7 @@ jobs:github.event_name != 'pull_request' ||contains(github.event.pull_request.labels.*.name, 'real-agent-e2e') ||contains(github.event.pull_request.labels.*.name, 'heavy-tests')- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 20env:# Open the hermes/grok opt-in doors here so binary/auth absence — not@@ -202,7 +202,7 @@ jobs:github.event_name != 'pull_request' ||contains(github.event.pull_request.labels.*.name, 'real-agent-e2e') ||contains(github.event.pull_request.labels.*.name, 'heavy-tests')- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404# Four serial door tests at 600s each plus the installer budget cannot# fit the sibling job's 20 minutes.timeout-minutes: 40@@ -435,7 +435,7 @@ jobs:contains(github.event.pull_request.labels.*.name, 'real-agent-e2e')) ||(github.event_name == 'workflow_dispatch' &&inputs.run_grok_door == true)- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404# Measured local door wall-time: keyless tier ~29s + one-time compiled# gbrain build (~2-4 min) + npm install (~10s); paid SMOKE turn budget# 2 x 240s. 20 min = measured + >50% headroom (GROK-CLI-PIN.md).@@ -671,7 +671,7 @@ jobs:if: |github.event_name != 'pull_request' ||contains(github.event.pull_request.labels.*.name, 'heavy-tests')- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 30env:CODEX_NPM_VERSION: "0.147.0"@@ -745,7 +745,7 @@ jobs:github.event_name != 'pull_request' ||contains(github.event.pull_request.labels.*.name, 'real-agent-e2e') ||contains(github.event.pull_request.labels.*.name, 'heavy-tests')- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404strategy:fail-fast: falsematrix:@@ -969,7 +969,7 @@ jobs:opencode-door-canary:name: opencode door canary (latest, keyless, non-gating)if: github.event_name == 'schedule'- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 20continue-on-error: trueenv:diff --git a/.github/workflows/native-locks.yml b/.github/workflows/native-locks.ymlindex 445b3a19ec..129d32b508 100644--- a/.github/workflows/native-locks.yml+++ b/.github/workflows/native-locks.yml@@ -9,7 +9,7 @@ permissions:jobs:openclaw:name: OpenClaw 2026.9.4 native context-engine startup- runs-on: ubuntu-24.04+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 10services:postgres:@@ -52,9 +52,9 @@ jobs:bun: ['1.3.11', '1.3.13', '1.4.2']target: [linux-x64-glibc, linux-arm64-glibc, darwin-arm64, darwin-x64, win32-x64, win32-arm64]include:- - runner: ubuntu-24.04+ - runner: ubicloud-standard-16-ubuntu-2404target: linux-x64-glibc- - runner: ubuntu-24.04-arm+ - runner: ubicloud-standard-16-arm-ubuntu-2404target: linux-arm64-glibc- runner: macos-15target: darwin-arm64@@ -184,9 +184,9 @@ jobs:bun: ['1.3.11', '1.3.13', '1.4.2']target: [linux-x64-musl, linux-arm64-musl]include:- - runner: ubuntu-24.04+ - runner: ubicloud-standard-16-ubuntu-2404target: linux-x64-musl- - runner: ubuntu-24.04-arm+ - runner: ubicloud-standard-16-arm-ubuntu-2404target: linux-arm64-muslsteps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262diff --git a/.github/workflows/persistence-validation.yml b/.github/workflows/persistence-validation.ymlindex dbcd9003d6..21557c41f0 100644--- a/.github/workflows/persistence-validation.yml+++ b/.github/workflows/persistence-validation.yml@@ -10,7 +10,7 @@ permissions:jobs:read-performance:name: Read latency / ${{ matrix.engine }} / Bun ${{ matrix.bun }}- runs-on: ubuntu-24.04+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 55strategy:fail-fast: false@@ -49,7 +49,7 @@ jobs:deployment-matrix:name: PgBouncer, RLS and pool capacity / Bun ${{ matrix.bun }}- runs-on: ubuntu-24.04+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 15strategy:fail-fast: false@@ -154,7 +154,7 @@ jobs:invariants:name: ${{ matrix.engine }} / Bun ${{ matrix.bun }}- runs-on: ubuntu-24.04+ runs-on: ubicloud-standard-30-ubuntu-2404timeout-minutes: 110strategy:fail-fast: falsediff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.ymlindex 3cb754d3cb..cf4a4ad417 100644--- a/.github/workflows/semgrep.yml+++ b/.github/workflows/semgrep.yml@@ -21,7 +21,7 @@ concurrency:jobs:semgrep:- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-4-ubuntu-2404timeout-minutes: 20container:image: semgrep/semgrep:1.170.0@sha256:c98f8829eea377274ee4b10656458b078b88232469b2ff913f091c2317347c9ddiff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex d5af1191ff..c83eda955f 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -34,7 +34,7 @@ jobs:# Re-run checks for every event. Only dependencies and PGLite snapshots are cached.gitleaks:if: ${{ github.event_name != 'workflow_dispatch' || inputs.native_only != true }}- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-2-ubuntu-2404timeout-minutes: 10steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -83,7 +83,7 @@ jobs:security-regressions:if: ${{ github.event_name != 'workflow_dispatch' || inputs.native_only != true }}- runs-on: ${{ matrix.os }}+ runs-on: ${{ matrix.os == 'ubuntu-latest' && 'ubicloud-standard-16-ubuntu-2404' || matrix.os }}timeout-minutes: 10strategy:fail-fast: false@@ -103,7 +103,7 @@ jobs:dependency-audit:if: ${{ github.event_name != 'workflow_dispatch' || inputs.native_only != true }}- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-2-ubuntu-2404timeout-minutes: 10steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -125,7 +125,7 @@ jobs:# this into `test (1)` via `if: matrix.shard == 1`, which made shard 1# the slowest matrix worker). scripts/run-verify-parallel.sh fans out# the 20 checks via & + wait (~5s vs ~15-25s sequential).- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 12steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -169,7 +169,7 @@ jobs:fail-fast: falsematrix:shard: [1, 2, 3, 4]- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404# Keep the existing timeout headroom for memory-constrained runners,# bounded rescue attempts, and the machine-exclusive tail on shard 1.timeout-minutes: 25@@ -244,7 +244,7 @@ jobs:# atom doesn't dominate a shard's wallclock. Companion file# test/eval-longmemeval.slow.test.ts (the pure-bucket half) stays in# the matrix because it's light (~42s).- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 12steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -289,7 +289,7 @@ jobs:# + deleting the CI-gate-duplicated full-corpus test) cut it to ~72s# local, still far past the ~40s keep-in-matrix bar. Same pattern as# slow-eval-longmemeval above.- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 12steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -355,7 +355,7 @@ jobs:# — a PR cannot rewrite the thing it's compared against. Exit 1 blocks the# merge until the regression is fixed or blessed (justification in the# updated baseline / fixture diff in corpus-bless mode).- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 10 # ~15s hermetic run; matches the per-job-timeout hardening (#2254)steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -396,7 +396,7 @@ jobs:# subdivisible without weakening the perf guarantee). Pulled out of the# matrix (see scripts/test-shard.sh) so a single 159s atom doesn't# dominate a shard's wallclock. Runs in parallel with the matrix.- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 12steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -469,7 +469,7 @@ jobs:# (replaces FNV-1a path hash). Weights live in scripts/test-weights.json,# mined from real CI logs via scripts/mine-shard-weights.ts. Missing# weights fall back to corpus median — new test files work immediately.- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404# 22, not 15: under parallel PR load the PGLite WASM cold-starts stretch a# shard past 15 min while every test is still passing — the timeout then# cancels the job and the test-status gate reads it as a failure. 13 runs@@ -535,7 +535,7 @@ jobs:coverage-report:needs: [serial-tests, slow-eval-longmemeval, slow-entity-resolve-perf, slow-brainbench-e2e, test]if: ${{ always() && (github.event_name != 'workflow_dispatch' || inputs.native_only != true) }}- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-4-ubuntu-2404timeout-minutes: 10steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -597,7 +597,7 @@ jobs:admin-browser:if: ${{ github.event_name != 'workflow_dispatch' || inputs.native_only != true }}- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 12steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -624,7 +624,7 @@ jobs:shared-skills-compatibility:if: ${{ github.event_name != 'workflow_dispatch' || inputs.native_only != true }}- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-16-ubuntu-2404timeout-minutes: 10steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -643,7 +643,7 @@ jobs:name: ${{ github.event_name == 'workflow_dispatch' && inputs.native_only == true && 'full-suite-not-run' || 'test-status' }}needs: [gitleaks, security-regressions, dependency-audit, verify, serial-tests, slow-eval-longmemeval, slow-entity-resolve-perf, slow-brainbench-e2e, brainbench, test, native-locks, persistence-validation, admin-browser, shared-skills-compatibility]if: ${{ always() && (github.event_name != 'workflow_dispatch' || inputs.native_only != true) }}- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-2-ubuntu-2404timeout-minutes: 5steps:- name: Aggregate result@@ -678,7 +678,7 @@ jobs:name: Native-only result (full CI not run)if: ${{ always() && github.event_name == 'workflow_dispatch' && inputs.native_only == true }}needs: [native-locks]- runs-on: ubuntu-latest+ runs-on: ubicloud-standard-2-ubuntu-2404timeout-minutes: 5steps:- name: Record validation scopediff --git a/BOOTSTRAP_FOR_AGENTS.md b/BOOTSTRAP_FOR_AGENTS.mdindex adb20e111b..cfca2e7c5b 100644--- a/BOOTSTRAP_FOR_AGENTS.md+++ b/BOOTSTRAP_FOR_AGENTS.md@@ -1,4 +1,4 @@-<!-- gbrain-runbook-stamp: 0.57.0.0 -->+<!-- gbrain-runbook-stamp: 0.57.1.0 --><!-- This stamp must equal the VERSION file at every release; CI enforces it(scripts/check-bootstrap-tag.sh). `gbrain bootstrap status` compares it tothe installed binary and warns on skew. -->diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3585d34c9a..64702ea1a6 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,6 +10,36 @@ credits are retained; no result has been reassigned to another provider. Originaidentifiers and attribution are available in the pre-removal Git revision`6040075c6cb95be5881cc2e1b76ef7d71f4e5d29` (retained on 2026-09-23).+## [0.57.1.0] - 2026-09-24++**More capacity for Linux CI, with the same acceptance checks.**++Contributors' Linux tests run on larger, single-job Ubicloud machines rather+than waiting for GitHub's standard Linux runner pool. Ordinary test and database+jobs have 16 virtual CPUs and 64 GB of memory; the heavy suite and long-running+persistence checks have 30 virtual CPUs and 120 GB. Lightweight reporting stays+on smaller machines. Test coverage, failure handling and acceptance thresholds+remain unchanged. This release does not change installed memory behavior.++### To take advantage of v0.57.1.0++The workflow routing takes effect in repository CI after merging; no local+upgrade is needed. Forks must authorize the Ubicloud Managed Runners app and+configure billing before using these runner labels. See+[CI runner capacity](docs/TESTING.md#ci-runner-capacity) for sizes and prerequisites.+More capacity does not guarantee a proportional speedup for serial tests.++### Itemized changes++### For contributors++- Move repository-owned Linux CI jobs to Ubuntu 24.04 Ubicloud runners, including+ native ARM64 validation on 16-vCPU, 48-GB machines.+- Preserve all shards, test commands, timeouts, artifacts and status-check names.+ Keep macOS, Windows, release publishing and the upstream OSV workflow unchanged.+- Validate custom runner labels with actionlint and regression tests covering+ workload sizes, native platforms and the unchanged security matrix identities.+## [0.57.0.0] - 2026-09-24**Know when an accepted write needs attention.**diff --git a/VERSION b/VERSIONindex 7f8cf5a566..f8e188a18b 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-0.57.0.0+0.57.1.0diff --git a/docs/TESTING.md b/docs/TESTING.mdindex 6225b89c26..ca46e327f5 100644--- a/docs/TESTING.md+++ b/docs/TESTING.md@@ -12,6 +12,34 @@ is `scripts/bench-reindex-markdown.ts`.On-demand reference (see CLAUDE.md Reference map). Current behavior + invariantsonly.+## CI runner capacity++Repository-owned Linux validation jobs use ephemeral Ubicloud runners pinned to+Ubuntu 24.04. The Ubicloud Managed Runners GitHub App must have access to this+repository and active billing in its connected project; runner labels alone do+not grant access. No Ubicloud API token is passed to workflow jobs.++| Workload | Runner | Capacity |+| --- | --- | --- |+| Unit, serial, E2E, browser, compatibility, read-performance and deployment-matrix tests | `ubicloud-standard-16-ubuntu-2404` | 16 vCPU, 64 GB RAM |+| Heavy test suite and persistence invariant/soak matrix | `ubicloud-standard-30-ubuntu-2404` | 30 vCPU, 120 GB RAM |+| Native ARM64 glibc and musl tests | `ubicloud-standard-16-arm-ubuntu-2404` | 16 vCPU, 48 GB RAM |+| Coverage reports and Semgrep | `ubicloud-standard-4-ubuntu-2404` | 4 vCPU, 16 GB RAM |+| Planning, status aggregation, dependency audit, gitleaks and actionlint | `ubicloud-standard-2-ubuntu-2404` | 2 vCPU, 8 GB RAM |++macOS and Windows matrices stay on GitHub-hosted runners. Release building and+publishing also stay unchanged. The pinned upstream OSV reusable workflow does+not expose a runner override, so its runner remains upstream-owned.++The migration does not change shards, test selection, commands, timeouts,+thresholds, artifact collection or required check identities. The security+matrix retains its existing OS labels and changes only the Linux execution+target. `test/scripts/ci-runner-routing.test.ts` pins capacity and platform+routing; `.github/actionlint.yaml` declares the exact custom runner labels.+Actual GitHub job records and completed checks establish runner availability;+local workflow tests do not. More CPU and memory do not guarantee proportional+speedups for serial tests or external-provider requests.+Shared-skill tests distinguish canonical publication, protocol delivery, installedfiles and native harness use. `test/shared-skills-transports.test.ts` and`test/e2e/shared-skills-transports.test.ts` use real HTTP authentication, OAuthdiff --git a/openclaw.plugin.json b/openclaw.plugin.jsonindex 121abc239b..d7cdcd3102 100644--- a/openclaw.plugin.json+++ b/openclaw.plugin.json@@ -1,7 +1,7 @@{"id": "gbrain-context-engine","name": "gbrain",- "version": "0.57.0.0",+ "version": "0.57.1.0","description": "Personal knowledge brain with Postgres + pgvector hybrid search","family": "bundle-plugin","kind": "context-engine",diff --git a/package.json b/package.jsonindex d2e8c782d8..8697ea84e3 100644--- a/package.json+++ b/package.json@@ -179,7 +179,7 @@"bun": ">=1.3.11"},"license": "MIT",- "version": "0.57.0.0",+ "version": "0.57.1.0","overrides": {"@ai-sdk/provider-utils": "4.0.33","@hono/node-server": "^2.0.5",diff --git a/plugin-variants/gbrain-coding/.claude-plugin/plugin.json b/plugin-variants/gbrain-coding/.claude-plugin/plugin.jsonindex eb02a40c48..fe3b8770d1 100644--- a/plugin-variants/gbrain-coding/.claude-plugin/plugin.json+++ b/plugin-variants/gbrain-coding/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain-coding",- "version": "0.57.0.0",+ "version": "0.57.1.0","description": "Brain-first coding agent working inside a repo: retrieval, routing, ingest discipline, correction hygiene. Default persona for the claude-code harness bridge; also published as the gbrain-coding marketplace variant. (persona variant of the gbrain plugin — 21 skills)","author": {"name": "Garry Tan",diff --git a/plugin-variants/gbrain-coding/.codex-plugin/plugin.json b/plugin-variants/gbrain-coding/.codex-plugin/plugin.jsonindex 1306fd0301..2596833a85 100644--- a/plugin-variants/gbrain-coding/.codex-plugin/plugin.json+++ b/plugin-variants/gbrain-coding/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain-coding",- "version": "0.57.0.0",+ "version": "0.57.1.0","description": "Brain-first coding agent working inside a repo: retrieval, routing, ingest discipline, correction hygiene. Default persona for the claude-code harness bridge; also published as the gbrain-coding marketplace variant. (persona variant of the gbrain plugin — 21 skills)","author": {"name": "Garry Tan",diff --git a/plugin-variants/gbrain-coding/README.md b/plugin-variants/gbrain-coding/README.mdindex 813513cd84..9fdda95621 100644--- a/plugin-variants/gbrain-coding/README.md+++ b/plugin-variants/gbrain-coding/README.md@@ -1,4 +1,4 @@-<!-- gbrain-plugin-tree-stamp: 0.57.0.0 -->+<!-- gbrain-plugin-tree-stamp: 0.57.1.0 --># gbrain-coding (generated persona variant — do not hand-edit)Brain-first coding agent working inside a repo: retrieval, routing, ingest discipline, correction hygiene. Default persona for the claude-code harness bridge; also published as the gbrain-coding marketplace variant.diff --git a/plugin-variants/gbrain-daily/.claude-plugin/plugin.json b/plugin-variants/gbrain-daily/.claude-plugin/plugin.jsonindex f8c12582de..ba08cf7c7c 100644--- a/plugin-variants/gbrain-daily/.claude-plugin/plugin.json+++ b/plugin-variants/gbrain-daily/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain-daily",- "version": "0.57.0.0",+ "version": "0.57.1.0","description": "Personal knowledge-brain daily use: meetings, tasks, briefings, reading, research. Published as the gbrain-daily marketplace variant. (persona variant of the gbrain plugin — 20 skills)","author": {"name": "Garry Tan",diff --git a/plugin-variants/gbrain-daily/.codex-plugin/plugin.json b/plugin-variants/gbrain-daily/.codex-plugin/plugin.jsonindex 37f7e68452..5eed9648dc 100644--- a/plugin-variants/gbrain-daily/.codex-plugin/plugin.json+++ b/plugin-variants/gbrain-daily/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "gbrain-daily",- "version": "0.57.0.0",+ "version": "0.57.1.0","description": "Personal knowledge-brain daily use: meetings, tasks, briefings, reading, research. Published as the gbrain-daily marketplace variant. (persona variant of the gbrain plugin — 20 skills)","author": {"name": "Garry Tan",diff --git a/plugin-variants/gbrain-daily/README.md b/plugin-variants/gbrain-daily/README.mdindex 96e1e9dc12..d008ef493e 100644--- a/plugin-variants/gbrain-daily/README.md+++ b/plugin-variants/gbrain-daily/README.md@@ -1,4 +1,4 @@-<!-- gbrain-plugin-tree-stamp: 0.57.0.0 -->+<!-- gbrain-plugin-tree-stamp: 0.57.1.0 --># gbrain-daily (generated persona variant — do not hand-edit)Personal knowledge-brain daily use: meetings, tasks, briefings, reading, research. Published as the gbrain-daily marketplace variant.diff --git a/plugin/README.md b/plugin/README.mdindex 4989dce927..c911154ffd 100644--- a/plugin/README.md+++ b/plugin/README.md@@ -1,4 +1,4 @@-<!-- gbrain-plugin-tree-stamp: 0.57.0.0 -->+<!-- gbrain-plugin-tree-stamp: 0.57.1.0 --># gbrain plugin skill tree (generated — do not hand-edit)This tree is the curated skill set for the gbrain Codex and Claude Codediff --git a/scripts/structural-suites.tsv b/scripts/structural-suites.tsvindex 3d2c341a99..c92c75b06e 100644--- a/scripts/structural-suites.tsv+++ b/scripts/structural-suites.tsv@@ -259,6 +259,7 @@ test/scripts/ci-local-rendering.test.ts ci-local command rendering 1 readFileSyntest/scripts/ci-local-rendering.test.ts ci-local execution coverage 3 readFileSynctest/scripts/ci-local-rendering.test.ts local test configuration through run-e2e 2 readFileSynctest/scripts/ci-local-rendering.test.ts required PgBouncer execution through run-e2e 1 readFileSync+test/scripts/ci-runner-routing.test.ts CI runner routing 5 readFileSynctest/scripts/classify-tests.test.ts classify-tests detectors 18 bun-file,doctor-source-helper,exec-scan,readFileSynctest/scripts/coverage-diff-gate.test.ts exemptions 3 readFileSynctest/scripts/e2e-wiring.test.ts e2e file claim ratchet 5 readFileSyncdiff --git a/templates/bootstrap/template-repo/README.md b/templates/bootstrap/template-repo/README.mdindex 0e0bdbad70..dc7bcd8f86 100644--- a/templates/bootstrap/template-repo/README.md+++ b/templates/bootstrap/template-repo/README.md@@ -1,6 +1,6 @@# gbrain agent workspace — template-<!-- gbrain-template-stamp: 0.57.0.0 -->+<!-- gbrain-template-stamp: 0.57.1.0 -->This repository is the **"Use this template"** distribution artifact for a[gbrain](https://github.com/garrytan/gbrain) personal-agent workspace — the samediff --git a/test/scripts/ci-runner-routing.test.ts b/test/scripts/ci-runner-routing.test.tsnew file mode 100644index 0000000000..20a658a096--- /dev/null+++ b/test/scripts/ci-runner-routing.test.ts@@ -0,0 +1,82 @@+import { describe, expect, test } from 'bun:test';+import { readFileSync } from 'node:fs';+import { join } from 'node:path';+import { runInNewContext } from 'node:vm';+import { safeLoad } from 'js-yaml';++type Job = {+ 'runs-on'?: string;+ strategy?: { matrix: { os?: string[]; include?: Array<{ runner: string; target: string }> } };+};+const root = join(import.meta.dir, '../..');+const load = (name: string) => safeLoad(readFileSync(join(root, '.github/workflows', name), 'utf8')) as { jobs: Record<string, Job> };+const normal = 'ubicloud-standard-16-ubuntu-2404';+const heavy = 'ubicloud-standard-30-ubuntu-2404';+const small = 'ubicloud-standard-2-ubuntu-2404';+const report = 'ubicloud-standard-4-ubuntu-2404';++describe('CI runner routing', () => {+ test('owned Linux validation jobs use Ubicloud without moving release publishing', () => {+ for (const file of ['test.yml', 'e2e.yml', 'heavy-tests.yml', 'persistence-validation.yml', 'native-locks.yml', 'actionlint.yml', 'semgrep.yml']) {+ for (const job of Object.values(load(file).jobs)) {+ const runner = job['runs-on'];+ if (!runner || runner.startsWith('${{')) continue;+ expect(runner, file).toMatch(/^ubicloud-standard-(2|4|16|30)-ubuntu-2404$/);+ }+ }+ const release = readFileSync(join(root, '.github/workflows/release.yml'), 'utf8');+ expect(release).not.toContain('ubicloud');+ expect(load('osv-scanner.yml').jobs['osv-scan']['runs-on']).toBeUndefined();+ });++ test('test and database lanes receive larger machines, with extra capacity for soaks', () => {+ for (const name of ['verify', 'serial-tests', 'test', 'slow-eval-longmemeval', 'slow-brainbench-e2e', 'brainbench', 'slow-entity-resolve-perf', 'admin-browser', 'shared-skills-compatibility']) {+ expect(load('test.yml').jobs[name]['runs-on'], name).toBe(normal);+ }+ for (const name of ['jsonb-parity', 'selected-e2e', 'tier1', 'tier2', 'coverage-full-unit', 'coverage-full-serial', 'coverage-full-slow', 'coverage-full-e2e']) {+ expect(load('e2e.yml').jobs[name]['runs-on'], name).toBe(normal);+ }+ expect(load('persistence-validation.yml').jobs['read-performance']['runs-on']).toBe(normal);+ expect(load('persistence-validation.yml').jobs['deployment-matrix']['runs-on']).toBe(normal);+ expect(load('persistence-validation.yml').jobs.invariants['runs-on']).toBe(heavy);+ expect(load('heavy-tests.yml').jobs.heavy['runs-on']).toBe(heavy);+ });++ test('security matrix labels and native platform coverage retain their identities', () => {+ const security = load('test.yml').jobs['security-regressions'];+ expect(security.strategy!.matrix.os).toEqual(['ubuntu-latest', 'macos-latest', 'windows-latest']);+ for (const os of security.strategy!.matrix.os!) {+ const expression = security['runs-on']!.replace(/^\$\{\{\s*|\s*\}\}$/g, '');+ expect(runInNewContext(expression, { matrix: { os } }, { timeout: 100 })).toBe(os === 'ubuntu-latest' ? normal : os);+ }+ const native = load('native-locks.yml');+ const platforms = [+ { runner: normal, target: 'linux-x64-glibc' },+ { runner: 'ubicloud-standard-16-arm-ubuntu-2404', target: 'linux-arm64-glibc' },+ { runner: 'macos-15', target: 'darwin-arm64' },+ { runner: 'macos-15-intel', target: 'darwin-x64' },+ { runner: 'windows-2022', target: 'win32-x64' },+ { runner: 'windows-11-arm', target: 'win32-arm64' },+ ];+ expect(native.jobs.native.strategy!.matrix.include).toEqual(platforms);+ expect(native.jobs.musl.strategy!.matrix.include).toEqual(platforms.slice(0, 2).map(({ runner, target }) => ({ runner, target: target.replace('glibc', 'musl') })));+ });++ test('status and planning jobs stay small while coverage reports retain memory headroom', () => {+ for (const name of ['gitleaks', 'dependency-audit', 'test-status', 'native-only-status']) {+ expect(load('test.yml').jobs[name]['runs-on'], name).toBe(small);+ }+ for (const name of ['prepare-e2e', 'e2e-status']) expect(load('e2e.yml').jobs[name]['runs-on'], name).toBe(small);+ expect(load('test.yml').jobs['coverage-report']['runs-on']).toBe(report);+ expect(load('e2e.yml').jobs['coverage-full-report']['runs-on']).toBe(report);+ expect(load('actionlint.yml').jobs.actionlint['runs-on']).toBe(small);+ expect(load('semgrep.yml').jobs.semgrep['runs-on']).toBe(report);+ });++ test('actionlint recognizes every configured custom label and watches its configuration', () => {+ const config = safeLoad(readFileSync(join(root, '.github/actionlint.yaml'), 'utf8')) as { 'self-hosted-runner': { labels: string[] } };+ expect(config['self-hosted-runner'].labels.sort()).toEqual([small, report, normal, heavy, 'ubicloud-standard-16-arm-ubuntu-2404'].sort());+ const workflow = safeLoad(readFileSync(join(root, '.github/workflows/actionlint.yml'), 'utf8')) as { on: Record<string, { paths: string[] }> };+ for (const event of ['push', 'pull_request']) expect(workflow.on[event].paths).toContain('.github/actionlint.yaml');+ });+});