Skip to content

cierre-limpio.mjs

  • Event: Stop
  • Type: wall: blocks the action and says why (exits with code 2)

BLOCKS closing (once) if you leave uncommitted files you touched in this session: either finish and commit (on a branch), or commit and say what is missing. Changes you did NOT touch (another agent such as Codex, another session or the user) are only reported: they are neither committed nor discarded without asking.

See the code of cierre-limpio.mjs on GitHub