The pre-commit validation in .agents/skills/git-github-workflow/run.sh stashes tracked modifications but leaves untracked new files on disk before gating, producing a broken hybrid tree (new modules importing APIs that only exist in the stashed versions). Observed twice on 2026-08-22 (TS2554/TS2694 against stale schema/migrations while new hydration.ts remained). Workaround used: manual phase execution. Suggested fix: git stash push -u (include untracked) or gate the committed tree instead.
The pre-commit validation in
.agents/skills/git-github-workflow/run.shstashes tracked modifications but leaves untracked new files on disk before gating, producing a broken hybrid tree (new modules importing APIs that only exist in the stashed versions). Observed twice on 2026-08-22 (TS2554/TS2694 against stale schema/migrations while newhydration.tsremained). Workaround used: manual phase execution. Suggested fix:git stash push -u(include untracked) or gate the committed tree instead.