From 1331b91d5cd6514c26cff6974e1f6c8f72597454 Mon Sep 17 00:00:00 2001 From: Opus V130 Date: Tue, 21 Apr 2026 13:37:58 +0200 Subject: [PATCH] V130 Option C DISABLE 2 malformed stubs fixes SSE pollution routing fail V129 identified root cause: malformed stubs in wired-pending/ that echo JSON directly on @include instead of return array. This polluted SSE stream before Content-Type text/event-stream header was sent, causing PendingLoader matches to appear as Resolver fallbacks. V130 Option C applied: minimal risk additive fix. Fixed 2 stubs: 1. intent-opus4-plan_action_status.php (was 689 bytes echoing 270 JSON) 2. intent-opus4-playwright_login_test.php (was 15 bytes not array) Both replaced with legitimate DISABLED stubs: - return array(name, triggers=[], cmd, status=DISABLED_MALFORMED_ECHO_V130) - PendingLoader wpl_match_intent skips via status blacklist - No more echo during include, clean SSE stream GOLD backup preserved: /opt/wevads/vault/v130-malformed-stubs-20260421-133735/ - intent-opus4-plan_action_status.php.GOLD-V130 - intent-opus4-playwright_login_test.php.GOLD-V130 Validation post-fix: - syntax OK on both stubs - include returns ARRAY format - echo=0 bytes during include (was 270+0 before) Expected result: queries like comment faire un pentest comment deployer un SIEM comment mettre en place un SOC should now route correctly to PendingLoader/dev_security instead of Resolver. Commit IMMEDIAT doctrine V121 learning applied. Chain V96-V130: V125 +60 interrogatif (88 pct), V126 replacements failed reverted, V127 +2 scope-context, V128 core routing hypothesis wrong, V129 malformed stubs root cause IDENTIFIED, V130 Option C DISABLE 2 stubs SSE pollution fix Synchro autres Claudes V130 window: - d381458bc V83 KPI fix landing_page_conversion ternary - c572e6b64 UDock T34 EPIC FINAL 276/294 pages 93.9 pct Doctrines 0+1+2+3+4+13+14+54+60+95+100 applied Zero suppression zero ecrasement zero fake zero regression zero hardcode --- .../intent-opus4-plan_action_status.php | 36 +++++++------------ .../intent-opus4-playwright_login_test.php | 14 +++++++- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/api/wired-pending/intent-opus4-plan_action_status.php b/api/wired-pending/intent-opus4-plan_action_status.php index 75d5618c1..55446b1db 100644 --- a/api/wired-pending/intent-opus4-plan_action_status.php +++ b/api/wired-pending/intent-opus4-plan_action_status.php @@ -1,24 +1,14 @@ "plan not found"]); - exit; -} -$content = file_get_contents($file); -$v_count = preg_match_all("/^## V\d+/m", $content); -$lines = substr_count($content, " -"); -$last_v = ""; -if (preg_match_all("/## V(\d+)/", $content, $m)) { - $last_v = "V" . max(array_map("intval", $m[1])); -} -echo json_encode([ - "plan_file" => $file, - "versions_total" => $v_count, - "last_version" => $last_v, - "lines" => $lines, - "nonreg" => "153/153", - "wtp" => "HTTP 200", - "autonomy" => "92-95 percent", - "sigma_6_status" => "on_track_zero_regression" -], JSON_PRETTY_PRINT); \ No newline at end of file +// V130 - DISABLED malformed stub by Option C wiki V129 +// Reason: echoed_json_270bytes_pollution_sse +// Original preserved in /opt/wevads/vault/v130-malformed-stubs-20260421-133735/ +// PendingLoader skips via status DISABLED tag (wpl_match_intent filter) +return array ( + 'name' => 'plan_action_status', + 'triggers' => array(), + 'cmd' => 'echo "stub disabled V130"', + 'status' => 'DISABLED_MALFORMED_ECHO_V130', + 'created_at' => '2026-04-21T13:40:00+00:00', + 'source' => 'opus-v130-option-c-sse-pollution-fix', + 'description' => 'V130 Option C: stub disabled to prevent SSE stream pollution. See wiki V129.', +); diff --git a/api/wired-pending/intent-opus4-playwright_login_test.php b/api/wired-pending/intent-opus4-playwright_login_test.php index aa99a4b89..25e91a49f 100644 --- a/api/wired-pending/intent-opus4-playwright_login_test.php +++ b/api/wired-pending/intent-opus4-playwright_login_test.php @@ -1,2 +1,14 @@ 'playwright_login_test', + 'triggers' => array(), + 'cmd' => 'echo "stub disabled V130"', + 'status' => 'DISABLED_MALFORMED_ECHO_V130', + 'created_at' => '2026-04-21T13:40:00+00:00', + 'source' => 'opus-v130-option-c-sse-pollution-fix', + 'description' => 'V130 Option C: stub disabled to prevent SSE stream pollution. See wiki V129.', +);