Files
cleveragents-core/vulture_whitelist.py

270 lines
9.7 KiB
Python

# Vulture whitelist for false positives and intentional unused code.
# This file is referenced by vulture to suppress known false positives.
# Each entry represents either:
# - A variable required by a protocol/interface but not used in the body
# - A public API entry point that vulture cannot trace
# Context manager __exit__ parameters required by protocol
exc_tb # noqa: B018, F821
# Legacy migrator method parameter needed for mapping interface consistency
build_data # noqa: B018, F821
# SubplanFailureHandler.should_stop_others parameter required by public API
failed_status # noqa: B018, F821
# CLI formatting module - public API called dynamically by CLI commands
format_output # noqa: B018, F821
OutputFormat # noqa: B018, F821
_serialize_value # noqa: B018, F821
_format_json # noqa: B018, F821
_format_yaml # noqa: B018, F821
_format_plain # noqa: B018, F821
_format_plain_dict # noqa: B018, F821
_format_table # noqa: B018, F821
# Resource type domain model — public API used by schema loader and CLI
ResourceKind # noqa: B018, F821
ResourceTypeArgument # noqa: B018, F821
ResourceTypeSpec # noqa: B018, F821
ResourceTypeSandboxStrategy # noqa: B018, F821
# Resource type schema loader — public API
ResourceTypeConfigSchema # noqa: B018, F821
ResourceTypeArgSchema # noqa: B018, F821
# CLI action/plan spec dict helpers used by --format flag
_action_spec_dict # noqa: B018, F821
_plan_spec_dict # noqa: B018, F821
_FORMAT_HELP # noqa: B018, F821
# Resource repository error classes — public API for service layer
ResourceTypeNotFoundError # noqa: B018, F821
ResourceNotFoundRepoError # noqa: B018, F821
ResourceHasEdgesError # noqa: B018, F821
ResourceTypeHasResourcesError # noqa: B018, F821
DuplicateResourceTypeError # noqa: B018, F821
DuplicateResourceError # noqa: B018, F821
# Resource repository classes — public API
ResourceTypeRepository # noqa: B018, F821
ResourceRepository # noqa: B018, F821
# Project repository exports (public API)
ProjectNotFoundError # noqa: B018, F821
DuplicateLinkError # noqa: B018, F821
NamespacedProjectRepository # noqa: B018, F821
ProjectResourceLinkRepository # noqa: B018, F821
# Project CLI helpers — public API
_project_spec_dict # noqa: B018, F821
_store_project_extras # noqa: B018, F821
_get_namespaced_project_repo # noqa: B018, F821
_get_resource_link_repo # noqa: B018, F821
_get_resource_registry_service # noqa: B018, F821
file_filter_app # noqa: B018, F821
list_projects # noqa: B018, F821
link_resource # noqa: B018, F821
unlink_resource # noqa: B018, F821
# Resource registry service — public API and DI wiring
ResourceRegistryService # noqa: B018, F821
_build_resource_registry_service # noqa: B018, F821
_build_namespaced_project_repo # noqa: B018, F821
_build_project_resource_link_repo # noqa: B018, F821
_BUILTIN_TYPES # noqa: B018, F821
_spec_to_db # noqa: B018, F821
_db_to_spec # noqa: B018, F821
_db_resource_to_domain # noqa: B018, F821
resource_registry_service # noqa: B018, F821
namespaced_project_repo # noqa: B018, F821
project_resource_link_repo # noqa: B018, F821
# Resource CLI commands — public API registered via Typer
type_add # noqa: B018, F821
type_remove # noqa: B018, F821
type_list # noqa: B018, F821
type_show # noqa: B018, F821
resource_add # noqa: B018, F821
resource_list # noqa: B018, F821
resource_show # noqa: B018, F821
resource_remove # noqa: B018, F821
_resource_type_dict # noqa: B018, F821
_resource_dict # noqa: B018, F821
_print_type_panel # noqa: B018, F821
_get_registry_service # noqa: B018, F821
# Automation profile domain model — public API
AutomationProfile # noqa: B018, F821
BUILTIN_PROFILES # noqa: B018, F821
get_builtin_profile # noqa: B018, F821
_THRESHOLD_FIELDS # noqa: B018, F821
validate_threshold # noqa: B018, F821
validate_name_format # noqa: B018, F821
from_config # noqa: B018, F821
# Automation profile service — public API
AutomationProfileService # noqa: B018, F821
LEGACY_AUTOMATION_LEVEL_MAP # noqa: B018, F821
AutomationProfileModel # noqa: B018, F821
AutomationProfileRepository # noqa: B018, F821
AutomationProfileNotFoundError # noqa: B018, F821
DuplicateAutomationProfileError # noqa: B018, F821
AutomationProfileSchemaVersionError # noqa: B018, F821
_LEVEL_TO_PROFILE # noqa: B018, F821
_resolve_profile_for_plan # noqa: B018, F821
default_automation_profile # noqa: B018, F821
# Automation guards — public API (M5.3)
AutomationGuard # noqa: B018, F821
GuardResult # noqa: B018, F821
check_guard # noqa: B018, F821
evaluate_guard # noqa: B018, F821
get_effective_profile # noqa: B018, F821
from_yaml # noqa: B018, F821
max_tool_calls_per_step # noqa: B018, F821
max_total_cost # noqa: B018, F821
tool_allowlist # noqa: B018, F821
tool_denylist # noqa: B018, F821
require_approval_for_writes # noqa: B018, F821
require_approval_for_apply # noqa: B018, F821
requires_approval # noqa: B018, F821
guards # noqa: B018, F821
# Config security scanner — public API (SEC1)
Severity # noqa: B018, F821
Violation # noqa: B018, F821
scan_content # noqa: B018, F821
scan_file # noqa: B018, F821
scan_files # noqa: B018, F821
validate_config_safety # noqa: B018, F821
_cli_main # noqa: B018, F821
_PatternEntry # noqa: B018, F821
_strip_inline_comment # noqa: B018, F821
# Resource DAG — public API and model attributes
ResourceLinkModel # noqa: B018, F821
CycleDetectedError # noqa: B018, F821
TypeIncompatibleError # noqa: B018, F821
LinkNotFoundError # noqa: B018, F821
DuplicateResourceLinkError # noqa: B018, F821
link_child # noqa: B018, F821
unlink_child # noqa: B018, F821
get_children # noqa: B018, F821
get_parents # noqa: B018, F821
auto_discover_children # noqa: B018, F821
_get_ancestors # noqa: B018, F821
_build_cycle_path # noqa: B018, F821
# structlog processor signature — method_name required by processor protocol
method_name # noqa: B018, F821
# Inline tool executor — public API
InlineToolExecutor # noqa: B018, F821
InlineToolResult # noqa: B018, F821
_SUPPORTED_SOURCES # noqa: B018, F821
# Plan executor — public API
StrategizeStubActor # noqa: B018, F821
ExecuteStubActor # noqa: B018, F821
PlanExecutor # noqa: B018, F821
StrategyDecision # noqa: B018, F821
StrategizeResult # noqa: B018, F821
ExecuteResult # noqa: B018, F821
StreamCallback # noqa: B018, F821
run_strategize # noqa: B018, F821
run_execute # noqa: B018, F821
_parse_steps # noqa: B018, F821
invariant_records # noqa: B018, F821
# Output rendering framework — public API (G5b.render)
OutputSession # noqa: B018, F821
StructuredOutput # noqa: B018, F821
ElementHandle # noqa: B018, F821
ElementClosedError # noqa: B018, F821
PanelHandle # noqa: B018, F821
TableHandle # noqa: B018, F821
StatusHandle # noqa: B018, F821
ProgressHandle # noqa: B018, F821
Panel # noqa: B018, F821
PanelEntry # noqa: B018, F821
ColumnDef # noqa: B018, F821
StatusMessage # noqa: B018, F821
ProgressIndicator # noqa: B018, F821
ProgressStep # noqa: B018, F821
MaterializationStrategy # noqa: B018, F821
RichMaterializer # noqa: B018, F821
ColorMaterializer # noqa: B018, F821
TableMaterializer # noqa: B018, F821
PlainMaterializer # noqa: B018, F821
JsonMaterializer # noqa: B018, F821
YamlMaterializer # noqa: B018, F821
select_materializer # noqa: B018, F821
detect_terminal_capabilities # noqa: B018, F821
TerminalCapabilities # noqa: B018, F821
format_output_session # noqa: B018, F821
_error_envelope # noqa: B018, F821
_element_to_dict # noqa: B018, F821
_render_element_plain # noqa: B018, F821
_render_element_color # noqa: B018, F821
_render_element_table # noqa: B018, F821
_render_panel_plain # noqa: B018, F821
_render_table_plain # noqa: B018, F821
_render_status_plain # noqa: B018, F821
_render_progress_plain # noqa: B018, F821
_render_panel_color # noqa: B018, F821
_render_table_color # noqa: B018, F821
_render_status_color # noqa: B018, F821
_render_progress_color # noqa: B018, F821
_render_table_boxdraw # noqa: B018, F821
_panel_entry_to_dict # noqa: B018, F821
_snapshot_to_dict # noqa: B018, F821
_create_strategy # noqa: B018, F821
VALID_FORMATS # noqa: B018, F821
# Plan apply service — public API for diff/artifacts/apply integration (D0b.apply)
PlanApplyService # noqa: B018, F821
_render_diff_plain # noqa: B018, F821
_render_diff_rich # noqa: B018, F821
_render_diff_json # noqa: B018, F821
_build_artifacts_dict # noqa: B018, F821
_operation_label # noqa: B018, F821
_OP_COLORS # noqa: B018, F821
_get_apply_service # noqa: B018, F821
plan_diff # noqa: B018, F821
plan_artifacts # noqa: B018, F821
# Config service — public API for multi-level resolution
ConfigService # noqa: B018, F821
ConfigEntry # noqa: B018, F821
ConfigLevel # noqa: B018, F821
ResolvedValue # noqa: B018, F821
_build_catalog # noqa: B018, F821
_DEFAULT_CONFIG_DIR # noqa: B018, F821
_DEFAULT_CONFIG_PATH # noqa: B018, F821
resolve_all # noqa: B018, F821
env_var_for_key # noqa: B018, F821
registered_keys # noqa: B018, F821
validate_type # noqa: B018, F821
set_value # noqa: B018, F821
write_config # noqa: B018, F821
read_config # noqa: B018, F821
get_entry # noqa: B018, F821
# ToolCallRouter — public API for provider-agnostic tool routing
ToolCallRouter # noqa: B018, F821
ToolCallRequest # noqa: B018, F821
NormalizedToolCallResult # noqa: B018, F821
ProviderFormat # noqa: B018, F821
StreamingStatus # noqa: B018, F821
StreamingToolUpdate # noqa: B018, F821
ToolCallErrorCategory # noqa: B018, F821
detect_provider_format # noqa: B018, F821
normalize_tool_call # noqa: B018, F821
generate_tool_call_id # noqa: B018, F821
classify_tool_error # noqa: B018, F821
normalize_tool_schema_for_provider # noqa: B018, F821
route_batch # noqa: B018, F821
route_streaming # noqa: B018, F821
export_schemas # noqa: B018, F821