工程(波0基线刷新): gdstyle基线按迭代40还债后实测重锚216→168键+波0条目销号——只降不升纪律执行,level_map_screen类变量红留账(21)还债归迭代41

①tools/gdstyle_baseline.txt: 删48消解键(battle_orchestrator函数级20+damage_controller9+grant_segment8+adventure_runner3+combat_segment2+settlement_table schema2+treasure_interact_controller2+config_db_cross_validator1+level_runner1)+收紧14键(宿主类变量50→38/行数1302→1037按钉定版现值——iter40在案读数1036系合回前值,合并带入+1行按现值登记;adventure_runner类变量42→28;level_runner38→30与public-methods54→50;board_view45→32;unit_container81→68与局部17→16;reward_economy roll_board54→52;enemy_table三键;skill_table两键)+零新增;执行=用户令子Agent,refresh全量重生成被骤降守卫拦(168<216×0.9)且--force会连level_map_screen 21→22抬升违「只降不升」——转闸件write_baseline手工合并(当前扫描∩旧基线,带数值取min),写前后断言全过,文件头注随闸件现行序列化器同步

②game/tests/.gates/baseline.json未动: 红行与在册指纹8467b4588a20逐字节一致(static_scan.log实算复核吻合),不失配无需换代

③复核: 检查模式exit=1红集恰=level_map_screen max-class-variables一条,基线外新违规0(battle_fx_host/reward_grant/settlement拆段零新键)

④账面: 待办清单波0条目完成整删(执行时点=迭代40合回+批后收尾落地后用户发令)+深拆批条目宿主基线读数随重锚同步(50/1302→38/1037);roadmap当前位「开工前固定动作波0」句改已执行销号
This commit is contained in:
DKChan committed 2026-10-28 06:02:06 +08:00
1 parent e5bd44b0a8
commit d219dd3ddb
3 files changed
+17 -75

No files matched your search

