--- result_summary.txt ---
Audit implementation note: this audit did not add or enable any new Exit. Existing EA code was not changed by this task; P0 source logs were analyzed only. Current mq5 was compiled for verification. Existing S2-related code remains default OFF and was not used for this audit.

縲千ｵ占ｫ悶・
譛繧よ隼蝟・ｽ吝慍縺後≠繧九ち繧､繝溘Φ繧ｰ霆ｸ: HTE_RECOVERY_PROTECTION
譛繧よ怏譛帙↑Plan: TA9_PROTECT_HTE_RECOVERY_BASKETCLOSE
executable_net_effect_yen: 32760.00蜀・
HardStop蜑頑ｸ幄ｦ玖ｾｼ縺ｿ: 32297.00蜀・
MaxDD謾ｹ蝟・ｦ玖ｾｼ縺ｿ: 2374.00蜀・
HTE Kill: 1
Recovery Kill: 0
BasketClose Kill: 0
implementation_stage_needed: POST_HEDGE_SLOT
priority_order_change_required: true
S2繧単1螳溯｣・ｯ碑ｼ・∈騾ｲ繧√ｋ縺ｹ縺阪°: 縺・＞縺医４2蜊倅ｽ薙〒縺ｯ縺ｪ縺上√ち繧､繝溘Φ繧ｰ霆ｸ縺ｮ蜀崎ｨｭ險医′蠢・ｦ√・
S2莉･螟悶ｒ騾ｲ繧√ｋ縺ｹ縺阪°: 迴ｾ譎らせ縺ｧ縺ｯPRE_HARDSTOP_SLOT蜑肴署縺ｮ險ｭ險医Ξ繝薙Η繝ｼ蛟呵｣懊↓逡吶ａ繧九よ里蟄漏untime Gate縺縺代〒謗｡逕ｨ縺ｧ縺阪ｋ蛟呵｣懊・縺ｪ縺励・
蜃ｺ蜿｣謾ｹ蝟・ｒ邯咏ｶ壹☆縺ｹ縺阪°: 譚｡莉ｶ莉倥″縺ｧ邯咏ｶ壼庄縲ゅ◆縺縺猶RE_HARDSTOP_SLOT繧呈ｭ｣蠑上↓險ｱ螳ｹ縺吶ｋ險ｭ險亥愛譁ｭ縺悟・縲・
Entry/DefenseHedge/譎る俣蟶ｯ繝輔ぅ繝ｫ繧ｿ繝ｼ縺ｸ遘ｻ繧九∋縺阪°: 荳ｦ陦後＠縺ｦ險ｺ譁ｭ縺吶∋縺阪ょ・蜿｣縺縺代〒螳牙ｮ壽隼蝟・☆繧区ｹ諡縺ｯ縺ｾ縺蠑ｱ縺・・
P0_A2_BASE_D4邯咏ｶ壼愛譁ｭ: 邯咏ｶ壹・
谺｡縺ｫ繧・ｋ縺ｹ縺阪％縺ｨ: 荳贋ｽ控iming Plan繧剃ｺｺ髢薙Ξ繝薙Η繝ｼ縺励￣RE_HARDSTOP_SLOT縺ｮ隧穂ｾ｡鬆・ｺ丞､画峩繧定ｨｱ螳ｹ縺吶ｋ縺区ｱｺ繧√ｋ縲りｨｱ螳ｹ縺励↑縺・ｴ蜷医・Entry/DefenseHedge/譎る俣蟶ｯ繝輔ぅ繝ｫ繧ｿ繝ｼ縺ｸ遘ｻ繧九・
蜿ら・縺励◆謌先棡迚ｩ: P0 trade_events.csv from KOUCHA_GOLD_S2_PRE_HARDSTOP_P1_COMPARE, compile_result.txt, priority/eval stage traces.

蟇ｾ雎｡PostHedge Basket謨ｰ: 40
HARDSTOP_CLOSE: 26
HEDGED_BASKET_TIME_EXIT: 11
RECOVERY_CLOSE: 0
BASKET_CLOSE: 0

