Closing keywords and bare #N references in commit messages act on issues when the commits land on main, via post-receive and the MR merge path. Dedup per issue+sha in migration 0014. e2e covers close, reference, branch-then-merge, and dedup. Merging this MR should itself close #31.