{"version":"2.1.333","anchor":"ship-can-commit-around-code-running-files-with-a-post-comm","canonical_anchor":"ship-can-commit-around-code-running-files-with-a-post-comm","heading":"\/ship can leave out code-running files and checks the commit afterwards","tier":"notice","area":"Slash Commands","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/ship-can-commit-around-code-running-files-with-a-post-comm","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### \/ship can leave out code-running files and checks the commit afterwards\n\n\/ship can now commit the rest of your work while leaving out files that can run code or set rules, then checks the commit holds only the listed files\n\n**Unclear.** It is not clear what sets `mayLeaveOut`, so users may not be able to reach the leave-out behaviour.\n\n**What**\n\n`\/ship` commits your work to git. Some files can run code or set rules elsewhere. Before, any such file made `\/ship` refuse the whole run and ask you to commit those files yourself.\n\n`\/ship` now accepts an option called `mayLeaveOut`. When it is set, and certain conditions hold, those files are left out of the commit and the rest is committed.\n\nAfter committing, `\/ship` checks that the new commit holds only the files it listed. If it holds others, `\/ship` refuses and tells you to run `git reset` and not to run `\/ship` or `\/steward` again.\n\nThe message shown when the sandbox (the walled-off area where Claude Code runs commands) refuses an empty file now points you to `\/tasks`.\n\n**Why**\n\nThis changes when `\/ship` refuses, and the check after committing catches a commit that picked up files it should not have.\n\n- Area: Slash Commands\n- Names: `\/ship`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}