Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

v1.3.3 — Fix reasoning-start-expanded for Codex v26.602.30954

Latest

Choose a tag to compare

@shivam2014 shivam2014 released this 06 Jun 17:09

v1.3.3

Bug fix: reasoning thoughts now stay expanded after completing

Root cause: The reasoning-start-expanded skeleton verify regex matched any useState(!0) call in the bundle — there are 35 of them. The inspectRule() function saw 2 matches, returned 'already applied', and skipped the patch entirely. The reasoning useState(o) was never changed to useState(!0).

Fix:

  • Anchored skeleton on ,m=!o&& context suffix — now matches exactly 1 occurrence (the reasoning useState)
  • Added guard in inspectRule(): cross-check skeleton.match count vs skeleton.verify count before returning 'already'
  • Updated expanded reasoning CSS selector for v26.602+ (inline maxHeight instead of Tailwind max-h-35)

Verification: 14/14 patches working (8 exact + 6 auto-healed, 0 structural rewrites)

Files changed

  • source-patcher.js — skeleton + inspectRule fix
  • index.js — CSS selector update for expanded reasoning mode
  • SITREP.md — updated status