驥崎ｦ√↑蛻ｶ邏・
- 謗｡逕ｨ蛻､譁ｭ縺ｯ ClosePriorityOK=true / HardStopNow=false 縺ｮSnapshot縺縺代ｒ executable 縺ｨ縺励※髮・ｨ医・
- close_priority_ok=false 縺ｯ non_executable 縺ｨ縺励※蛻・屬縲・
- HardStopPriority譎ょ綾縺九ｉ縺ｮ騾・ｮ励・險ｺ譁ｭ繝ｩ繝吶Ν縺ｫ縺ｮ縺ｿ菴ｿ逕ｨ縺励￣lan譚｡莉ｶ縺ｫ縺ｯ菴ｿ逕ｨ縺励※縺・↑縺・・
- 迴ｾ繝ｭ繧ｰ縺ｫ縺ｯM5/M15 TickVolume/body ATR縺後↑縺・◆繧√ゝA8縺ｯ譽・唆謇ｱ縺・・



--- next_decision.txt ---
Next Decision

Do not run a P1 implementation compare yet.

Reason:
- The strongest candidates still require PRE_HARDSTOP_SLOT or another explicit evaluation-stage decision.
- EXISTING_RUNTIME_GATE-only candidates are not supported by this dataset.
- M5/M15 volatility fields are missing from the current P0 logs, so volatility-based timing cannot be adopted from this audit.

Top plans by executable_net_effect_yen:
- 1: TA9_PROTECT_HTE_RECOVERY_BASKETCLOSE | exec_net=32760.00 | stage=POST_HEDGE_SLOT | reject=requires explicit implementation stage review
- 2: TA5_DISTANCE_HS_1500_HTE_NOT_NEAR | exec_net=20063.00 | stage=POST_HEDGE_SLOT | reject=requires explicit implementation stage review
- 3: TA4_DISTANCE_HS_1000_OUTSIDE_HTE | exec_net=14003.00 | stage=POST_HEDGE_SLOT | reject=requires explicit implementation stage review
- 4: TA3_HEDGE90_WEAK_IMPROVE_PNL60_ACCEL | exec_net=0.00 | stage=NOT_IMPLEMENTABLE | reject=no executable ClosePriorityOK candidates
- 5: TA6_PNL30_ACCEL_FLOATING_3000 | exec_net=0.00 | stage=NOT_IMPLEMENTABLE | reject=no executable ClosePriorityOK candidates

Recommended next work:
1. If exit improvement remains the priority, perform a design review for the top PRE_HARDSTOP_SLOT timing plan rather than enabling S2 as-is.
2. If priority-order changes are not acceptable, freeze exit improvement and move to Entry risk-basket exclusion / DefenseHedge position review / time-session-news filter diagnostics.


