Skip to content

v1.93.29.0 fix(memory): a loopback gbrain serve --http is a local brain, not Path 4 (#3539) - #3727

Merged
capy-ai[bot] merged 10 commits into
mainfrom
gsta209-loopback-gbrain-local
Nov 3, 2026
Merged

capy-ai[bot] merged 10 commits into
mainfrom
gsta209-loopback-gbrain-local

Conversation

@garrytan

@garrytan garrytan commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3727,
  "head": "ff81a147e48b4634c9152ed96b24e87c610e602c",
  "version": "1.91.377.0",
  "base": "main",
  "gate": {
    "focused": {
      "pass": 357,
      "fail": 0,
      "skip": 3
    }
  },
  "session_kind": "unattended",
  "head_tree": "168adf1514c4eb999974fc70e12f601ca6275f2e",
  "product_patch_id": "4d1ae3d5774cc5496bf9725881b85774a06607e7",
  "gstack_version": "1.93.22.0",
  "review_depth": {
    "depth": "full",
    "class": "code",
    "runtime_lines": 270,
    "rules": "b2272efd321ce7cb",
    "base": "82db89ab3ea3c64185538b8af33da2ffd1a18b57",
    "registry": "82db89ab3ea3c64185538b8af33da2ffd1a18b57",
    "gate_scan": {
      "tagged": 0,
      "head": "ff81a147e48b4634c9152ed96b24e87c610e602c"
    },
    "reasons": [
      "risk:security",
      "runtime=270"
    ],
    "risk": [
      "security"
    ]
  },
  "pregate": "requires-remote cleared @168adf1514c4 (1 checks, current for ff81a147e48b)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41242806229/attempts/1",
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/41242806251/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=168adf1514c4 tests=11029"
  ],
  "issues": {
    "fixes": [
      3539
    ],
    "refs": [
      3552
    ],
    "flakes": [],
    "related": [
      {
        "pr": 3552,
        "author": "wmorin",
        "closes": [
          3539
        ]
      }
    ]
  },
  "docs": {
    "status": "current",
    "scope": "USING_GBRAIN_WITH_GSTACK.md, README.md, CONTRIBUTING.md, docs/, setup-gbrain/, sync-gbrain/ (gbrain locality change, base c830c9b8 to head ff81a147)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 3,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "unrecorded": 3,
    "ledgers_read": 1,
    "dispatches": {
      "specialist": 1,
      "red-team": 1
    }
  }
}

What changed

A gbrain serve --http on this machine's loopback address over its own Postgres engine now reads as a local brain (local-stdio), not a remote Path 4 brain, so /sync-gbrain imports transcripts again (#3539).

A gbrain serve --http on this machine's loopback address over its own Postgres engine now reads as a local brain (local-stdio), not a remote Path 4 brain, so /sync-gbrain imports transcripts again (#3539).

Before/after as text: A gbrain serve --http on this machine's loopback address over its own Postgres engine now reads as a local brain (local-stdio), not a remote Path 4 brain, so /sync-gbrain imports transcripts again (#3539).
--- Before · before.txt · captured output
+++ After · after.txt · captured output
@@ ⋯ 2 unchanged ⋯ @@
 #   ~/.gbrain/config.json  engine postgres, database_url on this machine
 
 $ gstack-gbrain-detect | grep mcp_mode
+  "gbrain_mcp_mode": "local-stdio",
-  "gbrain_mcp_mode": "remote-http",
 
+=> local brain: transcripts go through gbrain import on this machine
-=> Path 4: transcripts staged for a remote brain admin; gbrain import never runs
 

Proof

The tests come first in commit f371261, on top of main (c830c9b). The test files as they stand at ff81a14, run against main's code (c830c9b):

  • test/gstack-gbrain-detect-mcp-mode.test.ts: 9 of its 47 cases are red.
  • test/gbrain-local-status.test.ts: 1 of its 56 cases is red.
  • test/gstack-memory-ingest.test.ts -t 3539: 3 of its 6 cases are red.
  • test/gbrain-mcp-locality.test.ts: the file can't load, because lib/gbrain-mcp-locality.ts is new in this PR, so none of its 120 cases run. (The f371261 commit message counts "21 locality/detect cases"; the run above is the measured result.)

