gstack/review
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
..
SKILL.md fix: resolve codex exec -C repo root eagerly to prevent wrong-project reviews 2026-03-26 21:58:13 -06:00
SKILL.md.tmpl feat: test coverage gate + plan completion audit + auto-verification (v0.11.13.0) (#428) 2026-03-24 20:01:37 -07:00
TODOS-format.md feat: TODOS-aware skills, 2-tier Greptile replies, gitignore fix (#61) 2026-03-14 20:15:11 -07:00
checklist.md feat: Wave 3 — community bug fixes & platform support (v0.11.6.0) (#359) 2026-03-23 22:15:23 -07:00
design-checklist.md fix: security hardening + issue triage (v0.8.3) (#205) 2026-03-19 01:58:43 -05:00
greptile-triage.md feat: TODOS-aware skills, 2-tier Greptile replies, gitignore fix (#61) 2026-03-14 20:15:11 -07:00