--- timing_alignment_plan_compare_summary.txt ---
plan_name,trigger_timing_family,triggered_count,executable_trigger_count,non_executable_trigger_count,hardstop_triggered_count,hte_triggered_count,recovery_triggered_count,basketclose_triggered_count,unresolved_triggered_count,hardstop_reduction_yen_corrected,killed_hte_count,killed_recovery_count,killed_basketclose_count,killed_future_profit_yen_corrected,unresolved_effect_yen,unresolved_effect_unverified_yen,net_effect_after_kills_yen_corrected,executable_net_effect_yen,non_executable_net_effect_yen,estimated_maxdd_change_yen,market_closed_10018_risk,implementation_stage_needed,would_require_priority_order_change,recommended_rank,reject_reason
TA1_HEDGE30_WEAK_IMPROVE_OUTSIDE_HTE,POST_HEDGE_DELAY,27,1,26,26,1,0,0,0,66.00,1,0,0,70.00,0.00,0.00,-4.00,-70.00,66.00,127.00,not increased in diagnostic; execution not tested,NOT_IMPLEMENTABLE,true,9,executable net effect not positive
TA2_HEDGE60_WEAK_IMPROVE_RECENT_WORST,POST_HEDGE_DELAY,27,1,26,26,1,0,0,0,66.00,1,0,0,70.00,0.00,0.00,-4.00,-70.00,66.00,127.00,not increased in diagnostic; execution not tested,NOT_IMPLEMENTABLE,true,10,executable net effect not positive
TA3_HEDGE90_WEAK_IMPROVE_PNL60_ACCEL,POST_HEDGE_DELAY,7,0,7,7,0,0,0,0,-70.00,0,0,0,0.00,0.00,0.00,-70.00,0.00,-70.00,11.00,not increased in diagnostic; execution not tested,NOT_IMPLEMENTABLE,false,4,no executable ClosePriorityOK candidates
TA4_DISTANCE_HS_1000_OUTSIDE_HTE,HARDSTOP_DISTANCE,16,16,0,16,0,0,0,0,14003.00,0,0,0,0.00,0.00,0.00,14003.00,14003.00,0.00,1358.00,not increased in diagnostic; execution not tested,POST_HEDGE_SLOT,true,3,requires explicit implementation stage review
TA5_DISTANCE_HS_1500_HTE_NOT_NEAR,HARDSTOP_DISTANCE,21,21,0,20,0,0,0,1,19980.00,0,0,0,0.00,83.00,0.00,20063.00,20063.00,0.00,1602.00,not increased in diagnostic; execution not tested,POST_HEDGE_SLOT,true,2,requires explicit implementation stage review
TA6_PNL30_ACCEL_FLOATING_3000,PNL_ACCELERATION,11,0,11,11,0,0,0,0,34.00,0,0,0,0.00,0.00,0.00,34.00,0.00,34.00,127.00,not increased in diagnostic; execution not tested,NOT_IMPLEMENTABLE,false,5,no executable ClosePriorityOK candidates
TA7_PNL60_ACCEL_RECENT_WORST,PNL_ACCELERATION,7,0,7,7,0,0,0,0,-70.00,0,0,0,0.00,0.00,0.00,-70.00,0.00,-70.00,11.00,not increased in diagnostic; execution not tested,NOT_IMPLEMENTABLE,false,6,no executable ClosePriorityOK candidates
TA8_ADVERSE_LARGE_BODY_PNL30,VOLATILITY,0,0,0,0,0,0,0,0,0.00,0,0,0,0.00,0.00,0.00,0.00,0.00,0.00,0.00,not increased in diagnostic; execution not tested,NOT_IMPLEMENTABLE,false,7,no executable ClosePriorityOK candidates
TA9_PROTECT_HTE_RECOVERY_BASKETCLOSE,HTE_RECOVERY_PROTECTION,30,30,0,26,1,0,0,3,32297.00,1,0,0,70.00,533.00,0.00,32760.00,32760.00,0.00,2374.00,not increased in diagnostic; execution not tested,POST_HEDGE_SLOT,true,1,requires explicit implementation stage review
TA10_BALANCED_DISTANCE_WEAK_IMPROVE,BALANCED,0,0,0,0,0,0,0,0,0.00,0,0,0,0.00,0.00,0.00,0.00,0.00,0.00,0.00,not increased in diagnostic; execution not tested,NOT_IMPLEMENTABLE,false,8,no executable ClosePriorityOK candidates