At ff81a14 all four files are green: every detect case (47), every locality and local-status case (180), and every -t 3539 case (6). The before/after image above is gstack-gbrain-detect on a machine set up the way gbrain bootstrap harness sets it up, run at main and at this branch.

What users hit: the reporter's transcripts stopped importing for three weeks. Their ingest state shows 2071 sessions ingested up to the day before they switched to the loopback serve, then only staged / remote-http after it (#3539).

Why

"Transcript ingest silently stopped importing after I followed gbrain's recommended setup for local agents on a Postgres brain" (#3539). gstack treated any HTTP gbrain MCP entry as a brain on another machine, so /sync-gbrain staged pages for a brain admin who doesn't exist. Now a loopback serve over this machine's own Postgres brain counts as local, transcripts go through gbrain import again, and pages stuck as staged are imported on the next run.

Behavior changes

A loopback gbrain MCP entry is local only when this machine's gbrain config names a Postgres engine (a non-blank database_url, engine not pglite) and has no remote_mcp marker. PGLite configs stay remote: a loopback URL next to a local PGLite is still Path 4's split-engine setup, so a remote brain reached through an SSH tunnel or port forward on a loopback port keeps staging transcripts as before. Decided by GStack Minder (Captain), 2026-10-31 (option A2, commit ff81a14).

Blast radius

The new rule in lib/gbrain-mcp-locality.ts feeds gstack-gbrain-detect (all three tiers), gstack-memory-ingest, gbrain-local-status and the gstack-skill-start banner (a jq copy that the test suite checks never says local where the TypeScript rule says remote). Only HTTP entries whose URL is http(s) on localhost, 127.0.0.0/8 or ::1 with no userinfo or ${, on a machine whose gbrain config names a Postgres engine (database_url, not PGLite) and has no remote_mcp marker, change classification; every other entry is classified as before (script ran: detect probes for loopback, remote_mcp marker, userinfo, remote host and ::1 gave local-stdio, remote-http, remote-http, remote-http, local-stdio). One trade-off remains, documented in USING_GBRAIN_WITH_GSTACK.md: an SSH tunnel to a remote brain on a loopback port, on a machine whose own gbrain config is a Postgres database_url, counts as local. The PGLite split-engine case (Path 4) stays remote.

Security read

The rule reads only local files (~/.claude.json and gbrainConfigDir()/config.json) and the HOME and GBRAIN_HOME environment variables that locate them. It makes no network calls. The tests run only jq and local fixture scripts. There are no new dependencies and no workflow, setup or install edits. The A2 change (ff81a14) only narrows the rule: it reads the same config file and adds no inputs. The change is written on current main from #3552, and its code was read line by line before it was carried over (Co-authored-by Willy Morin).

Independent text-only read of #3552's full diff and every fixture its tests run (openai/gpt-6.1-sol, a reviewer that did not write the port): no exfiltration or obfuscation. #3552's own code reads only HOME and GBRAIN_HOME (through gbrainConfigDir), writes only inside the test temp roots, and makes no network calls. The existing test harness it reuses, unchanged on main, does more: buildGbrainEnv reads DATABASE_URL, and runDetect keeps the real PATH, so a detect fallback case can start a real claude mcp list or gbrain doctor when those are installed.

Approvals

Date Asked Exact words Outcome Covers Still pending
2026-10-31 Approve the plan "GSTA-209: gbrain sync bugs (#3704, #3539 / PR #3552)" (autoplan run autoplan-20261031175420, 3 decisions) “do it” (GStack Minder, relayed by agent:jam_01M69H5VCA272WFHCN181RXDXP) approved the reviewed plan (sha256 b19bf80a5332), every recommendation taken none
2026-10-31 Approve the plan "GSTA-209: gbrain sync bugs (#3704, #3539 / PR #3552)" (autoplan run autoplan-20261031175420, 3 decisions) “Do it: A1, B1, C1. ... For B1, the status must name the stash ref and give the exact command to get the local edit back, and add a test that the stashed edit survives a second sync run. ... Build, /ship, READY unstamped.” (GStack Minder, relayed by agent:jam_01M69H5VCA272WFHCN181RXDXP) approved the reviewed plan (sha256 b19bf80a5332), every recommendation taken none
2026-10-31 Run tests, pregate and builds on code ported from outside PR #3552 (crew rule: outside code is untrusted until read line by line with a security read) “go. I read every line of the ported #3552 code and tests as text, and the security read is clean.” (GSTA-209 lane (parent agent jam_01M69H5VCA272WFHCN181RXDXP)) approved running this branch's tests, pregate and builds none

Source: gstack-approvals record for gsta209-loopback-gbrain-local (display only; not an approval citation).

Summary

Ported from @wmorin's #3552 onto current main, with credit kept on every commit that carries his code. #3552 will be closed as superseded once this merges. On top of the port there are three test-only changes. Four userinfo fixtures in the locality test now avoid the pregate secrets scanner's basic-auth pattern (same strings reach the rule). The jq parity helper's execFileSync gets a 30-second timeout, which test/spawnsync-timeout-tripwire.test.ts requires. test/setup-gbrain-fixture.test.ts briefly expected local-stdio from its owned Path 4 fixture (4924be8). GStack Minder then decided A2 (ff81a14): only a Postgres config makes a loopback entry local, so that PGLite fixture expects remote-http again, the same as on main. The changelog fragment states the measured failing-first counts and the 90-day window for old stuck pages.

Test Coverage

Coverage: deterministic (each of 5 changed runtime files has a changed test naming it; no audit reader).
Tests ran: focused 357
Tests ran: typecheck count unavailable
Remote pregate (Ubicloud us-east-a2, tree 168adf1514c4 at ff81a14, --base main, run 20261102T223417Z): 312 files, 11029 tests, 0 failed, spent $0.06, VM destroyed.

Pre-Landing Review

Pre-Landing Review: 5 issues — 0 auto-fixed, 4 asked (0 fixed, 4 skipped), 0 deferred, 0 noted in the review log (one pre-existing item is listed under Review notes)
REVIEW_LOOP: passes=1 blocking_found=3 deferred=0 noted=0 fixed=0 scope=frozen unrecorded=3 dispatches=2
Gate edits: none detected (4 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)

This is a re-review at the depth gstack now requires for this diff: full (reason: risk:security, 270 runtime lines). The earlier receipt was standard. One pass on the whole diff (base c830c9b, tree 168adf1514c4): batched specialist (testing, security, state-machines) and Red Team found nothing. Step 11: native adversarial (4 findings, all Blocks: no) and outside voice openai/gpt-6.1-sol (1 finding, Blocks: yes). No pass 2: nothing reached the crew's blocking floor ("would fail a test, break production, or lose data or secrets"), so the code is unchanged since ff81a14.

Skipped findings

These carry a blocking label under the Step 11 rules (CRITICAL or Blocks: yes) and were skipped. Each is below the crew's blocking floor:

Review notes

Below the blocking floor; recorded here and not fixed in this PR.

Exploratory QA

Functional surface: lib/gbrain-mcp-locality.ts, bin/gstack-gbrain-detect, bin/gstack-memory-ingest.ts, bin/gstack-skill-start and lib/gbrain-local-status.ts. Smoke probes (parent, gstack-gbrain-detect tier 3 on a temp HOME with no claude on PATH, at ff81a14): a loopback entry over a Postgres config gave local-stdio; over PGLite, remote-http; with a remote_mcp marker, remote-http; a remote host, remote-http; [::1] over Postgres, local-stdio. All five match the rule. The focused lane (357 pass) covers the rest.

Design Review

No frontend files changed, so design review was skipped.

Eval Results

No prompt-related files changed, so evals were skipped.

Plan Completion

Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). The plan is autoplan-20261031175420 (approved, gate_rev=2); see Approvals.

Verification Results

No Step 8.1 obligations (no bound plan file). CI at ff81a14 is green (44 passed, 0 failed, 12 skipped). The macOS named-regressions and Windows free-shard lanes clear from that head's runs 41242806229 and 41242806251.

TODOS

No TODO items completed in this PR.

Documentation

Status: current. No doc edits were needed; the branch's own USING_GBRAIN_WITH_GSTACK.md update is accurate.

Scope: 11 committed files (base c830c9b to head ff81a14): the loopback gbrain serve --http locality rule (lib/gbrain-mcp-locality.ts), plus gstack-gbrain-detect, gstack-memory-ingest, the gstack-skill-start banner, and gbrain-local-status. I checked these against the README, USING_GBRAIN_WITH_GSTACK.md, the setup-gbrain and sync-gbrain templates and sections, setup-gbrain/memory.md, and docs/gbrain-quick-tour.md.

Documentation health:
README.md Current (links to the gbrain guide still valid)
USING_GBRAIN_WITH_GSTACK.md Current (the branch added the loopback paragraph under Path 4, and it matches the code)
setup-gbrain/*.tmpl, memory.md Current (mode values unchanged)
sync-gbrain/SKILL.md.tmpl Current
CHANGELOG.md Skipped (ship-owned; the entry lives in changelog.d)
TODOS.md Skipped (ship-owned)

Coverage debt: the loopback locality rule has reference and explanation coverage in USING_GBRAIN_WITH_GSTACK.md. The one-time recovery for pages stuck as staged (gstack-memory-ingest --bulk --all-history for pages older than the 90-day window) appears only in the changelog fragment, with no how-to in setup-gbrain/memory.md or the guide's troubleshooting section. That is a common gap; /document-generate could fill it later. Diagram drift: none, because no diagrams reference the changed modules.

Test plan

  • bun test test/gbrain-mcp-locality.test.ts test/gbrain-local-status.test.ts test/gstack-gbrain-detect-mcp-mode.test.ts test/gstack-memory-ingest.test.ts test/setup-gbrain-fixture.test.ts test/spawnsync-timeout-tripwire.test.ts: 357 pass, 3 skip, 0 fail (ff81a14)
  • bun run typecheck: clean
  • Remote pregate UBI_LOCATION=us-east-a2 UBI_OWNER=gsta209 gstack-pregate --stage tests --remote --spend-cap 2 --base main: 312 files, 11029 tests, 0 failed (tree 168adf1514c4, ff81a14)

Issues

Fixes #3539
Refs #3552
Related: #3552 (@wmorin)

Credit: this ports @wmorin's #3552 (Willy Morin, Co-authored-by on the commits that carry his code). #3552 will be closed as superseded once this merges.

garrytan and others added 7 commits October 31, 2026 18:05
Tests from #3552. On main they fail: 21 locality/detect cases, 1 local-status case, 3 memory-ingest cases.

Co-authored-by: Willy Morin <3635875+wmorin@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…h 4 (#3539)

gbrain's recommended setup for local agents on a Postgres brain is one
resident `gbrain serve --http` on loopback, registered as an http MCP
entry. gstack classified every http entry as a remote brain, so memory
ingest staged transcripts for a brain admin's pull that never comes.

- lib/gbrain-mcp-locality.ts: one rule. An http/url/sse entry is local
  when its URL is http(s) on a loopback host and the local gbrain config
  has an engine and no remote_mcp marker. A URL with userinfo or ${ is
  never local.
- gstack-memory-ingest: the loopback case takes the gbrain import path,
  and entries left staged/remote-http import on the next local run.
- gstack-gbrain-detect: all three tiers use the rule; tier 2 classifies
  the whole URL token of the claude mcp list line.
- gbrain-local-status: hasRemoteOnlyGbrainMcp uses the same classifier.
- gstack-skill-start: the jq hot path carries a conservative subset.
- USING_GBRAIN_WITH_GSTACK.md: a loopback serve over this machine's
  engine is not Path 4.

Ported from #3552 onto current main.

Co-authored-by: Willy Morin <3635875+wmorin@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
#3539)

The pregate secrets stage read four userinfo URLs in the locality test as basic-auth credentials (creds.basic_auth_url). Use the PASSWORD placeholder token and split the port-lookalike URLs so the same strings reach the rule.

Co-authored-by: Willy Morin <3635875+wmorin@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
test/spawnsync-timeout-tripwire.test.ts requires every sync spawn in the test trees to carry a timeout; the jq parity helper had none (remote pregate, tree 037200b).

Co-authored-by: Willy Morin <3635875+wmorin@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 2 commits October 31, 2026 19:12
…ow reads local-stdio (#3539)

The owned Path 4 fixture registers its fake brain at 127.0.0.1 and then runs gbrain init --pglite in the same HOME. Under the #3539 rule a loopback HTTP entry over this machine's own engine is a local brain, so detect reports local-stdio there. free-suite (7) on PR #3727 (run 41231145675) failed on the old remote-http expectation.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…in (#3539)

Path 4's split-engine setup pairs a remote brain with a local PGLite for code search; through a tunnel on a loopback port, the PGLite config made the remote brain read as local, so transcripts would import into the code-search PGLite and the trust-policy step would be skipped. The loopback rule now needs a Postgres config (a database_url, engine not pglite), which is the setup gbrain recommends the resident serve for. The setup-gbrain Path 4 fixture expects remote-http again, as on main. Decided by GStack Minder (Captain), 2026-10-31.

Co-authored-by: Willy Morin <3635875+wmorin@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

E2E Evals: ✅ PASS (flaky: 1 case(s) passed on their one rerun)

[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 112/112 · behavior 1/1 · judge 24/24 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 5m46s · cost $37.73 known + 4 of 139 trial(s) cost unknown
  FLAKY 1 (failed once, passed on its one rule-16 rerun) · 1 rerun execution(s), cost $0.06

125 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $33.65 rule/judge cost | reconcile exit: 0

Profile: pr / mode full-fallback; selected behaviors: 113, judges: 24. Deferred to scheduled/release coverage: 153 behaviors and 0 changed prompt files. Deferred checks did not run and receive no PR-pass credit.

Full gate restored by:

  • USING_GBRAIN_WITH_GSTACK.md (real unknown dependency): register USING_GBRAIN_WITH_GSTACK.md under the cases that consume it in test/helpers/touchfiles-data.ts, add it to FREE_ONLY_PR_FILES in scripts/test-pr-profile.ts if no paid case reads it, or add its directory to DERIVABLE_PREFIXES so scripts/pr-dependencies.ts derives its consumers
Rule and judge shards
Shard Automated result Manual/unscored Executed Reused Status Cost
llm-judge/skill-llm-eval 23/24 0 24 0 ❌ $1.44
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-current 1/1 0 1 0 ✅ $1.02
e2e/skill-e2e-coverage-audit 2/2 0 2 0 ✅ $0.25
e2e-deploy/skill-e2e-deploy--setup-deploy-workflow 1/1 0 1 0 ✅ $0.12
e2e-qa-functional-fix/skill-e2e-qa-functional-fix 2/2 0 2 0 ✅ $0.92
e2e/skill-e2e-plan--plan-review-report 1/1 0 1 0 ✅ $1.01
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-unavailable 1/1 0 1 0 ✅ $0.81
e2e-retro/skill-e2e-retro 1/1 0 1 0 ✅ $0.39
e2e/skill-e2e-shared-libs-paths--shared-libs-review-prior-coverage 1/1 0 1 0 ✅ $1.01
e2e-qa-workflow/skill-e2e-qa-workflow--qa-quick 1/1 0 1 0 ✅ $0.57
e2e-review-attribution/skill-e2e-review-attribution 3/3 0 3 0 ✅ $0.27
e2e/skill-e2e-ship-skip 1/1 0 1 0 ✅ $0.26
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-before 1/1 0 1 0 ✅ $0.41
e2e/skill-e2e-shared-libs--shared-libs-review-lifecycle 1/1 0 1 0 ✅ $0.9
e2e-review-army/skill-e2e-review-army--review-army-migration-safety 1/1 0 1 0 ✅ $0.32
e2e-deploy/skill-e2e-deploy--land-and-deploy-first-run 1/1 0 1 0 ✅ $0.25
e2e/skill-e2e-shared-libs--shared-libs-read-only 1/1 0 1 0 ✅ $0.25
e2e-deploy/skill-e2e-deploy--land-and-deploy-review-gate 1/1 0 1 0 ✅ $0.22
e2e-docsync-spawned/skill-e2e-docsync-spawned 1/1 0 1 0 ✅ $0.43
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-after 1/1 0 1 0 ✅ $0.42
e2e-safety-codex-consult/skill-e2e-safety-codex-consult 1/1 0 1 0 ✅ $0.25
e2e-deploy/skill-e2e-deploy--land-and-deploy-workflow 1/1 0 1 0 ✅ $0.63
e2e/skill-e2e-workflow 4/4 0 4 0 ✅ $0.89
e2e-review-army/skill-e2e-review-army--review-army-perf-n-plus-one 1/1 0 1 0 ✅ $0.23
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-late-result 1/1 0 1 0 ✅ $0.36
e2e/skill-e2e-shared-libs-paths--shared-libs-review-index-flags 1/1 0 1 0 ✅ $0.98
e2e-deploy/skill-e2e-deploy--benchmark-workflow 1/1 0 1 0 ✅ $0.21
e2e/skill-e2e-investigate-owned-completion 1/1 0 1 0 ✅ $0.07
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-small-cli 1/1 0 1 0 ✅ $1.01
e2e-review-army/skill-e2e-review-army--review-army-json-findings 1/1 0 1 0 ✅ $0.06
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-store 1/1 0 1 0 ✅ $0.98
e2e-triage/skill-e2e-triage 1/1 0 1 0 ✅ $0.12
e2e-review-army/skill-e2e-review-army--review-army-delivery-audit 1/1 0 1 0 ✅ $0.12
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-timeout-unsettled 1/1 0 1 0 ✅ $0.2
e2e-design/skill-e2e-design--design-review-detector-shim 1/1 0 1 0 ✅ $0.12
e2e-session-intelligence/skill-e2e-session-intelligence 4/4 0 4 0 ✅ $0.38
e2e-safety-pair-agent/skill-e2e-safety-pair-agent 1/1 0 1 0 ✅ $0.1
e2e-plan-tune/skill-e2e-plan-tune 1/1 0 1 0 ✅ $0.13
e2e-qa-workflow/skill-e2e-qa-workflow--qa-bootstrap 1/1 0 1 0 ✅ $0.08
e2e-deploy/skill-e2e-deploy--canary-workflow 1/1 0 1 0 ✅ $0.11
e2e/skill-e2e-investigate-owned-termination 2/2 0 2 0 ✅ $0.17
e2e/skill-e2e-ship-hook-refresh 1/1 0 1 0 ✅ $0.1
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-launch-failure 1/1 0 1 0 ✅ $0.17
e2e-design/skill-e2e-design--plan-design-review-no-ui-scope 1/1 0 1 0 ✅ $0.07
e2e-third-party-actions/skill-e2e-third-party-actions 5/5 0 5 0 ✅ $0.48
e2e/skill-e2e-ship-hook-consent 2/2 0 2 0 ✅ $0.25
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-recovery 1/1 0 1 0 ✅ $0.4
e2e/skill-e2e-shared-libs--shared-libs-review-revalidation 1/1 0 1 0 ✅ $2.01
e2e-review/skill-e2e-review 2/2 0 2 0 ✅ $0.35
e2e-cso/skill-e2e-cso 1/1 0 1 0 ✅ $0.4
e2e-qa-functional/skill-e2e-qa-functional 2/2 0 2 0 ✅ $0.75
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-late-input 1/1 0 1 0 ✅ $1.3
e2e-learnings/skill-e2e-learnings 1/1 0 1 0 ✅ $0.07
e2e-failure-routing/skill-e2e-failure-routing 4/4 0 4 0 ✅ $0.42
e2e-qa-workflow/skill-e2e-qa-workflow--qa-only-no-fix 1/1 0 1 0 ✅ $0.58
e2e-qa-callers/skill-e2e-qa-callers--review-exploratory-small-cli 1/1 0 1 0 ✅ $0.72
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-plan-checks 1/1 0 1 0 ✅ $0.93
e2e/skill-e2e-test-value 3/3 0 3 0 ✅ $0.73
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-failure 1/1 0 1 0 ✅ $0.68
e2e-skillify/skill-e2e-skillify 3/3 0 3 0 ✅ $0.82
e2e/skill-e2e-shared-libs-paths--shared-libs-review-path-eligibility 1/1 0 1 0 ✅ $1.43
e2e-hermetic/skill-e2e-hermetic-canary 2/2 0 2 0 ✅ $0.06
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-completion 1/1 0 1 0 ✅ $0.97
e2e-design/skill-e2e-design--design-review-plugin-handoff 1/1 0 1 0 ✅ $0.13
e2e-review-army/skill-e2e-review-army--review-army-quality-score 1/1 0 1 0 ✅ $0.14
e2e-design/skill-e2e-design--design-review-detector-shim-dom 1/1 0 1 0 ✅ $0.23
e2e-safety-ship-evidence/skill-e2e-safety-ship-evidence 1/1 0 1 0 ✅ $0.1
e2e-browse/skill-e2e-bws 6/6 0 6 0 ✅ $0.29
e2e/skill-e2e-shared-libs--shared-libs-unsupported-git 1/1 0 1 0 ✅ $0.17
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-asset 1/1 0 1 0 ✅ $0.25
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-marker 1/1 0 1 0 ✅ $0.18
Fail-closed reconciliation
stigate-owned-termination.test.ts
  slice 16  passed             25s  test/skill-e2e-design.test.ts#design-review-detector-shim
  slice 16  passed             26s  test/skill-e2e-deploy.test.ts#canary-workflow
  slice 16  passed             33s  test/skill-e2e-ship-hook-refresh.test.ts
  slice 16  passed             12s  test/skill-e2e-design.test.ts#plan-design-review-no-ui-scope
  slice 16  passed             23s  test/skill-e2e-review-army.test.ts#review-army-delivery-audit
  slice 16  passed             26s  test/skill-e2e-safety-pair-agent.test.ts
  slice 16  passed             23s  test/skill-e2e-qa-workflow.test.ts#qa-bootstrap
  slice 17  passed             11s  test/skill-e2e-learnings.test.ts
  slice 17  passed             16s  test/skill-e2e-diagram.test.ts
[test:paid] collector final outcomes: 125 executed, 0 reused; 124 passed, 1 failed, 0 manual accepted (unscored; no score-cache credit) (125 attempt records from 71 collectors; every record counts)
[test:paid] deselected testcases, zero credit (316):
[test:paid]    302  sibling case of a case shard (its own shard runs it)
[test:paid]      8  periodic-tier case (this lane runs gate)
[test:paid]      6  Bun hook placeholder of a skipped describe block (not a test)
[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 112/112 · behavior 1/1 · judge 24/24 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 5m46s · cost $37.73 known + 4 of 139 trial(s) cost unknown
  FLAKY 1 (failed once, passed on its one rule-16 rerun) · 1 rerun execution(s), cost $0.06
[test:paid] flaky (rule 16: failed once, passed on its one rerun; green with this annotation):
  ⚑ ship/SKILL.md workflow  judge  FLAKY: failed in attempt 1 (paid-slice-5-a1), passed on its one rerun in attempt 1 rerun (slice 1 attempt 1); rerun cost $0.06; first failure: assertion: expect(received).toBeGreaterThanOrEqual(expected)
[test:paid] exercised-path map (shadow, non-blocking): 11 MAP_GAP line(s) over 106 executed case(s) with recorded commands
  MAP_GAP document-release bin/gstack-banned-terms: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP plan-review-report bin/gstack-plan-reality: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP plan-review-report browse/dist/browse: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP plan-review-report design/dist/design: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP review-army-migration-safety bin/gstack-approval-classes: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-late-input bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-plan-checks bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-small-cli bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-unavailable bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP test-audit-report-only design/dist/design: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP timeline-event-flow bin/gstack-skill-end: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
[test:paid] report: every planned shard accounted and passed

Sliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry.

Flaky: failed once, passed on its one rerun (rule 16)

⚑ ship/SKILL.md workflow  judge  FLAKY: failed in attempt 1 (paid-slice-5-a1), passed on its one rerun in attempt 1 rerun (slice 1 attempt 1); rerun cost $0.06; first failure: assertion: expect(received).toBeGreaterThanOrEqual(expected)

Each failed and passed on its rerun in run 41539860218 at the attempts named above. Logged for the daily flaky-fix pass in this run's flake-records-a1 artifact (docs/TESTING_INTERNALS.md#flaky-reruns).

Dispatched narrow screen (gstack-ship-queue ready --screen) of merge commit 510ada166d380f962cd5f2b75b648f31a7819915.

@github-actions github-actions Bot changed the title fix(memory): a loopback gbrain serve --http is a local brain, not Path 4 (#3539) v1.93.29.0 fix(memory): a loopback gbrain serve --http is a local brain, not Path 4 (#3539) Nov 3, 2026
@capy-ai
capy-ai Bot merged commit b257eff into main Nov 3, 2026
45 checks passed
garrytan added a commit that referenced this pull request Nov 3, 2026
…tor-gate

Rule 19 grant (GStack Minder, GSTA-36). The only conflict was the import block of
bin/gstack-gbrain-detect, next to #3727's gbrain-mcp-locality import; both imports
are kept.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

memory-ingest: a loopback gbrain serve --http is treated as a remote brain, so transcripts are staged and never imported

1 participant