Files
cleveragents-core/vulture_whitelist.py
T
hamza.khyari b7effcafc1
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 14s
CI / build (pull_request) Successful in 15s
CI / quality (pull_request) Successful in 18s
CI / typecheck (pull_request) Successful in 43s
CI / security (pull_request) Successful in 1m1s
CI / unit_tests (pull_request) Successful in 2m18s
CI / docker (pull_request) Successful in 47s
CI / integration_tests (pull_request) Successful in 4m48s
CI / coverage (pull_request) Successful in 4m29s
CI / benchmark-regression (pull_request) Successful in 29m8s
fix(acms): address PR #565 review findings from CoreRasurae
Resolve 14 review findings across bugs, spec deviations, design gaps,
security, performance, thread safety, and test quality:

- Fix register() guard ordering: isinstance check before attribute access
- Add BackendSet.temporal field for cold-tier backend availability
- Fix temporal-archaeology/plan-decision-context can_handle to require
  temporal backend (spec §43193-43199)
- Add threading.RLock to StrategyRegistry for thread safety
- Add allowed_module_prefixes (CWE-706) to register_from_module
- Change StrategyConfig.extra and ContextStrategyResult.stats to
  MappingProxyType with field_validator coercion (ADR-004 immutability)
- Switch 6 stub capabilities from @property to @functools.cached_property
- Add resource_types/extra params to update_config()
- Add inject_stale_enabled_entry() public test helper
- Rename colliding step patterns to avoid AmbiguousStep with master
- Add scenarios: non-protocol without name, concurrent threads,
  temporal backend regression tests
- Document spec §25223 vs §28682 conflict and colon vs dot notation
2026-03-05 22:00:15 +00:00