--- timing_alignment_axis_summary.txt ---
axis_name,tested_condition,snapshot_count,executable_snapshot_count,hardstop_triggered_count,hte_triggered_count,recovery_triggered_count,basketclose_triggered_count,unresolved_triggered_count,hardstop_reduction_yen,killed_hte_count,killed_recovery_count,killed_basketclose_count,killed_future_profit_yen,net_effect_after_kills_yen,executable_net_effect_yen,non_executable_net_effect_yen,estimated_maxdd_change_yen,avg_minutes_before_hardstop_priority,median_minutes_before_hardstop_priority,recommended_rank,reject_reason
HARDSTOP_DISTANCE,DISTANCE_TO_HS_THRESHOLD_1000,27,16,16,11,0,0,0,14003.00,9,0,0,0.00,14296.00,14003.00,293.00,1358.00,6034.21,5508.27,6,diagnostic lead
HARDSTOP_DISTANCE,DISTANCE_TO_HS_THRESHOLD_1500,32,21,20,11,0,0,1,19980.00,9,0,0,0.00,20356.00,20063.00,293.00,1602.00,7174.54,6947.40,5,diagnostic lead
HARDSTOP_DISTANCE,DISTANCE_TO_HS_THRESHOLD_2000,38,27,24,11,0,0,3,27588.00,9,0,0,0.00,28414.00,28121.00,293.00,2276.00,8688.42,8437.62,4,diagnostic lead
HARDSTOP_DISTANCE,DISTANCE_TO_HS_THRESHOLD_3000,40,29,26,11,0,0,3,32297.00,9,0,0,0.00,33123.00,32830.00,293.00,2374.00,9548.74,8457.30,1,diagnostic lead
HARDSTOP_DISTANCE,DISTANCE_TO_HS_THRESHOLD_500,12,1,1,11,0,0,0,680.00,9,0,0,0.00,973.00,680.00,293.00,680.00,3276.36,3276.36,7,diagnostic lead
HARDSTOP_PRIORITY_APPROACH,HS_PRIORITY_MINUS_120,27,0,26,1,0,0,0,28077.00,1,0,0,0.00,28390.00,0.00,28390.00,2342.00,8758.45,7737.30,8,no executable snapshots
HARDSTOP_PRIORITY_APPROACH,HS_PRIORITY_MINUS_15,27,0,26,1,0,0,0,28077.00,1,0,0,0.00,28390.00,0.00,28390.00,2342.00,8758.45,7737.30,9,no executable snapshots
HARDSTOP_PRIORITY_APPROACH,HS_PRIORITY_MINUS_30,27,0,26,1,0,0,0,28077.00,1,0,0,0.00,28390.00,0.00,28390.00,2342.00,8758.45,7737.30,10,no executable snapshots
HARDSTOP_PRIORITY_APPROACH,HS_PRIORITY_MINUS_5,27,0,26,1,0,0,0,28077.00,1,0,0,0.00,28390.00,0.00,28390.00,2342.00,8758.45,7737.30,11,no executable snapshots
HARDSTOP_PRIORITY_APPROACH,HS_PRIORITY_MINUS_60,27,0,26,1,0,0,0,28077.00,1,0,0,0.00,28390.00,0.00,28390.00,2342.00,8758.45,7737.30,12,no executable snapshots
HARDSTOP_PRIORITY_APPROACH,HS_PRIORITY_MINUS_90,27,0,26,1,0,0,0,28077.00,1,0,0,0.00,28390.00,0.00,28390.00,2342.00,8758.45,7737.30,13,no executable snapshots
HARDSTOP_PRIORITY_APPROACH,LAST_CLOSE_PRIORITY_OK,30,30,26,1,0,0,3,30486.00,1,0,0,0.00,30723.00,30723.00,0.00,2297.00,9434.13,8457.30,3,diagnostic lead
POST_HEDGE_DELAY,HEDGE_PLUS_0,40,29,26,11,0,0,3,32297.00,9,0,0,0.00,33123.00,32830.00,293.00,2374.00,9548.74,8457.30,2,diagnostic lead
POST_HEDGE_DELAY,HEDGE_PLUS_120,40,0,26,11,0,0,3,30488.00,11,0,0,0.00,31022.00,0.00,31022.00,2293.00,9428.74,8337.30,14,no executable snapshots
POST_HEDGE_DELAY,HEDGE_PLUS_15,40,0,26,11,0,0,3,30537.00,11,0,0,0.00,31090.00,0.00,31090.00,2298.00,9518.74,8427.30,15,no executable snapshots
POST_HEDGE_DELAY,HEDGE_PLUS_180,40,0,26,11,0,0,3,29891.00,4,0,0,0.00,30226.00,0.00,30226.00,2286.00,9094.60,8217.30,16,no executable snapshots
POST_HEDGE_DELAY,HEDGE_PLUS_30,40,0,26,11,0,0,3,30537.00,11,0,0,0.00,31090.00,0.00,31090.00,2298.00,9518.74,8427.30,17,no executable snapshots
POST_HEDGE_DELAY,HEDGE_PLUS_60,40,0,26,11,0,0,3,30534.00,9,0,0,0.00,31138.00,0.00,31138.00,2295.00,9488.74,8397.30,18,no executable snapshots
POST_HEDGE_DELAY,HEDGE_PLUS_90,40,0,26,11,0,0,3,30488.00,11,0,0,0.00,31022.00,0.00,31022.00,2293.00,9428.74,8337.30,19,no executable snapshots
SUCCESS_CONTROL,CONTROL_SUCCESS_SNAPSHOT,11,1,0,11,0,0,0,0.00,2,0,0,0.00,-69.00,-70.00,1.00,0.00,0.00,0.00,20,executable net effect not positive


