{ "version": "2.0", "generated_at": "2026-07-17", "file_thresholds": [ { "path": "agent-client/claude/iop-claude-gateway.py", "metric": "file_loc", "level": "warning", "value": 660, "reason": "file production exceeds warning threshold (660 > 500)" }, { "path": "agent-ops/skills/common/code-review/SKILL.md", "metric": "file_loc", "level": "warning", "value": 490, "reason": "file skill_entrypoint exceeds warning threshold (490 > 300)" }, { "path": "agent-ops/skills/common/plan/SKILL.md", "metric": "file_loc", "level": "split_review", "value": 513, "reason": "file skill_entrypoint exceeds split_review threshold (513 > 500)" }, { "path": "agent-ops/skills/common/update-roadmap/SKILL.md", "metric": "file_loc", "level": "split_review", "value": 566, "reason": "accepted ceiling 566 for committed update-roadmap workflow growth in 1378a7f; bounded at 566 pending milestone task skill-entrypoints" }, { "path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go", "metric": "file_loc", "level": "warning", "value": 867, "reason": "file test exceeds warning threshold (867 > 800)" }, { "path": "apps/edge/internal/configrefresh/classify.go", "metric": "file_loc", "level": "warning", "value": 518, "reason": "file production exceeds warning threshold (518 > 500)" }, { "path": "apps/edge/internal/controlplane/connector_test.go", "metric": "file_loc", "level": "warning", "value": 923, "reason": "file test exceeds warning threshold (923 > 800)" }, { "path": "apps/edge/internal/edgevalidate/validate_test.go", "metric": "file_loc", "level": "warning", "value": 988, "reason": "file test exceeds warning threshold (988 > 800)" }, { "path": "apps/edge/internal/node/mapper_test.go", "metric": "file_loc", "level": "warning", "value": 885, "reason": "file test exceeds warning threshold (885 > 800)" }, { "path": "apps/edge/internal/openai/chat_stream_reasoning_test.go", "metric": "file_loc", "level": "warning", "value": 848, "reason": "file test exceeds warning threshold (848 > 800)" }, { "path": "apps/edge/internal/openai/chat_tool_synthesis_test.go", "metric": "file_loc", "level": "warning", "value": 853, "reason": "file test exceeds warning threshold (853 > 800)" }, { "path": "apps/edge/internal/openai/provider_selection_test.go", "metric": "file_loc", "level": "warning", "value": 850, "reason": "file test exceeds warning threshold (850 > 800)" }, { "path": "apps/edge/internal/openai/provider_tunnel_test.go", "metric": "file_loc", "level": "warning", "value": 879, "reason": "file test exceeds warning threshold (879 > 800)" }, { "path": "apps/edge/internal/service/provider_scheduling_advanced_test.go", "metric": "file_loc", "level": "warning", "value": 866, "reason": "file test exceeds warning threshold (866 > 800)" }, { "path": "apps/edge/internal/service/run_command_test.go", "metric": "file_loc", "level": "warning", "value": 941, "reason": "file test exceeds warning threshold (941 > 800)" }, { "path": "apps/edge/internal/service/run_dispatch_internal_test.go", "metric": "file_loc", "level": "warning", "value": 926, "reason": "file test exceeds warning threshold (926 > 800)" }, { "path": "apps/node/internal/adapters/cli/codex_app_server.go", "metric": "file_loc", "level": "warning", "value": 643, "reason": "file production exceeds warning threshold (643 > 500)" }, { "path": "apps/node/internal/adapters/cli/codex_app_server_session_test.go", "metric": "file_loc", "level": "warning", "value": 844, "reason": "file test exceeds warning threshold (844 > 800)" }, { "path": "apps/node/internal/adapters/cli/emitters.go", "metric": "file_loc", "level": "warning", "value": 509, "reason": "file production exceeds warning threshold (509 > 500)" }, { "path": "apps/node/internal/adapters/cli/opencode_sse.go", "metric": "file_loc", "level": "split_review", "value": 863, "reason": "file production exceeds split_review threshold (863 > 800)" }, { "path": "apps/node/internal/adapters/cli/persistent.go", "metric": "file_loc", "level": "warning", "value": 702, "reason": "file production exceeds warning threshold (702 > 500)" }, { "path": "apps/node/internal/adapters/cli/persistent_output_filter.go", "metric": "file_loc", "level": "warning", "value": 701, "reason": "file production exceeds warning threshold (701 > 500)" }, { "path": "apps/node/internal/adapters/vllm/vllm_test.go", "metric": "file_loc", "level": "warning", "value": 959, "reason": "file test exceeds warning threshold (959 > 800)" }, { "path": "apps/node/internal/node/command_test.go", "metric": "file_loc", "level": "warning", "value": 891, "reason": "file test exceeds warning threshold (891 > 800)" }, { "path": "packages/go/config/edge_openai_config_test.go", "metric": "file_loc", "level": "warning", "value": 935, "reason": "file test exceeds warning threshold (935 > 800)" }, { "path": "packages/go/config/provider_catalog_validation_config_test.go", "metric": "file_loc", "level": "warning", "value": 938, "reason": "file test exceeds warning threshold (938 > 800)" }, { "path": "scripts/readability_audit.py", "metric": "file_loc", "level": "exception", "value": 2076, "reason": "file production exceeds exception threshold (2076 > 1000)" }, { "path": "scripts/readability_audit_test.py", "metric": "file_loc", "level": "split_review", "value": 2314, "reason": "file test exceeds split_review threshold (2314 > 1000)" } ], "function_thresholds": [ { "path": "agent-ops/bin/init-agent-ops.sh", "metric": "function_loc", "level": "warning", "value": 101, "function": "ensure_agent_test_profile", "reason": "function ensure_agent_test_profile exceeds warning threshold (101 > 80)" }, { "path": "apps/client/lib/widgets/execution_logs_panel.dart", "metric": "function_loc", "level": "warning", "value": 113, "function": "ExecutionLogsPanel._buildLogsContent", "reason": "function ExecutionLogsPanel._buildLogsContent exceeds warning threshold (113 > 80)" }, { "path": "apps/client/test/app_shell_test.dart", "metric": "function_loc", "level": "warning", "value": 104, "function": "main", "reason": "function main exceeds warning threshold (104 > 80)" }, { "path": "apps/client/test/client_bootstrap_test.dart", "metric": "function_loc", "level": "warning", "value": 97, "function": "main", "reason": "function main exceeds warning threshold (97 > 80)" }, { "path": "apps/client/test/control_plane_status_controller_test.dart", "metric": "function_loc", "level": "split_review", "value": 199, "function": "main", "reason": "function main exceeds split_review threshold (199 > 120)" }, { "path": "apps/client/test/edge_nodes_panels_test.dart", "metric": "function_loc", "level": "split_review", "value": 217, "function": "main", "reason": "function main exceeds split_review threshold (217 > 120); +3 for two added EdgesPanel/NodesPanel state-preservation test invocations" }, { "path": "apps/client/test/notification_integration_test.dart", "metric": "function_loc", "level": "warning", "value": 118, "function": "main", "reason": "function main exceeds warning threshold (118 > 80)" }, { "path": "apps/client/test/provider_status_test.dart", "metric": "function_loc", "level": "split_review", "value": 466, "function": "main", "reason": "function main exceeds split_review threshold (466 > 120)" }, { "path": "apps/client/test/support/client_test_harness.dart", "metric": "function_loc", "level": "split_review", "value": 128, "function": "FakeControlPlaneStatusRepository.fetchEdgeStatus", "reason": "function FakeControlPlaneStatusRepository.fetchEdgeStatus exceeds split_review threshold (128 > 120)" }, { "path": "apps/control-plane/cmd/control-plane/edge_registry_handler_test.go", "metric": "function_loc", "level": "warning", "value": 93, "function": "TestEdgeCommandHTTPHandlerDispatchesToTargetEdge", "reason": "function TestEdgeCommandHTTPHandlerDispatchesToTargetEdge exceeds warning threshold (93 > 80)" }, { "path": "apps/control-plane/cmd/control-plane/edge_registry_handler_test.go", "metric": "function_loc", "level": "split_review", "value": 277, "function": "TestEdgeRegistryHTTPHandlersGetLiveStatus", "reason": "function TestEdgeRegistryHTTPHandlersGetLiveStatus exceeds split_review threshold (277 > 120)" }, { "path": "apps/control-plane/cmd/control-plane/edge_registry_handler_test.go", "metric": "function_loc", "level": "warning", "value": 93, "function": "TestEdgeRegistryHTTPHandlersListNodeEvents", "reason": "function TestEdgeRegistryHTTPHandlersListNodeEvents exceeds warning threshold (93 > 80)" }, { "path": "apps/control-plane/cmd/control-plane/fleet_handler_test.go", "metric": "function_loc", "level": "warning", "value": 97, "function": "TestFleetStatusHTTPHandlerCombinesConnectionAndCapabilities", "reason": "function TestFleetStatusHTTPHandlerCombinesConnectionAndCapabilities exceeds warning threshold (97 > 80)" }, { "path": "apps/control-plane/cmd/control-plane/http_edge_handlers.go", "metric": "function_loc", "level": "warning", "value": 94, "function": "registerEdgeRegistryHandlers", "reason": "function registerEdgeRegistryHandlers exceeds warning threshold (94 > 80)" }, { "path": "apps/control-plane/internal/wire/edge_server.go", "metric": "function_loc", "level": "warning", "value": 110, "function": "NewEdgeServer", "reason": "function NewEdgeServer exceeds warning threshold (110 > 80)" }, { "path": "apps/edge/cmd/edge/bootstrap_node_command_test.go", "metric": "function_loc", "level": "warning", "value": 88, "function": "TestNodeRegisterPreservesDefaultedNonNodeConfig", "reason": "function TestNodeRegisterPreservesDefaultedNonNodeConfig exceeds warning threshold (88 > 80)" }, { "path": "apps/edge/cmd/edge/root_config_command_test.go", "metric": "function_loc", "level": "warning", "value": 84, "function": "TestConfigCheckRejectsDuplicateNodeTokenAndInvalidConfigs", "reason": "function TestConfigCheckRejectsDuplicateNodeTokenAndInvalidConfigs exceeds warning threshold (84 > 80)" }, { "path": "apps/edge/cmd/edge/smoke_command_test.go", "metric": "function_loc", "level": "warning", "value": 83, "function": "TestSmokeOpenAICommandFailure", "reason": "function TestSmokeOpenAICommandFailure exceeds warning threshold (83 > 80)" }, { "path": "apps/edge/cmd/edge/smoke_command_test.go", "metric": "function_loc", "level": "warning", "value": 92, "function": "TestSmokeOpenAICommandWorkspace", "reason": "function TestSmokeOpenAICommandWorkspace exceeds warning threshold (92 > 80)" }, { "path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go", "metric": "function_loc", "level": "split_review", "value": 219, "function": "TestRefreshConfigApplyIncludesNodeResults", "reason": "function TestRefreshConfigApplyIncludesNodeResults exceeds split_review threshold (219 > 120)" }, { "path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go", "metric": "function_loc", "level": "split_review", "value": 151, "function": "TestRefreshConfigApplyNoChangeSkipsNodePush", "reason": "function TestRefreshConfigApplyNoChangeSkipsNodePush exceeds split_review threshold (151 > 120)" }, { "path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go", "metric": "function_loc", "level": "split_review", "value": 152, "function": "TestRefreshConfigApplySkipsDisconnectedConfiguredNode", "reason": "function TestRefreshConfigApplySkipsDisconnectedConfiguredNode exceeds split_review threshold (152 > 120)" }, { "path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go", "metric": "function_loc", "level": "split_review", "value": 148, "function": "TestRefreshConfigNodeRuntimeConcurrencyApplied", "reason": "function TestRefreshConfigNodeRuntimeConcurrencyApplied exceeds split_review threshold (148 > 120)" }, { "path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go", "metric": "function_loc", "level": "split_review", "value": 154, "function": "TestRefreshRejectedPreservesProviderDispatch", "reason": "function TestRefreshRejectedPreservesProviderDispatch exceeds split_review threshold (154 > 120)" }, { "path": "apps/edge/internal/bootstrap/runtime_refresh_test.go", "metric": "function_loc", "level": "split_review", "value": 166, "function": "TestRefreshAdminDryRunAndApplyReachRunningRuntime", "reason": "function TestRefreshAdminDryRunAndApplyReachRunningRuntime exceeds split_review threshold (166 > 120)" }, { "path": "apps/edge/internal/bootstrap/runtime_refresh_test.go", "metric": "function_loc", "level": "split_review", "value": 146, "function": "TestRefreshApplyConcurrentRuntimeReaders", "reason": "function TestRefreshApplyConcurrentRuntimeReaders exceeds split_review threshold (146 > 120)" }, { "path": "apps/edge/internal/configrefresh/node_runtime_classify_test.go", "metric": "function_loc", "level": "warning", "value": 101, "function": "TestClassifyModelCatalogProviderMappingApplied", "reason": "function TestClassifyModelCatalogProviderMappingApplied exceeds warning threshold (101 > 80)" }, { "path": "apps/edge/internal/configrefresh/path_refresh_test.go", "metric": "function_loc", "level": "warning", "value": 84, "function": "TestClassifyDryRunTwiceNoDiff", "reason": "function TestClassifyDryRunTwiceNoDiff exceeds warning threshold (84 > 80)" }, { "path": "apps/edge/internal/configrefresh/path_refresh_test.go", "metric": "function_loc", "level": "warning", "value": 109, "function": "TestClassifyExplicitRelativeLoggingPathNoRestartRequired", "reason": "function TestClassifyExplicitRelativeLoggingPathNoRestartRequired exceeds warning threshold (109 > 80)" }, { "path": "apps/edge/internal/configrefresh/path_refresh_test.go", "metric": "function_loc", "level": "warning", "value": 114, "function": "TestClassifyServeNormalizedRefreshApplied", "reason": "function TestClassifyServeNormalizedRefreshApplied exceeds warning threshold (114 > 80)" }, { "path": "apps/edge/internal/configrefresh/provider_classify_test.go", "metric": "function_loc", "level": "warning", "value": 90, "function": "TestClassifyProviderLongContextCapacityApplied", "reason": "function TestClassifyProviderLongContextCapacityApplied exceeds warning threshold (90 > 80)" }, { "path": "apps/edge/internal/controlplane/connector.go", "metric": "function_loc", "level": "warning", "value": 105, "function": "Connector.connect", "reason": "function Connector.connect exceeds warning threshold (105 > 80)" }, { "path": "apps/edge/internal/controlplane/connector_test.go", "metric": "function_loc", "level": "warning", "value": 105, "function": "TestConnectorEdgeCommandRelay", "reason": "function TestConnectorEdgeCommandRelay exceeds warning threshold (105 > 80)" }, { "path": "apps/edge/internal/controlplane/connector_test.go", "metric": "function_loc", "level": "warning", "value": 91, "function": "TestConnectorRespondsToStatusRequestFromProvider", "reason": "function TestConnectorRespondsToStatusRequestFromProvider exceeds warning threshold (91 > 80)" }, { "path": "apps/edge/internal/edgecmd/bootstrap.go", "metric": "function_loc", "level": "warning", "value": 103, "function": "nodeBootstrapScript", "reason": "function nodeBootstrapScript exceeds warning threshold (103 > 80)" }, { "path": "apps/edge/internal/edgevalidate/validate.go", "metric": "function_loc", "level": "warning", "value": 93, "function": "validateMockSurfaceReferences", "reason": "function validateMockSurfaceReferences exceeds warning threshold (93 > 80)" }, { "path": "apps/edge/internal/edgevalidate/validate.go", "metric": "function_loc", "level": "warning", "value": 95, "function": "validateProviderAdapterReferences", "reason": "function validateProviderAdapterReferences exceeds warning threshold (95 > 80)" }, { "path": "apps/edge/internal/edgevalidate/validate_test.go", "metric": "function_loc", "level": "split_review", "value": 132, "function": "TestValidateEdgeConfigProviderAdapterReferences", "reason": "function TestValidateEdgeConfigProviderAdapterReferences exceeds split_review threshold (132 > 120)" }, { "path": "apps/edge/internal/edgevalidate/validate_test.go", "metric": "function_loc", "level": "split_review", "value": 228, "function": "TestValidateEdgeConfig_ProviderFirstRejectsMissingTypeFields", "reason": "function TestValidateEdgeConfig_ProviderFirstRejectsMissingTypeFields exceeds split_review threshold (228 > 120)" }, { "path": "apps/edge/internal/edgevalidate/validate_test.go", "metric": "function_loc", "level": "warning", "value": 86, "function": "TestValidateEdgeConfig_ProviderFirstWithoutAdapterAllowed", "reason": "function TestValidateEdgeConfig_ProviderFirstWithoutAdapterAllowed exceeds warning threshold (86 > 80)" }, { "path": "apps/edge/internal/node/mapper.go", "metric": "function_loc", "level": "split_review", "value": 145, "function": "BuildConfigPayload", "reason": "function BuildConfigPayload exceeds split_review threshold (145 > 120)" }, { "path": "apps/edge/internal/openai/chat_completion.go", "metric": "function_loc", "level": "warning", "value": 105, "function": "Server.completeChatCompletion", "reason": "function Server.completeChatCompletion exceeds warning threshold (105 > 80)" }, { "path": "apps/edge/internal/openai/chat_handler.go", "metric": "function_loc", "level": "warning", "value": 114, "function": "Server.handleChatCompletions", "reason": "function Server.handleChatCompletions exceeds warning threshold (114 > 80)" }, { "path": "apps/edge/internal/openai/chat_handler.go", "metric": "function_loc", "level": "warning", "value": 101, "function": "Server.handleChatCompletionsProviderPool", "reason": "function Server.handleChatCompletionsProviderPool exceeds warning threshold (101 > 80)" }, { "path": "apps/edge/internal/openai/log_safety_test.go", "metric": "function_loc", "level": "warning", "value": 113, "function": "TestLogNoPreviewFields", "reason": "function TestLogNoPreviewFields exceeds warning threshold (113 > 80)" }, { "path": "apps/edge/internal/openai/log_safety_test.go", "metric": "function_loc", "level": "warning", "value": 83, "function": "TestLogRetainsNonContentMetadata", "reason": "function TestLogRetainsNonContentMetadata exceeds warning threshold (83 > 80)" }, { "path": "apps/edge/internal/openai/provider_selection_test.go", "metric": "function_loc", "level": "warning", "value": 93, "function": "TestChatCompletionsProviderPoolTunnelPreservesUnknownFields", "reason": "function TestChatCompletionsProviderPoolTunnelPreservesUnknownFields exceeds warning threshold (93 > 80)" }, { "path": "apps/edge/internal/openai/provider_test_support_test.go", "metric": "function_loc", "level": "split_review", "value": 179, "function": "providerFakeRunService.SubmitProviderPool", "reason": "function providerFakeRunService.SubmitProviderPool exceeds split_review threshold (179 > 120)" }, { "path": "apps/edge/internal/openai/provider_test_support_test.go", "metric": "function_loc", "level": "warning", "value": 95, "function": "providerFakeRunService.buildPoolResult", "reason": "function providerFakeRunService.buildPoolResult exceeds warning threshold (95 > 80)" }, { "path": "apps/edge/internal/openai/provider_tool_validation_test.go", "metric": "function_loc", "level": "warning", "value": 89, "function": "TestChatCompletionsProviderPoolNormalizedToolValidationRetryPreservesPoolRequest", "reason": "function TestChatCompletionsProviderPoolNormalizedToolValidationRetryPreservesPoolRequest exceeds warning threshold (89 > 80)" }, { "path": "apps/edge/internal/openai/provider_tool_validation_test.go", "metric": "function_loc", "level": "warning", "value": 81, "function": "TestChatCompletionsProviderPoolToolValidationRetryRejectsTunnelResult", "reason": "function TestChatCompletionsProviderPoolToolValidationRetryRejectsTunnelResult exceeds warning threshold (81 > 80)" }, { "path": "apps/edge/internal/openai/provider_tool_validation_test.go", "metric": "function_loc", "level": "warning", "value": 81, "function": "TestValidateToolCallResponseValidatesEveryToolCall", "reason": "function TestValidateToolCallResponseValidatesEveryToolCall exceeds warning threshold (81 > 80)" }, { "path": "apps/edge/internal/openai/provider_tunnel.go", "metric": "function_loc", "level": "split_review", "value": 170, "function": "Server.writeProviderTunnelResponse", "reason": "function Server.writeProviderTunnelResponse exceeds split_review threshold (170 > 120)" }, { "path": "apps/edge/internal/openai/responses_handler.go", "metric": "function_loc", "level": "split_review", "value": 126, "function": "Server.handleResponses", "reason": "function Server.handleResponses exceeds split_review threshold (126 > 120)" }, { "path": "apps/edge/internal/openai/responses_handler.go", "metric": "function_loc", "level": "split_review", "value": 171, "function": "Server.handleResponsesProviderPool", "reason": "function Server.handleResponsesProviderPool exceeds split_review threshold (171 > 120)" }, { "path": "apps/edge/internal/openai/text_tool_parser.go", "metric": "function_loc", "level": "warning", "value": 83, "function": "collectMustacheCandidateMatches", "reason": "function collectMustacheCandidateMatches exceeds warning threshold (83 > 80)" }, { "path": "apps/edge/internal/openai/usage_metrics_test.go", "metric": "function_loc", "level": "warning", "value": 90, "function": "TestResponsesProviderTunnelPassthroughObservesUsageMetrics", "reason": "function TestResponsesProviderTunnelPassthroughObservesUsageMetrics exceeds warning threshold (90 > 80)" }, { "path": "apps/edge/internal/openai/usage_metrics_test.go", "metric": "function_loc", "level": "warning", "value": 97, "function": "TestResponsesProviderTunnelPassthroughStreamingObservesUsageMetrics", "reason": "function TestResponsesProviderTunnelPassthroughStreamingObservesUsageMetrics exceeds warning threshold (97 > 80)" }, { "path": "apps/edge/internal/opsconsole/console.go", "metric": "function_loc", "level": "warning", "value": 107, "function": "Run", "reason": "function Run exceeds warning threshold (107 > 80)" }, { "path": "apps/edge/internal/opsconsole/console.go", "metric": "function_loc", "level": "warning", "value": 85, "function": "SendRun", "reason": "function SendRun exceeds warning threshold (85 > 80)" }, { "path": "apps/edge/internal/opsconsole/console_test.go", "metric": "function_loc", "level": "warning", "value": 83, "function": "TestSendRun_SubmitRunRequest_MetadataSource", "reason": "function TestSendRun_SubmitRunRequest_MetadataSource exceeds warning threshold (83 > 80)" }, { "path": "apps/edge/internal/service/control_command.go", "metric": "function_loc", "level": "split_review", "value": 134, "function": "Service.ExecuteCommand", "reason": "function Service.ExecuteCommand exceeds split_review threshold (134 > 120)" }, { "path": "apps/edge/internal/service/model_queue_admission.go", "metric": "function_loc", "level": "split_review", "value": 157, "function": "modelQueueManager.admitWithReason", "reason": "function modelQueueManager.admitWithReason exceeds split_review threshold (157 > 120)" }, { "path": "apps/edge/internal/service/model_queue_snapshot.go", "metric": "function_loc", "level": "split_review", "value": 163, "function": "modelQueueManager.getSnapshotForNode", "reason": "function modelQueueManager.getSnapshotForNode exceeds split_review threshold (163 > 120)" }, { "path": "apps/edge/internal/service/model_queue_snapshot.go", "metric": "function_loc", "level": "warning", "value": 95, "function": "resolveSnapshotAdapterName", "reason": "function resolveSnapshotAdapterName exceeds warning threshold (95 > 80)" }, { "path": "apps/edge/internal/service/provider_resolution.go", "metric": "function_loc", "level": "warning", "value": 90, "function": "Service.resolveProviderPoolCandidates", "reason": "function Service.resolveProviderPoolCandidates exceeds warning threshold (90 > 80)" }, { "path": "apps/edge/internal/service/provider_scheduling_advanced_test.go", "metric": "function_loc", "level": "split_review", "value": 123, "function": "TestResolveProviderPoolCandidatesAdapterInstanceValidation", "reason": "function TestResolveProviderPoolCandidatesAdapterInstanceValidation exceeds split_review threshold (123 > 120)" }, { "path": "apps/edge/internal/service/provider_scheduling_advanced_test.go", "metric": "function_loc", "level": "split_review", "value": 130, "function": "TestResolveProviderPoolCandidatesClassifiesExecutionPath", "reason": "function TestResolveProviderPoolCandidatesClassifiesExecutionPath exceeds split_review threshold (130 > 120)" }, { "path": "apps/edge/internal/service/provider_scheduling_advanced_test.go", "metric": "function_loc", "level": "split_review", "value": 123, "function": "TestResolveProviderPoolCandidatesKeepsMixedProviderTypes", "reason": "function TestResolveProviderPoolCandidatesKeepsMixedProviderTypes exceeds split_review threshold (123 > 120)" }, { "path": "apps/edge/internal/service/provider_scheduling_advanced_test.go", "metric": "function_loc", "level": "warning", "value": 103, "function": "TestResolveProviderPoolCandidatesPropagatesPriority", "reason": "function TestResolveProviderPoolCandidatesPropagatesPriority exceeds warning threshold (103 > 80)" }, { "path": "apps/edge/internal/service/provider_scheduling_advanced_test.go", "metric": "function_loc", "level": "warning", "value": 106, "function": "TestSubmitRunProviderPoolRewritesAdapterAndTarget", "reason": "function TestSubmitRunProviderPoolRewritesAdapterAndTarget exceeds warning threshold (106 > 80)" }, { "path": "apps/edge/internal/service/provider_scheduling_test.go", "metric": "function_loc", "level": "warning", "value": 83, "function": "TestModelQueueUsesProviderQueuePolicy", "reason": "function TestModelQueueUsesProviderQueuePolicy exceeds warning threshold (83 > 80)" }, { "path": "apps/edge/internal/service/provider_scheduling_test.go", "metric": "function_loc", "level": "split_review", "value": 215, "function": "TestResolveProviderPoolCandidatesFiltersInvalidProviders", "reason": "function TestResolveProviderPoolCandidatesFiltersInvalidProviders exceeds split_review threshold (215 > 120)" }, { "path": "apps/edge/internal/service/queue_dispatch_test.go", "metric": "function_loc", "level": "warning", "value": 81, "function": "TestSubmitRunModelQueueContextCancelRemovesQueuedItem", "reason": "function TestSubmitRunModelQueueContextCancelRemovesQueuedItem exceeds warning threshold (81 > 80)" }, { "path": "apps/edge/internal/service/queue_dispatch_test.go", "metric": "function_loc", "level": "warning", "value": 119, "function": "TestSubmitRunModelQueueDispatchesAcrossNodes", "reason": "function TestSubmitRunModelQueueDispatchesAcrossNodes exceeds warning threshold (119 > 80)" }, { "path": "apps/edge/internal/service/queue_dispatch_test.go", "metric": "function_loc", "level": "split_review", "value": 135, "function": "TestSubmitRunModelQueueDispatchesQueuedRunAfterDisconnectToLiveNode", "reason": "function TestSubmitRunModelQueueDispatchesQueuedRunAfterDisconnectToLiveNode exceeds split_review threshold (135 > 120)" }, { "path": "apps/edge/internal/service/run_command_test.go", "metric": "function_loc", "level": "split_review", "value": 130, "function": "TestServiceExecuteCommand", "reason": "function TestServiceExecuteCommand exceeds split_review threshold (130 > 120)" }, { "path": "apps/edge/internal/service/run_command_test.go", "metric": "function_loc", "level": "warning", "value": 81, "function": "TestServiceExecuteCommandAgentCommandCapabilitiesSuccess", "reason": "function TestServiceExecuteCommandAgentCommandCapabilitiesSuccess exceeds warning threshold (81 > 80)" }, { "path": "apps/edge/internal/service/run_dispatch_internal_test.go", "metric": "function_loc", "level": "split_review", "value": 165, "function": "TestSubmitProviderPoolDispatchInfoObservation", "reason": "function TestSubmitProviderPoolDispatchInfoObservation exceeds split_review threshold (165 > 120)" }, { "path": "apps/edge/internal/service/run_dispatch_internal_test.go", "metric": "function_loc", "level": "warning", "value": 115, "function": "TestSubmitProviderPoolSelectsNormalizedProviderAndDoesNotOpenTunnel", "reason": "function TestSubmitProviderPoolSelectsNormalizedProviderAndDoesNotOpenTunnel exceeds warning threshold (115 > 80)" }, { "path": "apps/edge/internal/service/run_dispatch_internal_test.go", "metric": "function_loc", "level": "warning", "value": 111, "function": "TestSubmitProviderPoolUsesSingleAdmissionForMixedCandidates", "reason": "function TestSubmitProviderPoolUsesSingleAdmissionForMixedCandidates exceeds warning threshold (111 > 80)" }, { "path": "apps/edge/internal/service/service_internal_test.go", "metric": "function_loc", "level": "warning", "value": 95, "function": "TestRuntimeConfigSnapshotConcurrentReplace", "reason": "function TestRuntimeConfigSnapshotConcurrentReplace exceeds warning threshold (95 > 80)" }, { "path": "apps/edge/internal/service/status_provider_test.go", "metric": "function_loc", "level": "warning", "value": 86, "function": "TestListNodeSnapshotsProviderEmptyAdapterFallbackToProviderID", "reason": "function TestListNodeSnapshotsProviderEmptyAdapterFallbackToProviderID exceeds warning threshold (86 > 80)" }, { "path": "apps/edge/internal/service/status_provider_test.go", "metric": "function_loc", "level": "warning", "value": 94, "function": "TestListNodeSnapshotsProviderIdDiffersFromAdapterKey", "reason": "function TestListNodeSnapshotsProviderIdDiffersFromAdapterKey exceeds warning threshold (94 > 80)" }, { "path": "apps/edge/internal/transport/integration_test.go", "metric": "function_loc", "level": "split_review", "value": 149, "function": "TestEdgeServerIntegration", "reason": "function TestEdgeServerIntegration exceeds split_review threshold (149 > 120)" }, { "path": "apps/edge/internal/transport/integration_test.go", "metric": "function_loc", "level": "warning", "value": 116, "function": "TestEdgeServerRegistrationFailureReasons", "reason": "function TestEdgeServerRegistrationFailureReasons exceeds warning threshold (116 > 80)" }, { "path": "apps/node/internal/adapters/adapters_blackbox_test.go", "metric": "function_loc", "level": "warning", "value": 102, "function": "TestBuildFromPayload_OllamaMultiInstanceExecution", "reason": "function TestBuildFromPayload_OllamaMultiInstanceExecution exceeds warning threshold (102 > 80)" }, { "path": "apps/node/internal/adapters/adapters_blackbox_test.go", "metric": "function_loc", "level": "warning", "value": 93, "function": "TestBuildFromPayload_OpenAICompatExecution", "reason": "function TestBuildFromPayload_OpenAICompatExecution exceeds warning threshold (93 > 80)" }, { "path": "apps/node/internal/adapters/cli/antigravity_print_blackbox_test.go", "metric": "function_loc", "level": "warning", "value": 95, "function": "TestCLIExecuteAntigravityPrintResumesLogicalSession", "reason": "function TestCLIExecuteAntigravityPrintResumesLogicalSession exceeds warning threshold (95 > 80)" }, { "path": "apps/node/internal/adapters/cli/cli_workspace_test.go", "metric": "function_loc", "level": "split_review", "value": 236, "function": "TestCLIWorkspacePreflightFailures", "reason": "function TestCLIWorkspacePreflightFailures exceeds split_review threshold (236 > 120)" }, { "path": "apps/node/internal/adapters/cli/codex_app_server.go", "metric": "function_loc", "level": "warning", "value": 99, "function": "decodeAppServerNotification", "reason": "function decodeAppServerNotification exceeds warning threshold (99 > 80)" }, { "path": "apps/node/internal/adapters/cli/codex_app_server_session_test.go", "metric": "function_loc", "level": "warning", "value": 88, "function": "TestCodexAppServerTurnStartRequestShape", "reason": "function TestCodexAppServerTurnStartRequestShape exceeds warning threshold (88 > 80)" }, { "path": "apps/node/internal/adapters/cli/codex_exec_blackbox_test.go", "metric": "function_loc", "level": "warning", "value": 85, "function": "TestCLIExecuteCodexExecJSONFormatStreamsAgentMessageAndResumes", "reason": "function TestCLIExecuteCodexExecJSONFormatStreamsAgentMessageAndResumes exceeds warning threshold (85 > 80)" }, { "path": "apps/node/internal/adapters/cli/codex_exec_blackbox_test.go", "metric": "function_loc", "level": "warning", "value": 90, "function": "TestCLIExecuteCodexExecPersistentResumesLogicalSession", "reason": "function TestCLIExecuteCodexExecPersistentResumesLogicalSession exceeds warning threshold (90 > 80)" }, { "path": "apps/node/internal/adapters/cli/oneshot.go", "metric": "function_loc", "level": "warning", "value": 98, "function": "CLI.executeCommand", "reason": "function CLI.executeCommand exceeds warning threshold (98 > 80)" }, { "path": "apps/node/internal/adapters/cli/opencode_sse_blackbox_test.go", "metric": "function_loc", "level": "split_review", "value": 130, "function": "TestCLIExecuteOpencodeSSE_ConsecutiveExecutesReuseSession", "reason": "function TestCLIExecuteOpencodeSSE_ConsecutiveExecutesReuseSession exceeds split_review threshold (130 > 120)" }, { "path": "apps/node/internal/adapters/cli/opencode_sse_blackbox_test.go", "metric": "function_loc", "level": "warning", "value": 88, "function": "TestCLIExecuteOpencodeSSE_GlobalMessagePartDeltaStreamsTextOnly", "reason": "function TestCLIExecuteOpencodeSSE_GlobalMessagePartDeltaStreamsTextOnly exceeds warning threshold (88 > 80)" }, { "path": "apps/node/internal/adapters/cli/opencode_sse_blackbox_test.go", "metric": "function_loc", "level": "warning", "value": 110, "function": "TestCLIExecuteOpencodeSSE_StreamsTextDeltas", "reason": "function TestCLIExecuteOpencodeSSE_StreamsTextDeltas exceeds warning threshold (110 > 80)" }, { "path": "apps/node/internal/adapters/cli/opencode_sse_blackbox_test.go", "metric": "function_loc", "level": "warning", "value": 84, "function": "newOpencodeFakeServer", "reason": "function newOpencodeFakeServer exceeds warning threshold (84 > 80)" }, { "path": "apps/node/internal/adapters/cli/status/antigravity.go", "metric": "function_loc", "level": "split_review", "value": 130, "function": "AntigravityChecker.Check", "reason": "function AntigravityChecker.Check exceeds split_review threshold (130 > 120)" }, { "path": "apps/node/internal/adapters/cli/status/claude.go", "metric": "function_loc", "level": "split_review", "value": 157, "function": "ClaudeChecker.Check", "reason": "function ClaudeChecker.Check exceeds split_review threshold (157 > 120)" }, { "path": "apps/node/internal/adapters/cli/status/claude_test.go", "metric": "function_loc", "level": "warning", "value": 86, "function": "TestClaudeCheckerParsesCursorRepaintedUsageScreen", "reason": "function TestClaudeCheckerParsesCursorRepaintedUsageScreen exceeds warning threshold (86 > 80)" }, { "path": "apps/node/internal/adapters/cli/status/codex.go", "metric": "function_loc", "level": "split_review", "value": 140, "function": "CodexChecker.Check", "reason": "function CodexChecker.Check exceeds split_review threshold (140 > 120)" }, { "path": "apps/node/internal/adapters/config_set.go", "metric": "function_loc", "level": "warning", "value": 105, "function": "BuildConfigSet", "reason": "function BuildConfigSet exceeds warning threshold (105 > 80)" }, { "path": "apps/node/internal/adapters/openai_compat/provider_tunnel.go", "metric": "function_loc", "level": "warning", "value": 93, "function": "Adapter.TunnelProvider", "reason": "function Adapter.TunnelProvider exceeds warning threshold (93 > 80)" }, { "path": "apps/node/internal/adapters/openai_compat/provider_tunnel_test.go", "metric": "function_loc", "level": "warning", "value": 84, "function": "TestOpenAICompatTunnelProvider", "reason": "function TestOpenAICompatTunnelProvider exceeds warning threshold (84 > 80)" }, { "path": "apps/node/internal/adapters/openai_compat/provider_tunnel_test.go", "metric": "function_loc", "level": "warning", "value": 89, "function": "TestOpenAICompatTunnelProvider_Cancel", "reason": "function TestOpenAICompatTunnelProvider_Cancel exceeds warning threshold (89 > 80)" }, { "path": "apps/node/internal/adapters/openai_compat/request.go", "metric": "function_loc", "level": "split_review", "value": 125, "function": "Adapter.buildRequestBody", "reason": "function Adapter.buildRequestBody exceeds split_review threshold (125 > 120)" }, { "path": "apps/node/internal/adapters/openai_compat/thinking_policy_test.go", "metric": "function_loc", "level": "warning", "value": 82, "function": "TestOpenAICompatExecuteMapsReasoningEffortNone", "reason": "function TestOpenAICompatExecuteMapsReasoningEffortNone exceeds warning threshold (82 > 80)" }, { "path": "apps/node/internal/adapters/vllm/provider_tunnel.go", "metric": "function_loc", "level": "warning", "value": 94, "function": "Vllm.TunnelProvider", "reason": "function Vllm.TunnelProvider exceeds warning threshold (94 > 80)" }, { "path": "apps/node/internal/adapters/vllm/vllm_test.go", "metric": "function_loc", "level": "warning", "value": 89, "function": "TestVllmTunnelProvider_Cancel", "reason": "function TestVllmTunnelProvider_Cancel exceeds warning threshold (89 > 80)" }, { "path": "apps/node/internal/bootstrap/module_test.go", "metric": "function_loc", "level": "warning", "value": 102, "function": "TestReconnectSupervisorPolicyTimingAndLimit", "reason": "function TestReconnectSupervisorPolicyTimingAndLimit exceeds warning threshold (102 > 80)" }, { "path": "apps/node/internal/node/command_test.go", "metric": "function_loc", "level": "warning", "value": 86, "function": "TestOnCommandRequest_CapabilitiesWithProber", "reason": "function TestOnCommandRequest_CapabilitiesWithProber exceeds warning threshold (86 > 80)" }, { "path": "apps/node/internal/node/config_refresh_handler.go", "metric": "function_loc", "level": "warning", "value": 112, "function": "Node.OnConfigRefresh", "reason": "function Node.OnConfigRefresh exceeds warning threshold (112 > 80)" }, { "path": "apps/node/internal/node/gate_refresh_test.go", "metric": "function_loc", "level": "warning", "value": 87, "function": "TestNodeConfigRefreshAppliesOpenAICompatCapacity", "reason": "function TestNodeConfigRefreshAppliesOpenAICompatCapacity exceeds warning threshold (87 > 80)" }, { "path": "apps/node/internal/node/gate_refresh_test.go", "metric": "function_loc", "level": "split_review", "value": 129, "function": "TestNodeConfigRefreshDecreasesExistingAdapterGateCapacity", "reason": "function TestNodeConfigRefreshDecreasesExistingAdapterGateCapacity exceeds split_review threshold (129 > 120)" }, { "path": "apps/node/internal/node/gate_refresh_test.go", "metric": "function_loc", "level": "split_review", "value": 154, "function": "TestNodeConfigRefreshUpdatesExistingAdapterGateCapacity", "reason": "function TestNodeConfigRefreshUpdatesExistingAdapterGateCapacity exceeds split_review threshold (154 > 120)" }, { "path": "apps/node/internal/node/gate_refresh_test.go", "metric": "function_loc", "level": "warning", "value": 114, "function": "TestNodeConfigRefreshUsesUpdatedOpenAICompatEndpoint", "reason": "function TestNodeConfigRefreshUsesUpdatedOpenAICompatEndpoint exceeds warning threshold (114 > 80)" }, { "path": "apps/node/internal/node/gate_refresh_test.go", "metric": "function_loc", "level": "warning", "value": 88, "function": "TestNodeConfigRefreshUsesUpdatedOpenAICompatHeaders", "reason": "function TestNodeConfigRefreshUsesUpdatedOpenAICompatHeaders exceeds warning threshold (88 > 80)" }, { "path": "apps/node/internal/node/node_concurrency_integration_test.go", "metric": "function_loc", "level": "warning", "value": 89, "function": "TestIntegration_ResolveAdapterErrorObservedByEdge", "reason": "function TestIntegration_ResolveAdapterErrorObservedByEdge exceeds warning threshold (89 > 80)" }, { "path": "apps/node/internal/node/node_concurrency_integration_test.go", "metric": "function_loc", "level": "split_review", "value": 122, "function": "TestOnRunRequest_SynthesizedCancelledObservedByEdge", "reason": "function TestOnRunRequest_SynthesizedCancelledObservedByEdge exceeds split_review threshold (122 > 120)" }, { "path": "apps/node/internal/node/node_concurrency_integration_test.go", "metric": "function_loc", "level": "warning", "value": 88, "function": "TestOnRunRequest_SynthesizedErrorObservedByEdge", "reason": "function TestOnRunRequest_SynthesizedErrorObservedByEdge exceeds warning threshold (88 > 80)" }, { "path": "apps/node/internal/node/node_concurrency_integration_test.go", "metric": "function_loc", "level": "warning", "value": 86, "function": "TestOnRunRequest_SynthesizedTerminalObservedByEdge", "reason": "function TestOnRunRequest_SynthesizedTerminalObservedByEdge exceeds warning threshold (86 > 80)" }, { "path": "apps/node/internal/node/node_concurrency_integration_test.go", "metric": "function_loc", "level": "warning", "value": 110, "function": "TestOverDispatchSafety_RejectEventObservedByEdge", "reason": "function TestOverDispatchSafety_RejectEventObservedByEdge exceeds warning threshold (110 > 80)" }, { "path": "apps/node/internal/node/registry_refresh_test.go", "metric": "function_loc", "level": "split_review", "value": 131, "function": "TestConfigRefreshFailedAdapterStartDoesNotRollbackConfig", "reason": "function TestConfigRefreshFailedAdapterStartDoesNotRollbackConfig exceeds split_review threshold (131 > 120)" }, { "path": "apps/node/internal/node/registry_refresh_test.go", "metric": "function_loc", "level": "warning", "value": 92, "function": "TestNodeConfigRefreshDoesNotStopOldRegistryWithActiveRun", "reason": "function TestNodeConfigRefreshDoesNotStopOldRegistryWithActiveRun exceeds warning threshold (92 > 80)" }, { "path": "apps/node/internal/node/registry_refresh_test.go", "metric": "function_loc", "level": "split_review", "value": 128, "function": "TestNodeConfigRefreshDoesNotStopUnchangedActiveAdapterWhenSiblingChanges", "reason": "function TestNodeConfigRefreshDoesNotStopUnchangedActiveAdapterWhenSiblingChanges exceeds split_review threshold (128 > 120)" }, { "path": "apps/node/internal/node/registry_refresh_test.go", "metric": "function_loc", "level": "warning", "value": 85, "function": "TestNodeConfigRefreshWaitsForResolvedRunRegistrationBeforeStoppingOldRegistry", "reason": "function TestNodeConfigRefreshWaitsForResolvedRunRegistrationBeforeStoppingOldRegistry exceeds warning threshold (85 > 80)" }, { "path": "apps/node/internal/node/run_handler.go", "metric": "function_loc", "level": "split_review", "value": 138, "function": "Node.OnRunRequest", "reason": "function Node.OnRunRequest exceeds split_review threshold (138 > 120)" }, { "path": "apps/node/internal/node/tunnel_handler.go", "metric": "function_loc", "level": "warning", "value": 84, "function": "Node.OnProviderTunnelRequest", "reason": "function Node.OnProviderTunnelRequest exceeds warning threshold (84 > 80)" }, { "path": "apps/node/internal/transport/heartbeat_test.go", "metric": "function_loc", "level": "warning", "value": 104, "function": "TestHeartbeatSurvivesIdleAfterNodeCommand", "reason": "function TestHeartbeatSurvivesIdleAfterNodeCommand exceeds warning threshold (104 > 80)" }, { "path": "apps/node/internal/transport/integration_test.go", "metric": "function_loc", "level": "split_review", "value": 127, "function": "TestNodeClientIntegration", "reason": "function TestNodeClientIntegration exceeds split_review threshold (127 > 120)" }, { "path": "apps/node/internal/transport/session.go", "metric": "function_loc", "level": "warning", "value": 111, "function": "newSession", "reason": "function newSession exceeds warning threshold (111 > 80)" }, { "path": "packages/flutter/iop_console/test/iop_console_shell_test.dart", "metric": "function_loc", "level": "split_review", "value": 227, "function": "main", "reason": "function main exceeds split_review threshold (227 > 120); +38 for the added narrow/wide IopConsoleOverview responsive-section regression test" }, { "path": "packages/go/config/edge_openai_config_test.go", "metric": "function_loc", "level": "warning", "value": 103, "function": "TestLoadEdge_VLLMOpenAIRouteAndInstance", "reason": "function TestLoadEdge_VLLMOpenAIRouteAndInstance exceeds warning threshold (103 > 80)" }, { "path": "packages/go/config/load.go", "metric": "function_loc", "level": "warning", "value": 98, "function": "LoadEdge", "reason": "function LoadEdge exceeds warning threshold (98 > 80)" }, { "path": "packages/go/config/normalize.go", "metric": "function_loc", "level": "warning", "value": 82, "function": "normalizeAdapters", "reason": "function normalizeAdapters exceeds warning threshold (82 > 80)" }, { "path": "packages/go/config/provider_catalog_config_test.go", "metric": "function_loc", "level": "warning", "value": 88, "function": "TestLoadEdge_ModelCatalogBasicHappyPath", "reason": "function TestLoadEdge_ModelCatalogBasicHappyPath exceeds warning threshold (88 > 80)" }, { "path": "packages/go/config/provider_catalog_validation_config_test.go", "metric": "function_loc", "level": "warning", "value": 84, "function": "TestLoadEdgeProviderLongContextCapacityValidation", "reason": "function TestLoadEdgeProviderLongContextCapacityValidation exceeds warning threshold (84 > 80)" }, { "path": "packages/go/config/provider_catalog_validation_config_test.go", "metric": "function_loc", "level": "warning", "value": 81, "function": "TestLoadEdge_NodeProviderEnabledDefaultsTrue", "reason": "function TestLoadEdge_NodeProviderEnabledDefaultsTrue exceeds warning threshold (81 > 80)" }, { "path": "packages/go/config/provider_catalog_validation_config_test.go", "metric": "function_loc", "level": "warning", "value": 119, "function": "TestModelCatalogEntry_Validate", "reason": "function TestModelCatalogEntry_Validate exceeds warning threshold (119 > 80)" }, { "path": "packages/go/config/validate.go", "metric": "function_loc", "level": "warning", "value": 95, "function": "CheckProviderLegacyConflict", "reason": "function CheckProviderLegacyConflict exceeds warning threshold (95 > 80)" }, { "path": "scripts/e2e-long-context-admission-smoke.sh", "metric": "function_loc", "level": "warning", "value": 107, "function": "run_preflight", "reason": "function run_preflight exceeds warning threshold (107 > 80)" }, { "path": "scripts/e2e-smoke.sh", "metric": "function_loc", "level": "split_review", "value": 159, "function": "check_node_messages_relayed_to_edge", "reason": "function check_node_messages_relayed_to_edge exceeds split_review threshold (159 > 120)" }, { "path": "scripts/readability_audit.py", "metric": "function_loc", "level": "warning", "value": 82, "function": "audit", "reason": "function audit exceeds warning threshold (82 > 80)" } ], "task_read_set_totals": [ { "task_id": "edge-config-refresh-readability", "metric": "read_set_total", "value": 1330, "reason": "config classification and edge commands remain the read set; growth reflects splitting nodeRegisterCmd and smokeOpenAICmd into per-stage helpers (runOpenAISmoke plus health/models/responses/expected-file methods)" }, { "task_id": "edge-openai-readability", "metric": "read_set_total", "value": 4876, "reason": "core adapter must be refactorable to smaller units; responsibilities are split per file so a task reads only the matching subset" }, { "task_id": "edge-service-readability", "metric": "read_set_total", "value": 2703, "reason": "service dispatch logic is large; refactor into smaller command handlers" }, { "task_id": "edge-transport-readability", "metric": "read_set_total", "value": 1053, "reason": "transport server has mixed concerns" }, { "task_id": "node-adapters-readability", "metric": "read_set_total", "value": 2412, "reason": "CLI adapters and status reporters have large functions" }, { "task_id": "node-core-readability", "metric": "read_set_total", "value": 1471, "reason": "node runtime core; split into focused sub-packages" }, { "task_id": "readability-baseline", "metric": "read_set_total", "value": 6253, "reason": "no new violations allowed; only existing baseline violations persist" } ] }