Skip to content

theinterneti/TTA.dev / .claude/skills/generated/cli

Cli subsystem in TTA.dev: cmd_status and related code. 110 symbols | 27 files | Cohesion: 70%

Cli

110 symbols | 27 files | Cohesion: 70%

When to Use

  • Working on cli-related functionality in TTA.dev
  • Modifying cmd_status
  • Navigating ttadev/cli/run.py, ttadev/cli/models.py

Key Files

FileSymbols
tests/cli/test_status.py_args, _make_validation_result, _make_ok_result, test_exit_code_zero_when_providers_healthy, test_output_contains_checkmark_for_healthy_provider (+14)
tests/cli/test_setup.py_make_args, test_exit_0_when_at_least_one_connected, test_exit_1_when_none_connected, test_json_output_parses, test_json_output_no_key_values (+8)
ttadev/cli/run.pyexecute, _path, get, set, run_cache (+5)
ttadev/cli/models.pyhandle_model_command, _cmd_suggest_qwen, _cmd_ollama, _cmd_ollama_recommend, _cmd_info (+5)
ttadev/cli/control.py_step_duration, _handle_task_create, _handle_task_list, _handle_task_show, _handle_task_claim (+4)
ttadev/cli/setup.py_get_key, cmd_validate_keys, validate_provider, _read_env, _write_env (+4)
ttadev/cli/benchmark.py_validate_response, _benchmark_model, run_benchmark, cmd_benchmark, _run (+2)
ttadev/cli/status.py_provider_slug, _check_port, cmd_status, _count_control_plane
ttadev/cli/hw_detect.pydetect_gpu_vram_gb, detect_system_ram_gb, recommend_ollama_model, hardware_summary
tests/unit/test_hw_detect.py_with_gpu, _no_gpu, test_recommended_model_matches_standalone_recommend

Entry Points

Start here when exploring this area:

  • cmd_status (Function) — ttadev/cli/status.py:122
  • test_exit_code_zero_when_providers_healthy (Function) — tests/cli/test_status.py:200
  • test_output_contains_checkmark_for_healthy_provider (Function) — tests/cli/test_status.py:216
  • test_output_shows_latency_for_healthy_providers (Function) — tests/cli/test_status.py:240
  • test_exit_code_one_when_all_missing (Function) — tests/cli/test_status.py:266

Key Symbols

SymbolTypeFileLine
cmd_statusFunctionttadev/cli/status.py122
test_exit_code_zero_when_providers_healthyFunctiontests/cli/test_status.py200
test_output_contains_checkmark_for_healthy_providerFunctiontests/cli/test_status.py216
test_output_shows_latency_for_healthy_providersFunctiontests/cli/test_status.py240
test_exit_code_one_when_all_missingFunctiontests/cli/test_status.py266
test_output_shows_missing_key_messageFunctiontests/cli/test_status.py282
test_json_output_is_valid_jsonFunctiontests/cli/test_status.py304
test_json_output_has_required_keysFunctiontests/cli/test_status.py324
test_json_output_contains_no_key_valuesFunctiontests/cli/test_status.py342
test_json_healthy_true_when_provider_connectedFunctiontests/cli/test_status.py361
test_json_healthy_false_when_all_failFunctiontests/cli/test_status.py378
test_dashboard_running_shown_in_outputFunctiontests/cli/test_status.py399
test_mcp_running_shown_in_outputFunctiontests/cli/test_status.py417
test_json_services_reflect_port_stateFunctiontests/cli/test_status.py434
test_control_plane_counts_in_human_outputFunctiontests/cli/test_status.py455
test_control_plane_counts_in_json_outputFunctiontests/cli/test_status.py471
cmd_validate_keysFunctionttadev/cli/setup.py314
test_exit_0_when_at_least_one_connectedFunctiontests/cli/test_setup.py281
test_exit_1_when_none_connectedFunctiontests/cli/test_setup.py296
test_json_output_parsesFunctiontests/cli/test_setup.py309

Execution Flows

FlowTypeSteps
Handle_model_command → Rank_models_for_taskcross_community6
Handle_model_command → _classify_entrycross_community6
Handle_model_command → Estimate_finetune_costcross_community5
Handle_model_command → Estimate_quality_improvementcross_community5
Handle_model_command → Calculate_roi_breakevencross_community5
Main → _pathcross_community4
Handle_model_command → _build_rationaleintra_community4
Main → Register_agent_subcommandscross_community3
Main → Register_agents_subcommandscross_community3
Main → Register_workflow_subcommandscross_community3

Connected Areas

AreaConnections
Unit36 calls
Control_plane4 calls
Observability3 calls
Model_advisor2 calls
Agents1 calls

How to Explore

  1. gitnexus_context({name: "cmd_status"}) — see callers and callees
  2. gitnexus_query({query: "cli"}) — find related execution flows
  3. Read key files listed above for implementation details
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 318kUpdated Claude CodeCodexUnverifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 318kUpdated Claude CodeCodexUnverifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 318kUpdated Claude CodeCodexUnverifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 318kUpdated Claude CodeCodexUnverifiedInstall