gstack/scripts/resolvers
Garry Tan dcdd28ce34
fix(resolvers): stop env-var hosts from doubling $HOME in the binary fallback path
The browse/design/make-pdf setup resolvers built the fallback binary path as
"$HOME" + dir.replace(/^~/, ''), which is only correct for ~-rooted dirs.
Env-var hosts carry an absolute $GSTACK_* dir, so the generated fallback
became $HOME$GSTACK_.../browse — a path that never exists. New toShellPath()
in scripts/resolvers/types.ts expands ~ to $HOME and passes absolute
env-var dirs through untouched; all five call sites route through it.

Claude-host generated output is byte-identical, so no SKILL.md regeneration
is needed here.

Closes #2055.

Contributed by @simjak (PR #2056).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-14 20:20:58 -07:00
..
preamble fix(preamble): update_check:false gates the prose, not just the binary 2026-08-14 20:20:55 -07:00
browse.ts fix(resolvers): stop env-var hosts from doubling $HOME in the binary fallback path 2026-08-14 20:20:58 -07:00
codex-helpers.ts feat: Factory Droid compatibility — works across Claude Code, Codex, and Factory (v0.13.5.0) (#621) 2026-03-29 08:57:34 -07:00
composition.ts v1.57.4.0 refactor(ethos): rename Boil the Lake principle to Boil the Ocean (#1912) 2026-06-08 05:41:07 -07:00
confidence.ts v1.43.2.0 fix wave: post-Daegu paper-cut — 18 fixes, 28 bisect commits (#1642) 2026-05-21 21:21:07 -07:00
constants.ts v1.57.10.0 feat: Codex review default-on across review/ship/plan/docs (#1966) 2026-06-10 21:14:58 -07:00
design.ts fix(resolvers): stop env-var hosts from doubling $HOME in the binary fallback path 2026-08-14 20:20:58 -07:00
dx.ts feat: /plan-devex-review + /devex-review — DX review skills (v0.15.3.0) (#784) 2026-04-03 16:22:57 -07:00
gbrain.ts v1.52.1.0 feat: brain-aware planning — 5 skills read structured gbrain context before asking (#1742) 2026-05-29 08:35:00 -07:00
index.ts v1.57.10.0 feat: Codex review default-on across review/ship/plan/docs (#1966) 2026-06-10 21:14:58 -07:00
learnings.ts v1.33.1.0 fix(learnings): token-OR query + task-shaped retrieval in 3 long skills (#1442) 2026-05-11 19:34:33 -07:00
make-pdf.ts fix(resolvers): stop env-var hosts from doubling $HOME in the binary fallback path 2026-08-14 20:20:58 -07:00
model-overlay.ts feat(v1.10.1.0): overlay efficacy harness + Opus 4.7 fanout nudge removal (#1166) 2026-04-23 18:42:58 -07:00
preamble.ts v1.58.5.0 feat: first-run activation scaffold + gstack router front door (#2078) 2026-06-25 09:42:45 -07:00
question-tuning.ts v1.61.0.0 fix wave: guards failing open / silent failures (9 fixes, 4 community PRs absorbed) (#2472) 2026-08-08 09:28:45 -07:00
redact-doc.ts v1.53.0.0 feat: smarter redaction — PII/secrets/legal guard across /spec, /ship, /cso, /document-* (#1797) 2026-05-30 08:54:46 -07:00
review-army.ts fix(review,autoplan): require explicit run_in_background: false on specialist agents 2026-08-14 20:20:48 -07:00
review.ts fix(review,ship): run the codex diff passes under the timeout wrapper (#1036) 2026-08-14 20:20:55 -07:00
sections.ts v1.54.0.0 feat: carve /ship into skeleton + on-demand sections (-59% always-loaded) (#1806) 2026-05-30 12:09:10 -07:00
tasks-section.ts fix(autoplan): task aggregator returned zero tasks on every run — jq scope bug 2026-08-14 20:20:52 -07:00
testing.ts fix(retro,ship): count tracked files for the test-file metric, not the working tree 2026-08-14 20:20:56 -07:00
types.ts fix(resolvers): stop env-var hosts from doubling $HOME in the binary fallback path 2026-08-14 20:20:58 -07:00
utility.ts fix(land-and-deploy): stop greedy sed from eating the URL scheme in deploy-config parsing 2026-08-14 20:20:56 -07:00