Repository navigation
v1.91.243.0 fix(capy): source the launch environment from a 0600 file; no skill fence may print the environment (GSTA-104) - #3449
Merged
Conversation
…skill fence may print the environment (GSTA-104) During GSTA-96's unattended /ship on #3425, the Step 14.5 docs-audit child re-typed the GSTACK_LAUNCH assignments as `export $(...)`; the substitution came back empty, the bare `export` printed the whole environment, and three API key values landed in its tool output. - bin/gstack-capy-install writes the assignments to <verdict>.env (mode 0600, idempotent PATH prepend) and prints GSTACK_LAUNCH_FILE: <path>. - ship Step 14.5 prompt, document-release's spawned note, autoplan/DRIVER.md and gstack-skill-start's capy-asks block say: source the file; never export $(...), env, printenv or bare set in a tool fence. - test/launch-env-echo-ratchet.test.ts greps every generated SKILL.md, sections, DRIVER.md, the Capy skill and bin/ shell helpers, with negative controls under test/fixtures/launch-env-echo/. - lib/redact-engine.ts: env.value (HIGH) finds the value of any *_KEY, *_TOKEN, *_SECRET, *_PASSWORD variable in the writer's environment, so a leaked value cannot reach a PR body, receipt, report or Drive file. - scripts/lib/shard-engine.ts scrubs the Capy launch markers from shard environments (GSTA-99's finding). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…ioral at HARNESS_VERSION 6; verdict-count test lists .json only 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>
A credential-named assignment with an entropic literal on one line is what the repo's own pregate secrets scan refuses in added lines, so the fixture values move into plainly named constants and the scanned text is built from them. The scan under test still sees the same values through processEnv. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…d attempt a 2s budget (run 40263984171) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… match, hides the preview and skips PUBLIC names /ship Step 9.4 review fixes for the GSTA-104 env-value scan: - a value whose environment copy ends in a newline (a key read from a file) is searched for trimmed, so its leaked form still matches (the length check already trimmed; the search used the raw value); - when one credential value is a prefix of another, the dedup key carries the span length, so the longer value is redacted whole in either order instead of leaving its tail in the text and dropping its finding; - the env.value preview is a fixed mask instead of the first characters of a live credential; - framework-public names (NEXT_PUBLIC_*_KEY, *_PUBLIC_KEY) are not scanned, since those values are committed on purpose; - the header and the processEnv docstring state the name rule (KEY, TOKEN, SECRET, PASSWORD, PASSWD, any case) and that process.env is the engine's one ambient input. Step 7 coverage extensions and a regression test for each fix in test/redact-env-value.test.ts; docs/capy-install.md names the full rule. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…names the launch file Review finding: _sq duplicated shq() from the same file. The launch file's assignments now go through shq, and the header comment describes the GSTACK_LAUNCH_PATH and GSTACK_LAUNCH_FILE lines beside GSTACK_LAUNCH. Step 7 coverage: the verdict test sources the launch file and runs --check; the single-quote path test sources the file too; a new case makes the launch-file directory unwritable and checks the run says so, prints no GSTACK_LAUNCH_FILE line, leaves no temp file and keeps its exit code and trailer (linux, non-root). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ches the shard sandbox Red Team finding: the launch-marker scrub lived only in createShardSandbox, so a direct `bun test <file>` run under an unattended Capy session inherited GSTACK_SESSION_KIND, GSTACK_CAPY, GSTACK_EPHEMERAL and GSTACK_INSTALL_VERDICT (GSTA-99's symptom). The preload now deletes the same four names, and test/shard-engine.test.ts imports CAPY_LAUNCH_MARKERS instead of re-typing them. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…orts, typeset -p, env flags and a set in any segment Review findings 11 and 12: export-subst also trips on `export \`...\`` and an unquoted `export $VAR` (both splat a NAME=value file; `export "$name"` is one word and stays allowed); the export rule adds `typeset -p`; env trips with only flags (`env -0`) and as `/usr/bin/env`; set is judged per segment and with redirections, allowed only when piped straight into an anchored grep filter. Quoted strings are blanked offset-preserving so a `#` inside quotes no longer hides the rest of the line. The negative control covers each new form on both sides. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
The /document-release prompt line read `. <file>` with no word on what fills it. It now says the placeholder is the GSTACK_LAUNCH_FILE: path the parent's own install check printed. Worded to stay under the ship skill's pinned parity size (313,279 of 313,281 union bytes). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…skips path values and gstack's lock token /ship Step 11 adversarial findings. The name rule also covers DB_PASS, GITHUB_PAT, *_APIKEY and *_PWD (the shell's own PWD and OLDPWD stay out). A credential-named variable whose value is a filesystem path (SSL_KEY=/etc/ssl/ private/x.key) names where the credential lives, so the path is no finding, and GSTACK_BRAIN_LOCK_TOKEN (pid-random-epoch, written to the lock owner file) is not a secret. Without these, an ordinary mention of that path or token in a PR body, receipt or CSO report was a HIGH fail-closed blocker. The adversarial pass also recommended an entropy floor so dev defaults such as DB_PASSWORD=postgres stop matching prose; declined here on purpose, because the scan's promise is to catch a leaked value whatever its shape, and a weak real password is still a credential. Recorded as an open decision in the ship report. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…mp file The failure path ran rm -f "$LAUNCH_FILE".tmp.*, which also deleted the temp file a concurrent installer run (two threads on one machine, same verdict path) was about to mv, so that run lost its launch file too. write_launch_file now cleans up its own $tmp and returns 1; the caller only reports. The file's comment no longer embeds the state-root path (a newline in GSTACK_STATE_ROOT could have ended the comment). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ns setup and scripts/*.sh The preload imports CAPY_LAUNCH_MARKERS instead of re-typing the four names, and the ratchet asserts the installer exports every name on that list, so a fifth marker cannot be added to one place only. The shell scan also covers ./setup and the scripts/*.sh install scripts callers run first. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ue rules, the ratchet forms and the one test-budget change Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…s instead of matching a shape Second review cycle: a path-shaped rule also matched a base64 secret that starts with "/" and holds another "/" (about 1 in 150 AWS-shaped keys), which then went unscanned. The exemption now fires only when the value names a file that exists on the scanning machine (SSL_KEY=/etc/ssl/private/x.key). The module header names that stat as the engine's one filesystem read. NON_SECRET_ENV_NAMES is exported so the test can prove bin/gstack-brain-lock.sh still exports every name in it; the PWD/OLDPWD fixtures hold plain words so only the name rule keeps them out. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…chet coverage test names setup and scripts An mv shim first on PATH refuses only the launch-file target, so the temp file exists when the move fails: the run removes that file alone (a sibling from a concurrent run survives), says so, prints no GSTACK_LAUNCH_FILE line and keeps the earlier file, exit code and trailer. The ratchet coverage test asserts setup, scripts/build.sh and scripts/sandbox-doctor.sh are scanned. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… normalized form Second adversarial pass: the existence check let the scanned agent exempt any "/"- or "~/"-prefixed secret by creating a path of that name, a silent bypass of the one guard this branch adds, so the exemption is gone; a path-valued SSL_KEY that must appear in a text goes through the allowlist. The engine is back to no I/O. The value is now normalized the way the text is before indexOf, so a credential NFKC rewrites (fullwidth digits) still finds its leaked ASCII form. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…the ratchet checks the marker list both ways A gstack: fail run no longer writes or announces a sourceable file whose PATH prepend points at an unverified Bun. The ratchet also asserts every variable the launch file exports is a CAPY_LAUNCH_MARKERS entry or GSTACK_STATE_ROOT, so a sixth export cannot reach fixture children unstripped. The Capy skill's prose no longer offers re-typing the assignments as an alternative to sourcing. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Third adversarial pass: a passing run whose launch file could not be written still said gstack: ok with exit 0 and printed only the GSTACK_LAUNCH line, leaving a shell-evaluating caller with the re-typing path the branch exists to remove. The file is now written before the verdict is recorded; a write failure on a passing run turns the run into "gstack: fail launch-file — could not write the launch file <path>; fix: … (LAUNCH_FILE_UNWRITABLE)" with exit 1 and an ok:false verdict, and every failing run removes the launch file an earlier passing run left beside the verdict. The two failure tests assert the new contract, the doctor-FAIL tests assert no launch file is announced or left, and the docs, Capy skill and CHANGELOG say the same. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…rmalized value too An allowlisted value in NFC did not suppress a match on its NFKC-composed form, and a value that is a placeholder only after normalization was still searched for. Fixture nits from the third review cycle: fixed directory string instead of process.cwd(), the fullwidth assertion guards its own vacuity, a zero-width-padded value under the floor is pinned, and the ratchet comment names the one kept export and the PATH case line. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…; a kept profile verdict keeps its launch file Fourth review cycle. The new trailer code now has its row in lib/result-codes-capy.ts (the owner module is at its size cap) and its docs/troubleshooting.md anchor, so the install-side code scan resolves it. A failing profile check (--for review-voice) that keeps a fuller ok verdict for this HEAD no longer deletes that verdict's launch file: the fail branch removes the file only when the run rewrites the verdict, and setup_failed removes it too. The docs say "a failing run that rewrites the verdict", and that an unwritable directory keeps both the old file and the old verdict. A new test runs a passing install, then a failing profile check, and asserts the file and the ok verdict both survive. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…e an assertion that fails without them Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…he earlier launch file Fifth review cycle: setup_failed's cleanup had no assertion. The setup failure test now installs once (launch file present), commits a new HEAD so setup runs again, fails that setup, and asserts the launch file is gone and the verdict says ok:false before the next run sets up again and ends ok. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…aunch-file contract (Step 14.5 audit) The /document-release audit (docs-3449-1792992068) corrected three authored docs: docs/state-root.md shows the GSTACK_LAUNCH_FILE line and says to apply it with ". <that file>" instead of prefixing or exporting the assignments; docs/CONTRIBUTOR_REFERENCE.md names scan()'s one ambient input instead of calling it pure; docs/capy-install.md's bun-shim bullet and exit table name the launch file and the fail launch-file trailer. 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>
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.
What changed
The launch line is a file now, and nothing in a skill fence may print the environment.
Before: one
GSTACK_LAUNCH:line and prose telling callers to prefix or export the assignments themselves. After: the same line plusGSTACK_LAUNCH_FILE:, applied with. <file>, a verdict-gated write, an echo ratchet and an env-value redaction finding. Why: the re-typing path is what dumped three API keys into GSTA-96's transcript.The installer now prints GSTACK_LAUNCH_FILE, a 0600 sourceable copy of the launch assignments; callers source it instead of re-typing the line that leaked an environment in GSTA-96.
Before/after as text: The installer now prints GSTACK_LAUNCH_FILE, a 0600 sourceable copy of the launch assignments; callers source it instead of re-typing the line that leaked an environment in GSTA-96.
Why
During GSTA-96's unattended /ship on #3425, the Step 14.5 docs-audit child re-typed the
GSTACK_LAUNCHassignments asexport $(...); the substitution came back empty, the bareexportprinted the whole environment, and three API key values landed in its tool output. This branch closes that at every layer:gstack-capy-installwrites the assignments to a 0600 file and printsGSTACK_LAUNCH_FILE:(the file is part of the ok verdict,LAUNCH_FILE_UNWRITABLEwhen it cannot be written), every skill fence applies them with. <file>and a ratchet (test/launch-env-echo-ratchet.test.ts) rejectsexport $(...),env,printenv, baresetand bareexportin skill prose and shell helpers, and the redaction engine refuses the VALUE of any credential-named variable in the writer's environment (env.value, HIGH) so a leaked value cannot reach a PR body, receipt, report or Drive file. A Capy agent that follows the skill never sees the values; a child agent gets the path.Approvals
gstack-approvals render: no approval rows recorded on this branch (the brief above is the Captain's task, not a person's decision).Summary
bin/gstack-capy-install,capy/skill/gstack/SKILL.md,docs/capy-install.md,docs/state-root.md): the installer writes<verdict>.env(0600, atomic, single-quoted throughshq, idempotent PATH prepend) and printsGSTACK_LAUNCH_FILE:; only a passing run writes it, a failing run removes the file it would otherwise leave stale (a kept fuller ok verdict keeps its file), a passing run that cannot write it fails withgstack: fail launch-file … (LAUNCH_FILE_UNWRITABLE)(registered inlib/result-codes-capy.ts, troubleshooting anchor, regenerated doctor components); a failed write removes only its own temp file.test/launch-env-echo-ratchet.test.ts,test/fixtures/launch-env-echo/, ship/document-release/autoplan/skill-start prose): the ratchet scans every skill fence,setupandscripts/*.shforexport $(...), backtick and$VARexports,typeset -p,env/printenvwith flags and a baresetin any pipeline segment; Step 14.5 and the document-release spawned note hand a child the launch-file path, never the values.env.valueredaction (lib/redact-engine.ts,test/redact-env-value.test.ts): the value of any*_KEY,*_TOKEN,*_SECRET,*_PASSWORD,*_PASSWD,*_PASS,*_PAT,*_APIKEYor*_PWDvariable (any case;PUBLICnames and gstack's ownGSTACK_BRAIN_LOCK_TOKENexempt) is a HIGH finding wherever it appears; values are trimmed, matched in normalized form (zero-width and fullwidth splits), a prefix value defers to the longer match, the preview is masked, the allowlist and placeholder rules see the normalized value, and there is no path exemption (the engine stays I/O-free).test-setup.ts,scripts/lib/shard-engine.ts): the shard sandbox and the direct-bun testpreload strip the sameCAPY_LAUNCH_MARKERSlist, so a test run under a Capy session matches CI; the Windows late-completion remote-caller case gives its second attempt a 2s budget (the one test-budget change, by the parent in c33c796).[Unreleased]entry; Step 14.5 audit updateddocs/state-root.md,docs/CONTRIBUTOR_REFERENCE.mdanddocs/capy-install.mdto the launch-file contract.Test Coverage
Tests: 1441 → 1441 (+0 new) at Step 7 (no new test files; 5 tests added by extending 2 existing files); the six review cycles later added tests in 93b793c, 9c8f7cf, 870c626, b8a59b9, e32274c and 55a89af.
Coverage: 70% value-weighted (95% including 5 weakly covered paths) at Step 7; the Step 7 rater then rated all five new tests ★★★ (12 mutants).
Test value: 5 tests written, 0 rejected by the authoring gate, 2 existing tests extended, 0 paths weakly covered after rating (1 gap declined: dedupe by offset, double count only).
Tests ran: pregate.json/remote_gate (free tier, Ubicloud, tree 315a72e3ef91) 22513
Tests ran: requires-remote free-tests.yml/cso-macos-launcher (macos) 0 — uncleared, 5 skipped (cannot run from this Linux machine)
Tests ran: requires-remote free-tests.yml/macos-named-regressions (macos) 0 — uncleared, 7 skipped
Tests ran: requires-remote free-tests.yml/cso-windows-launcher (windows) 0 — uncleared, 1 skipped
Tests ran: requires-remote windows-free-tests.yml/windows-free-shard (windows) 0 — uncleared, 813 skipped
Tests ran: llm-judges test/skill-llm-eval.test.ts 24 (reused, inputs identical)
Tests ran: paid docsync-spawned 1 (rerun at 6343fd0)
Tests ran: paid document-release 1 (reused, inputs identical)
Pre-Landing Review
Six Step 9/11 cycles (quality_score 0.5 → 7.0 → 7.5 → 6.0 → 9.5 → 10.0; cycle 6 converged, review binding verified at tree 240ffbbb6054, HEAD 870c626). Cycle 1: 21 findings (1 CRITICAL: env.value prefix dedup; 20 INFO), 13 auto-fixed (58f456a 9e5ccbb e32274c b8a59b9 9a475d5). Cycles 2-5 found and closed: the PATH_VALUE shape that matched base64 secrets starting with
/(7765db8: no path exemption), thefs.existsSyncbypass (7765db8), the ok-verdict-without-launch-file gap (d4f9424), the unregistered result code (3866c30), the kept-verdict deletion (3866c30, 870c626), the normalized allowlist/placeholder blind spot (3e58c96, 9c8f7cf). Cycle 6: no Critical/High/Medium, one Low (open, below); Maintainability specialist NO FINDINGS.Open INFO findings (non-advisory, not fixed):
lib/redact-engine.tsplaceholder check runs on live values (:528); suffix set is a fixed list beyond the extension (:515); tests depend onprocess.env(:474); shell/JSON-escaped renderings of a leaked value are not matched (:478);bin/gstack-capy-installevaluatesverdict_kepttwice per failing run (concurrent-run race, investigate);test/gstack-capy-install.test.ts:145andtest/launch-env-echo-ratchet.test.ts:187testing notes;capy/skill/gstack/SKILL.md:25instruction copies outside the repo (the Drive skill folder and CREW.md rule 22 still say "export the GSTACK_LAUNCH assignments" — owner action).Gate edits: 16 listed, 6 read, 0 findings — 0 kept, 0 restored, 0 open (every eligible hunk a test-file hunk; the one budget widen is the parent's c33c796 2s second-attempt budget, recorded in the CHANGELOG).
Outside review: unavailable — Codex not installed (
codex_reviewsunset); listed as missing coverage. Each adversarial pass ran as an in-host Claude subagent instead; pass 6 at 870c626 converged.Exploratory QA
Surfaces: the installer CLI (
bin/gstack-capy-install,--check,--for review-voice), the redaction engine's env.value path, the shard sandbox. Probes (cycle 1: 5 smoke probes pass; cycle 2: write_launch_file own-tmp cleanup under a failingmvwith a sibling file surviving, env.value end-to-end throughredactFindingSpans; cycle 4: launch file absent after a failing run, kept-verdict path). Reproducers that became regressions with red/green proof: the sibling-temp deletion (87796fe → 93b793c), the base64 path-shape bypass (7765db8), ok-without-launch-file (d4f9424), kept-verdict deletion (3866c30 → 870c626). Not run: macOS/Windows launchers (requires-remote lanes uncleared, listed above).Design Review
No frontend files changed — design review skipped.
Eval Results
bun test test/skill-llm-eval.test.ts, EVALS=1, ship/SKILL.md + document-release/SKILL.md): 24/24 passed, $1.44, 704s — reused at 6343fd0, both prompts byte-identical since 2318d02.docsync-spawned: first launch failed before any model call ($0.00, launcher fault: EVALS_RUN_ID unset); relaunch PASS 1/1 ($0.61); rerun at 6343fd0 becauseship/sections/documentation.mdchanged: PASS 1/1 ($0.49, 20 turns, 61s).document-release: PASS 1/1 ($0.55), reused (inputs identical).Greptile Review
No Greptile comments.
Plan Completion
Plan completion audit not run: no plan bound (no
Plan:in the PR body, no docs/designs match). cross_project_learnings unset → PENDING.Issues
Refs #3425
reference #3425 ← commit : During GSTA-96's unattended /ship on #3425, the Step 14.5 docs-audit child (promote: fix #3425)
Verification Results
No Step 8.1 obligations were recorded for this run (no plan bound). Review-cycle reproducers: 4 PASS (red at the finding's HEAD, green after its fix, listed under Exploratory QA), 0 FAIL, 0 BLOCKED. Not run: the 4 requires-remote lanes above (macOS/Windows), accepted as pending for the train, not as passing.
TODOS
No TODO items completed in this PR.
Documentation
Status: updated — three authored docs corrected to match the launch-file contract and the env.value redaction rule; no blockers.
Scope. Base
8d9501373b55897447ae30f1d281c4dbc8a1369eto head870c6268c1b0fd02b9979edfed593edc2fdd1292ongsta-104-launch-env-never-echoed: 26 committed files, nothing staged, unstaged or untracked. Audited the candidate's declared docs roots, the Capy skill source, the diff-authored templates and the source that defines the changed contracts (bin/gstack-capy-install,lib/redact-engine.ts,lib/result-codes-capy.ts,scripts/lib/shard-engine.ts,test-setup.ts). Banned terms: none.Documentation health
docs/state-root.md— Updated: the Ephemeral-machines paragraph no longer says to prefix or export theGSTACK_LAUNCHassignments; it showsGSTACK_LAUNCH_FILE:, says to apply it with. <that file>, names the banned forms and linkscapy-install.md#the-launch-line.docs/CONTRIBUTOR_REFERENCE.md— Updated: the redaction-engine bullet no longer callsscan()pure; it names the ambientprocess.envinput read by value for theenv.valueHIGH finding and theScanOptions.processEnvoverride.docs/capy-install.md— Updated: the bun-shim bullet says sourcing the launch file (not aGSTACK_LAUNCHprefix) reaches the certified Bun; the exit-code table's row 1 namesgstack: fail launch-file …with itsLAUNCH_FILE_UNWRITABLEanchor.docs/troubleshooting.md,docs/unattended.md,docs/OPENCLAW.md,docs/PROJECT_STRUCTURE.md,CLAUDE.md,AGENTS.md,README.md,CONTRIBUTING.md,capy/skill/gstack/SKILL.md,capy/skill/gstack/captain.md, the three diff-authored templates — Current.CHANGELOG.md,TODOS.md— not touched (ship-owned mode).Coverage debt.
GSTACK_LAUNCH_FILE,LAUNCH_FILE_UNWRITABLEandenv.valuehave reference, how-to and explanation coverage (no tutorial).CAPY_LAUNCH_MARKERSand the shard-sandbox/test-preload stripping of the launch markers are documented only in the CHANGELOG and code comments;docs/TESTING_INTERNALS.mdis silent (critical gap, contributor-internal).test/launch-env-echo-ratchet.test.tsandtest/redact-env-value.test.tsare not in CONTRIBUTING.md's test catalog (common gap). Diagram drift: none. Owner action outside the repo: recopycapy/skill/gstack/to the Drive skill folder (only the launch paragraph differs). Product prose to weigh:bin/gstack-doctor-check.sh:267still offers 'prefix commands with the GSTACK_LAUNCH line' as a fix.Test plan
gstack-pregate --stage tests --remote --spend-cap 2 --timeout 2700 --allow-repo-commandsat 2318d02 (tree 926e7b32711e): 18129 tests, 0 failed, $0.06gstack-pregate --stage tests --remote --spend-cap 2 --timeout 2700 --allow-repo-commandsat 6343fd0 (tree 315a72e3ef91):PREGATE_REMOTE: tests=22513 failed=0 spent=0.06gstack-pregate runpreflight at 6343fd0:PREGATE: warn tree=315a72e3ef91 head=6343fd012d04 checks=6(secrets warn: 2 MEDIUM pii.phone.e164, a CI run number read as a phone; no credential)bun test test/redact-env-value.test.ts test/gstack-capy-install.test.ts test/launch-env-echo-ratchet.test.ts test/shard-engine.test.ts test/parity-suite.test.ts test/spawnsync-timeout-tripwire.test.ts: pass (42 install, 6 ratchet, parity 22/22; ship union 313,279 of the 313,281-byte cap)bun run typecheckandbun run typecheck:test: zero errors; 819 known diagnostics, none newEVALS=1 bun test test/skill-llm-eval.test.ts(ship + document-release judges): 24/24, $1.44docsync-spawned: PASS (relaunch $0.61) and PASS (rerun at 6343fd0 $0.49); paiddocument-release: PASS $0.55🤖 Generated with Claude Code