b5f56a6fb8
Implemented multi-user connection handling with user identity tracking (TeamMember with owner/admin/member/viewer roles), role-based access control (TeamPermission with read/write/admin/manage_members), concurrent session support (SessionRegistry with thread-safe locking and per-user/ per-project queries), and optimistic-locking conflict resolution (VersionStamp with last-writer-wins, reject, and merge strategies). Added TeamCollaborationService as the central orchestrator for all collaboration operations: team membership management, permission enforcement, session lifecycle, and version-stamp conflict detection/ resolution. The service cleans up user sessions when members are removed. Domain models follow existing patterns: Pydantic BaseModel with ConfigDict, StrEnum enums, ULID identifiers, and an error hierarchy rooted in TeamCollaborationError. Includes 48 Behave BDD scenarios (178 steps) covering all models, service operations, and edge cases, plus 15 Robot Framework integration tests for end-to-end workflow validation. ISSUES CLOSED: #863
1247 lines
46 KiB
Python
1247 lines
46 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
|
|
|
|
# OutputMaterializerExtension.materialize and A2ATransportExtension.send protocol
|
|
# parameters — required by interface definition but not used in abstract body
|
|
destination # 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 constants module — standardized exit codes and format options
|
|
EXIT_SUCCESS # noqa: B018, F821
|
|
EXIT_ERROR # noqa: B018, F821
|
|
EXIT_USAGE # noqa: B018, F821
|
|
EXIT_NOT_FOUND # noqa: B018, F821
|
|
EXIT_CONFLICT # noqa: B018, F821
|
|
FORMAT_HELP # noqa: B018, F821
|
|
DEFAULT_FORMAT # noqa: B018, F821
|
|
|
|
# CLI constants module — named format shortcuts
|
|
FORMAT_TEXT # noqa: B018, F821
|
|
FORMAT_JSON # noqa: B018, F821
|
|
FORMAT_TABLE # noqa: B018, F821
|
|
|
|
# CLI error utilities — centralized error formatting
|
|
cli_error # noqa: B018, F821
|
|
cli_warning # noqa: B018, F821
|
|
cli_not_found # noqa: B018, F821
|
|
|
|
# CLI completion command — shell completion script generation
|
|
completion # 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
|
|
|
|
# Database CLI commands — public API registered via Typer (db.py)
|
|
migrate # noqa: B018, F821
|
|
upgrade # noqa: B018, F821
|
|
downgrade # noqa: B018, F821
|
|
history # 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
|
|
CorruptRecordError # 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
|
|
EstimationStubActor # 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
|
|
LiveMaterializationStrategy # 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
|
|
|
|
# Per-session and per-org cost budgets — public API (#584)
|
|
SessionCostBudget # noqa: B018, F821
|
|
OrgCostAccumulator # noqa: B018, F821
|
|
ThreadSafeOrgCostAccumulator # noqa: B018, F821
|
|
BudgetLevel # noqa: B018, F821
|
|
CostBudgetService # noqa: B018, F821
|
|
cost_budget_service # noqa: B018, F821
|
|
associate_plan_with_session # noqa: B018, F821
|
|
check_budget_hierarchy # noqa: B018, F821
|
|
record_plan_cost_to_session # noqa: B018, F821
|
|
session_max_cost_usd # noqa: B018, F821
|
|
org_max_cost_usd # noqa: B018, F821
|
|
budget_warning_threshold # noqa: B018, F821
|
|
cost_budget # noqa: B018, F821
|
|
configure_session_budget # noqa: B018, F821
|
|
configure_org_budget # noqa: B018, F821
|
|
record_plan_cost # noqa: B018, F821
|
|
remove_session # noqa: B018, F821
|
|
remove_org # noqa: B018, F821
|
|
get_session_budget # noqa: B018, F821
|
|
get_org_accumulator # noqa: B018, F821
|
|
would_exceed # noqa: B018, F821
|
|
is_exceeded # noqa: B018, F821
|
|
utilization # noqa: B018, F821
|
|
remaining # noqa: B018, F821
|
|
can_afford # noqa: B018, F821
|
|
exceeded_level # noqa: B018, F821
|
|
warning # noqa: B018, F821
|
|
_plan_session_map # 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
|
|
|
|
# Container lifecycle management — public API (#514)
|
|
ContainerLifecycleState # noqa: B018, F821
|
|
ContainerLifecycleTracker # noqa: B018, F821
|
|
LifecycleTransition # noqa: B018, F821
|
|
validate_transition # noqa: B018, F821
|
|
transition_state # noqa: B018, F821
|
|
VALID_TRANSITIONS # noqa: B018, F821
|
|
DEFAULT_HEALTH_CHECK_INTERVAL # noqa: B018, F821
|
|
get_lifecycle_tracker # noqa: B018, F821
|
|
set_lifecycle_tracker # noqa: B018, F821
|
|
clear_lifecycle_registry # noqa: B018, F821
|
|
list_active_containers # noqa: B018, F821
|
|
activate_container # noqa: B018, F821
|
|
stop_container # noqa: B018, F821
|
|
rebuild_container # noqa: B018, F821
|
|
start_health_check # noqa: B018, F821
|
|
stop_all_active_containers # noqa: B018, F821
|
|
# CODE-1 note: the private symbols below are NOT dead code — they are
|
|
# imported directly by BDD step definitions in features/steps/ for
|
|
# white-box testing of lifecycle internals. Vulture flags them because
|
|
# its scan scope does not include the features/ tree.
|
|
_parse_devcontainer_up_output # noqa: B018, F821 — used in devcontainer_lifecycle_steps.py
|
|
_stop_health_check # noqa: B018, F821 — used in devcontainer_lifecycle_steps.py
|
|
_health_check_loop # noqa: B018, F821 — used in devcontainer_lifecycle_steps.py
|
|
_single_probe # noqa: B018, F821 — used in devcontainer_lifecycle_steps.py
|
|
_lifecycle_registry # noqa: B018, F821 — used in devcontainer_lifecycle_steps.py
|
|
_registry_lock # noqa: B018, F821 — used in devcontainer_lifecycle_steps.py
|
|
_health_check_threads # noqa: B018, F821 — used in devcontainer_lifecycle_steps.py
|
|
_health_check_stop_events # noqa: B018, F821 — used in devcontainer_lifecycle_steps.py
|
|
resource_stop # noqa: B018, F821
|
|
resource_rebuild # noqa: B018, F821
|
|
_STOPPABLE_TYPES # noqa: B018, F821 — used in devcontainer_handler_steps.py
|
|
_REBUILDABLE_TYPES # noqa: B018, F821 — used in devcontainer_handler_steps.py
|
|
stop_active_devcontainers # noqa: B018, F821
|
|
list_active_containers_for_session # noqa: B018, F821
|
|
evict_terminal_trackers # noqa: B018, F821
|
|
_MAX_TERMINAL_TRACKERS # noqa: B018, F821 — used in devcontainer_lifecycle_steps.py
|
|
host_workspace_path # noqa: B018, F821 — F15 fix: new tracker field for host-side workspace path
|
|
_ACTIVATABLE_STATES # noqa: B018, F821 — F16 fix: class attribute on DevcontainerHandler
|
|
|
|
# Tool execution environment preferences — public API (#879)
|
|
EnvironmentPreferenceMode # noqa: B018, F821
|
|
ExecutionEnvironmentPreference # noqa: B018, F821
|
|
target_resource # noqa: B018, F821
|
|
_validate_target # 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
|
|
|
|
# A2A 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
|
|
_cleanup_session_devcontainers # 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
|
|
|
|
# Estimation actor — public API (M5, issue #890)
|
|
EstimationResult # noqa: B018, F821
|
|
estimation_result # noqa: B018, F821
|
|
estimated_cost_usd # noqa: B018, F821
|
|
estimated_tokens # noqa: B018, F821
|
|
estimated_steps # noqa: B018, F821
|
|
estimated_child_plans # noqa: B018, F821
|
|
estimated_time_seconds # noqa: B018, F821
|
|
risk_level # noqa: B018, F821
|
|
risk_factors # noqa: B018, F821
|
|
raw_output # noqa: B018, F821
|
|
_run_estimation # noqa: B018, F821
|
|
ESTIMATOR # 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
|
|
|
|
# Retry policy wiring — public API (M6, issue #313)
|
|
_half_open_permits # noqa: B018, F821
|
|
_retry_depth # noqa: B018, F821
|
|
MAX_RETRY_NESTING_DEPTH # noqa: B018, F821
|
|
MAX_RETRY_TOTAL_TIMEOUT # noqa: B018, F821
|
|
_is_async_callable # noqa: B018, F821
|
|
_sanitize_error_message # noqa: B018, F821
|
|
_CRED_URL_RE # noqa: B018, F821
|
|
_SECRET_RE # noqa: B018, F821
|
|
RetryPolicyConfig # noqa: B018, F821
|
|
CircuitBreakerConfig # noqa: B018, F821
|
|
ServiceRetryPolicy # noqa: B018, F821
|
|
ServiceRetryPolicyRegistry # noqa: B018, F821
|
|
ServiceRetryWiring # noqa: B018, F821
|
|
RetryCategory # noqa: B018, F821
|
|
RetryStrategy # noqa: B018, F821
|
|
CATEGORY_DEFAULTS # noqa: B018, F821
|
|
DEFAULT_NETWORK_RETRY # noqa: B018, F821
|
|
DEFAULT_PROVIDER_RETRY # noqa: B018, F821
|
|
DEFAULT_DATABASE_RETRY # noqa: B018, F821
|
|
DEFAULT_FILE_RETRY # noqa: B018, F821
|
|
DEFAULT_CIRCUIT_BREAKER # noqa: B018, F821
|
|
retry_service_operation # noqa: B018, F821
|
|
is_read_only_plan_operation # noqa: B018, F821
|
|
retry_max_attempts # noqa: B018, F821
|
|
retry_base_delay # noqa: B018, F821
|
|
retry_max_delay # noqa: B018, F821
|
|
retry_jitter # noqa: B018, F821
|
|
retry_backoff_strategy # noqa: B018, F821
|
|
circuit_breaker_failure_threshold # noqa: B018, F821
|
|
circuit_breaker_recovery_timeout # noqa: B018, F821
|
|
circuit_breaker_cooldown # noqa: B018, F821
|
|
retry_service_overrides # noqa: B018, F821
|
|
retry_on_idempotent_only # noqa: B018, F821
|
|
half_open_max_successes # noqa: B018, F821
|
|
cooldown_seconds # noqa: B018, F821
|
|
retry_category # noqa: B018, F821
|
|
wrap_service_method # noqa: B018, F821
|
|
is_circuit_open # noqa: B018, F821
|
|
reset_circuit # noqa: B018, F821
|
|
registered_services # noqa: B018, F821
|
|
all_policies # noqa: B018, F821
|
|
apply_overrides # noqa: B018, F821
|
|
max_delay_ge_base_delay # noqa: B018, F821
|
|
async_execute # noqa: B018, F821
|
|
_build_wait_strategy # noqa: B018, F821
|
|
_log_service_retry_attempt # noqa: B018, F821
|
|
_log_circuit_open # noqa: B018, F821
|
|
_AUTH_HEADER_RE # noqa: B018, F821
|
|
_MAX_RETRY_NESTING_DEPTH # noqa: B018, F821
|
|
_get_wait_strategy # noqa: B018, F821
|
|
_build_cached_wait # noqa: B018, F821
|
|
_wait_strategies # noqa: B018, F821
|
|
total_timeout # 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
|
|
# Spec-aligned Protocol aliases (spec §44794-44856)
|
|
FragmentDeduplicatorProtocol # noqa: B018, F821
|
|
DetailDepthResolverProtocol # noqa: B018, F821
|
|
FragmentScorerProtocol # noqa: B018, F821
|
|
BudgetPackerProtocol # noqa: B018, F821
|
|
FragmentOrdererProtocol # noqa: B018, F821
|
|
|
|
|
|
# LSP Server Stub — public API (issue #203)
|
|
LspServer # noqa: B018, F821
|
|
MAX_CONTENT_LENGTH # noqa: B018, F821
|
|
MAX_HEADER_LINES # noqa: B018, F821
|
|
SERVER_NOT_INITIALIZED # noqa: B018, F821
|
|
MockLspTransport # noqa: B018, F821
|
|
|
|
# cleveragents.cli.commands.lsp — Typer CLI entrypoint for ``agents lsp serve``
|
|
serve # noqa: B018, F821
|
|
|
|
# cleveragents.lsp.server.LspServer.facade — lazy A2A facade property
|
|
facade # noqa: B018, F821
|
|
|
|
# Domain-specific analyzers — public API (issue #588)
|
|
PostgreSQLAnalyzer # noqa: B018, F821
|
|
DockerComposeAnalyzer # noqa: B018, F821
|
|
|
|
# UKO Ontology Domain Registry — public API (issue #574)
|
|
DomainDescriptor # noqa: B018, F821
|
|
TurtleValidationError # noqa: B018, F821
|
|
build_detail_map_chain # noqa: B018, F821
|
|
get_domain # noqa: B018, F821
|
|
get_layer1_domains # noqa: B018, F821
|
|
list_domains # noqa: B018, F821
|
|
validate_turtle # noqa: B018, F821
|
|
validate_turtle_file # noqa: B018, F821
|
|
infra_detail_map # noqa: B018, F821
|
|
|
|
# UKO Ontology Registry — constants and class inventories (issue #574)
|
|
UKO_BASE_IRI # noqa: B018, F821
|
|
UKO_CODE_IRI # noqa: B018, F821
|
|
UKO_DOC_IRI # noqa: B018, F821
|
|
UKO_DATA_IRI # noqa: B018, F821
|
|
UKO_INFRA_IRI # noqa: B018, F821
|
|
LAYER0_CLASSES # noqa: B018, F821
|
|
LAYER1_CODE_CLASSES # noqa: B018, F821
|
|
LAYER1_DOC_CLASSES # noqa: B018, F821
|
|
LAYER1_DATA_CLASSES # noqa: B018, F821
|
|
LAYER1_INFRA_CLASSES # noqa: B018, F821
|
|
|
|
# ACMS Pipeline Phase 3 — Context Finalization components (public API, issue #545)
|
|
RelevanceCoherenceOrderer # noqa: B018, F821
|
|
ProvenancePreambleGenerator # noqa: B018, F821
|
|
relevance_weight # noqa: B018, F821
|
|
coherence_weight # noqa: B018, F821
|
|
|
|
# ACMS Advanced Strategies — batch 2 (public API, issue #545)
|
|
ArceStrategy # noqa: B018, F821
|
|
TemporalArchaeologyStrategy # noqa: B018, F821
|
|
PlanDecisionContextStrategy # noqa: B018, F821
|
|
max_iterations # noqa: B018, F821
|
|
_temporal_score # noqa: B018, F821
|
|
_extract_node_prefix # noqa: B018, F821
|
|
|
|
# Database resource handler — public API (issue #342)
|
|
DatabaseResourceHandler # noqa: B018, F821
|
|
DATABASE_TYPE_DEFS # noqa: B018, F821
|
|
DATABASE_TYPE_NAMES # noqa: B018, F821
|
|
POSTGRES_TYPE_DEF # noqa: B018, F821
|
|
MYSQL_TYPE_DEF # noqa: B018, F821
|
|
SQLITE_TYPE_DEF # noqa: B018, F821
|
|
DUCKDB_TYPE_DEF # noqa: B018, F821
|
|
resolve_connection_args # noqa: B018, F821
|
|
validate_connection # noqa: B018, F821
|
|
|
|
# Transaction sandbox — public API (issue #342)
|
|
TransactionSandbox # noqa: B018, F821
|
|
|
|
# Overlay sandbox — public API (issue #880)
|
|
OverlaySandbox # noqa: B018, F821
|
|
_is_overlayfs_available # noqa: B018, F821
|
|
|
|
# ComponentResolver — pluggable scope chain resolution (#552)
|
|
ComponentResolver # noqa: B018, F821
|
|
ComponentNotFoundError # noqa: B018, F821
|
|
ComponentRegistrationError # noqa: B018, F821
|
|
ScopeLevel # noqa: B018, F821
|
|
ResolutionResult # noqa: B018, F821
|
|
ExtensionPointEntry # noqa: B018, F821
|
|
register_global # noqa: B018, F821
|
|
register_project # noqa: B018, F821
|
|
register_plan # noqa: B018, F821
|
|
resolve # noqa: B018, F821
|
|
load_project_extensions # noqa: B018, F821
|
|
load_plan_extensions # noqa: B018, F821
|
|
has_global # noqa: B018, F821
|
|
has_project # noqa: B018, F821
|
|
has_plan # noqa: B018, F821
|
|
list_global_types # noqa: B018, F821
|
|
list_project_types # noqa: B018, F821
|
|
list_plan_types # noqa: B018, F821
|
|
remove_global # noqa: B018, F821
|
|
remove_project # noqa: B018, F821
|
|
remove_plan # noqa: B018, F821
|
|
invalidate_cache # noqa: B018, F821
|
|
cache_size # noqa: B018, F821
|
|
register_extension_point # noqa: B018, F821
|
|
list_extension_points # noqa: B018, F821
|
|
|
|
# StrategyCoordinator + FusionEngine (issue #192)
|
|
StrategyCoordinator # noqa: B018, F821
|
|
CoordinatorConfig # noqa: B018, F821
|
|
CoordinationResult # noqa: B018, F821
|
|
FusionEngine # noqa: B018, F821
|
|
FusionConfig # noqa: B018, F821
|
|
FusionResult # noqa: B018, F821
|
|
coordinate # noqa: B018, F821
|
|
fuse # noqa: B018, F821
|
|
overage_guard_enabled # noqa: B018, F821
|
|
per_strategy_max_cap # noqa: B018, F821
|
|
circuit_broken # noqa: B018, F821
|
|
strategies_used # noqa: B018, F821
|
|
dedup_count # noqa: B018, F821
|
|
depth_resolved_count # noqa: B018, F821
|
|
dropped_by_overage_guard # noqa: B018, F821
|
|
budget_utilization # noqa: B018, F821
|
|
fusion_input_count # noqa: B018, F821
|
|
|
|
# VectorIndexBackend protocol parameter — used by implementations
|
|
min_relevance # noqa: B018, F821
|
|
|
|
# Index backend stubs — protocol compliance assertions
|
|
_assert_text # noqa: B018, F821
|
|
_assert_vector # noqa: B018, F821
|
|
_assert_graph # noqa: B018, F821
|
|
|
|
# UKO Indexer — public API, DI wiring, and protocol compliance assertions
|
|
DEFAULT_MAX_TRIPLES # noqa: B018, F821
|
|
UKOIndexer # noqa: B018, F821
|
|
uko_indexer # noqa: B018, F821
|
|
analyzer_registry # noqa: B018, F821
|
|
_assert_hook # noqa: B018, F821
|
|
_assert_reader # noqa: B018, F821
|
|
|
|
# ResourceFileWatcher — public API (issue #578, file-watching)
|
|
FileChangeType # noqa: B018, F821
|
|
ResourceFileWatcher # noqa: B018, F821
|
|
DEFAULT_DEBOUNCE_SECONDS # noqa: B018, F821
|
|
auto_reindex # noqa: B018, F821
|
|
resource_file_watcher # noqa: B018, F821
|
|
_sanitize_log_value # noqa: B018, F821
|
|
|
|
# Index stubs — size limit constant
|
|
DEFAULT_MAX_STUB_ENTRIES # noqa: B018, F821
|
|
|
|
# UKO Indexer protocols — public API (issue #578)
|
|
DEFAULT_MAX_CONTENT_SIZE # noqa: B018, F821
|
|
DefaultLifecycleHook # noqa: B018, F821
|
|
LocationContentReader # noqa: B018, F821
|
|
|
|
# Analyzer __all__ exports — public API (issue #578)
|
|
safe_uri_segment # noqa: B018, F821
|
|
|
|
# Container DI factory — wired via dependency_injector (issue #578)
|
|
_build_analyzer_registry # noqa: B018, F821
|
|
|
|
# ReactiveEventBus.audit_log — public property for event audit trail (#587)
|
|
audit_log # noqa: B018, F821
|
|
|
|
# Test doubles — public API for BDD/Robot test infrastructure
|
|
TrackingEventBus # noqa: B018, F821
|
|
|
|
# Container Tool Execution (#515) — public API
|
|
ContainerConfig # noqa: B018, F821
|
|
ContainerExecutionError # noqa: B018, F821
|
|
ContainerMetadata # noqa: B018, F821
|
|
ContainerTimeoutError # noqa: B018, F821
|
|
ContainerToolExecutor # noqa: B018, F821
|
|
PathMapper # noqa: B018, F821
|
|
container_metadata # noqa: B018, F821
|
|
container_id # noqa: B018, F821
|
|
exec_time_ms # noqa: B018, F821
|
|
exit_code # noqa: B018, F821
|
|
host_root # noqa: B018, F821
|
|
container_root # noqa: B018, F821
|
|
host_sandbox_path # noqa: B018, F821
|
|
image # noqa: B018, F821
|
|
is_container_path # noqa: B018, F821
|
|
is_host_path # noqa: B018, F821
|
|
host_to_container # noqa: B018, F821
|
|
container_to_host # noqa: B018, F821
|
|
sync_results_to_host # noqa: B018, F821
|
|
timed_out # noqa: B018, F821
|
|
timeout_seconds # noqa: B018, F821
|
|
workspace_folder # noqa: B018, F821
|
|
execute_tool # noqa: B018, F821
|
|
wrap_service_method # noqa: B018, F821
|
|
|
|
# LSP functional runtime — public API (#826)
|
|
StdioTransport # noqa: B018, F821
|
|
LspClient # noqa: B018, F821
|
|
LspLifecycleManager # noqa: B018, F821
|
|
LanguageDiscovery # noqa: B018, F821
|
|
activate_bindings # noqa: B018, F821
|
|
deactivate_bindings # noqa: B018, F821
|
|
detect_file_language # noqa: B018, F821
|
|
detect_directory_languages # noqa: B018, F821
|
|
get_servers_for_language # noqa: B018, F821
|
|
restart_server # noqa: B018, F821
|
|
_make_runtime_handler # noqa: B018, F821
|
|
|
|
# LSP config fields — public API (#835)
|
|
LspTransport # noqa: B018, F821
|
|
|
|
# Checkpoint rollback wiring (#943) — public API for correction service
|
|
create_workspace_snapshot # noqa: B018, F821
|
|
selective_rollback # noqa: B018, F821
|
|
archive_artifacts # noqa: B018, F821
|
|
revert_decisions # noqa: B018, F821
|
|
|
|
# Extension protocol parameters — required by Protocol interface definitions
|
|
destination # noqa: B018, F821
|
|
|
|
# ASGI server infrastructure — FastAPI route handlers and ServerLifecycle public API
|
|
agent_card_endpoint # noqa: B018, F821
|
|
health_endpoint # noqa: B018, F821
|
|
a2a_endpoint # noqa: B018, F821
|
|
server_start # noqa: B018, F821
|
|
run_server # noqa: B018, F821
|
|
|
|
# Team collaboration module — public API entry points
|
|
TeamRole # noqa: B018, F821
|
|
TeamPermission # noqa: B018, F821
|
|
ConflictResolutionStrategy # noqa: B018, F821
|
|
TEAM_ROLE_PERMISSIONS # noqa: B018, F821
|
|
TeamMember # noqa: B018, F821
|
|
TeamMemberExistsError # noqa: B018, F821
|
|
TeamMemberNotFoundError # noqa: B018, F821
|
|
TeamCollaborationError # noqa: B018, F821
|
|
VersionConflictError # noqa: B018, F821
|
|
VersionStamp # noqa: B018, F821
|
|
UserSession # noqa: B018, F821
|
|
SessionRegistry # noqa: B018, F821
|
|
ConflictDetectionResult # noqa: B018, F821
|
|
TeamCollaborationService # noqa: B018, F821
|
|
generate_session_id # noqa: B018, F821
|
|
|
|
# Pydantic @classmethod validator parameter required by decorator protocol
|
|
cls # noqa: B018, F821
|