iop/scripts/readability_baseline.json
toki 01dc2ef78b refactor: readability baseline 및 테스트 구조 개선
- agent-readable-repository-refactor 완료: 기존 테스트 파일 아카이브 이동
- 새 테스트 파일 추가 (edge, node, client, config, readability)
- readability_audit 스크립트 및 baseline 추가
- roadmap/SDD 문서 갱신
- agent-client/pi/extensions/openai-sampling-parameters 추가
2026-07-17 16:02:12 +09:00

1695 lines
59 KiB
JSON

{
"version": "2.0",
"generated_at": "2026-07-16",
"file_thresholds": [
{
"path": "agent-client/claude/iop-claude-gateway.py",
"metric": "file_loc",
"level": "warning",
"value": 660,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "agent-ops/skills/common/code-review/SKILL.md",
"metric": "file_loc",
"level": "warning",
"value": 490,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "agent-ops/skills/common/plan/SKILL.md",
"metric": "file_loc",
"level": "split_review",
"value": 513,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "agent-ops/skills/common/update-roadmap/SKILL.md",
"metric": "file_loc",
"level": "split_review",
"value": 533,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/client/lib/widgets/runtime_panel.dart",
"metric": "file_loc",
"level": "warning",
"value": 693,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go",
"metric": "file_loc",
"level": "warning",
"value": 867,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/configrefresh/classify.go",
"metric": "file_loc",
"level": "warning",
"value": 551,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/controlplane/connector_test.go",
"metric": "file_loc",
"level": "warning",
"value": 923,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/edgevalidate/validate_test.go",
"metric": "file_loc",
"level": "warning",
"value": 988,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/node/mapper_test.go",
"metric": "file_loc",
"level": "warning",
"value": 885,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/openai/chat_handler.go",
"metric": "file_loc",
"level": "exception",
"value": 1095,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/openai/chat_stream_reasoning_test.go",
"metric": "file_loc",
"level": "warning",
"value": 848,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/openai/chat_tool_synthesis_test.go",
"metric": "file_loc",
"level": "warning",
"value": 853,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/openai/provider_selection_test.go",
"metric": "file_loc",
"level": "warning",
"value": 850,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/openai/provider_tunnel_test.go",
"metric": "file_loc",
"level": "warning",
"value": 879,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/openai/responses_handler.go",
"metric": "file_loc",
"level": "warning",
"value": 746,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/openai/stream.go",
"metric": "file_loc",
"level": "exception",
"value": 1282,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/openai/types.go",
"metric": "file_loc",
"level": "exception",
"value": 1976,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/service/model_queue.go",
"metric": "file_loc",
"level": "exception",
"value": 1009,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/service/provider_scheduling_advanced_test.go",
"metric": "file_loc",
"level": "warning",
"value": 866,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_command_test.go",
"metric": "file_loc",
"level": "warning",
"value": 941,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_dispatch.go",
"metric": "file_loc",
"level": "exception",
"value": 1465,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_dispatch_internal_test.go",
"metric": "file_loc",
"level": "warning",
"value": 926,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/cli.go",
"metric": "file_loc",
"level": "warning",
"value": 532,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/codex_app_server.go",
"metric": "file_loc",
"level": "warning",
"value": 643,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/codex_app_server_session_test.go",
"metric": "file_loc",
"level": "warning",
"value": 844,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/emitters.go",
"metric": "file_loc",
"level": "warning",
"value": 509,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/opencode_sse.go",
"metric": "file_loc",
"level": "split_review",
"value": 863,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/persistent.go",
"metric": "file_loc",
"level": "warning",
"value": 702,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/persistent_output_filter.go",
"metric": "file_loc",
"level": "warning",
"value": 709,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/status/parser.go",
"metric": "file_loc",
"level": "warning",
"value": 735,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/adapters/openai_compat/openai_compat.go",
"metric": "file_loc",
"level": "exception",
"value": 1125,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/adapters/vllm/vllm.go",
"metric": "file_loc",
"level": "split_review",
"value": 818,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/adapters/vllm/vllm_test.go",
"metric": "file_loc",
"level": "warning",
"value": 959,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/node/command_test.go",
"metric": "file_loc",
"level": "warning",
"value": 891,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "apps/node/internal/node/node.go",
"metric": "file_loc",
"level": "exception",
"value": 1086,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "packages/go/config/config.go",
"metric": "file_loc",
"level": "exception",
"value": 1170,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "packages/go/config/edge_openai_config_test.go",
"metric": "file_loc",
"level": "warning",
"value": 935,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "packages/go/config/provider_catalog_validation_config_test.go",
"metric": "file_loc",
"level": "warning",
"value": 938,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "scripts/readability_audit.py",
"metric": "file_loc",
"level": "exception",
"value": 2076,
"reason": "pre-refactor baseline: existing file exceeds threshold"
},
{
"path": "scripts/readability_audit_test.py",
"metric": "file_loc",
"level": "split_review",
"value": 2314,
"reason": "pre-refactor baseline: existing file exceeds threshold"
}
],
"function_thresholds": [
{
"path": "agent-ops/bin/init-agent-ops.sh",
"metric": "function_loc",
"level": "warning",
"value": 101,
"function": "ensure_agent_test_profile",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/lib/widgets/edges_panel.dart",
"metric": "function_loc",
"level": "split_review",
"value": 262,
"function": "EdgesPanel.build",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/lib/widgets/execution_logs_panel.dart",
"metric": "function_loc",
"level": "warning",
"value": 113,
"function": "ExecutionLogsPanel._buildLogsContent",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/lib/widgets/nodes_panel.dart",
"metric": "function_loc",
"level": "split_review",
"value": 204,
"function": "NodesPanel._buildNodeContent",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/lib/widgets/nodes_panel.dart",
"metric": "function_loc",
"level": "warning",
"value": 115,
"function": "_buildProviderCard",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/lib/widgets/runtime_panel.dart",
"metric": "function_loc",
"level": "warning",
"value": 96,
"function": "_RuntimePanelState._buildDomainAgentsGrid",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/lib/widgets/runtime_panel.dart",
"metric": "function_loc",
"level": "warning",
"value": 94,
"function": "_RuntimePanelState._buildOperationsHistory",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/lib/widgets/runtime_panel.dart",
"metric": "function_loc",
"level": "split_review",
"value": 190,
"function": "_RuntimePanelState.build",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/test/app_shell_test.dart",
"metric": "function_loc",
"level": "warning",
"value": 104,
"function": "main",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/test/client_bootstrap_test.dart",
"metric": "function_loc",
"level": "warning",
"value": 97,
"function": "main",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/test/control_plane_status_controller_test.dart",
"metric": "function_loc",
"level": "split_review",
"value": 199,
"function": "main",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/test/edge_nodes_panels_test.dart",
"metric": "function_loc",
"level": "split_review",
"value": 214,
"function": "main",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/test/notification_integration_test.dart",
"metric": "function_loc",
"level": "warning",
"value": 118,
"function": "main",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/test/provider_status_test.dart",
"metric": "function_loc",
"level": "split_review",
"value": 466,
"function": "main",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/test/runtime_panel_test.dart",
"metric": "function_loc",
"level": "split_review",
"value": 235,
"function": "main",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/client/test/support/client_test_harness.dart",
"metric": "function_loc",
"level": "split_review",
"value": 128,
"function": "FakeControlPlaneStatusRepository.fetchEdgeStatus",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/control-plane/cmd/control-plane/edge_registry_handler_test.go",
"metric": "function_loc",
"level": "warning",
"value": 93,
"function": "TestEdgeCommandHTTPHandlerDispatchesToTargetEdge",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/control-plane/cmd/control-plane/edge_registry_handler_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 277,
"function": "TestEdgeRegistryHTTPHandlersGetLiveStatus",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/control-plane/cmd/control-plane/edge_registry_handler_test.go",
"metric": "function_loc",
"level": "warning",
"value": 93,
"function": "TestEdgeRegistryHTTPHandlersListNodeEvents",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/control-plane/cmd/control-plane/fleet_handler_test.go",
"metric": "function_loc",
"level": "warning",
"value": 97,
"function": "TestFleetStatusHTTPHandlerCombinesConnectionAndCapabilities",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/control-plane/cmd/control-plane/http_edge_handlers.go",
"metric": "function_loc",
"level": "warning",
"value": 94,
"function": "registerEdgeRegistryHandlers",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/control-plane/internal/wire/edge_server.go",
"metric": "function_loc",
"level": "warning",
"value": 110,
"function": "NewEdgeServer",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/cmd/edge/bootstrap_node_command_test.go",
"metric": "function_loc",
"level": "warning",
"value": 88,
"function": "TestNodeRegisterPreservesDefaultedNonNodeConfig",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/cmd/edge/root_config_command_test.go",
"metric": "function_loc",
"level": "warning",
"value": 84,
"function": "TestConfigCheckRejectsDuplicateNodeTokenAndInvalidConfigs",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/cmd/edge/smoke_command_test.go",
"metric": "function_loc",
"level": "warning",
"value": 83,
"function": "TestSmokeOpenAICommandFailure",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/cmd/edge/smoke_command_test.go",
"metric": "function_loc",
"level": "warning",
"value": 92,
"function": "TestSmokeOpenAICommandWorkspace",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 219,
"function": "TestRefreshConfigApplyIncludesNodeResults",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 151,
"function": "TestRefreshConfigApplyNoChangeSkipsNodePush",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 152,
"function": "TestRefreshConfigApplySkipsDisconnectedConfiguredNode",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 148,
"function": "TestRefreshConfigNodeRuntimeConcurrencyApplied",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/bootstrap/runtime_refresh_node_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 154,
"function": "TestRefreshRejectedPreservesProviderDispatch",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/bootstrap/runtime_refresh_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 166,
"function": "TestRefreshAdminDryRunAndApplyReachRunningRuntime",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/bootstrap/runtime_refresh_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 146,
"function": "TestRefreshApplyConcurrentRuntimeReaders",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/configrefresh/classify.go",
"metric": "function_loc",
"level": "split_review",
"value": 227,
"function": "Classify",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/configrefresh/node_runtime_classify_test.go",
"metric": "function_loc",
"level": "warning",
"value": 101,
"function": "TestClassifyModelCatalogProviderMappingApplied",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/configrefresh/path_refresh_test.go",
"metric": "function_loc",
"level": "warning",
"value": 84,
"function": "TestClassifyDryRunTwiceNoDiff",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/configrefresh/path_refresh_test.go",
"metric": "function_loc",
"level": "warning",
"value": 109,
"function": "TestClassifyExplicitRelativeLoggingPathNoRestartRequired",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/configrefresh/path_refresh_test.go",
"metric": "function_loc",
"level": "warning",
"value": 114,
"function": "TestClassifyServeNormalizedRefreshApplied",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/configrefresh/provider_classify_test.go",
"metric": "function_loc",
"level": "warning",
"value": 90,
"function": "TestClassifyProviderLongContextCapacityApplied",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/controlplane/connector.go",
"metric": "function_loc",
"level": "warning",
"value": 105,
"function": "Connector.connect",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/controlplane/connector_test.go",
"metric": "function_loc",
"level": "warning",
"value": 105,
"function": "TestConnectorEdgeCommandRelay",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/controlplane/connector_test.go",
"metric": "function_loc",
"level": "warning",
"value": 91,
"function": "TestConnectorRespondsToStatusRequestFromProvider",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/edgecmd/bootstrap.go",
"metric": "function_loc",
"level": "warning",
"value": 103,
"function": "nodeBootstrapScript",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/edgecmd/node_register.go",
"metric": "function_loc",
"level": "split_review",
"value": 187,
"function": "nodeRegisterCmd",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/edgecmd/smoke_openai.go",
"metric": "function_loc",
"level": "split_review",
"value": 203,
"function": "smokeOpenAICmd",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/edgevalidate/validate.go",
"metric": "function_loc",
"level": "warning",
"value": 93,
"function": "validateMockSurfaceReferences",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/edgevalidate/validate.go",
"metric": "function_loc",
"level": "warning",
"value": 95,
"function": "validateProviderAdapterReferences",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/edgevalidate/validate_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 132,
"function": "TestValidateEdgeConfigProviderAdapterReferences",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/edgevalidate/validate_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 228,
"function": "TestValidateEdgeConfig_ProviderFirstRejectsMissingTypeFields",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/edgevalidate/validate_test.go",
"metric": "function_loc",
"level": "warning",
"value": 86,
"function": "TestValidateEdgeConfig_ProviderFirstWithoutAdapterAllowed",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/node/mapper.go",
"metric": "function_loc",
"level": "split_review",
"value": 145,
"function": "BuildConfigPayload",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/chat_handler.go",
"metric": "function_loc",
"level": "warning",
"value": 111,
"function": "Server.completeChatCompletion",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/chat_handler.go",
"metric": "function_loc",
"level": "split_review",
"value": 155,
"function": "Server.handleChatCompletions",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/chat_handler.go",
"metric": "function_loc",
"level": "split_review",
"value": 139,
"function": "Server.handleChatCompletionsProviderPool",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/log_safety_test.go",
"metric": "function_loc",
"level": "warning",
"value": 113,
"function": "TestLogNoPreviewFields",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/log_safety_test.go",
"metric": "function_loc",
"level": "warning",
"value": 83,
"function": "TestLogRetainsNonContentMetadata",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/provider_selection_test.go",
"metric": "function_loc",
"level": "warning",
"value": 93,
"function": "TestChatCompletionsProviderPoolTunnelPreservesUnknownFields",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/provider_test_support_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 179,
"function": "providerFakeRunService.SubmitProviderPool",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/provider_test_support_test.go",
"metric": "function_loc",
"level": "warning",
"value": 95,
"function": "providerFakeRunService.buildPoolResult",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/provider_tool_validation_test.go",
"metric": "function_loc",
"level": "warning",
"value": 89,
"function": "TestChatCompletionsProviderPoolNormalizedToolValidationRetryPreservesPoolRequest",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/provider_tool_validation_test.go",
"metric": "function_loc",
"level": "warning",
"value": 81,
"function": "TestChatCompletionsProviderPoolToolValidationRetryRejectsTunnelResult",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/provider_tool_validation_test.go",
"metric": "function_loc",
"level": "warning",
"value": 81,
"function": "TestValidateToolCallResponseValidatesEveryToolCall",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/responses_handler.go",
"metric": "function_loc",
"level": "split_review",
"value": 187,
"function": "Server.handleResponses",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/responses_handler.go",
"metric": "function_loc",
"level": "split_review",
"value": 246,
"function": "Server.handleResponsesProviderPool",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/stream.go",
"metric": "function_loc",
"level": "split_review",
"value": 299,
"function": "Server.streamChatCompletion",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/stream.go",
"metric": "function_loc",
"level": "split_review",
"value": 170,
"function": "Server.writeProviderTunnelResponse",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/types.go",
"metric": "function_loc",
"level": "warning",
"value": 83,
"function": "collectMustacheCandidateMatches",
"reason": "pre-refactor baseline: existing function exceeds threshold, first measurable once the struct{} parameter stopped closing the body"
},
{
"path": "apps/edge/internal/openai/usage_metrics_test.go",
"metric": "function_loc",
"level": "warning",
"value": 90,
"function": "TestResponsesProviderTunnelPassthroughObservesUsageMetrics",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/openai/usage_metrics_test.go",
"metric": "function_loc",
"level": "warning",
"value": 97,
"function": "TestResponsesProviderTunnelPassthroughStreamingObservesUsageMetrics",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/opsconsole/console.go",
"metric": "function_loc",
"level": "warning",
"value": 107,
"function": "Run",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/opsconsole/console.go",
"metric": "function_loc",
"level": "warning",
"value": 85,
"function": "SendRun",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/opsconsole/console_test.go",
"metric": "function_loc",
"level": "warning",
"value": 83,
"function": "TestSendRun_SubmitRunRequest_MetadataSource",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/control_command.go",
"metric": "function_loc",
"level": "split_review",
"value": 134,
"function": "Service.ExecuteCommand",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/model_queue.go",
"metric": "function_loc",
"level": "split_review",
"value": 157,
"function": "modelQueueManager.admitWithReason",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/model_queue.go",
"metric": "function_loc",
"level": "split_review",
"value": 163,
"function": "modelQueueManager.getSnapshotForNode",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/model_queue.go",
"metric": "function_loc",
"level": "warning",
"value": 95,
"function": "resolveSnapshotAdapterName",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/provider_scheduling_advanced_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 123,
"function": "TestResolveProviderPoolCandidatesAdapterInstanceValidation",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/provider_scheduling_advanced_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 130,
"function": "TestResolveProviderPoolCandidatesClassifiesExecutionPath",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/provider_scheduling_advanced_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 123,
"function": "TestResolveProviderPoolCandidatesKeepsMixedProviderTypes",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/provider_scheduling_advanced_test.go",
"metric": "function_loc",
"level": "warning",
"value": 103,
"function": "TestResolveProviderPoolCandidatesPropagatesPriority",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/provider_scheduling_advanced_test.go",
"metric": "function_loc",
"level": "warning",
"value": 106,
"function": "TestSubmitRunProviderPoolRewritesAdapterAndTarget",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/provider_scheduling_test.go",
"metric": "function_loc",
"level": "warning",
"value": 83,
"function": "TestModelQueueUsesProviderQueuePolicy",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/provider_scheduling_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 215,
"function": "TestResolveProviderPoolCandidatesFiltersInvalidProviders",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/queue_dispatch_test.go",
"metric": "function_loc",
"level": "warning",
"value": 81,
"function": "TestSubmitRunModelQueueContextCancelRemovesQueuedItem",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/queue_dispatch_test.go",
"metric": "function_loc",
"level": "warning",
"value": 119,
"function": "TestSubmitRunModelQueueDispatchesAcrossNodes",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/queue_dispatch_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 135,
"function": "TestSubmitRunModelQueueDispatchesQueuedRunAfterDisconnectToLiveNode",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_command_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 130,
"function": "TestServiceExecuteCommand",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_command_test.go",
"metric": "function_loc",
"level": "warning",
"value": 81,
"function": "TestServiceExecuteCommandAgentCommandCapabilitiesSuccess",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_dispatch.go",
"metric": "function_loc",
"level": "warning",
"value": 106,
"function": "Service.SubmitProviderPool",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_dispatch.go",
"metric": "function_loc",
"level": "warning",
"value": 83,
"function": "Service.dispatchProviderPoolRun",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_dispatch.go",
"metric": "function_loc",
"level": "warning",
"value": 90,
"function": "Service.resolveProviderPoolCandidates",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_dispatch.go",
"metric": "function_loc",
"level": "warning",
"value": 91,
"function": "Service.submitRunQueued",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_dispatch_internal_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 165,
"function": "TestSubmitProviderPoolDispatchInfoObservation",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_dispatch_internal_test.go",
"metric": "function_loc",
"level": "warning",
"value": 115,
"function": "TestSubmitProviderPoolSelectsNormalizedProviderAndDoesNotOpenTunnel",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/run_dispatch_internal_test.go",
"metric": "function_loc",
"level": "warning",
"value": 111,
"function": "TestSubmitProviderPoolUsesSingleAdmissionForMixedCandidates",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/service_internal_test.go",
"metric": "function_loc",
"level": "warning",
"value": 95,
"function": "TestRuntimeConfigSnapshotConcurrentReplace",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/status_provider_test.go",
"metric": "function_loc",
"level": "warning",
"value": 86,
"function": "TestListNodeSnapshotsProviderEmptyAdapterFallbackToProviderID",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/service/status_provider_test.go",
"metric": "function_loc",
"level": "warning",
"value": 94,
"function": "TestListNodeSnapshotsProviderIdDiffersFromAdapterKey",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/transport/integration_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 149,
"function": "TestEdgeServerIntegration",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/transport/integration_test.go",
"metric": "function_loc",
"level": "warning",
"value": 116,
"function": "TestEdgeServerRegistrationFailureReasons",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/edge/internal/transport/server.go",
"metric": "function_loc",
"level": "split_review",
"value": 161,
"function": "Server.onNodeConnected",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/adapters_blackbox_test.go",
"metric": "function_loc",
"level": "warning",
"value": 102,
"function": "TestBuildFromPayload_OllamaMultiInstanceExecution",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/adapters_blackbox_test.go",
"metric": "function_loc",
"level": "warning",
"value": 93,
"function": "TestBuildFromPayload_OpenAICompatExecution",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/antigravity_print_blackbox_test.go",
"metric": "function_loc",
"level": "warning",
"value": 95,
"function": "TestCLIExecuteAntigravityPrintResumesLogicalSession",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/cli_workspace_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 236,
"function": "TestCLIWorkspacePreflightFailures",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/codex_app_server.go",
"metric": "function_loc",
"level": "warning",
"value": 99,
"function": "decodeAppServerNotification",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/codex_app_server_session_test.go",
"metric": "function_loc",
"level": "warning",
"value": 88,
"function": "TestCodexAppServerTurnStartRequestShape",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/codex_exec_blackbox_test.go",
"metric": "function_loc",
"level": "warning",
"value": 85,
"function": "TestCLIExecuteCodexExecJSONFormatStreamsAgentMessageAndResumes",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/codex_exec_blackbox_test.go",
"metric": "function_loc",
"level": "warning",
"value": 90,
"function": "TestCLIExecuteCodexExecPersistentResumesLogicalSession",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/oneshot.go",
"metric": "function_loc",
"level": "warning",
"value": 106,
"function": "CLI.executeCommand",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/opencode_sse.go",
"metric": "function_loc",
"level": "split_review",
"value": 206,
"function": "opencodeExecutor.driveOpencodeSSE",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/opencode_sse_blackbox_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 130,
"function": "TestCLIExecuteOpencodeSSE_ConsecutiveExecutesReuseSession",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/opencode_sse_blackbox_test.go",
"metric": "function_loc",
"level": "warning",
"value": 88,
"function": "TestCLIExecuteOpencodeSSE_GlobalMessagePartDeltaStreamsTextOnly",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/opencode_sse_blackbox_test.go",
"metric": "function_loc",
"level": "warning",
"value": 110,
"function": "TestCLIExecuteOpencodeSSE_StreamsTextDeltas",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/opencode_sse_blackbox_test.go",
"metric": "function_loc",
"level": "warning",
"value": 84,
"function": "newOpencodeFakeServer",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/persistent.go",
"metric": "function_loc",
"level": "split_review",
"value": 183,
"function": "persistentExecutor.Execute",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/persistent.go",
"metric": "function_loc",
"level": "warning",
"value": 112,
"function": "startProfileSession",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/status/antigravity.go",
"metric": "function_loc",
"level": "split_review",
"value": 130,
"function": "AntigravityChecker.Check",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/status/claude.go",
"metric": "function_loc",
"level": "split_review",
"value": 157,
"function": "ClaudeChecker.Check",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/status/claude_test.go",
"metric": "function_loc",
"level": "warning",
"value": 86,
"function": "TestClaudeCheckerParsesCursorRepaintedUsageScreen",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/cli/status/codex.go",
"metric": "function_loc",
"level": "split_review",
"value": 140,
"function": "CodexChecker.Check",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/config_set.go",
"metric": "function_loc",
"level": "warning",
"value": 105,
"function": "BuildConfigSet",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/ollama/ollama.go",
"metric": "function_loc",
"level": "split_review",
"value": 145,
"function": "Ollama.Execute",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/openai_compat/openai_compat.go",
"metric": "function_loc",
"level": "split_review",
"value": 205,
"function": "Adapter.Execute",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/openai_compat/openai_compat.go",
"metric": "function_loc",
"level": "warning",
"value": 93,
"function": "Adapter.TunnelProvider",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/openai_compat/openai_compat.go",
"metric": "function_loc",
"level": "split_review",
"value": 125,
"function": "Adapter.buildRequestBody",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/openai_compat/provider_tunnel_test.go",
"metric": "function_loc",
"level": "warning",
"value": 84,
"function": "TestOpenAICompatTunnelProvider",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/openai_compat/provider_tunnel_test.go",
"metric": "function_loc",
"level": "warning",
"value": 89,
"function": "TestOpenAICompatTunnelProvider_Cancel",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/openai_compat/thinking_policy_test.go",
"metric": "function_loc",
"level": "warning",
"value": 82,
"function": "TestOpenAICompatExecuteMapsReasoningEffortNone",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/vllm/vllm.go",
"metric": "function_loc",
"level": "split_review",
"value": 161,
"function": "Vllm.Execute",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/vllm/vllm.go",
"metric": "function_loc",
"level": "warning",
"value": 94,
"function": "Vllm.TunnelProvider",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/adapters/vllm/vllm_test.go",
"metric": "function_loc",
"level": "warning",
"value": 89,
"function": "TestVllmTunnelProvider_Cancel",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/bootstrap/module.go",
"metric": "function_loc",
"level": "split_review",
"value": 161,
"function": "Module",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/bootstrap/module_test.go",
"metric": "function_loc",
"level": "warning",
"value": 102,
"function": "TestReconnectSupervisorPolicyTimingAndLimit",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/command_test.go",
"metric": "function_loc",
"level": "warning",
"value": 86,
"function": "TestOnCommandRequest_CapabilitiesWithProber",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/gate_refresh_test.go",
"metric": "function_loc",
"level": "warning",
"value": 87,
"function": "TestNodeConfigRefreshAppliesOpenAICompatCapacity",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/gate_refresh_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 129,
"function": "TestNodeConfigRefreshDecreasesExistingAdapterGateCapacity",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/gate_refresh_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 154,
"function": "TestNodeConfigRefreshUpdatesExistingAdapterGateCapacity",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/gate_refresh_test.go",
"metric": "function_loc",
"level": "warning",
"value": 114,
"function": "TestNodeConfigRefreshUsesUpdatedOpenAICompatEndpoint",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/gate_refresh_test.go",
"metric": "function_loc",
"level": "warning",
"value": 88,
"function": "TestNodeConfigRefreshUsesUpdatedOpenAICompatHeaders",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/node.go",
"metric": "function_loc",
"level": "warning",
"value": 112,
"function": "Node.OnConfigRefresh",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/node.go",
"metric": "function_loc",
"level": "warning",
"value": 84,
"function": "Node.OnProviderTunnelRequest",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/node.go",
"metric": "function_loc",
"level": "split_review",
"value": 138,
"function": "Node.OnRunRequest",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/node_concurrency_integration_test.go",
"metric": "function_loc",
"level": "warning",
"value": 89,
"function": "TestIntegration_ResolveAdapterErrorObservedByEdge",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/node_concurrency_integration_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 122,
"function": "TestOnRunRequest_SynthesizedCancelledObservedByEdge",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/node_concurrency_integration_test.go",
"metric": "function_loc",
"level": "warning",
"value": 88,
"function": "TestOnRunRequest_SynthesizedErrorObservedByEdge",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/node_concurrency_integration_test.go",
"metric": "function_loc",
"level": "warning",
"value": 86,
"function": "TestOnRunRequest_SynthesizedTerminalObservedByEdge",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/node_concurrency_integration_test.go",
"metric": "function_loc",
"level": "warning",
"value": 110,
"function": "TestOverDispatchSafety_RejectEventObservedByEdge",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/registry_refresh_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 131,
"function": "TestConfigRefreshFailedAdapterStartDoesNotRollbackConfig",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/registry_refresh_test.go",
"metric": "function_loc",
"level": "warning",
"value": 92,
"function": "TestNodeConfigRefreshDoesNotStopOldRegistryWithActiveRun",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/registry_refresh_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 128,
"function": "TestNodeConfigRefreshDoesNotStopUnchangedActiveAdapterWhenSiblingChanges",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/node/registry_refresh_test.go",
"metric": "function_loc",
"level": "warning",
"value": 85,
"function": "TestNodeConfigRefreshWaitsForResolvedRunRegistrationBeforeStoppingOldRegistry",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/transport/heartbeat_test.go",
"metric": "function_loc",
"level": "warning",
"value": 104,
"function": "TestHeartbeatSurvivesIdleAfterNodeCommand",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/transport/integration_test.go",
"metric": "function_loc",
"level": "split_review",
"value": 127,
"function": "TestNodeClientIntegration",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "apps/node/internal/transport/session.go",
"metric": "function_loc",
"level": "warning",
"value": 111,
"function": "newSession",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "packages/flutter/iop_console/lib/src/iop_console_overview.dart",
"metric": "function_loc",
"level": "split_review",
"value": 205,
"function": "_IopConsoleOverviewState.build",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "packages/flutter/iop_console/test/iop_console_shell_test.dart",
"metric": "function_loc",
"level": "split_review",
"value": 189,
"function": "main",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "packages/go/config/config.go",
"metric": "function_loc",
"level": "warning",
"value": 95,
"function": "CheckProviderLegacyConflict",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "packages/go/config/config.go",
"metric": "function_loc",
"level": "warning",
"value": 98,
"function": "LoadEdge",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "packages/go/config/config.go",
"metric": "function_loc",
"level": "warning",
"value": 82,
"function": "normalizeAdapters",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "packages/go/config/edge_openai_config_test.go",
"metric": "function_loc",
"level": "warning",
"value": 103,
"function": "TestLoadEdge_VLLMOpenAIRouteAndInstance",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "packages/go/config/provider_catalog_config_test.go",
"metric": "function_loc",
"level": "warning",
"value": 88,
"function": "TestLoadEdge_ModelCatalogBasicHappyPath",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "packages/go/config/provider_catalog_validation_config_test.go",
"metric": "function_loc",
"level": "warning",
"value": 84,
"function": "TestLoadEdgeProviderLongContextCapacityValidation",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "packages/go/config/provider_catalog_validation_config_test.go",
"metric": "function_loc",
"level": "warning",
"value": 81,
"function": "TestLoadEdge_NodeProviderEnabledDefaultsTrue",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "packages/go/config/provider_catalog_validation_config_test.go",
"metric": "function_loc",
"level": "warning",
"value": 119,
"function": "TestModelCatalogEntry_Validate",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "scripts/e2e-long-context-admission-smoke.sh",
"metric": "function_loc",
"level": "warning",
"value": 107,
"function": "run_preflight",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "scripts/e2e-smoke.sh",
"metric": "function_loc",
"level": "split_review",
"value": 159,
"function": "check_node_messages_relayed_to_edge",
"reason": "pre-refactor baseline: existing function exceeds threshold"
},
{
"path": "scripts/readability_audit.py",
"metric": "function_loc",
"level": "warning",
"value": 82,
"function": "audit",
"reason": "pre-refactor baseline: existing function exceeds threshold"
}
],
"task_read_set_totals": [
{
"task_id": "client-ui-readability",
"metric": "read_set_total",
"value": 1852,
"reason": "pre-refactor baseline: read-set total exceeds budget until the task refactor lands"
},
{
"task_id": "edge-config-refresh-readability",
"metric": "read_set_total",
"value": 1256,
"reason": "pre-refactor baseline: read-set total exceeds budget until the task refactor lands"
},
{
"task_id": "edge-openai-readability",
"metric": "read_set_total",
"value": 5099,
"reason": "pre-refactor baseline: read-set total exceeds budget until the task refactor lands"
},
{
"task_id": "edge-service-readability",
"metric": "read_set_total",
"value": 2650,
"reason": "pre-refactor baseline: read-set total exceeds budget until the task refactor lands"
},
{
"task_id": "edge-transport-readability",
"metric": "read_set_total",
"value": 1053,
"reason": "pre-refactor baseline: read-set total exceeds budget until the task refactor lands"
},
{
"task_id": "node-adapters-readability",
"metric": "read_set_total",
"value": 3396,
"reason": "pre-refactor baseline: read-set total exceeds budget until the task refactor lands"
},
{
"task_id": "node-core-readability",
"metric": "read_set_total",
"value": 2519,
"reason": "pre-refactor baseline: read-set total exceeds budget until the task refactor lands"
},
{
"task_id": "packages-go-config-readability",
"metric": "read_set_total",
"value": 1170,
"reason": "pre-refactor baseline: read-set total exceeds budget until the task refactor lands"
},
{
"task_id": "readability-baseline",
"metric": "read_set_total",
"value": 6359,
"reason": "pre-refactor baseline: read-set total exceeds budget until the task refactor lands"
}
]
}