[refactor] Introduce command.IgnoredTrap