- Created 'nuclear_strip' helper to remove all hidden and unicode whitespace characters.
- Applied 'nuclear_strip' globally to the inventory and during content extraction.
- Fixed MD031 by ensuring proper blank line spacing around Mermaid code fences in introduction.md.
- Hardened comparison tables and link lists against invisible formatting issues.
- Implemented global data sanitization upon inventory load to strip whitespace and hidden characters from all titles.
- Forced whitespace stripping during the initial Markdown extraction phase (V1 content gathering).
- This ensures 100% clean link text across all rendered documentation, preventing 'Spaces inside link text' violations.
- Stripped all leading/trailing whitespace (including non-breaking spaces) from link titles in list items, comparison tables, and the index pulse.
- Ensured URLs are stripped to prevent formatting issues.
- This resolves the persistent 'Spaces inside link text' error in generated documentation.
- Fixed MD024: Included H1 main title in used_headers to prevent duplicate sub-headings.
- Fixed MD031: Added mandatory blank lines around Mermaid code fences in introduction.md.
- Fixed MD039: Stripped leading/trailing spaces from link titles to satisfy formatting rules.
- Fixed MD025: Ensured only one H1 heading exists per document by starting internal headings at H2.
- Fixed MD024: Implemented a header deduplication mechanism using a per-file 'used_headers' set.
- Improved structure: Properly nested hierarchies to satisfy strict Markdown standards.
- Fixed dark mode visibility by setting proper text and tag luminosities in docs/static/v2_elite.css.
- Eliminated triple 'Explore Related' blocks by moving the injection outside recursion in src/v2_optimizer.py.
- Fixed 'Technical Deep-Dive' rendering by correcting Markdown indentation for collapsible blocks.
- Explicitly set response_format='text' to prevent JSON parsing failure loops.
- Added safety delay (1s) to respect global RPM quota.
- Tagged with role='PR-Guardian' for improved telemetry.
- Implemented manual sys.stdout.flush() in log_event.
- Enabled flush=True for all print statements in the logger.
- Set PYTHONUNBUFFERED: '1' in the V2 Builder workflow environment.
- These changes ensure immediate log delivery and reduce GHA agent stuttering.
- Added auto-save every 500 GitHub API fetches to prevent data loss on early cancellation.
- This ensures that subsequent runs skip already enriched repositories.