Harden live repair strategy parsing after #12 merge #32

Merged
lost-rob0t merged 1 commit from fix/live-repair-strategy-parser into main 2026-08-12 18:23:16 +00:00
lost-rob0t commented 2026-08-12 18:20:51 +00:00 (Migrated from github.com)

Hotfix for the post-merge main REAL OpenRouter regression after #12.

The production runtime and graph code are unchanged. The failure was in the live repair acceptance parser: it rejected a correct REPAIR_LITERAL_FINAL choice whenever a free-route model also mentioned the alternative token in explanatory text.

This hotfix keeps the repair path closed and Prolog-controlled:

  • OpenRouter may only select the allow-listed REPAIR_LITERAL_FINAL strategy;
  • Prolog still materializes the executable typed repair plan;
  • model text is never executed as Prolog code;
  • bounded real-provider retry remains unchanged;
  • the prompt no longer advertises an unnecessary alternative token;
  • explanatory text containing the allowed strategy token is accepted instead of treated as a false negative.

Branch deterministic CI is green, including the fresh-process durable graph restart gate.

Do not merge until the same-repository REAL OpenRouter core + structured-repair job is green on the exact head.

Hotfix for the post-merge `main` REAL OpenRouter regression after #12. The production runtime and graph code are unchanged. The failure was in the live repair acceptance parser: it rejected a correct `REPAIR_LITERAL_FINAL` choice whenever a free-route model also mentioned the alternative token in explanatory text. This hotfix keeps the repair path closed and Prolog-controlled: - OpenRouter may only select the allow-listed `REPAIR_LITERAL_FINAL` strategy; - Prolog still materializes the executable typed repair plan; - model text is never executed as Prolog code; - bounded real-provider retry remains unchanged; - the prompt no longer advertises an unnecessary alternative token; - explanatory text containing the allowed strategy token is accepted instead of treated as a false negative. Branch deterministic CI is green, including the fresh-process durable graph restart gate. Do not merge until the same-repository REAL OpenRouter core + structured-repair job is green on the exact head.
Sign in to join this conversation.
No description provided.