--- calculation_self_audit.txt ---
Calculation Self Audit

Formulas:
- hardstop_reduction_yen = virtual_exit_profit_yen - actual_final_profit_yen
- killed_future_profit_yen = actual_final_profit_yen - virtual_exit_profit_yen
- net_effect_after_kills_yen = hardstop_reduction_yen + unresolved_improvement_yen - killed_future_profit_yen
- executable_net_effect_yen includes only HardStopNow=false / ClosePriorityOK=true / ClosePriorityBlocked=false snapshots.

Hand calculation samples:
- HardStop final Basket sample: GOLD#2026.04.06T03:45:09#32#HEDGED#2: -5893.00 - (-7804.00) = 1911.00
- HTE success Basket sample: not available
- Recovery/BasketClose success Basket sample: no post-hedge RECOVERY_CLOSE or BASKET_CLOSE final baskets were present in the six P0 runs; count=0.

Checklist:
- Compile: OK, reused current 0 errors / 0 warnings compile result.
- set difference: OK, P0-only source logs used; no new set changes.
- aggregation formula: OK
- sign convention: OK
- basket_uid matching: OK
- eval_stage_index matching: OK
- tick_sequence_id matching: OK
- server/JST/bar time matching: OK
- HardStopNow蛻､螳壻ｸ閾ｴ: OK, based on existing corrected Priority Snapshot / EVAL_STAGE_TRACE fields.
- ClosePriority蛻､螳壻ｸ閾ｴ: OK, based on existing corrected Priority Snapshot / EVAL_STAGE_TRACE fields.
- executable_net_effect_yen definition: OK
- future information in plan conditions: OK. HardStopPriority-minus labels are diagnostic only, not plan gates.
- HTE/Recovery/BasketClose Kill蛻､螳・ OK
- market closed 10018蠖ｱ髻ｿ: not used as a plan condition; risk reported qualitatively.
- SHA256: written after packaging.

Best plan checked:
- TA9_PROTECT_HTE_RECOVERY_BASKETCLOSE
- executable_net_effect_yen=32760.00
- implementation_stage_needed=POST_HEDGE_SLOT


--- compile_result.txt ---
Timing Alignment Multi-Axis Audit compile result
CompileCommand=C:\Program Files\XMTrading MT5\MetaEditor64.exe /compile:"C:\Users\user\AppData\Roaming\MetaQuotes\Terminal\2FA8A7E69CED7DC259B1AD86A247F675\MQL5\Experts\KOUCHA_GOLD_KIWAMI_SURVIVAL_TICK.mq5"
CompileLogLine=0	2026.06.18 21:34:05.351	Compile	C:\Users\user\AppData\Roaming\MetaQuotes\Terminal\2FA8A7E69CED7DC259B1AD86A247F675\MQL5\Experts\KOUCHA_GOLD_KIWAMI_SURVIVAL_TICK.mq5 - 0 errors, 0 warnings, 14827 ms elapsed, cpu='X64 Regular'
EX5LastWriteTime=2026-06-18T21:34:05
EX5Size=697012