819 lines
30 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
safety # noqa: B018, F821
# Safety profile domain model — public API
SafetyProfile # noqa: B018, F821
SafetyProfileRef # noqa: B018, F821
SafetyProfileProvenance # noqa: B018, F821
DEFAULT_SAFETY_PROFILE # noqa: B018, F821
resolve_safety_profile # noqa: B018, F821
safety_profile_json # noqa: B018, F821
require_checkpoints # noqa: B018, F821
require_human_approval # noqa: B018, F821
allow_unsafe_tools # noqa: B018, F821
max_cost_per_plan # noqa: B018, F821
max_retries_per_step # noqa: B018, F821
max_total_cost # noqa: B018, F821
allowed_skill_categories # noqa: B018, F821
safety_profile # noqa: B018, F821
plan_profile # noqa: B018, F821
action_profile # noqa: B018, F821
project_profile # noqa: B018, F821
global_profile # 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
_SandboxRootProxy # noqa: B018, F821
_ProxyContext # noqa: B018, F821
# Sandbox checkpoint — public API (M4)
CheckpointManager # noqa: B018, F821
SandboxCheckpoint # noqa: B018, F821
Checkpointable # noqa: B018, F821
_ApplyPhaseProxy # 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
# Actor compiler — public API surface used by CLI, tests, and benchmarks
compile_actor # noqa: B018, F821
CompilationMetadata # noqa: B018, F821
CompiledActor # noqa: B018, F821
ActorCompilationError # noqa: B018, F821
SubgraphCycleError # noqa: B018, F821
MissingNodeError # noqa: B018, F821
InvalidEntryExitError # noqa: B018, F821
ActorResolver # noqa: B018, F821
# Validation pipeline — public API for validation orchestration (C6.pipeline)
ValidationCommand # noqa: B018, F821
ValidationResult # noqa: B018, F821
ValidationSummary # noqa: B018, F821
ValidationPipeline # noqa: B018, F821
ValidationExecutor # noqa: B018, F821
_normalise_executor_output # noqa: B018, F821
group_by_resource # noqa: B018, F821
run_for_plan # noqa: B018, F821
all_required_passed # noqa: B018, F821
# Concurrency lock service — public API (M4)
LockModel # noqa: B018, F821
LockConflictError # noqa: B018, F821
LockExpiredError # noqa: B018, F821
_check_stale_locks # noqa: B018, F821
# Cost controls (M4) — public API surface used by CLI, tests, and benchmarks
CostEntry # noqa: B018, F821
ProviderCostTable # noqa: B018, F821
CostTracker # noqa: B018, F821
BudgetStatus # noqa: B018, F821
BudgetCheckResult # noqa: B018, F821
FallbackSelector # noqa: B018, F821
FallbackResult # noqa: B018, F821
CostMetadata # noqa: B018, F821
BudgetExhaustionEvent # noqa: B018, F821
budget_per_plan # noqa: B018, F821
budget_per_day # noqa: B018, F821
fallback_providers # noqa: B018, F821
cost_metadata # noqa: B018, F821
budget_remaining # noqa: B018, F821
input_tokens # noqa: B018, F821
output_tokens # noqa: B018, F821
provider_costs # noqa: B018, F821
budget_exhaustion_events # noqa: B018, F821
as_display_dict # noqa: B018, F821
record_usage # noqa: B018, F821
estimate_cost # noqa: B018, F821
get_cost_entry # noqa: B018, F821
list_providers # noqa: B018, F821
list_models # noqa: B018, F821
check_plan_budget # noqa: B018, F821
check_daily_budget # noqa: B018, F821
get_daily_spend # noqa: B018, F821
# Decision DI wiring — public API (M4, #173)
DecisionService # noqa: B018, F821
decision_service # noqa: B018, F821
plan_lifecycle_service # noqa: B018, F821
record_decision # noqa: B018, F821
get_decision # noqa: B018, F821
list_decisions # noqa: B018, F821
get_tree # noqa: B018, F821
get_path_to_root # noqa: B018, F821
mark_superseded # noqa: B018, F821
list_by_type # noqa: B018, F821
_try_record_decision # noqa: B018, F821
_next_seq # noqa: B018, F821
_decision_seq # noqa: B018, F821
# Provider fixes (M4) — Settings.mock_providers and provider resolution helper
mock_providers # noqa: B018, F821
validate_provider_availability # noqa: B018, F821
resolve_provider_by_name # noqa: B018, F821
# Semantic validation service — public API (M6.semantic)
SemanticValidationSeverity # noqa: B018, F821
SemanticCheckResult # noqa: B018, F821
SemanticValidationRule # noqa: B018, F821
SemanticRuleRegistry # noqa: B018, F821
SemanticValidationCache # noqa: B018, F821
SemanticValidationService # noqa: B018, F821
SyntaxCheckRule # noqa: B018, F821
MissingImportRule # noqa: B018, F821
BrokenReferenceRule # noqa: B018, F821
DependencyCycleRule # noqa: B018, F821
DuplicateImportRule # noqa: B018, F821
APIMisuseRule # noqa: B018, F821
MissingSymbolRule # noqa: B018, F821
create_default_registry # noqa: B018, F821
map_severity_to_mode # noqa: B018, F821
resolve_severity # noqa: B018, F821
CONFIG_KEY_ENABLED # noqa: B018, F821
CONFIG_KEY_PYTHON_ENABLED # noqa: B018, F821
CONFIG_KEY_SEVERITY_MAPPING # noqa: B018, F821
DEFAULT_CONFIG # noqa: B018, F821
normalise_output # noqa: B018, F821
as_pipeline_results # noqa: B018, F821
check_file # noqa: B018, F821
python_enabled # noqa: B018, F821
list_rules # noqa: B018, F821
all_rules # noqa: B018, F821
compute_hash # noqa: B018, F821
invalidate # noqa: B018, F821
_BUILTINS_SET # noqa: B018, F821
_STDLIB_MODULE_NAMES # noqa: B018, F821
_DANGEROUS_NAMES # noqa: B018, F821
_DANGEROUS_NAME_DESCRIPTIONS # noqa: B018, F821
_DANGEROUS_ATTRS # noqa: B018, F821
_PYTHON_EXTENSIONS # noqa: B018, F821
_DEFAULT_CACHE_MAX_SIZE # noqa: B018, F821
_collect_binding_names # noqa: B018, F821
_collect_target_names # noqa: B018, F821
_collect_all_scope_names # noqa: B018, F821
_collect_function_local_names # noqa: B018, F821
_iter_functions # noqa: B018, F821
_is_python_file # noqa: B018, F821
# Permission system — public API (issue #344)
PermissionRole # noqa: B018, F821
PermissionScope # noqa: B018, F821
PermissionAction # noqa: B018, F821
RoleBinding # noqa: B018, F821
PermissionCheck # noqa: B018, F821
PermissionPolicy # noqa: B018, F821
ROLE_PERMISSIONS # noqa: B018, F821
DEFAULT_LOCAL_ROLE_MAPPING # noqa: B018, F821
PermissionService # noqa: B018, F821
enforce_permission # noqa: B018, F821
get_default_permission_service # noqa: B018, F821
set_default_permission_service # noqa: B018, F821
check_permission # noqa: B018, F821
is_local_mode # noqa: B018, F821
get_role_bindings # noqa: B018, F821
add_binding # noqa: B018, F821
remove_binding # noqa: B018, F821
# Autonomy guardrails — public API surface
ActorLimits # noqa: B018, F821
AutonomyGuardrails # noqa: B018, F821
GuardrailAuditEntry # noqa: B018, F821
GuardrailAuditTrail # noqa: B018, F821
GuardrailEventType # noqa: B018, F821
GuardrailResult # noqa: B018, F821
GuardrailLock # noqa: B018, F821
AutonomyGuardrailService # noqa: B018, F821
autonomy_guardrail_service # noqa: B018, F821
check_step_limit # noqa: B018, F821
check_tool_budget # noqa: B018, F821
check_wall_clock # noqa: B018, F821
check_actor_tool_calls # noqa: B018, F821
check_confirmation_required # noqa: B018, F821
record_enforcement # noqa: B018, F821
get_audit_trail # noqa: B018, F821
get_audit_trail_as_metadata # noqa: B018, F821
load_from_metadata # noqa: B018, F821
remove_plan # noqa: B018, F821
configure_guardrails # noqa: B018, F821
increment_step # noqa: B018, F821
record_cost # noqa: B018, F821
mark_started # noqa: B018, F821
denied_count # noqa: B018, F821
allowed_count # noqa: B018, F821
add_entry # noqa: B018, F821
max_entries # noqa: B018, F821
max_wall_clock_seconds # noqa: B018, F821
actor_limits # noqa: B018, F821
max_tool_calls_per_invocation # noqa: B018, F821
max_retries_per_failure # noqa: B018, F821
start_time # noqa: B018, F821
_DEFAULT_MAX_AUDIT_ENTRIES # noqa: B018, F821
check_retries_per_failure # noqa: B018, F821
RETRY_BLOCKED # noqa: B018, F821
RETRY_ALLOWED # noqa: B018, F821
validate_start_time # noqa: B018, F821
_enforce_guardrails # noqa: B018, F821
_enforce_guardrails_per_step # noqa: B018, F821
guardrail_service # noqa: B018, F821
# Checkpoint domain models and service — public API (M6)
Checkpoint # noqa: B018, F821
CheckpointMetadata # noqa: B018, F821
CheckpointRetentionPolicy # noqa: B018, F821
RollbackResult # noqa: B018, F821
DEFAULT_RETENTION_POLICY # noqa: B018, F821
CheckpointService # noqa: B018, F821
CheckpointModel # noqa: B018, F821
CheckpointRepository # noqa: B018, F821
CheckpointNotFoundError # noqa: B018, F821
rollback_plan # noqa: B018, F821
_build_checkpoint_service # noqa: B018, F821
validate_checkpoint_type # noqa: B018, F821
# SubplanService public API (issue #197)
spawn_decision_id # noqa: B018, F821
SpawnMetadata # noqa: B018, F821
SpawnEntry # noqa: B018, F821
SpawnResult # noqa: B018, F821
SpawnValidationResult # noqa: B018, F821
SpawnValidationError # noqa: B018, F821
SubplanService # noqa: B018, F821
subplan_service # noqa: B018, F821
validation_errors # noqa: B018, F821
get_spawn_decisions # noqa: B018, F821
build_spawn_entries # noqa: B018, F821
validate_spawn # noqa: B018, F821
# Skeleton compressor — public API (M6 ACMS, issue #194)
SkeletonMetadata # noqa: B018, F821
SkeletonCompressorService # noqa: B018, F821
ContextFragment # noqa: B018, F821
CompressionResult # noqa: B018, F821
DEFAULT_SKELETON_RATIO # noqa: B018, F821
skeleton_compressor_service # noqa: B018, F821
skeleton_metadata # noqa: B018, F821
source_decision_ids # noqa: B018, F821
compressed_tokens # noqa: B018, F821
original_tokens # noqa: B018, F821
fragment_id # noqa: B018, F821
# Execution environment routing — public API (#512)
ExecutionEnvironment # noqa: B018, F821
ExecutionEnvironmentResolver # noqa: B018, F821
ContainerUnavailableError # noqa: B018, F821
CONTAINER_RESOURCE_TYPES # noqa: B018, F821
execution_environment_resolver # noqa: B018, F821
execution_environment # noqa: B018, F821
resolve_execution_environment # noqa: B018, F821
validate_container_available # noqa: B018, F821
resolve_and_validate # noqa: B018, F821
_env_resolver # noqa: B018, F821
# Decomposition service — public API (M6, issue #205)
DecompositionConfig # noqa: B018, F821
DecompositionNode # noqa: B018, F821
DecompositionResult # noqa: B018, F821
DecompositionService # noqa: B018, F821
DependencyEdge # noqa: B018, F821
DependencyGraph # noqa: B018, F821
DependencyType # noqa: B018, F821
DependencyClosureComputer # noqa: B018, F821
ClusterStrategy # noqa: B018, F821
ClusteringStrategy # noqa: B018, F821
decomposition_service # noqa: B018, F821
compute_closure # noqa: B018, F821
compute_dependency_order # noqa: B018, F821
record_decisions # noqa: B018, F821
cluster_by_directory # noqa: B018, F821
cluster_by_language # noqa: B018, F821
cluster_by_size # noqa: B018, F821
deterministic_sort # noqa: B018, F821
topological_sort # noqa: B018, F821
detect_cycles # noqa: B018, F821
clear_cache # noqa: B018, F821
estimate_tokens_for_path # noqa: B018, F821
add_edge # noqa: B018, F821
add_node # noqa: B018, F821
planner_max_depth # noqa: B018, F821
planner_max_files_per_subplan # noqa: B018, F821
planner_max_tokens_per_subplan # noqa: B018, F821
planner_min_files_per_subplan # noqa: B018, F821
# ACP facade wiring — public API error codes and mapping function (#501)
NOT_FOUND # noqa: B018, F821
VALIDATION_ERROR # noqa: B018, F821
INVALID_STATE # noqa: B018, F821
PLAN_ERROR # noqa: B018, F821
AUTH_ERROR # noqa: B018, F821
FORBIDDEN # noqa: B018, F821
CONFIGURATION_ERROR # noqa: B018, F821
INTERNAL_ERROR # noqa: B018, F821
map_domain_error # noqa: B018, F821
_session_service # noqa: B018, F821
_plan_lifecycle_service # noqa: B018, F821
_tool_registry # noqa: B018, F821
_resource_registry_service # noqa: B018, F821
_event_queue # noqa: B018, F821
# Server client stubs — public API for server mode (#201)
ServerClient # noqa: B018, F821
RemoteExecutionClient # noqa: B018, F821
AuthClient # noqa: B018, F821
StubServerClient # noqa: B018, F821
StubRemoteExecutionClient # noqa: B018, F821
StubAuthClient # noqa: B018, F821
ServerConnectionConfig # noqa: B018, F821
resolve_server_mode # noqa: B018, F821
server_connect # noqa: B018, F821
server_status # noqa: B018, F821
_STUB_WARNING # noqa: B018, F821
# MultiProjectService public API (issue #199)
MultiProjectService # noqa: B018, F821
multi_project_service # noqa: B018, F821
MultiProjectMetadata # noqa: B018, F821
ProjectScope # noqa: B018, F821
ProjectScopeResolver # noqa: B018, F821
ChangeSetSummary # noqa: B018, F821
CrossProjectDependency # noqa: B018, F821
resolve_scopes # noqa: B018, F821
resolve_alias # noqa: B018, F821
validate_access_modes # noqa: B018, F821
initialize_scopes # noqa: B018, F821
resolve_context_view # noqa: B018, F821
record_changeset # noqa: B018, F821
validate_cross_project # noqa: B018, F821
is_multi_project # noqa: B018, F821
get_project_scope # noqa: B018, F821
multi_project_metadata # noqa: B018, F821
allow_mixed_access # noqa: B018, F821
total_projects # noqa: B018, F821
project_scopes # noqa: B018, F821
cross_project_dependencies # noqa: B018, F821
changeset_summary # noqa: B018, F821
files_added # noqa: B018, F821
files_deleted # noqa: B018, F821
total_lines_changed # noqa: B018, F821
validation_passed # noqa: B018, F821
source_project # noqa: B018, F821
target_project # noqa: B018, F821
dependency_type # noqa: B018, F821
# Context Strategy Registry — protocol parameter required by ContextStrategy.assemble()
plan_context # noqa: B018, F821
inject_stale_enabled_entry # noqa: B018, F821
# ACMS Backend Abstraction Layer — public API (issue #498)
TextBackend # noqa: B018, F821
VectorBackend # noqa: B018, F821
GraphBackend # noqa: B018, F821
TextResult # noqa: B018, F821
VectorResult # noqa: B018, F821
GraphResult # noqa: B018, F821
InMemoryTextBackend # noqa: B018, F821
InMemoryVectorBackend # noqa: B018, F821
InMemoryGraphBackend # noqa: B018, F821
text_backend # noqa: B018, F821
vector_backend # noqa: B018, F821
graph_backend # noqa: B018, F821
similarity_search # noqa: B018, F821
sparql_query # noqa: B018, F821
get_triples # noqa: B018, F821
traverse # noqa: B018, F821
# ACMS Pipeline — SkeletonCompressor protocol parameter (required by interface)
skeleton_budget # noqa: B018, F821
# Context Tiers — public API (M6 ACMS, issue #208)
ContextTier # noqa: B018, F821
ActorRole # noqa: B018, F821
TieredFragment # noqa: B018, F821
TierBudget # noqa: B018, F821
ActorContextView # noqa: B018, F821
TierMetrics # noqa: B018, F821
ScopedBackendView # noqa: B018, F821
ContextTierService # noqa: B018, F821
context_tier_service # noqa: B018, F821
context_max_tokens_hot # noqa: B018, F821
context_max_decisions_warm # noqa: B018, F821
context_max_decisions_cold # noqa: B018, F821
get_effective_tiers # noqa: B018, F821
total_fragments # noqa: B018, F821
hot_hit_rate # noqa: B018, F821
is_visible # noqa: B018, F821
get_for_actor # noqa: B018, F821
get_scoped_view # noqa: B018, F821
get_metrics # noqa: B018, F821
evict_lru # noqa: B018, F821
_summarize_for_cold # noqa: B018, F821
_budget_from_settings # noqa: B018, F821
_DEFAULT_VISIBLE_TIERS # noqa: B018, F821
_COLD_SUMMARY_MAX_CHARS # noqa: B018, F821
_DEFAULT_MAX_TOKENS_HOT # noqa: B018, F821
_DEFAULT_MAX_DECISIONS_WARM # noqa: B018, F821
_DEFAULT_MAX_DECISIONS_COLD # noqa: B018, F821
_utc_now # noqa: B018, F821
# LLM Trace Observability — public API (issue #500)
LLMTrace # noqa: B018, F821
LLMTraceQuery # noqa: B018, F821
LLMTraceModel # noqa: B018, F821
LLMTraceRepository # noqa: B018, F821
TraceService # noqa: B018, F821
OperationalMetricKey # noqa: B018, F821
MetricEntry # noqa: B018, F821
MetricCollector # noqa: B018, F821
trace_service # noqa: B018, F821
forward_to_langsmith # noqa: B018, F821
_forward_trace_to_langsmith # noqa: B018, F821
compute_metrics # noqa: B018, F821
record_trace # noqa: B018, F821
get_traces # noqa: B018, F821
get_traces_by_decision # noqa: B018, F821
get_trace # noqa: B018, F821
on_plan_start # noqa: B018, F821
on_actor_invocation # noqa: B018, F821
on_tool_execution # noqa: B018, F821
list_by_plan # noqa: B018, F821
list_by_decision # noqa: B018, F821
plan_duration # noqa: B018, F821
plan_cost # noqa: B018, F821
llm_call_count # noqa: B018, F821
PLAN_DURATION_MS # noqa: B018, F821
PLAN_TOTAL_COST_USD # noqa: B018, F821
PLAN_DECISION_COUNT # noqa: B018, F821
ACTOR_INVOCATION_COUNT # noqa: B018, F821
ACTOR_LATENCY_MS # noqa: B018, F821
TOOL_INVOCATION_COUNT # noqa: B018, F821
TOOL_ERROR_RATE # noqa: B018, F821
CONTEXT_BUILD_TIME_MS # noqa: B018, F821
CONTEXT_TOKEN_COUNT # noqa: B018, F821
LLM_CALL_COUNT # noqa: B018, F821
LLM_TOTAL_TOKENS # noqa: B018, F821
LLM_TOTAL_COST_USD # noqa: B018, F821
LLM_AVG_LATENCY_MS # noqa: B018, F821
SUBPLAN_COUNT # noqa: B018, F821
_build_trace_service # noqa: B018, F821
# Sandbox boundary algebra — public API (M6, issue #548)
SandboxBoundaryError # noqa: B018, F821
NoSandboxBoundaryError # noqa: B018, F821
BoundaryCache # noqa: B018, F821
is_sandbox_boundary # noqa: B018, F821
sandbox_boundary # noqa: B018, F821
compute_sandbox_domains # noqa: B018, F821
resolve_sandbox_key # noqa: B018, F821
get_or_create_sandbox_for_resource # noqa: B018, F821
clear_boundary_cache # noqa: B018, F821
boundary_cache_size # noqa: B018, F821
_MAX_DAG_DEPTH # noqa: B018, F821
# Semantic Escalation — public API used by AutonomyController and tests
AutonomyController # noqa: B018, F821
ConfidenceFactors # noqa: B018, F821
EscalationDecision # noqa: B018, F821
HistoricalOutcome # noqa: B018, F821
OperationContext # noqa: B018, F821
autonomy_controller # noqa: B018, F821
# Invariant Reconciliation Actor — public API (M6, issue #549)
InvariantReconciliationActor # noqa: B018, F821
ReconciliationResult # noqa: B018, F821
ConflictRecord # noqa: B018, F821
ScopeInvariants # noqa: B018, F821
reconcile_invariants # noqa: B018, F821
# Async job execution and workers — public API (issue #312)
AsyncJobStatus # noqa: B018, F821
AsyncJob # noqa: B018, F821
InvalidJobTransitionError # noqa: B018, F821
VALID_JOB_TRANSITIONS # noqa: B018, F821
TERMINAL_STATUSES # noqa: B018, F821
VALID_PHASES # noqa: B018, F821
ULID_PATTERN # noqa: B018, F821
can_transition_job # noqa: B018, F821
serialize_job_payload # noqa: B018, F821
deserialize_job_payload # noqa: B018, F821
AsyncWorker # noqa: B018, F821
AsyncWorkerConfig # noqa: B018, F821
InMemoryJobStore # noqa: B018, F821
CancellationToken # noqa: B018, F821
WorkerHealthReport # noqa: B018, F821
is_terminal # noqa: B018, F821
is_running # noqa: B018, F821
payload # noqa: B018, F821
transition_to # noqa: B018, F821
mark_running # noqa: B018, F821
mark_succeeded # noqa: B018, F821
mark_failed # noqa: B018, F821
mark_cancelled # noqa: B018, F821
record_heartbeat # noqa: B018, F821
as_cli_dict # noqa: B018, F821
pickup_and_execute # noqa: B018, F821
cancel_job # noqa: B018, F821
detect_stuck_jobs # noqa: B018, F821
cleanup_completed_jobs # noqa: B018, F821
get_health_report # noqa: B018, F821
request_shutdown # noqa: B018, F821
list_by_status # noqa: B018, F821
snapshot_counts # noqa: B018, F821
remove_expired # noqa: B018, F821
record_job_cancelled # noqa: B018, F821
jobs_cancelled # noqa: B018, F821
error_message # noqa: B018, F821
_check_async_worker_health # noqa: B018, F821
async_enabled # noqa: B018, F821
async_max_workers # noqa: B018, F821
async_poll_interval # noqa: B018, F821
async_job_timeout # noqa: B018, F821
async_job_ttl # noqa: B018, F821
validate_phase # noqa: B018, F821
validate_payload_json # noqa: B018, F821
AsyncJobModel # noqa: B018, F821
# Context strategies batch 1 -- public API (issue #541)
SimpleKeywordStrategy # noqa: B018, F821
SemanticEmbeddingStrategy # noqa: B018, F821
BreadthDepthNavigatorStrategy # noqa: B018, F821
set_query # noqa: B018, F821
set_focus # noqa: B018, F821
_extract_keywords # noqa: B018, F821
_tokenize # noqa: B018, F821
_keyword_match_score # noqa: B018, F821
_word_density # noqa: B018, F821
_jaccard_similarity # noqa: B018, F821
_uri_segments # noqa: B018, F821
_max_proximity # noqa: B018, F821
# ACMS Pipeline Phase 2 — Fragment Fusion components (public API)
ContentHashDeduplicator # noqa: B018, F821
MaxDepthResolver # noqa: B018, F821
WeightedCompositeScorer # noqa: B018, F821
GreedyKnapsackPacker # noqa: B018, F821
ScorerWeights # noqa: B018, F821
ScoredFragment # noqa: B018, F821
score_detailed # noqa: B018, F821
depth_fallback_steps # noqa: B018, F821
min_fragment_tokens # noqa: B018, F821