The dirty-tree branch (where git stash create captures uncommitted tracked changes) was untested. Add two cases: one asserting the archive contains the dirty working-copy contents (not HEAD) and the working tree is not mutated; another asserting untracked files are excluded — the contract the --allow-dirty publish warning relies on.