gstack/scripts/resolvers
Garry Tan 4ee8ea9ec9
fix: resolve codex exec -C repo root eagerly to prevent wrong-project reviews
When codex exec commands run in background bash tasks (e.g., Conductor
workspaces), $(git rev-parse --show-toplevel) evaluates in whatever cwd
the background shell inherits, which may be a different project. Fix by
resolving _REPO_ROOT once at the top of each bash block and referencing
the stored value in -C.

12 occurrences fixed across 4 source files:
- codex/SKILL.md.tmpl (3)
- autoplan/SKILL.md.tmpl (3)
- scripts/resolvers/review.ts (3)
- scripts/resolvers/design.ts (3)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 21:58:13 -06:00
..
browse.ts feat: worktree isolation for E2E tests + infrastructure elegance (v0.11.12.0) (#425) 2026-03-23 23:05:22 -07:00
codex-helpers.ts feat: worktree isolation for E2E tests + infrastructure elegance (v0.11.12.0) (#425) 2026-03-23 23:05:22 -07:00
constants.ts feat: worktree isolation for E2E tests + infrastructure elegance (v0.11.12.0) (#425) 2026-03-23 23:05:22 -07:00
design.ts fix: resolve codex exec -C repo root eagerly to prevent wrong-project reviews 2026-03-26 21:58:13 -06:00
index.ts feat: test coverage gate + plan completion audit + auto-verification (v0.11.13.0) (#428) 2026-03-24 20:01:37 -07:00
preamble.ts feat: voice directive for all skills (v0.12.3.0) (#520) 2026-03-26 17:31:53 -06:00
review.ts fix: resolve codex exec -C repo root eagerly to prevent wrong-project reviews 2026-03-26 21:58:13 -06:00
testing.ts feat: test coverage gate + plan completion audit + auto-verification (v0.11.13.0) (#428) 2026-03-24 20:01:37 -07:00
types.ts feat: worktree isolation for E2E tests + infrastructure elegance (v0.11.12.0) (#425) 2026-03-23 23:05:22 -07:00
utility.ts feat: /land-and-deploy first-run dry run + staging-first + trust ladder (v0.12.2.0) (#518) 2026-03-26 11:08:31 -07:00