Loading
docs(skills): expand glab-stack guidance for non-interactive reorder and infer
Description
Follow-up to !4267 (merged), which made glab stack reorder and glab stack infer usable without a TTY. That MR updated the bundled glab-stack skill, but agents following the skill could still get stuck or leave GitLab out of sync. This MR fills those gaps:
inferneeds--namewhen no stack is active. Without it,infer --allfails with "no stack found and no TTY available". Rule 6 now says so, and there's a new quick-reference row.reorderonly rebases locally. Rule 5 now says to runglab stack syncafterwards to force-push.- Reorder conflict recovery. A new section covers
git rebase --continuefollowed byglab stack reorder --continueor--abort. Both commands are also in the quick reference. - Branch-list rules for
reorder. List every branch exactly once, the first branch sits on the base branch, and commit or stash tracked changes first. - Wording.
reorderandinferwithout the new arguments now "hang or fail without a TTY", and the skill description mentions inferring a stack from commits.
Related Issues
Related to #8658 (closed)
How has this been tested?
Docs-only change to SKILL.md. The validate-skills and markdownlint hooks pass, as do the internal/commands/skills tests.