{"version":"2.1.337","anchor":"merge-safety-check-refuses-when-a-shellghgit-binary-is-wri","canonical_anchor":"merge-safety-check-refuses-when-a-shellghgit-binary-is-wri","heading":"\/steward safety checks get stricter about which git and gh programs run","tier":"notice","area":"Elsewhere","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/merge-safety-check-refuses-when-a-shellghgit-binary-is-wri","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### \/steward safety checks get stricter about which git and gh programs run\n\n\/steward's push and merge checks recognise more git and gh names, handle Windows paths and refuse writable program copies in the checkout\n\n**What**\n\n`\/steward` can merge changes without a person watching. Before it does, it checks which programs would actually run. Those checks change:\n\n- Recognising `git` and `gh` commands now uses a list of file endings, such as `.exe`, instead of a fixed list of names.\n\n- A new helper handles Windows paths when matching `gh` and `git`. It understands backslash separators, drive letters and the endings `.exe`, `.cmd`, `.bat` and `.ps1`. Before, only `\/` separators and `.exe` were handled.\n\n- The merge check warns about short names such as `CLAUDE~1`, which Windows may treat as another name for `.claude`.\n\n- The pre-merge check now refuses when Claude Code would start a program from a copy in a writable folder of the checkout or of the temp folder, saying it \"can't tell which\" program would run. Before, it checked PATH entries and shell startup files but not these copies.\n\n- The message saying `\/steward`'s push checks can't yet read repositories that name commits by SHA-256 is unchanged.\n\n**Why**\n\nA checkout you can write to can no longer quietly swap the program an unattended merge runs, and the checks are more reliable on Windows. Some commands may now count as git or gh where they did not before.\n\n- Area: Elsewhere\n- Names: `\/steward`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}