@tdd_issue @tdd_issue_6885
Feature: TDD Issue #6885 — Tool CLI bootstraps database automatically
  As a developer
  I want `agents tool list` and `agents validation add` to work on a fresh install
  So that users do not have to run a manual database upgrade before using the registry

  Scenario: Tool list command bootstraps the database automatically
    Given a CLI runner without a bootstrapped registry database
    When I invoke tool list without prior bootstrap
    Then the tool list command should exit successfully
    And the tool list output should indicate that no tools are registered

  Scenario: Validation add command bootstraps the database automatically
    Given a CLI runner without a bootstrapped registry database
    When I invoke validation add without prior bootstrap
    Then the validation add command should exit successfully
    And the validation add output should report the registered validation in JSON
