Repository navigation
chore: merge upstream gstack 2026-07-15 - #11
Merged
Merged
Conversation
…-holding orphans proc.kill() only signals the sh -c wrapper; the claude child survives as an orphan that inherited our stdout/stderr pipes, blocking the stream drain until it exits (observed: a 600s spawn timeout stretching to 1431s and tripping bun's per-test timeout with no result). On timeout, cancel the stdout reader; race the stderr drain against child exit + 5s grace. Streamed transcript lines survive the cancel, so callers still get their evidence. Regression test: test/session-runner-timeout.test.ts (fake claude spawns a pipe-holding orphan; fails in 30s without the fix, passes in 8s with it). Co-Authored-By: Claude Fable 5 <[email protected]>
…read real stream-json Root cause of months of silent local failure: the sandbox copied skill dirs to the repo root, but claude >= 2.x resolves slash commands strictly from registered skills, so /autoplan short-circuited with 'Unknown command' (0 turns, ~1s) on every attempt. Install /autoplan + review skills at project-level .claude/skills/ (same pattern as skill-routing-e2e). Also: the transcript filter matched entry.type === 'tool_use', a shape that never appears at the top level of raw stream-json, so assertions only ever saw the final result text; filter on assistant/user events instead. Hang protection accepts the Phase 1 review dispatch (Agent/Task tool call carrying review instructions) as progress evidence, since full Phase 1 completion is 15+ min of subagent work. Budget raised to 10 min / 40 turns. Invisible in CI: the file is in neither evals.yml nor evals-periodic.yml matrices (coverage decision filed in TODOS.md). Co-Authored-By: Claude Fable 5 <[email protected]>
…coverage decision Co-Authored-By: Claude Fable 5 <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
gstack-repo-mode was re-deriving slugs from origin and writing twin project dirs; consume gstack-slug's cached sanitized slug instead.
GeminiAdapter was reading message.text and result.usage, so current CLI content/stats events produced empty $0 success rows. Accept content with an assistant role guard, stats token fallbacks, init model, and treat empty exit-0 output as an error (garrytan#2159). Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Exercise resultFromGeminiStream against current stream-json fixtures (including empty-success hardening). Recognize GEMINI_API_KEY and map IneligibleTierError to auth — personal OAuth free-tier is no longer supported by gemini CLI. Co-authored-by: Cursor <[email protected]>
Pass --skip-trust so temp/untrusted workdirs work in headless benchmarks (mirrors Codex --skip-git-repo-check). Revert VERSION, CHANGELOG, and package.json bumps — leave release bookkeeping to maintainers / /ship, matching community PR practice. Co-authored-by: Cursor <[email protected]>
endpoint-hash returns "local" for stdio/PGLite, but validators only allowed hex suffixes, so setup-gbrain could not persist trust policy. Co-authored-by: Cursor <[email protected]>
…bling HIGH advisories basic-ftp reaches the tree only transitively: puppeteer-core > @puppeteer/browsers > proxy-agent > pac-proxy-agent > get-uri > basic-ftp Versions <= 5.3.0 carry four HIGH advisories, all fixed in 5.3.1: - GHSA-chqc-8p9q-pq6q (CVE-2026-39983) FTP command injection via CRLF - GHSA-6v7q-wjvx-w8wg incomplete CRLF protection (USER/PASS + MKD bypass) - GHSA-rpmf-866q-6p89 DoS via unbounded multiline control-response buffering - GHSA-rp42-5vxx-qpwr DoS via unbounded memory in Client.list() Pin via a bun `overrides` entry rather than a phantom direct dependency. Overriding forces every basic-ftp in the tree to 5.3.1, including get-uri's nested copy; `bun audit` then reports zero basic-ftp advisories (total 37 -> 33, HIGH 13 -> 9). A direct-dependency bump leaves get-uri/basic-ftp at the vulnerable version and audit still flags all four. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Parses package.json overrides + every resolved basic-ftp specifier in bun.lock (including nested paths like get-uri/basic-ftp) and fails if any is below 5.3.1. Deterministic and offline. Fires on the pre-fix tree ([email protected]) and would also catch a direct-dependency-only bump that leaves a nested vulnerable copy. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
urlBlocklistFilter compared URLs against the exfiltration blocklist with case-sensitive substring checks, so an uppercased sink (https://WEBHOOK.SITE/x) bypassed the guard and reached the scoped browser agent. Normalize the page URL and extracted content URLs to lowercase before comparing, and make URL extraction scheme-insensitive so HTTPS:// links are still caught. Fixes garrytan#2190 Co-Authored-By: Claude Fable 5 <[email protected]>
…main-blocklist fix(browse): case-insensitive exfiltration-domain blocklist matching (garrytan#2190)
…026-39983 fix(deps): pin basic-ftp to 5.3.1 to fully clear CVE-2026-39983 and 3 sibling HIGH advisories
fix(repo-mode): reuse canonical cached project slug (garrytan#2212)
fix(benchmark): gemini stream-json content/stats parse (garrytan#2159)
…icy-reject fix(gstack-config): accept @Local endpoint ids for brain_trust_policy
…194-pglite-lock fix(gbrain): distinguish PGLite locks from malformed config
…-infra-isolated-review
…st-infra-isolated-review fix: harden test infrastructure and iOS device QA
# Conflicts: # test/helpers/session-runner.ts
Author
|
Unblocked fork CI: all Linux jobs had remained queued for 12h with label Verification:
|
Author
|
Version gate follow-up:
|
nezovskii
marked this pull request as ready for review
July 15, 2026 16:24
This was referenced Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
garrytan/gstack:mainintoActVox/gstack:mainbasic-ftpCVE overridetest/helpers/session-runner.tsconflict mechanically in favor of upstream direct-spawn behaviorVerification
bun install- PASSbun run gen:skill-docs --host all- PASSgit diff --check- PASSbrowse/test/gstack-config.test.ts: 26 passed, 0 failed (combined failures were test-env interference)test/ios-qa-regen.test.ts: 3 passed, 1 failedBlocker
The remaining iOS manifest test fails on this host while linking Swift PackageDescription with Apple Swift 6.3.2 (
Undefined symbols for architecture arm64). This appears to be local CommandLineTools/toolchain mismatch, not an assertion failure in generated content. Keep draft until CI confirms or the host toolchain is repaired.Generated-doc warning
gen:skill-docs --host allreports token-ceiling warnings for generated ship skills on Factory/Cursor hosts (~44.5K tokens vs 40K ceiling). Generation itself exits 0.Version note
Upstream history contains release commit
v1.60.2.0, but upstreamVERSIONstill reads1.60.1.0; this PR preserves upstream exactly.