Skip to content

git-github-workflow skill: pre-commit stash breaks with untracked new files #724

Description

@d-oit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not workingjules

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions