gstack/.agents/skills
Garry Tan ed349027f5
fix: shell injection via branch names + feature-branch sampling bias
Codex code review found two issues:

P1: eval $(gstack-slug) in gstack-repo-mode executes branch names as
shell. Branch names like foo$(touch${IFS}pwned) are valid git refs and
would execute arbitrary commands. Fix: compute SLUG directly with sed
instead of eval'ing gstack-slug output.

P2: git shortlog HEAD only sees current branch history. On feature
branches that haven't merged main recently, other contributors disappear
from the sample. Fix: use git shortlog on the default branch
(origin/main) instead of HEAD.

Also improved blame lookup in collaborative triage to check both the
test file and the production code it covers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 12:49:48 -07:00
..
gstack chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-browse chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-careful feat: multi-agent support — gstack works on Codex, Gemini CLI, and Cursor (v0.9.0) (#226) 2026-03-19 18:20:50 -07:00
gstack-design-consultation chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-design-review chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-document-release chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-freeze feat: multi-agent support — gstack works on Codex, Gemini CLI, and Cursor (v0.9.0) (#226) 2026-03-19 18:20:50 -07:00
gstack-guard feat: multi-agent support — gstack works on Codex, Gemini CLI, and Cursor (v0.9.0) (#226) 2026-03-19 18:20:50 -07:00
gstack-investigate chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-office-hours chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-plan-ceo-review chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-plan-design-review chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-plan-eng-review chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-qa chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-qa-only chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-retro chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-review chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-setup-browser-cookies chore: regenerate SKILL.md files for Claude and Codex hosts 2026-03-20 08:34:05 -07:00
gstack-ship fix: shell injection via branch names + feature-branch sampling bias 2026-03-20 12:49:48 -07:00
gstack-unfreeze feat: multi-agent support — gstack works on Codex, Gemini CLI, and Cursor (v0.9.0) (#226) 2026-03-19 18:20:50 -07:00
gstack-upgrade feat: multi-agent support — gstack works on Codex, Gemini CLI, and Cursor (v0.9.0) (#226) 2026-03-19 18:20:50 -07:00