"""Step definitions for Action CLI uncovered-lines coverage tests.

Covers error-handling paths in ``cleveragents.cli.commands.action``:

* L228-229 - ``ValidationError`` from ``create_action`` -> "Validation Error"
* L230-232 - ``CleverAgentsError`` from ``create_action`` -> "Error:"
* L289-294 - Invalid ``--state`` value on ``list`` -> "Invalid state"
* L353-355 - ``CleverAgentsError`` from ``list_actions`` -> "Error:"
* L388-389 - ``CleverAgentsError`` from ``get_action_by_name`` (show) -> "Error:"
* L428-430 - ``CleverAgentsError`` from ``archive_action`` -> "Error:"

All step definitions used by ``action_cli_uncovered_lines.feature`` are
shared from :pymod:`features.steps.action_cli_steps`.  No additional
step definitions are needed here because the feature reuses the
existing step vocabulary.  Duplicating the ``@given`` / ``@when`` /
``@then`` decorators would trigger behave *ambiguous step* errors.

Shared steps (source → ``features/steps/action_cli_steps.py``):

  Background:
    Given an action CLI runner with mocks           (line 98)
    And a mocked plan lifecycle service             (line 104)

  Givens:
    a valid action config YAML file                 (line 125)
    there is a mocked available action              (line 191)

  Whens:
    I run action CLI create with validation error …  (line 255)
    I run action CLI create with service error …     (line 267)
    I run action CLI list with invalid state "…"     (line 284)
    I run action CLI list with service error          (line 292)
    I run action CLI show with service error          (line 346)
    I run action CLI archive with service error       (line 392)

  Thens:
    the action CLI should abort with validation error (line 507)
    the action CLI should abort with service error    (line 515)
    the action CLI should abort with invalid state    (line 523)
"""

from __future__ import annotations

# All steps are defined in action_cli_steps.py and shared via behave's
# automatic step-file discovery.  This module exists as the canonical
# companion for action_cli_uncovered_lines.feature.
