Commit Graph

2 Commits

Author SHA1 Message Date
Garry Tan 7a0103dbcf merge: resolve conflicts with origin/main (v0.8.4)
Merge main into garrytan/fix-slug-clean, resolving conflicts in
templates, gen-skill-docs, and tests. All multi-line eval+mkdir+echo
blocks in merged templates use gstack-review-log/gstack-review-read
helpers. gstack-review-read now includes ---HEAD--- section for
main's commit staleness tracking feature.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 23:45:12 -07:00
Garry Tan 4ddb4b9303 fix: add gstack-review-log and gstack-review-read atomic helpers
Branch names with `/` (e.g. garrytan/design-system) break review log
filepaths when Claude Code runs multi-line bash blocks as separate shell
invocations — eval sets $SLUG/$BRANCH in shell 1, but they're gone by
the time mkdir and echo run in shells 2+3.

These two scripts encapsulate the full operation (slug detection + mkdir
+ file I/O) in a single command, eliminating the variable persistence
problem. Both support GSTACK_HOME env var override for testability.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 21:00:45 -07:00