Skip to content

fix(extraction): CSS bleed, blank turns, doubled titles, history loading + verify harness (Closes #206, #208, #209)#211

Merged
martymcenroe merged 1 commit into
mainfrom
fix/extraction-anomalies
Jul 10, 2026
Merged

fix(extraction): CSS bleed, blank turns, doubled titles, history loading + verify harness (Closes #206, #208, #209)#211
martymcenroe merged 1 commit into
mainfrom
fix/extraction-anomalies

Conversation

@martymcenroe

Copy link
Copy Markdown
Owner

Diagnosed with the new tools/verify_export.py oracle-diff harness (compares each extracted conversation against the API export).

New tools/verify_export.py: oracle-diff gate. Manifest 1.5.2 -> 1.5.3. 324 tests pass. #205/#207 (deep-research shape) need real DOM and are deferred.

Closes #206
Closes #208
Closes #209

…ory loading + verify harness (Closes #206, Closes #208, Closes #209)

Diagnosed with the new tools/verify_export.py oracle-diff harness (compares each
extracted conversation against the API export):

- #206: extractTextContent now strips <style>/<script> so web-search widget
  keyframes stop bleeding into message text. Tested.
- #208: blank turns (empty thinking/artifact shells) are dropped and re-indexed;
  this also clears the false 'no opening user' they caused. Tested.
- #209: cleanTitle now collapses space-separated doubled names ('X X'), and the
  full-list path runs titles through it. Tested.
- #204 (addressed, pending browser verify): the ~10-message cap was the BACKGROUND
  worker tab not triggering Claude's lazy-load of older turns. Worker tab is now
  active so scrollToLoadAllMessages loads full history. verify_export will confirm
  dom-count == oracle-count on the next run; leaving #204 open until it does.

tools/verify_export.py: oracle-diff gate (dom vs api export) — message count,
opening-user, blank turns, CSS leak, doubled title, Unicode integrity.
Manifest 1.5.2 -> 1.5.3. 324 tests pass. #205/#207 (deep-research shape) need real
DOM and are deferred.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

@cerberus-az cerberus-az Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: all required checks passed. 🤖

@martymcenroe
martymcenroe merged commit e34053e into main Jul 10, 2026
2 checks passed
@martymcenroe
martymcenroe deleted the fix/extraction-anomalies branch July 10, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant