Testing Plan¶
The godot/ codebase's testing gaps, ranked by risk. Automated and manual gaps share one ranking.
Maintained by the testing-plan skill, which upserts this file and never regenerates it.
Status lives in each entry's field table. The Index is regenerated on every run. Human-owned fields
(decision, rationale, owner) and anything marked as human-set are never changed by a run.
Run stamp¶
- Date / commit: 2026-10-26 @
8ad2990(origin/main). This is the first run, bootstrapped fromdocs/handoffs/2026-07-07-testing-gaps-audit.md. run_tests.ps1(walks everygodot/tests/**/test_*.gd): 1021 methods, 2339 checks, 0 failures, 199 did-not-execute, exit 0. All 199 DNE areintegration/*suites self-skipping, because this runner registers no autoloads. Attributed to L0 globs only, there are 0 DNE.smoke_main.tscn(the 32 integration suites): 200 methods, 606 checks, 0 failures, 0 did-not-execute, exit 0, and noSCRIPT ERROR.- Green predicate (exit 0 ∧ failures 0 ∧ dne 0 ∧ methods > 0 ∧ summary found):
- L0 via
run_tests.ps1: green when DNE is attributed per glob. - L3 via
run_tests.ps1: NOT green (dne 199). This is by design, and it meansrun_tests.ps1alone can never license anopen → coveredmove for an L3 entry. - L3 via
smoke_main.tscn: green. - Coverage holes:
godot/tests/verify_tile_depth.gdis test-shaped but no runner executes it (GAP-063).- The
run_tests.ps1log carries 12SCRIPT ERROR: Compile Error … Identifier not found: GameManager/EventBuslines. These are the known cold class-cache artefact for presentation scripts under--script, not test failures. - This run:
- Seeded 17 entries.
- Lane A proposed 48 candidates. Phase 3 refuted 3 (C-06 AP refusal path: covered at L3; C-12/C-45 Sword
Surgeon picker: checklist row G2 exists), confirmed 43, and left 2 uncertain (written
(unverified)). False-positive rate is 3/48.
Trust verdicts¶
| tier | runner | trust | basis |
|---|---|---|---|
| L0 | run_tests.ps1 |
reports-dne (proposed) |
Every file uses TestHelpers.mark_unreached, and the runner sums it into the summary. A vacuous-pass guard fails any method with 0 checks and 0 DNE. |
| L3 | run_tests.ps1 |
reports-dne |
Every integration method self-skips through mark_unreached, so 199 DNE are reported and none are false-green. |
| L3 | smoke_main.tscn |
reports-dne (proposed) |
grep "assert_true(true" over godot/tests/integration/** finds 0 hits. The old test_combat_smoke.gd tautology skips now go through mark_unreached. The vacuous-pass guard is present. |
| manual | docs/design/combat/Combat_Manual_Test_Plan.md |
manual-baseline: none |
0 of 47 rows carry a P/F result. No manual pass has ever been recorded. |
Needs ratification¶
| # | item | proposal | awaits |
|---|---|---|---|
| R1 | GAP-011 status | open → covered (test_soaked_hits_l3.gd, f3c06c9). Phase 3 confirmed. |
owner yes/no |
| R2 | GAP-017 status | intentionally-red → covered. Fixed by 3b4dcee, and the assertion was not weakened. Phase 3 confirmed. |
owner yes/no |
| R3 | spine_weight for six modules not in the ratified table |
combat_manager 4, status_effects 4, apotheosis 3, combat_logic_other 3, presentation_other 2, data_and_misc_logic 2. Entries in these modules are scored with these values meanwhile. | owner values |
| R4 | Trust for L0/run_tests.ps1 and L3/smoke_main.tscn |
reports-dne. This is first-time detection, not yet ratified, and the reference corpus had ratified cannot-distinguish for integration before the tautology skips were removed. |
owner yes/no |
| R5 | Manual checklist not seeded | The 47 rows of Combat_Manual_Test_Plan.md were not bootstrapped as manual-unverified entries, because this run was scoped to the automated audit. Seed them on the next run? |
owner yes/no |
| R6 | parse_spec for both runners |
Written against this run's captured output: the run_tests.ps1 and smoke_main.tscn regexes in the front matter. |
owner yes/no |
| R7 | GAP-003's recommended fix | When a shared HexGrid extraction lands, the anchors move to logic/combat/hex_grid.gd. Rename-follow keeps the ID. |
— (informational) |
Index¶
Open, ranked¶
| rank | id | risk | title |
|---|---|---|---|
| 1 | GAP-002 | L4 × I5 = 20 | find_path and get_cells_in_range have no direct test (narrowed from audit #2) |
| 2 | GAP-003 | L5 × I4 = 20 | Hex↔pixel maths duplicated across three files, tested nowhere (audit #3) |
| 3 | GAP-005 | L4 × I4 = 16 | combat_ai defensive / support / taunt / MP-fallback branches unexercised (audit #5) |
| 4 | GAP-007 | L4 × I4 = 16 | target_selector.start_targeting filter chain untested (audit #7) |
| 5 | GAP-048 | L4 × I4 = 16 | Trap spring and surface on-enter damage/status wiring unasserted |
| 6 | GAP-049 | L4 × I4 = 16 | Stand-on-surface damage (_apply_on_turn_effects) unasserted |
| 7 | GAP-050 | L4 × I4 = 16 | Boss-outcome combat end (win/lose meters) has no L3 |
| 8 | GAP-051 | L4 × I4 = 16 | Blood & Soil turn-start wiring and MP regen unasserted |
| 9 | GAP-053 | L4 × I4 = 16 | Equipment charge gate/spend helpers in combat_manager untested |
| 10 | GAP-004 | L3 × I5 = 15 | calculate_damage pipeline and apply_damage_reduction untested (audit #4) |
| 11 | GAP-019 | L3 × I5 = 15 | AP skill pricing (get_skill_cost) has no L0 test |
| 12 | GAP-020 | L3 × I5 = 15 | Enemy-side AP arms (start_turn / end_turn for is_ally=false) not tested at L0 (unverified) |
| 13 | GAP-037 | L3 × I5 = 15 | Neighbour bounds filter never asserted (unverified) |
| 14 | GAP-006 | L3 × I4 = 12 | position_validator targeting gates: untested arms of get_valid_targets / can_use_skill / get_skill_range (narrowed from audit #6) |
| 15 | GAP-028 | L3 × I4 = 12 | AI keeps the best skill id when it falls back to basic_attack targets |
| 16 | GAP-029 | L3 × I4 = 12 | AI terminal fallbacks (no enemies / random target) never asserted |
| 17 | GAP-031 | L3 × I4 = 12 | AI untargetability: the consolidated is_untargetable_offensively path is never driven |
| 18 | GAP-036 | L3 × I4 = 12 | line_through only tested along a row |
| 19 | GAP-043 | L3 × I4 = 12 | Taunt never redirects: taunter_id is dropped when the status is built |
| 20 | GAP-044 | L3 × I4 = 12 | Status damage-reduction sum + cap untested |
| 21 | GAP-052 | L3 × I4 = 12 | Frightened cornered / flee-battle branch never pinned |
| 22 | GAP-058 | L3 × I4 = 12 | PlacementPicker never-stall guarantees (no legal tiles / ESC / bad click) untested |
| 23 | GAP-059 | L3 × I4 = 12 | PlacementPicker._build_candidates dedupe / first-mode-wins untested |
| 24 | GAP-008 | L4 × I3 = 12 | tile_environment_manager Soil + element interactions untested (audit #8) |
| 25 | GAP-009 | L4 × I3 = 12 | skill_panel affordability cascade untested (audit #9) |
| 26 | GAP-060 | L4 × I3 = 12 | Mirror and item panels (show_mirror / show_items) never rendered in a test |
| 27 | GAP-001 | L2 × I5 = 10 | CTB tick maths, remove_unit and the hypothetical preview are untested (narrowed from audit #1) |
| 28 | GAP-018 | L2 × I5 = 10 | Live and preview CTB comparators are hand-kept twins; the preview speed arm is never checked against live order |
| 29 | GAP-021 | L2 × I5 = 10 | AP cap clip with carryover + recurring bonus never exercised; suspected double-count |
| 30 | GAP-022 | L2 × I5 = 10 | set_agility AP re-derivation and cap raise only asserted as "fewer" at L3 |
| 31 | GAP-035 | L2 × I5 = 10 | Hex line / LOS rasterisation untested off a straight row |
| 32 | GAP-046 | L2 × I5 = 10 | _get_stat_value: only the resilience arm is asserted; unknown stat silently returns 5.0 |
| 33 | GAP-056 | L5 × I2 = 10 | Results screen (victory/defeat routing) has no checklist row and no assertion |
| 34 | GAP-040 | L3 × I3 = 9 | Item catalog loader never tested against real data |
| 35 | GAP-041 | L3 × I3 = 9 | tile_environment_manager.clear_unit (defeat cleanup) untested |
| 36 | GAP-042 | L3 × I3 = 9 | On-enter / on-stand payload API has no production caller and disagrees with the live path |
| 37 | GAP-063 | L3 × I3 = 9 | verify_tile_depth.gd is a test-shaped script no runner executes |
| 38 | GAP-011 | L2 × I4 = 8 | Front-row protection runtime wiring has no L3 (audit #11) |
| 39 | GAP-012 | L2 × I4 = 8 | boss_manager edge branches (narrowed from audit #12) |
| 40 | GAP-030 | L2 × I4 = 8 | Best-damage skill loop cloned into the taunt path, which no test runs |
| 41 | GAP-032 | L2 × I4 = 8 | Restrained boss: re-applied bind freezes escalation instead of halving it |
| 42 | GAP-033 | L2 × I4 = 8 | should_vent lever-gate (P2, vent unavailable) never entered |
| 43 | GAP-034 | L2 × I4 = 8 | BossManager phase-less def and empty-recipe guards unasserted |
| 44 | GAP-038 | L2 × I4 = 8 | LOS-gated obstacle targeting untested; can_use_skill enemy arm ignores LOS |
| 45 | GAP-045 | L2 × I4 = 8 | Stat modifiers summed across statuses / caller-stackable non-catalog status untested |
| 46 | GAP-010 | L4 × I2 = 8 | combat_configurator ally-placement state machine untested (audit #10) |
| 47 | GAP-023 | L2 × I3 = 6 | Boss Apotheosis gate: once:false re-fire and phase wildcard untested |
| 48 | GAP-024 | L2 × I3 = 6 | Apotheosis duration windows: suppressing (0.0) and >1.0 multipliers untested |
| 49 | GAP-025 | L2 × I3 = 6 | Showtime reaction queue: no-allies break and round-robin wrap unasserted |
| 50 | GAP-026 | L2 × I3 = 6 | Sword Surgeon push/pull direction maths only tested on collinear same-row fixtures |
| 51 | GAP-027 | L2 × I3 = 6 | Apotheosis charge: wrong-role and unknown/stale mode names silently give 0 |
| 52 | GAP-039 | L2 × I3 = 6 | Momentum tie rule: the specificity step is untested; top-tie can pick a less specific unit |
| 53 | GAP-054 | L3 × I2 = 6 | Dialogue consequence conditions, unmet fallback and conditional choices untested |
| 54 | GAP-055 | L3 × I2 = 6 | Sprite content-rect detection (project rule 6) has zero tests |
| 55 | GAP-062 | L3 × I2 = 6 | Configurator "Last Config" save/load round-trip untested; Vector2i lost through JSON |
| 56 | GAP-047 | L1 × I4 = 4 | Shorter re-apply on another unit's turn: applied_this_turn arm undistinguished |
| 57 | GAP-057 | L2 × I2 = 4 | SaveManager failure paths and consequence/position restore untested |
| 58 | GAP-061 | L2 × I2 = 4 | Test Lab launch flags leak into later combats (ally positions / grid size) |
Other statuses¶
| id | status | title |
|---|---|---|
| GAP-013 | covered |
Overhealth layer order (audit: well-locked, do not redo) |
| GAP-014 | covered |
Mercy gate (audit: well-locked) |
| GAP-015 | covered |
Energized / Disrupted (audit: well-locked) |
| GAP-016 | covered |
Frozen-shatter / Charmed / Frightened / Marked-amp (audit: well-locked) |
| GAP-017 | intentionally-red |
Save-modifier divergence (intentionally-RED flagship) |
Entries¶
GAP-001 — CTB tick maths, remove_unit and the hypothetical preview are untested (narrowed from audit #1)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/ctb_turn_manager.gd:calculate_base_ticks, godot/scripts/logic/combat/ctb_turn_manager.gd:calculate_ticks_with_ap_bonus, godot/scripts/logic/combat/ctb_turn_manager.gd:remove_unit, godot/scripts/logic/combat/ctb_turn_manager.gd:preview_turn_order#acting-unit |
| risk | L2 × I5 = 10 |
| observations | coverage_pts=3, branches=2, churn_90d=1 |
| anchor_sites | 4 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. The audit said the CTB engine had zero L0 tests; that is no longer true. test_ctb_tie_order.gd (2d05e51), test_ctb_nudge_tick.gd, test_ctb_tempo_config.gd and spec/test_spec_ctb_and_ap.gd now drive end_turn and all four _compare_entries tie levels directly, so those anchors were dropped. Still open: the two tick formulas are only reached through add_unit and asserted relationally (the min-1 clamp runs but would not be missed), calculate_ticks_with_ap_bonus is used only as its own oracle at L3, remove_unit has no test, and the preview_turn_order acting-unit branch has no caller anywhere (it may also skip the normalisation end_turn does — unverified).
Concrete test. Assert calculate_base_ticks(5)==75, (20)==1, (40)==1; calculate_ticks_with_ap_bonus(5,3)==60, (18,5)==1; add a, b; remove_unit("a") leaves b current and a absent from the preview.
GAP-002 — find_path and get_cells_in_range have no direct test (narrowed from audit #2)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/grid_pathfinder.gd:find_path, godot/scripts/logic/combat/grid_pathfinder.gd:get_cells_in_range |
| risk | L4 × I5 = 20 |
| observations | coverage_pts=4, branches=18, churn_90d=0 |
| anchor_sites | 2 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. get_valid_move_positions is now directly tested (test_position_validator.gd::test_move_positions_clamp_to_an_ap_budget and two siblings, 7f97aa0), so it was dropped from the anchors. find_path appears only as a fixture helper in test_lane5_signature_wiring_l3.gd, whose expectations come from the same path, so nothing asserts its result. get_cells_in_range is asserted only through thin callers. Broken pathing means units walk through walls or freeze.
Concrete test. An obstacle column with one gap: the path detours through the gap and each step has hex_distance==1. A walled-off target returns []. start==end. An occupied destination is allowed. get_cells_in_range flood respects impassable cells.
GAP-003 — Hex↔pixel maths duplicated across three files, tested nowhere (audit #3)¶
| field | value |
|---|---|
| status | open |
| claim_type | duplicated-logic |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/combat_manager.gd:grid_to_visual_pos, godot/scripts/presentation/combat/combat_manager.gd:pixel_to_hex, godot/scripts/presentation/combat/target_selector.gd:_grid_to_visual, godot/scripts/presentation/combat/target_selector.gd:_pixel_to_hex, godot/scripts/presentation/combat/placement_picker.gd:_grid_to_visual, godot/scripts/presentation/combat/placement_picker.gd:_pixel_to_hex |
| risk | L5 × I4 = 20 |
| observations | coverage_pts=5, branches=12, churn_90d=30 |
| anchor_sites | 6 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. The clone names differ from the seed's (grid_to_visual_pos in combat_manager, _grid_to_visual/_pixel_to_hex in the other two), so the anchors were rewritten. The logic is the same in all three: pointy-top odd-r layout, the same cube-round, and HEX_INSET duplicated. They differ in hex-size source, typing, and round() vs roundi(), which give the same numbers. combat_manager.pixel_to_hex has no callers, and combat_configurator._rebuild_ally_grid inlines a fourth copy. No test touches any of them. A rounding bug would make a click select the wrong cell.
Concrete test. Round-trip every cell of a 7×5 grid, odd rows included: pixel_to_hex(grid_to_visual(cell)) == cell. Add a near-edge click.
GAP-004 — calculate_damage pipeline and apply_damage_reduction untested (audit #4)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/damage_calculator.gd:calculate_damage, godot/scripts/logic/combat/damage_calculator.gd:apply_damage_reduction |
| risk | L3 × I5 = 15 |
| observations | coverage_pts=4, branches=6, churn_90d=2 |
| anchor_sites | 2 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. No test anywhere calls either function. calculate_damage runs inside L3 skill suites, whose damage checks are relative, so that does not count as coverage. apply_damage_reduction runs only when the target holds a DR status, and no test applies one before a hit. These functions produce the damage numbers players see.
Concrete test. Set dexterity 0 and crit bonus 0, so crit chance is 0. Then the result is floor(base*(1+stat*k)*100/(100+def)), and a skill with no damage key gives 0. apply_damage_reduction(100,"physical",{physical:0.3,all:0.2})==50, and {physical:0.9,all:0.5} clamps to 0.
GAP-005 — combat_ai defensive / support / taunt / MP-fallback branches unexercised (audit #5)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/combat_ai.gd:make_decision#defensive, godot/scripts/logic/combat/combat_ai.gd:make_decision#support, godot/scripts/logic/combat/combat_ai.gd:make_decision#taunt, godot/scripts/logic/combat/combat_ai.gd:_get_usable_skills#mp-fallback |
| risk | L4 × I4 = 16 |
| observations | coverage_pts=4, branches=19, churn_90d=1 |
| anchor_sites | 4 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Every fixture in test_combat_ai_plan.gd is aggressive. Its status stubs return "" from get_taunt_target, every skill costs 0 MP, and basic_attack is always usable. So none of the named arms is entered. Defensive and support enemies exist in the data (corrupted_brute, hexer, Unmaker conduits). Taunt is also blocked upstream by the defect in GAP-043.
Concrete test. A defensive unit with a self_buff skill buffs instead of attacking. Support AI with one weakened enemy targets the other one. An MP-starved unit falls back to basic_attack. A stub returning a taunter makes the AI target the taunter.
GAP-006 — position_validator targeting gates: untested arms of get_valid_targets / can_use_skill / get_skill_range (narrowed from audit #6)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/position_validator.gd:get_valid_targets#self, godot/scripts/logic/combat/position_validator.gd:get_valid_targets#all_allies, godot/scripts/logic/combat/position_validator.gd:can_use_skill#self-ally-default, godot/scripts/logic/combat/position_validator.gd:get_skill_range |
| risk | L3 × I4 = 12 |
| observations | coverage_pts=2, branches=10, churn_90d=6 |
| anchor_sites | 4 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. get_valid_targets (227cf92, effe00f) and the obstacle fallback of can_use_skill (425d478) now have direct tests, so the remaining scope is the untested arms. get_skill_range has no direct test; it is reached only through is_target_in_reach's legacy path. Out of module, and unverified: combat_manager's Sword Surgeon sweep and the Charmed path call get_skill_range directly and bypass range_band.
Concrete test. Legacy {targeting:{range:"adjacent"}} gives 1, "any" gives 0, and "row"/"field" give 1. A self skill yields only the user. all_allies yields only allies.
GAP-007 — target_selector.start_targeting filter chain untested (audit #7)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/target_selector.gd:start_targeting#taunt, godot/scripts/presentation/combat/target_selector.gd:start_targeting#invisible, godot/scripts/presentation/combat/target_selector.gd:start_targeting#los, godot/scripts/presentation/combat/target_selector.gd:start_targeting#side-partition |
| risk | L4 × I4 = 16 |
| observations | coverage_pts=4, branches=20, churn_90d=3 |
| anchor_sites | 4 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. No test calls start_targeting or asserts on valid_targets. L3 suites either reach the empty→cancel path or call _select_target directly. With the real status manager, the elif is_invisible arm is dead. The taunt filter reads taunter_id, which is never stored (GAP-043). This is L0-testable: construct TargetSelector.new() with grid_node=null.
Concrete test. A taunted ally collapses valid_targets to exactly the taunter. An Invisible enemy is dropped for an offensive skill and kept for a heal. An LOS-screened enemy is dropped for a requires_los skill.
GAP-008 — tile_environment_manager Soil + element interactions untested (audit #8)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/tile_environment_manager.gd:increment_soil, godot/scripts/logic/combat/tile_environment_manager.gd:get_bonuses_for_unit, godot/scripts/logic/combat/tile_environment_manager.gd:tick_decay, godot/scripts/logic/combat/tile_environment_manager.gd:_resolve_element_interactions |
| risk | L4 × I3 = 12 |
| observations | coverage_pts=4, branches=18, churn_90d=2 |
| anchor_sites | 4 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. No test calls any of the four, and no test mentions soil at all. _resolve_element_interactions runs through place_effect, but every fixture places onto an empty hex or a non-interacting element, so only the early returns run. The remove_both (fire on ice) and explode (fire on poison) rules are never reached.
Concrete test. increment_soil ×4 gives 1,2,3,3 (capped). Intensity 3 gives the configured bonuses, and decaying gives zero. tick_decay removes a decaying effect. Ice then fire gives remove_both. Poison then fire gives explode.
GAP-009 — skill_panel affordability cascade untested (audit #9)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/skill_panel.gd:_populate_skill_list#ap-short, godot/scripts/presentation/combat/skill_panel.gd:_populate_skill_list#mp, godot/scripts/presentation/combat/skill_panel.gd:_populate_skill_list#pressure, godot/scripts/presentation/combat/skill_panel.gd:_populate_skill_list#valid-target, godot/scripts/presentation/combat/skill_panel.gd:_populate_skill_list#equipment-charges |
| risk | L4 × I3 = 12 |
| observations | coverage_pts=4, branches=14, churn_90d=4 |
| anchor_sites | 5 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Only the Harmony block_fn, the zero-AP pass and the cost label are asserted at L3. The AP-short, MP, Pressure, valid-target and equipment-charge arms are not. combat_manager._on_skill_selected does not re-check MP, Pressure or charges, so on player casts this panel is the only gate for those three.
Concrete test. pressure=1 with cost_pressure=3 gives usable=false. A charge-gated skill at 0 charges is disabled. MP short means disabled. No valid target means disabled.
GAP-010 — combat_configurator ally-placement state machine untested (audit #10)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/combat_configurator.gd:_on_grid_cell_pressed, godot/scripts/presentation/combat/combat_configurator.gd:_find_occupant, godot/scripts/presentation/combat/combat_configurator.gd:_evict_out_of_bounds, godot/scripts/presentation/combat/combat_configurator.gd:_on_roster_toggle, godot/scripts/presentation/combat/combat_configurator.gd:_on_start_pressed#party-size |
| risk | L4 × I2 = 8 |
| observations | coverage_pts=4, branches=12, churn_90d=3 |
| anchor_sites | 5 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. No test calls any of these. test_shell_l3 covers the _prepare_launch success body only. Pressing an occupied cell while holding a member silently drops the held member, and nothing pins that.
Concrete test. Hold A and click an empty cell: A is placed. Click an occupied cell: swap. Shrink the grid: the out-of-bounds member is evicted. A 4th roster pick is rejected.
GAP-011 — Front-row protection runtime wiring has no L3 (audit #11)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/combat_manager.gd:_deal_damage#front-row-reduction |
| risk | L2 × I4 = 8 (I from proposed spine_weight) |
| observations | coverage_pts=1, branches=8, churn_90d=30 |
| anchor_sites | 1 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| ratification_pending | covered, via test_soaked_hits_l3.gd::test_front_row_does_not_reduce_damage_that_was_not_aimed and ::test_front_row_screens_an_aimed_skill_but_not_an_area_skill (f3c06c9). Lane B proposed it and the Phase 3 refuter confirmed it. |
| decision | — |
| rationale | — |
Risk rationale. Lane B found two booted tests (f3c06c9, R27) that assert the reduction through cm._deal_damage (aimed 40→20, collision unreduced) and through _execute_skill. Both show ok in the scene log. The refuter confirmed this. The only residual is an enemy attacking a screened ally, which is trivial. The status is human-set, so the move to covered waits for ratification.
Concrete test. Already present; see the ratification row.
GAP-012 — boss_manager edge branches (narrowed from audit #12)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/boss_manager.gd:apply_lever#unknown-lever, godot/scripts/logic/combat/boss_manager.gd:outcome#tie, godot/scripts/logic/combat/boss_manager.gd:should_vent#threshold-le-0, godot/scripts/logic/combat/boss_manager.gd:update_hp#clamp |
| risk | L2 × I4 = 8 |
| observations | coverage_pts=2, branches=3, churn_90d=1 |
| anchor_sites | 4 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. The ungated lever_available path is now covered: the synthetic def in test_boss_manager.gd has no levers key, and the lever tests assert outcomes. That anchor was dropped. The unknown-lever _ arm, a win/lose tie, vent_threshold<=0, and an over-max update_hp are never exercised.
Concrete test. apply_lever("nonsense")==0. add_win(100) then add_lose(100) gives outcome()=="win". A def with vent_threshold 0 gives should_vent false. update_hp(max+50) clamps to max.
GAP-013 — Overhealth layer order (audit: well-locked, do not redo)¶
| field | value |
|---|---|
| status | covered |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/damage_calculator.gd:apply_damage_to_layers |
| covering_test | godot/tests/spec/test_spec_damage_pipeline.gd::test_health_layer_absorption_order, ::test_overhealth_buffers_core_hp, godot/tests/logic/test_damage_substrate.gd::test_health_layer_drain_order, godot/tests/integration/test_spec_behavior_l3.gd::test_overhealth_saves_unit_from_lethal_hp_hit |
| covered_since | (pre-2026-07-07) |
| risk | L1 × I5 = 5 |
| observations | coverage_pts=1, branches=0, churn_90d=2 |
| anchor_sites | 1 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Re-verified this run. The drain order Shields → Armor → Overhealth → Health is asserted directly at L0 and at L3, and every cited method is ok.
Concrete test. —
GAP-014 — Mercy gate (audit: well-locked)¶
| field | value |
|---|---|
| status | covered |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/mercy_gate.gd:is_clutch_save |
| covering_test | godot/tests/logic/test_mercy_gate.gd (5 methods, including the boundary and zero max_hp) |
| covered_since | (pre-2026-07-07) |
| risk | L1 × I4 = 4 (I from proposed spine_weight) |
| observations | coverage_pts=1, branches=2, churn_90d=0 |
| anchor_sites | 1 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Re-verified this run. is_clutch_save is the only function, and both of its branches are asserted.
Concrete test. —
GAP-015 — Energized / Disrupted (audit: well-locked)¶
| field | value |
|---|---|
| status | covered |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/status_effect_manager.gd:get_energized_ap_bonus, godot/scripts/logic/combat/status_effect_manager.gd:get_disrupted_surcharge |
| covering_test | godot/tests/logic/test_status_lane_status.gd (12 methods), godot/tests/integration/test_spec_behavior_l3.gd::test_energized_grants_bonus_ap_at_turn_start, ::test_disrupted_taxes_and_is_consumed_on_next_skill |
| covered_since | (pre-2026-07-07) |
| risk | L1 × I4 = 4 (I from proposed spine_weight) |
| observations | coverage_pts=1, branches=0, churn_90d=4 |
| anchor_sites | 2 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Re-verified this run. The anchors were made concrete: the seed named only the file.
Concrete test. —
GAP-016 — Frozen-shatter / Charmed / Frightened / Marked-amp (audit: well-locked)¶
| field | value |
|---|---|
| status | covered |
| claim_type | untested-symbol |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/status_effect_manager.gd:skips_turn, godot/scripts/logic/combat/status_effect_manager.gd:marked_damage_multiplier |
| covering_test | godot/tests/integration/test_signature_mechanics_l3.gd::test_frozen_target_shatters_on_physical_but_not_elemental, ::test_charmed_unit_turns_on_nearest_ally, ::test_frightened_unit_loses_turn_control, godot/tests/integration/test_spec_behavior_l3.gd::test_marked_amplifies_incoming_damage |
| covered_since | (pre-2026-07-07) |
| risk | L1 × I4 = 4 (I from proposed spine_weight) |
| observations | coverage_pts=1, branches=0, churn_90d=4 |
| anchor_sites | 2 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Re-verified this run. One correction: Marked-amp is covered by test_spec_behavior_l3 plus the L0 test_status_functional marked_* methods, not by test_signature_mechanics_l3. Also, test_frightened_unit_loses_turn_control accepts either outcome; GAP-052 tracks that.
Concrete test. —
GAP-017 — Save-modifier divergence (intentionally-RED flagship)¶
| field | value |
|---|---|
| status | intentionally-red |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/status_save.gd:is_resisted |
| covering_test | godot/tests/spec/test_spec_status_saves.gd::test_save_uses_halved_stat_modifier_per_spec |
| covered_since | 3b4dcee |
| risk | L1 × I4 = 4 (I from proposed spine_weight) |
| observations | coverage_pts=1, branches=0, churn_90d=0 |
| anchor_sites | 1 |
| first_seen | 2026-07-07 |
| last_verified | 2026-10-26 @ 8ad2990 |
| ratification_pending | covered. The divergence was fixed in code by 3b4dcee (2026-07-06, d20 + ceil(stat/2)). The assertion is byte-identical since 2fb1fe4 and still discriminates, and the test is ok. Lane B proposed this and the Phase 3 refuter confirmed it. |
| decision | — |
| rationale | — |
Risk rationale. The audit labelled this intentionally RED, but the code fix landed a day before the audit was written, so the label was already stale. The test went green without being weakened. The status is human-set, so the intentionally-red → covered move waits for ratification.
Concrete test. —
GAP-018 — Live and preview CTB comparators are hand-kept twins; the preview speed arm is never checked against live order¶
| field | value |
|---|---|
| status | open |
| claim_type | duplicated-logic |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/ctb_turn_manager.gd:_compare_entries, godot/scripts/logic/combat/ctb_turn_manager.gd:_compare_simulated_entries |
| risk | L2 × I5 = 10 |
| observations | coverage_pts=2, branches=6, churn_90d=1 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. The two R5 tie-break comparators are not byte-identical: one reads TurnEntry fields, the other Dictionary keys. The preview/live agreement test uses equal speeds only, so if the speed arm drifts, the "exact" turn preview lies.
Concrete test. Tie two units on ticks with different speeds. Assert get_turn_order_preview()[0] == get_current_unit_id(), and that preview[0..N] equals the turns actually played.
GAP-019 — AP skill pricing (get_skill_cost) has no L0 test¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/ap_system.gd:get_skill_cost |
| risk | L3 × I5 = 15 |
| observations | coverage_pts=3, branches=4, churn_90d=1 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. This prices every party and AI cast. L3 suites use it only as their own oracle. No data skill carries weight, so the light/heavy arms never run, and enemy skills rely on the default of 2.
Concrete test. {ap_cost:1} gives 1, {weight:"light"} 1, {weight:"heavy"} 3, {} 2, and {ap_cost:0,weight:"heavy"} 0.
GAP-020 — Enemy-side AP arms (start_turn / end_turn for is_ally=false) not tested at L0¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/ap_system.gd:start_turn#enemy, godot/scripts/logic/combat/ap_system.gd:end_turn#enemy |
| risk | L3 × I5 = 15 |
| observations | coverage_pts=3, branches=3, churn_90d=1 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 (unverified) |
| decision | — |
| rationale | — |
Risk rationale. No L0 test registers a non-ally unit. The refuter was uncertain: test_enemy_ai_l3::test_an_enemy_spends_its_ap_on_what_it_can_afford asserts an enemy's 3-AP budget at L3, but cannot tell the enemy arm from the ally arm unless carryover is on.
Concrete test. With carryover on, an enemy never banks AP, and its cap ignores constitution.
GAP-021 — AP cap clip with carryover + recurring bonus never exercised; suspected double-count¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/ap_system.gd:start_turn#ally-cap-clip |
| risk | L2 × I5 = 10 |
| observations | coverage_pts=2, branches=1, churn_90d=1 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Suspected defect (refuter: holds). start_turn computes min(base+conserved, ap_cap+R) and then adds R again, so a binding clip yields ap_cap+2R. This is reachable only with carryover on, which is off by default, so it is latent.
Concrete test. Cap 5, base 4, conserved 3, R 1: expect 6 (today 7). Pin the intended value once it is ruled.
GAP-022 — set_agility AP re-derivation and cap raise only asserted as "fewer" at L3¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/ap_system.gd:set_agility |
| risk | L2 × I5 = 10 |
| observations | coverage_pts=3, branches=1, churn_90d=1 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. This is the R8 stat-timing hook. Only test_stat_timing_l3 checks it, and only that AP goes down. Neither the value nor the ap_cap raise is asserted.
Concrete test. set_agility("u",2) gives start_turn==3 and leaves the cap unchanged. set_agility("u",16) gives 7 and raises the cap to 7.
GAP-023 — Boss Apotheosis gate: once:false re-fire and phase wildcard untested¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/apotheosis/apotheosis_encounter.gd:should_boss_apotheosize#once-false, godot/scripts/logic/combat/apotheosis/apotheosis_encounter.gd:should_boss_apotheosize#phase-wildcard |
| risk | L2 × I3 = 6 (I from proposed spine_weight) |
| observations | coverage_pts=2, branches=4, churn_90d=1 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Decides when the boss form attaches. Every test and every data entry uses once:true with a set phase.
Concrete test. once:false re-fires after mark_boss_fired. An empty phase matches any phase. With once absent it defaults to true.
GAP-024 — Apotheosis duration windows: suppressing (0.0) and >1.0 multipliers untested¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/apotheosis/apotheosis_encounter.gd:effective_duration#suppressing-window, godot/scripts/logic/combat/apotheosis/apotheosis_encounter.gd:effective_duration#mult-above-one |
| risk | L2 × I3 = 6 (I from proposed spine_weight) |
| observations | coverage_pts=2, branches=2, churn_90d=1 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Feeds every activation's duration. Tests cover only the 0.5 and 0.75+0.5 windows. A 0.0 window giving 0, and the silent clamp of a multiplier above 1, are both unasserted.
Concrete test. A 0.0 window gives 0, and 0.0+0.5 gives 0. A 1.5 window leaves duration 4 as 4 (assert the intended rule).
GAP-025 — Showtime reaction queue: no-allies break and round-robin wrap unasserted¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/apotheosis/forms/vaughn_showtime.gd:build_reaction_queue#no-allies, godot/scripts/logic/combat/apotheosis/forms/vaughn_showtime.gd:build_reaction_queue#round-robin-wrap |
| risk | L2 × I3 = 6 (I from proposed spine_weight) |
| observations | coverage_pts=2, branches=1, churn_90d=1 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. These are real extra attacks. The L0 test asserts only the queue size, and L3 asserts that one log line exists. Actor assignment and the wrap (one ally striking several times) are never pinned.
Concrete test. No allies gives []. One ally with 3 marks gives three entries, all that ally, targeting t, x, y.
GAP-026 — Sword Surgeon push/pull direction maths only tested on collinear same-row fixtures¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/apotheosis/sweep_resolver.gd:SweepPlacement._cube_round#non-collinear, godot/scripts/logic/combat/apotheosis/sweep_resolver.gd:SweepPlacement._directional_step#coincident |
| risk | L2 × I3 = 6 (I from proposed spine_weight) |
| observations | coverage_pts=2, branches=4, churn_90d=0 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Every push/pull fixture is on row 2, so the cube-rounding arms and the coincident guard never run. Wrong rounding would shove enemies sideways or toward Cyrus.
Concrete test. Off-axis: Cyrus at (2,2), enemy at (4,1). Push lands 1 from the enemy and 3 from Cyrus. Coincident origin gives [].
GAP-027 — Apotheosis charge: wrong-role and unknown/stale mode names silently give 0¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/apotheosis/apotheosis_charging.gd:gain_for#warrior-victor-role, godot/scripts/logic/combat/apotheosis/apotheosis_charging.gd:gain_for#unknown-mode |
| risk | L2 × I3 = 6 (I from proposed spine_weight) |
| observations | coverage_pts=2, branches=3, churn_90d=0 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Every party gauge fill goes through here. The match has no _ arm, so a stale mode name (berserker, see conflict C4) charges 0 forever with no error.
Concrete test. Warrior as target gives 0. Victor killed gives 0. berserker gives 0 (pin the behaviour).
GAP-028 — AI keeps the best skill id when it falls back to basic_attack targets¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/combat_ai.gd:_aggressive_decision#fallback-skill-mismatch |
| risk | L3 × I4 = 12 |
| observations | coverage_pts=4, branches=1, churn_90d=1 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Suspected defect (refuter: holds). When the best skill reaches only an Invisible/Aerial enemy, targets are re-derived from basic_attack, but the returned decision still carries best_skill_id. _handle_ai_turn then finds the target out of reach and moves or ends the turn, so tempo is lost and the telegraph is wrong.
Concrete test. Fixture: an invisible enemy adjacent to the AI, a visible hero in basic_attack range only. Expect skill_id=="basic_attack" (RED today).
GAP-029 — AI terminal fallbacks (no enemies / random target) never asserted¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/combat_ai.gd:_aggressive_decision#no-enemies, godot/scripts/logic/combat/combat_ai.gd:_aggressive_decision#random-target |
| risk | L3 × I4 = 12 |
| observations | coverage_pts=4, branches=2, churn_90d=1 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. The executor must survive both arms. They run only incidentally at L3, where the decision is re-picked anyway.
Concrete test. No enemies gives basic_attack with []. Nothing in reach gives the random hero.
GAP-030 — Best-damage skill loop cloned into the taunt path, which no test runs¶
| field | value |
|---|---|
| status | open |
| claim_type | duplicated-logic |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/combat_ai.gd:_aggressive_decision, godot/scripts/logic/combat/combat_ai.gd:_get_best_attack_skill |
| risk | L2 × I4 = 8 |
| observations | coverage_pts=2, branches=6, churn_90d=1 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. The aggressive clone is tested. The taunt clone is reachable only through get_taunt_target != "", which every stub disables (and the GAP-043 defect blocks too), so a fix to one can silently miss the other.
Concrete test. Same usable set given to both: both return the highest-base skill.
GAP-031 — AI untargetability: the consolidated is_untargetable_offensively path is never driven¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/combat_ai.gd:_is_untargetable#consolidated-query |
| risk | L3 × I4 = 12 |
| observations | coverage_pts=4, branches=1, churn_90d=1 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Production always takes the has_method path, because the real manager has the method. The L0 stubs lack it, so only the legacy fallback is tested.
Concrete test. Real StatusEffectManager marking a ghost Invisible: make_decision targets the hero.
GAP-032 — Restrained boss: re-applied bind freezes escalation instead of halving it¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/boss_manager.gd:apply_lever#bind-reapply, godot/scripts/logic/combat/boss_manager.gd:tick_escalation#bind-expiry |
| risk | L2 × I4 = 8 |
| observations | coverage_pts=2, branches=2, churn_90d=1 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Suspected defect (refuter: holds). combat_manager._handle_ai_turn re-fires bind every boss turn while Restrained. That resets _bind_skip_next, so every tick is absorbed and the clock stops rather than halving. No test re-applies bind or ticks past its duration.
Concrete test. Unmaker P3, 4× {apply_lever("bind"); tick_escalation()}: spec expects escalation 2, code gives 0. A single bind followed by 6 ticks shows the expiry pattern.
GAP-033 — should_vent lever-gate (P2, vent unavailable) never entered¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/boss_manager.gd:should_vent#lever-gated |
| risk | L2 × I4 = 8 |
| observations | coverage_pts=2, branches=1, churn_90d=1 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. combat_manager relies on this to gate Vent to P3. Every should_vent call in the tests happens in P3.
Concrete test. Unmaker at 50% HP (P2), heat 3: should_vent(100) is false.
GAP-034 — BossManager phase-less def and empty-recipe guards unasserted¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/boss_manager.gd:_init#no-phases, godot/scripts/logic/combat/boss_manager.gd:recipe_satisfied#empty-recipe |
| risk | L2 × I4 = 8 |
| observations | coverage_pts=2, branches=2, churn_90d=1 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. These guards prevent index errors and keep raw-DPS phases un-amplified. No test enters either.
Concrete test. BossManager.new({}) gives phase "default". With an empty recipe, damage_taken_multiplier(...)==1.0.
GAP-035 — Hex line / LOS rasterisation untested off a straight row¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/grid_pathfinder.gd:hex_line#diagonal, godot/scripts/logic/combat/grid_pathfinder.gd:_cube_round#diagonal, godot/scripts/logic/combat/grid_pathfinder.gd:has_line_of_sight#diagonal |
| risk | L2 × I5 = 10 |
| observations | coverage_pts=2, branches=8, churn_90d=0 |
| anchor_sites | 3 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. This decides LOS for 6 requires_los skills, for both player and AI. The only LOS tests use a straight row and take the blocker from hex_line itself, so they would pass even if the line were wrong.
Concrete test. For diagonal pairs: endpoints correct, size==hex_distance+1, and every consecutive pair is adjacent. A blocker on the line blocks LOS; one off the line does not.
GAP-036 — line_through only tested along a row¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/position_validator.gd:line_through#diagonal |
| risk | L3 × I4 = 12 |
| observations | coverage_pts=2, branches=6, churn_90d=6 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Determines every unit a line_enemies skill hits. Both tests (L0 and L3) use row 2.
Concrete test. line_through((1,1),(2,2),(7,5)): in bounds, adjacent steps, no duplicates, ends on an edge.
GAP-037 — Neighbour bounds filter never asserted¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/grid_pathfinder.gd:_get_neighbors |
| risk | L3 × I5 = 15 |
| observations | coverage_pts=3, branches=6, churn_90d=0 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 (unverified) |
| decision | — |
| rationale | — |
Risk rationale. The refuter was uncertain. Row parity is asserted indirectly, by test_step_toward::test_step_toward_converges_without_skipping. The bounds filter is not.
Concrete test. For every cell of a 7×5 board, the neighbour set equals the set of on-board cells at distance 1. Corner cells have fewer than 6.
GAP-038 — LOS-gated obstacle targeting untested; can_use_skill enemy arm ignores LOS¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/position_validator.gd:get_valid_obstacle_targets#los, godot/scripts/logic/combat/position_validator.gd:can_use_skill#enemy-los |
| risk | L2 × I4 = 8 |
| observations | coverage_pts=2, branches=3, churn_90d=6 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. No test passes los_blockers. The refuter showed the obstacle-arm mismatch cannot bite, but found a real one in the enemy arm: can_use_skill ignores LOS while target_selector filters by it. So a non-damaging requires_los debuff can be enabled in the panel, and targeting then cancels.
Concrete test. A requires_los single_enemy debuff with every enemy screened: assert that can_use_skill agrees with the selector (ruling needed).
GAP-039 — Momentum tie rule: the specificity step is untested; top-tie can pick a less specific unit¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/momentum_manager.gd:_pick_winner#specificity-tie |
| risk | L2 × I3 = 6 (I from proposed spine_weight) |
| observations | coverage_pts=2, branches=4, churn_90d=0 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Suspected defect (refuter: holds, latent). The tie tests pass no specificity. On a top-specificity tie, step 3 scans every candidate, not only the tied set. This is latent: every production call passes exactly one candidate.
Concrete test. [A spec 1, B spec 3, C spec 3] with active=A should give B or C. Today it gives A.
GAP-040 — Item catalog loader never tested against real data¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/item_manager.gd:load_catalog |
| risk | L3 × I3 = 9 (I from proposed spine_weight) |
| observations | coverage_pts=3, branches=13, churn_90d=0 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. This is the only path from data/items/*.json to the live catalog. Tests inject hand-built catalogs. The one L3 consumer calls mark_unreached when the catalog is empty instead of failing.
Concrete test. load_catalog() has minor_salve. Every item's resolve_use is ok, and its effect type is a known one.
GAP-041 — tile_environment_manager.clear_unit (defeat cleanup) untested¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/tile_environment_manager.gd:clear_unit |
| risk | L3 × I3 = 9 |
| observations | coverage_pts=4, branches=5, churn_90d=2 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Without this cleanup a dead unit's Soil keeps tinting hexes, and a reused id inherits its state. Defeat suites run it but assert nothing about it.
Concrete test. Soil on P for a and b. clear_unit("a") zeroes a's soil, keeps b's, and clears did_unit_stay.
GAP-042 — On-enter / on-stand payload API has no production caller and disagrees with the live path¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/tile_environment_manager.gd:get_on_enter_payload, godot/scripts/logic/combat/tile_environment_manager.gd:get_on_stand_payload |
| risk | L3 × I3 = 9 |
| observations | coverage_pts=4, branches=5, churn_90d=2 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. combat_manager bypasses both functions on purpose: one would double-count, the other drops intensity. Only the unrun verify_tile_depth.gd (GAP-063) calls them. Needs a delete-or-test decision.
Concrete test. Either delete both functions, or assert trap-then-surface ordering and intensity scaling.
GAP-043 — Taunt never redirects: taunter_id is dropped when the status is built¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/status_effect_manager.gd:apply_taunt, godot/scripts/logic/combat/status_effect_manager.gd:get_taunt_target |
| risk | L3 × I4 = 12 (I from proposed spine_weight) |
| observations | coverage_pts=4, branches=4, churn_90d=4 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Suspected defect (refuter: holds). _build_effect copies a whitelist of keys that leaves out taunter_id. So get_taunt_target always returns "" while still spending a charge, and both the AI taunt override and the selector taunt filter are dead. That makes Chiranjeevi's Vanarism stage-2 and the taunt skills no-ops. test_data_contract.gd notes this in a comment but asserts nothing.
Concrete test. apply_taunt("foe","chiranjeevi",2,1) should give get_taunt_target=="chiranjeevi" (RED today), and the second call should give "".
GAP-044 — Status damage-reduction sum + cap untested¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/status_effect_manager.gd:get_damage_reductions |
| risk | L3 × I4 = 12 (I from proposed spine_weight) |
| observations | coverage_pts=4, branches=5, churn_90d=4 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. This is the only status-DR seam (Defend, ward, enshrouded), and it has zero test callers. A regression would silently make defensive buffs do nothing, or stack them into immunity.
Concrete test. Two statuses on physical, 0.5 and 0.7, give {physical:1.0, all:0.1} (capped).
GAP-045 — Stat modifiers summed across statuses / caller-stackable non-catalog status untested¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/status_effect_manager.gd:get_stat_modifiers#summed-across-effects, godot/scripts/logic/combat/status_effect_manager.gd:apply_status#caller-stackable-non-catalog |
| risk | L2 × I4 = 8 (I from proposed spine_weight) |
| observations | coverage_pts=2, branches=3, churn_90d=4 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Stat modifiers drive base stats, speed and AP. Tests cover one effect at one stack only. Disease persists until rest, so a wrong sum carries between fights.
Concrete test. Weakened (−0.3) plus disease (−0.15) gives strength −0.45. inspired applied 5× with max_stacks 4 gives 4 stacks.
GAP-046 — _get_stat_value: only the resilience arm is asserted; unknown stat silently returns 5.0¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/damage_calculator.gd:_get_stat_value#non-resilience-arms, godot/scripts/logic/combat/damage_calculator.gd:_get_stat_value#unknown-stat-fallback |
| risk | L2 × I5 = 10 |
| observations | coverage_pts=2, branches=6, churn_90d=2 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. A typo in an authored stat_scaling would scale damage off a constant, with no error.
Concrete test. strength:2 gives 2.0. "strenght" gives 5.0 (pins the fallback). A data contract checks every stat_scaling against the known set.
GAP-047 — Shorter re-apply on another unit's turn: applied_this_turn arm undistinguished¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/combat/status_effect_manager.gd:apply_status#shorter-reapply-keeps-applied_this_turn |
| risk | L1 × I4 = 4 (I from proposed spine_weight) |
| observations | coverage_pts=1, branches=1, churn_90d=4 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. R7 duration semantics. The arm runs, but in fixtures where both candidate values are false, so the tests cannot tell them apart. Risk is an off-by-one turn.
Concrete test. Apply on the foe's own turn, then a shorter re-apply on another unit's turn: the flag stays true.
GAP-048 — Trap spring and surface on-enter damage/status wiring unasserted¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/combat_manager.gd:_apply_on_enter_effects#trap-spring, godot/scripts/presentation/combat/combat_manager.gd:_apply_on_enter_effects#surface-damage-status |
| risk | L4 × I4 = 16 (I from proposed spine_weight) |
| observations | coverage_pts=4, branches=12, churn_90d=30 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. This is the only place traps and surfaces hurt a unit on entry. It runs only incidentally inside walk tests.
Concrete test. Place a trap, then _apply_on_enter_effects: HP drops by the trap damage, the status is applied, and a second entry does nothing. Fire surface: HP drops by the on_enter damage.
GAP-049 — Stand-on-surface damage (_apply_on_turn_effects) unasserted¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/combat_manager.gd:_apply_on_turn_effects |
| risk | L4 × I4 = 16 (I from proposed spine_weight) |
| observations | coverage_pts=4, branches=4, churn_90d=30 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Runs every turn start, scales with intensity, and has a kill path. No test asserts it.
Concrete test. Fire at intensity 2 under Cyrus: HP drops by 20. No surface: no change.
GAP-050 — Boss-outcome combat end (win/lose meters) has no L3¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/combat_manager.gd:_check_combat_end#boss-outcome |
| risk | L4 × I4 = 16 (I from proposed spine_weight) |
| observations | coverage_pts=4, branches=4, churn_90d=30 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Decides who wins a boss fight. The code marks itself LIVE-VALIDATION-PENDING. resolve_outcome is tested only at L0.
Concrete test. Forced {status:"win"} gives VICTORY. "lose" gives DEFEAT. "pending" with enemies alive does not end the fight.
GAP-051 — Blood & Soil turn-start wiring and MP regen unasserted¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/combat_manager.gd:_start_next_turn#blood-and-soil, godot/scripts/presentation/combat/combat_manager.gd:_start_next_turn#soil-mp-regen |
| risk | L4 × I4 = 16 (I from proposed spine_weight) |
| observations | coverage_pts=4, branches=4, churn_90d=30 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. No test mentions soil. Distinct from GAP-008: this entry is the combat_manager wiring.
Concrete test. A unit that stays put for a round gets Soil 1. MP regen includes the soil bonus, capped at max.
GAP-052 — Frightened cornered / flee-battle branch never pinned¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/combat_manager.gd:_frightened_move_away#cornered, godot/scripts/presentation/combat/combat_manager.gd:_handle_frightened_turn#flee-battle |
| risk | L3 × I4 = 12 (I from proposed spine_weight) |
| observations | coverage_pts=3, branches=8, churn_90d=30 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. A cornered judgement removes a party member from battle. The existing L3 test accepts either branch, and its geometry always takes the flee-to-safety one.
Concrete test. A boxed-in frightened ally flees the battle (hp 0, fled). On an open board, distance increases.
GAP-053 — Equipment charge gate/spend helpers in combat_manager untested¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/combat_manager.gd:_can_pay_equipment_charges, godot/scripts/presentation/combat/combat_manager.gd:_spend_equipment_charges, godot/scripts/presentation/combat/combat_manager.gd:_get_skill_equipment |
| risk | L4 × I4 = 16 (I from proposed spine_weight) |
| observations | coverage_pts=4, branches=7, churn_90d=30 |
| anchor_sites | 3 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Device charges are a core resource. One L3 cast spends a charge but asserts only hit counts. skill_panel re-implements the same lookup inline.
Concrete test. With 1 charge, _can_pay is true. After _spend, the charge is 0 and _can_pay is false. An ungranted skill gives "".
GAP-054 — Dialogue consequence conditions, unmet fallback and conditional choices untested¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/logic/dialogue/dialogue_state_machine.gd:_evaluate_condition#consequence-operators, godot/scripts/logic/dialogue/dialogue_state_machine.gd:_go_to_node#unmet-condition-fallback, godot/scripts/logic/dialogue/dialogue_state_machine.gd:_get_visible_choices#conditional-choice |
| risk | L3 × I2 = 6 (I from proposed spine_weight) |
| observations | coverage_pts=2, branches=12, churn_90d=1 |
| anchor_sites | 3 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Branching with consequences is a vertical-slice pillar. The three tests cover only a flag condition that evaluates true.
Concrete test. Each operator, at the boundary, routes to the gated node or the fallback. A conditional choice is hidden and then shown.
GAP-055 — Sprite content-rect detection (project rule 6) has zero tests¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/unit_visual.gd:_detect_content_rect, godot/scripts/presentation/combat/unit_visual.gd:_resolve_content_rect |
| risk | L3 × I2 = 6 (I from proposed spine_weight) |
| observations | coverage_pts=4, branches=9, churn_90d=1 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Sprite scaling for every unit depends on it. Also, the cache key is resource_path, which is "" for generated textures, so they can collide.
Concrete test. Two synthetic frames give the union rect. A transparent image gives the full frame. A configured rect is returned without scanning.
GAP-056 — Results screen (victory/defeat routing) has no checklist row and no assertion¶
| field | value |
|---|---|
| status | open |
| claim_type | manual-uncovered |
| layer | manual |
| verified_by | manual |
| anchors | godot/scripts/presentation/combat/combat_manager.gd:_end_combat, godot/scripts/presentation/combat/combat_results.gd:show_victory, godot/scripts/presentation/combat/combat_results.gd:show_defeat |
| governs | godot/scripts/presentation/combat/combat_results.gd, godot/scripts/presentation/combat/combat_manager.gd |
| last_manual_pass | absent (never_verified) |
| risk | L5 × I2 = 10 (I from proposed spine_weight) |
| observations | manual_coverage_pts=5, churn_90d=30, never_verified=true |
| anchor_sites | 3 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Every fight ends here. Integration tests assert only the VICTORY/DEFEAT phase. The manual plan has no row for this screen.
Concrete test. Add a manual row: win → the Victory screen lists survivors and Continue returns. Lose → Defeat, then Retry reloads the party as it was brought in, and Menu exits.
GAP-057 — SaveManager failure paths and consequence/position restore untested¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/autoload/save_manager.gd:load_game#missing-file, godot/scripts/autoload/save_manager.gd:load_game#parse-error, godot/scripts/autoload/save_manager.gd:_apply_save_data#consequences-and-position, godot/scripts/autoload/save_manager.gd:_apply_save_data#resilience-backfill |
| risk | L2 × I2 = 4 (I from proposed spine_weight) |
| observations | coverage_pts=2, branches=6, churn_90d=1 |
| anchor_sites | 4 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. The round-trip test covers only flags and party. Consequence values gate dialogue.
Concrete test. An unused slot returns false. A non-JSON save returns false. consequence_values and party_position survive a round trip.
GAP-058 — PlacementPicker never-stall guarantees (no legal tiles / ESC / bad click) untested¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/placement_picker.gd:pick#no-legal-tiles, godot/scripts/presentation/combat/placement_picker.gd:_input#escape, godot/scripts/presentation/combat/placement_picker.gd:_check_click#non-candidate |
| risk | L3 × I4 = 12 |
| observations | coverage_pts=4, branches=5, churn_90d=0 |
| anchor_sites | 3 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. The Sword Surgeon sweep must never stall. The only picker test checks that the node survives a redraw.
Concrete test. A boxed-in enemy: pick returns the auto destination immediately. ESC emits the auto destination.
GAP-059 — PlacementPicker._build_candidates dedupe / first-mode-wins untested¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L0 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/placement_picker.gd:_build_candidates |
| risk | L3 × I4 = 12 |
| observations | coverage_pts=4, branches=4, churn_90d=0 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. A duplicate tile or a wrong mode tint would mislead the player's placement choice.
Concrete test. A tile legal under both push and carry is labelled push, and the list has no duplicates.
GAP-060 — Mirror and item panels (show_mirror / show_items) never rendered in a test¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/skill_panel.gd:show_mirror, godot/scripts/presentation/combat/skill_panel.gd:show_items |
| risk | L4 × I3 = 12 |
| observations | coverage_pts=4, branches=6, churn_90d=4 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. The Mirror cap, the FREE label and item-count gating are rendered only here. L3 suites bypass the panel.
Concrete test. An un-castable mirror row is disabled. A waived row shows [FREE]. An item with count 0 is disabled.
GAP-061 — Test Lab launch flags leak into later combats (ally positions / grid size)¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-branch |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/combat_configurator.gd:_prepare_launch#ally-positions |
| risk | L2 × I2 = 4 |
| observations | coverage_pts=2, branches=1, churn_90d=3 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Suspected defect (refuter: holds). Production never erases _combat_config_grid_cols/_rows/_ally_positions (only tests do). A later combat therefore inherits the Lab's grid size and positions. _combat_encounter_id leaks the same way.
Concrete test. _prepare_launch writes the index-keyed positions. A subsequent non-Lab start_combat should not see them.
GAP-062 — Configurator "Last Config" save/load round-trip untested; Vector2i lost through JSON¶
| field | value |
|---|---|
| status | open |
| claim_type | untested-symbol |
| layer | L3 |
| verified_by | automated |
| anchors | godot/scripts/presentation/combat/combat_configurator.gd:_load_last_config, godot/scripts/presentation/combat/combat_configurator.gd:_save_last_config |
| risk | L3 × I2 = 6 |
| observations | coverage_pts=4, branches=1, churn_90d=3 |
| anchor_sites | 2 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Suspected defect (refuter: holds, latent). Story flags are JSON-stringified on save, so the stored Vector2i values come back as strings and the typed reads would raise. It is latent because nothing in production calls save_game or load_game yet.
Concrete test. Save, reset, load: the fields are equal. Then a JSON round trip: the positions are still Vector2i.
GAP-063 — verify_tile_depth.gd is a test-shaped script no runner executes¶
| field | value |
|---|---|
| status | open |
| claim_type | orphaned-test |
| layer | L0 |
| verified_by | automated |
| anchors | godot/tests/verify_tile_depth.gd |
| risk | L3 × I3 = 9 |
| observations | coverage_pts=4, branches=0, churn_90d=1 |
| anchor_sites | 1 |
| first_seen | 2026-10-26 |
| last_verified | 2026-10-26 @ 8ad2990 |
| decision | — |
| rationale | — |
Risk rationale. Found by Phase 0. It is not named test_*, so run_tests.gd does not discover it, and smoke_main does not list it. It prints its own === N checks, M failures === banner (a decoy shape). Its assertions are the only callers of the GAP-042 payload API.
Concrete test. Fold its checks into a test_*.gd file, or delete it.
Change log¶
2026-10-26 @ 8ad2990 — first run (bootstrap)¶
- Seeded GAP-001…017 from the 2026-07-07 testing-gaps audit. Every seeded status is human-marked.
- Re-verification of the seeded entries:
- GAP-001, 002, 006 and 012 were narrowed:
end_turn,_compare_entries,get_valid_move_positions,get_valid_targetsand the ungated lever path are now directly tested. - GAP-003 anchors were rewritten to the real clone names.
- GAP-016
covering_testwas corrected (Marked-amp). - Proposed moves awaiting ratification: GAP-011 →
covered, GAP-017 →covered. - New entries GAP-018…063: 43 confirmed by Phase 3, 2 uncertain (
(unverified)), and 1 orphaned-test found by Phase 0. Three candidates were refuted and dropped. - Suspected defects surfaced, not fixed: GAP-021, 028, 032, 038, 039, 043, 061, 062.