From 32dab26426a6e0071687230fffd3650498482eea Mon Sep 17 00:00:00 2001 From: Suzumiya Date: Wed, 7 Oct 2026 20:40:21 +0800 Subject: [PATCH] =?UTF-8?q?chore(scripts):=20=E5=85=A5=E5=86=8C=20agc-linu?= =?UTF-8?q?x=20=E5=91=8A=E8=AD=A6=E5=9F=BA=E7=BA=BF=EF=BC=88CI=20=E9=A6=96?= =?UTF-8?q?=E9=87=87=EF=BC=8C69=20=E6=9D=A1=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 来源:run 3729 的 ai-game-creator-shell-rust-lane-2 里新增步骤 “Run AGC shell Rust warning check (Linux)” 的首采输出(该步骤首采模式逐条打印清单、不判失败)。键=路径|符号|lint(不含行号),共入册 69 条;自本条起 agc-linux 档从“首采”转为“只拦新增”。 --- scripts/warning-baseline.json | 354 ++++++++++++++++++++++++++++++++++ 1 file changed, 354 insertions(+) diff --git a/scripts/warning-baseline.json b/scripts/warning-baseline.json index 97e9fc7be..c0db1a2f4 100644 --- a/scripts/warning-baseline.json +++ b/scripts/warning-baseline.json @@ -85,6 +85,360 @@ "targetDirPolicy": "profile 专属目录(默认 /genarrative-warncheck/;可用 GENARRATIVE_WARNCHECK_TARGET_DIR 覆盖)", "scope": "只收 first-party 告警:server-rs", "warnings": [] + }, + "agc-linux": { + "description": "AGC 壳:Linux target + 三编辑器 feature(CI 覆盖)", + "command": "cargo check --locked --features cocos-editor-execute,unity-editor-execute,godot-editor-execute --manifest-path apps/ai-game-creator-shell/src-tauri/Cargo.toml", + "scope": "只收 first-party 告警:apps/ai-game-creator-shell/src-tauri", + "targetDirPolicy": "profile 专属目录(默认 cargo metadata 的 target_directory;GENARRATIVE_WARNCHECK_TARGET_DIR 可覆盖)", + "baselineNote": "由 CI 首采(run 3729 的 lane 2/2 job 22825)日志抽取入册;键=路径|符号|lint,不含行号。", + "warnings": [ + { + "path": "apps/ai-game-creator-shell/src-tauri/src/acl_repair_gate.rs", + "symbol": "ACL_REPAIR_POLICY", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/acl_repair_gate.rs", + "symbol": "AclRepairGateResult", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/acl_repair_gate.rs", + "symbol": "AclRepairPolicy", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/acl_repair_gate.rs", + "symbol": "LeaderGuard", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/acl_repair_gate.rs", + "symbol": "Repaired", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/acl_repair_gate.rs", + "symbol": "complete", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/acl_repair_gate.rs", + "symbol": "cooldown_for", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/acl_repair_gate.rs", + "symbol": "next_leader_id", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/acl_repair_gate.rs", + "symbol": "prune", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/acl_repair_gate.rs", + "symbol": "recorded_at", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/acl_repair_gate.rs", + "symbol": "run", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/agent/codex_app_server/process_tree.rs", + "symbol": "role", + "lint": "unused_variables" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/agent/codex_cli.rs", + "symbol": "app_data", + "lint": "unused_variables" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/agent/codex_cli.rs", + "symbol": "local_app_data", + "lint": "unused_variables" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/agent/codex_cli.rs", + "symbol": "path", + "lint": "unused_variables" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/agent/codex_cli.rs", + "symbol": "runtime_config_dir", + "lint": "unused_variables" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/agent/direct_patch.rs", + "symbol": "PATCH_EXECUTOR_FLAG", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/agent/direct_patch.rs", + "symbol": "quoted_argument_units", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "PROJECT_COMMAND_SENSITIVE_GIT_PATHSPECS", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "PROJECT_COMMAND_SENSITIVE_RG_GLOBS", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "argument_matches_option", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "argument_matches_short_option", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "launch", + "lint": "unused_variables" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "project_command_git_argument_contains_sensitive_object_path", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "project_command_git_path_is_sensitive", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "resolve_project_bootstrap_spec_at", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "run_project_bootstrap_command_at", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "validate_cargo_arguments", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "validate_git_arguments", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "validate_node_arguments", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "validate_npm_arguments", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_exec.rs", + "symbol": "validate_rg_arguments", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_sandbox_trampoline.rs", + "symbol": "CONTROL_FD", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/command_sandbox_trampoline.rs", + "symbol": "new", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/config.rs", + "symbol": "game_creator_private_path_allows_auto_elevation", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/config.rs", + "symbol": "inspect_game_creator_runtime_config_dir", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/config.rs", + "symbol": "normalize_windows_policy_path", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/editor_adapters/execution.rs", + "symbol": "execute_godot_editor_code", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/editor_adapters/execution.rs", + "symbol": "execute_managed_editor_code", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/editor_adapters/execution.rs", + "symbol": "execute_unity_editor_code", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/editor_adapters/execution.rs", + "symbol": "managed_editor_rpc", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/environment_check/web_creation/ownership.rs", + "symbol": "job_name", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/export/draft/taonier/mod.rs", + "symbol": "TaonierArtifactPackage", + "lint": "unused_imports" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/export/draft/taonier/registry.rs", + "symbol": "read_form", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/export/draft/taonier/script.rs", + "symbol": "package_json_relative", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/game_package_upload.rs", + "symbol": "GAME_PACKAGE_UPLOAD_PROGRESS_EVENT", + "lint": "unused_imports" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/game_package_upload.rs", + "symbol": "ensure_staging_path_in_dir", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/game_package_upload/runtime.rs", + "symbol": "GAME_PACKAGE_UPLOAD_PROGRESS_EVENT", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_identity.rs", + "symbol": "std::io", + "lint": "unused_imports" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "ProcessSessionBridgeServer", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "ProcessSessionBridge", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "ProcessSessionExecVerdict", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "ProcessSessionSandboxReadyVerdict", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "ProcessSessionTerminalVerdict", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "bind", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "encode_hex", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "from_launch", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "multiple methods are never used", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "peer_credentials", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "random_nonce", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/process_session_bridge.rs", + "symbol": "valid_failure_kind", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/project.rs", + "symbol": "bootstrap::*", + "lint": "unused_imports" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/project/bootstrap.rs", + "symbol": "BOOTSTRAP_PACKAGE_MAX_BYTES", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/project/bootstrap.rs", + "symbol": "ProjectBootstrapResult", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/project/bootstrap.rs", + "symbol": "read_bootstrap_file", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/project/bootstrap.rs", + "symbol": "run_project_bootstrap_at", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/project/filesystem.rs", + "symbol": "acl_repair_attempted", + "lint": "unused_assignments" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/project/verification.rs", + "symbol": "run_project_verification_with_commit_at", + "lint": "dead_code" + }, + { + "path": "apps/ai-game-creator-shell/src-tauri/src/windows.rs", + "symbol": "configure_windows_background_tokio_command", + "lint": "dead_code" + } + ] } } }