Feature: Project CLI delete spec alignment
  As a developer
  I want the project delete command output to match the v3 specification
  So that JSON and YAML output include the deleted, success, and deleted_at fields

  Background:
    Given a project delete spec alignment CLI runner
    And a project delete spec alignment mocked repository

  Scenario: Project delete JSON output includes deleted field
    Given a project delete spec alignment project "local/docs" exists
    When I run project delete spec alignment for "local/docs" with format "json"
    Then the project delete spec alignment output should contain "deleted"

  Scenario: Project delete JSON output includes success field
    Given a project delete spec alignment project "local/docs" exists
    When I run project delete spec alignment for "local/docs" with format "json"
    Then the project delete spec alignment output should contain "success"

  Scenario: Project delete JSON output includes deleted_at field
    Given a project delete spec alignment project "local/docs" exists
    When I run project delete spec alignment for "local/docs" with format "json"
    Then the project delete spec alignment output should contain "deleted_at"

  Scenario: Project delete JSON output does not include deletion_summary
    Given a project delete spec alignment project "local/docs" exists
    When I run project delete spec alignment for "local/docs" with format "json"
    Then the project delete spec alignment output should not contain "deletion_summary"

  Scenario: Project delete YAML output includes deleted field
    Given a project delete spec alignment project "local/docs" exists
    When I run project delete spec alignment for "local/docs" with format "yaml"
    Then the project delete spec alignment output should contain "deleted"

  Scenario: Project delete YAML output includes success field
    Given a project delete spec alignment project "local/docs" exists
    When I run project delete spec alignment for "local/docs" with format "yaml"
    Then the project delete spec alignment output should contain "success"

  Scenario: Project delete YAML output includes deleted_at field
    Given a project delete spec alignment project "local/docs" exists
    When I run project delete spec alignment for "local/docs" with format "yaml"
    Then the project delete spec alignment output should contain "deleted_at"

  Scenario: Project delete YAML output does not include deletion_summary
    Given a project delete spec alignment project "local/docs" exists
    When I run project delete spec alignment for "local/docs" with format "yaml"
    Then the project delete spec alignment output should not contain "deletion_summary"

  Scenario: Project delete success field is true
    Given a project delete spec alignment project "local/docs" exists
    When I run project delete spec alignment for "local/docs" with format "json"
    Then the project delete spec alignment JSON success field should be true

  Scenario: Project delete deleted field matches project name
    Given a project delete spec alignment project "local/docs" exists
    When I run project delete spec alignment for "local/docs" with format "json"
    Then the project delete spec alignment JSON deleted field should be "local/docs"