+15 -65
View File
@@ -3,37 +3,12 @@
# (class variables/public methods/file length)=文件|规则;无数字条目=文件|规则|消息全文(裸键)。
# 带数条目行格式「键 = 数值」,数值=消息剥掉 (max N) 段后首个整数;无数字条目裸键。
# 判定=键不在基线红(NEW)、同键数值较登记值恶化红(WORSENED)、改小/持平不红。
# 阈值口径=gdstyle 默认值(tools/gdstyle.toml 不设数值阈值);本文件只是欠账簿,登记值只准随
# 还债下降,禁抬高到现状(抬高=把既有代码当尺子,默认恶化)。
# 重生成=人工专用:python tools/gdstyle_gate.py --refresh(禁清基线换绿;改规则口径/工具升级须随批
# 重生成;新键数较旧基线少逾 10% 或登记值被抬高均拒写,须加 --force 显式确认)。
# 重生成;新键数较旧基线少逾 10% 须加 --force 显式确认)。
game/core/action_economy.gd|quality/max-class-variables = 18
game/core/adventure_runner.gd|quality/max-branches|_apply_curio_pick = 10
game/core/adventure_runner.gd|quality/max-class-variables = 42
game/core/adventure_runner.gd|quality/max-public-methods = 23
game/core/adventure_runner.gd|quality/max-returns|_apply_curio_pick = 9
game/core/battle_orchestrator.gd|quality/max-branches|begin_battle = 17
game/core/battle_orchestrator.gd|quality/max-branches|use_treasure = 18
game/core/battle_orchestrator.gd|quality/max-class-variables = 50
game/core/battle_orchestrator.gd|quality/max-file-length = 1302
game/core/battle_orchestrator.gd|quality/max-function-length|_place_variants = 52
game/core/battle_orchestrator.gd|quality/max-function-length|begin_battle = 141
game/core/battle_orchestrator.gd|quality/max-function-length|use_treasure = 62
game/core/battle_orchestrator.gd|quality/max-local-variables|_place_variants = 14
game/core/battle_orchestrator.gd|quality/max-local-variables|begin_battle = 16
game/core/battle_orchestrator.gd|quality/max-local-variables|use_treasure = 11
game/core/battle_orchestrator.gd|quality/max-nesting-depth|_place_variants = 6
game/core/battle_orchestrator.gd|quality/max-parameters|_apply_flat_row = 7
game/core/battle_orchestrator.gd|quality/max-parameters|_apply_gp_row = 6
game/core/battle_orchestrator.gd|quality/max-parameters|_apply_percent_row = 6
game/core/battle_orchestrator.gd|quality/max-parameters|_dispatch_row = 6
game/core/battle_orchestrator.gd|quality/max-parameters|_emit_row = 8
game/core/battle_orchestrator.gd|quality/max-parameters|_grant_routed = 8
game/core/battle_orchestrator.gd|quality/max-parameters|_submit_flat_hero = 7
game/core/battle_orchestrator.gd|quality/max-returns|_apply_flat_row = 9
game/core/battle_orchestrator.gd|quality/max-returns|_fx_fact = 7
game/core/battle_orchestrator.gd|quality/max-returns|begin_battle = 7
game/core/battle_orchestrator.gd|quality/max-returns|use_treasure = 8
game/core/adventure_runner.gd|quality/max-class-variables = 28
game/core/battle_orchestrator.gd|quality/max-class-variables = 38
game/core/battle_orchestrator.gd|quality/max-file-length = 1037
game/core/board_generator.gd|quality/max-branches|measure_inferability = 12
game/core/board_generator.gd|quality/max-function-length|_attempt = 51
game/core/board_generator.gd|quality/max-function-length|generate = 62
@@ -47,21 +22,11 @@ game/core/config_db.gd|quality/max-public-methods = 44
game/core/config_db_cross_validator.gd|quality/max-branches|cross_validate = 21
game/core/config_db_cross_validator.gd|quality/max-function-length|cross_validate = 107
game/core/config_db_cross_validator.gd|quality/max-local-variables|cross_validate = 24
game/core/config_db_cross_validator.gd|quality/max-local-variables|validate_skill_pool_links = 11
game/core/config_db_cross_validator.gd|quality/max-nesting-depth|cross_validate = 5
game/core/config_db_resolver.gd|quality/max-branches|_resolve_progress = 16
game/core/config_db_resolver.gd|quality/max-branches|resolve_enemy_rowset = 12
game/core/config_db_resolver.gd|quality/max-function-length|_resolve_progress = 52
game/core/config_db_resolver.gd|quality/max-local-variables|_resolve_progress = 11
game/core/damage_controller.gd|quality/max-branches|_hero_attack_ctx = 9
game/core/damage_controller.gd|quality/max-branches|_hero_attack_redeem = 10
game/core/damage_controller.gd|quality/max-class-variables = 19
game/core/damage_controller.gd|quality/max-function-length|_hero_attack_ctx = 61
game/core/damage_controller.gd|quality/max-function-length|_hero_attack_redeem = 54
game/core/damage_controller.gd|quality/max-local-variables|_hero_attack_ctx = 16
game/core/damage_controller.gd|quality/max-local-variables|_hero_attack_redeem = 12
game/core/damage_controller.gd|quality/max-local-variables|_resolve_enemy_skill = 13
game/core/damage_controller.gd|quality/max-parameters|open_ticket = 12
game/core/effect_engine.gd|quality/max-branches|validate_trigger_row = 14
game/core/effect_engine.gd|quality/max-function-length|_cond_ok = 52
game/core/effect_engine.gd|quality/max-function-length|rebuild = 55
@@ -70,9 +35,8 @@ game/core/effect_engine.gd|quality/max-nesting-depth|_cond_ok = 5
game/core/effect_engine.gd|quality/max-nesting-depth|rebuild = 5
game/core/effect_engine.gd|quality/max-returns|_cond_ok = 19
game/core/effect_engine.gd|quality/no-else-return|unnecessary 'elif' after 'return'
game/core/level_runner.gd|quality/max-class-variables = 38
game/core/level_runner.gd|quality/max-parameters|start_level_external = 7
game/core/level_runner.gd|quality/max-public-methods = 54
game/core/level_runner.gd|quality/max-class-variables = 30
game/core/level_runner.gd|quality/max-public-methods = 50
game/core/level_runner.gd|quality/max-returns|_enter_node = 7
game/core/meta_progression.gd|quality/max-public-methods = 31
game/core/meta_progression.gd|quality/max-returns|tree_can_buy = 8
@@ -86,37 +50,27 @@ game/core/node_map_generator.gd|quality/max-local-variables|_build = 15
game/core/node_map_generator.gd|quality/max-local-variables|validate_output = 22
game/core/node_map_generator.gd|quality/max-nesting-depth|_check_fork_rules = 5
game/core/node_map_generator.gd|quality/max-returns|validate_output = 7
game/core/reward_economy.gd|quality/max-function-length|roll_board = 54
game/core/reward_economy.gd|quality/max-function-length|roll_board = 52
game/core/reward_economy.gd|quality/max-local-variables|_skewed_cell_rows = 13
game/core/reward_economy.gd|quality/max-local-variables|roll_board = 11
game/core/save_manager.gd|quality/max-public-methods = 52
game/core/save_manager.gd|quality/max-returns|_peek_summary_at = 7
game/core/save_manager.gd|quality/max-returns|load_from_disk = 8
game/core/settlement/combat_segment.gd|quality/max-function-length|run = 83
game/core/settlement/combat_segment.gd|quality/max-local-variables|run = 13
game/core/settlement/grant_segment.gd|quality/max-branches|_judge_seal = 14
game/core/settlement/grant_segment.gd|quality/max-branches|run = 33
game/core/settlement/grant_segment.gd|quality/max-function-length|_judge_seal = 84
game/core/settlement/grant_segment.gd|quality/max-function-length|run = 211
game/core/settlement/grant_segment.gd|quality/max-local-variables|_judge_seal = 11
game/core/settlement/grant_segment.gd|quality/max-local-variables|run = 36
game/core/settlement/grant_segment.gd|quality/max-nesting-depth|_judge_seal = 6
game/core/settlement/grant_segment.gd|quality/max-nesting-depth|run = 6
game/core/status_container.gd|quality/max-nesting-depth|apply_effect = 5
game/core/status_container.gd|quality/max-parameters|_new_instance = 7
game/core/status_container.gd|quality/max-returns|apply_effect = 9
game/core/treasure_items.gd|quality/max-branches|validate_use = 11
game/core/treasure_items.gd|quality/max-nesting-depth|validate_use = 5
game/core/unit_container.gd|quality/max-function-length|spawn = 81
game/core/unit_container.gd|quality/max-local-variables|spawn = 17
game/core/unit_container.gd|quality/max-function-length|spawn = 68
game/core/unit_container.gd|quality/max-local-variables|spawn = 16
game/core/unit_container.gd|quality/max-parameters|spawn = 10
game/data/schemas/adventure_table.gd|quality/max-class-variables = 44
game/data/schemas/board_gen_table.gd|quality/max-branches|validate = 20
game/data/schemas/board_gen_table.gd|quality/max-function-length|validate = 67
game/data/schemas/board_gen_table.gd|quality/max-local-variables|validate = 16
game/data/schemas/enemy_table.gd|quality/max-branches|validate = 32
game/data/schemas/enemy_table.gd|quality/max-function-length|validate = 116
game/data/schemas/enemy_table.gd|quality/max-local-variables|validate = 29
game/data/schemas/enemy_table.gd|quality/max-branches|validate = 30
game/data/schemas/enemy_table.gd|quality/max-function-length|validate = 110
game/data/schemas/enemy_table.gd|quality/max-local-variables|validate = 28
game/data/schemas/forge_table.gd|quality/max-branches|validate = 30
game/data/schemas/forge_table.gd|quality/max-function-length|validate = 95
game/data/schemas/forge_table.gd|quality/max-local-variables|validate = 20
@@ -133,10 +87,8 @@ game/data/schemas/meta_tree_table.gd|quality/max-nesting-depth|validate = 5
game/data/schemas/reward_table.gd|quality/max-branches|validate = 30
game/data/schemas/reward_table.gd|quality/max-function-length|validate = 99
game/data/schemas/reward_table.gd|quality/max-local-variables|validate = 20
game/data/schemas/settlement_table.gd|quality/max-branches|validate = 16
game/data/schemas/settlement_table.gd|quality/max-class-variables = 18
game/data/schemas/skill_table.gd|quality/max-branches|validate = 29
game/data/schemas/skill_table.gd|quality/max-function-length|validate = 80
game/data/schemas/skill_table.gd|quality/max-branches|validate = 26
game/data/schemas/skill_table.gd|quality/max-function-length|validate = 76
game/data/schemas/status_effect_table.gd|quality/max-branches|validate = 12
game/data/schemas/treasure_item_table.gd|quality/max-branches|validate = 44
game/data/schemas/treasure_item_table.gd|quality/max-function-length|validate = 147
@@ -154,8 +106,6 @@ game/presentation/hud_presenter.gd|quality/max-parameters|refresh = 8
game/presentation/hud_presenter.gd|quality/max-parameters|tune_sim_report = 10
game/presentation/main.gd|quality/max-class-variables = 49
game/presentation/playtest_logger.gd|quality/no-debug-print|debug 'print()' call found
game/presentation/treasure_interact_controller.gd|quality/max-local-variables|inventory_projection = 11
game/presentation/treasure_interact_controller.gd|quality/max-parameters|_init = 7
game/presentation/tune_sim_controller.gd|quality/await-in-loop|'await' used inside a loop
game/presentation/tune_sim_controller.gd|quality/max-local-variables|run = 11
game/presentation/tune_sim_controller.gd|quality/no-debug-print|debug 'print()' call found
@@ -181,7 +131,7 @@ game/presentation/views/board_cell_unit.gd|quality/max-local-variables|_draw = 1
game/presentation/views/board_fx_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
game/presentation/views/board_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
game/presentation/views/board_view.gd|quality/max-branches|_paint_cell = 24
game/presentation/views/board_view.gd|quality/max-class-variables = 45
game/presentation/views/board_view.gd|quality/max-class-variables = 32
game/presentation/views/board_view.gd|quality/max-function-length|_paint_cell = 139
game/presentation/views/board_view.gd|quality/max-local-variables|_paint_cell = 22
game/presentation/views/board_view.gd|quality/max-public-methods = 27