gstack v1.107.0.0
What's new
- Opt-in
/digital-twinskill, local E2E verifier, and additive--add-includesetup: Added the opt-in/digital-twinskill (dev-toolspack; install without replacing saved packs via./setup --add-include digital-twin) with sharpened Claude Code and Codex triggers, thebin/gstack-e2e-receiptCLI (run,verify,summarize,import,demo,prune,schema) with fail-closed loopback-onlyBASE_URLchecks and chunked secret scanning, an offline zero-key Stripe webhook demo, and optional.gstack/e2e.jsonverification in/gstack-ship. (#5021, #5040) - Behavior-first testing and headless E2E defaults: Replaced legacy 100%-coverage test bootstrap boilerplate in
/gstack-shipand/design-reviewwith behavior-first, contract-and-invariant testing rules, adding an upgrade check for existingCLAUDE.mdandTESTING.mdfiles and routing multi-service API, webhook, CLI, and worker[→E2E]paths to headless programmatic E2E with local twins instead of defaulting every E2E test to a browser framework. (#5015) - Opt-in model auto-escalation (default off): Changed
auto_escalatedefault fromontooffacrossbin/gstack-config,lib/model-policy.ts, skill templates, and docs until solve-rate and cost measurements establish that escalated runs earn their cost. (#5028) - Documentation overhaul aligned with Core-10 defaults: Made the
/browseCLAUDE.mdrule conditional on opting into thebrowserpack, updatedREADME.mdinstall accuracy and measured results, added the Core-10 first-sprint tutorial (docs/tutorial-first-sprint.md), splitdocs/troubleshooting.mdso user fixes sit at the top while maintainer codes live increw/docs/troubleshooting.md, reordereddocs/releases.mdaround update channels (stablevs.main), added a Full run column todocs/context-bill.md, updated model-overlay suggestions to current canonical Claude model IDs, and fixed stale links and counts across the docs. (#5027, #5029, #5030, #5031, #5034)
Fixes
- Security — untrusted-content wrapping for
$B tab-eachand plain$B memory: Wrappedtab-eachand text-modememoryoutput in untrusted external content markers so page-controlled tab titles and URLs cannot inject instructions into agents; fake end markers are defused, JSON between the markers still parses,memory --jsonstays raw for scripts, and scoped tokens remain refused. (#5046) - Security — private per-run temporary directory in
/landing-report: Replaced fixed/tmp/landing-*.jsonoutput paths with a per-run mode-0700mktemp -ddirectory, fail-closed write guards, and non-recursive cleanup, preventing concurrent worktree clobbering and shared-machine/tmpsymlink attacks. (#5045) - Keep streamed diff scratch files out of
.git: Review planning, gate-diff scanning, and patch hashing now stream large (>256 MiB)git diffreads through private temporary files inTMPDIR(falling back to gstack's state folder whenTMPDIRis unwritable or inside the checkout) instead of creating.git/gstack-diffinside the repository or hitting pipeENOBUFSlimits. (#5038, #5048) - Non-English second-opinion review parsing (#5039): Completion checks on
Recommendation:lines and## Recommendationheadings now accept reasoned recommendations across languages and punctuation styles instead of requiring the literal English wordbecause, while still rejecting empty, bare, or unreasoned lines. (#5049) - Windows Codex CLI launches,
Fixes #Nlinks, and CRLF verification commands (#5003, #4945, #4946): Fixed Windows drive-letter self-location,codex.cmdlaunch quoting,taskkill /T /F+ Job Object cleanup,bin/gstack-issue-linksFixes #Npreservation, and/build-checkparsing ofgstack:verify:commands in CRLFCLAUDE.mdfiles. (#5013, #5014) - Skill-router false triggers (#4990): Stopped
gstack-skill-routefrom firing on Claude Desktop<side-sessions-event>blocks and past-tense test result reports. (#5016)
Changes for maintainers
- Windows test isolation,
bun installidle timeout, and/autoplanlive-guard polling: Restoredprocess.envin place across three tests (with a ratchet banningprocess.env =reassignments), setBUN_CONFIG_HTTP_IDLE_TIMEOUT=30across Windows workflows so stalled npm downloads retry instead of timing out 15-minute shards, added updater-state diagnostics toscripts/windows-held-install-fixture.sh, and updatednoticeEvidence()intest/helpers/autoplan-guard-pty.tsto count distinct subagent hand-backs. (#5047) - Dead-code and evidence-ledger housekeeping: Removed unused
bin/gstack-owner-answersand its module/tests, and updatedrunaway-stopper'smeasure_bydate to2026-12-16indocs/inventory/evidence.json. (#5028)