Skip to content

Expose template shell dedupe diagnostics#613

Merged
chubes4 merged 8 commits into
mainfrom
fix/header-footer-dedupe-ssi
Jul 7, 2026
Merged

Expose template shell dedupe diagnostics#613
chubes4 merged 8 commits into
mainfrom
fix/header-footer-dedupe-ssi

Conversation

@chubes4

@chubes4 chubes4 commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add explicit header/footer shell dedupe diagnostic fields for removed block counts, matched template part paths, and preserved local header/footer counts.
  • Preserve those fields in compact validation diagnostics.
  • Extend smoke coverage to prove global template chrome is removed while local page header/footer content remains.

Tests

  • php tests/smoke-template-part-shell-dedupe.php
  • php tests/smoke-report-diagnostic-loss-classes.php
  • php -l includes/class-static-site-importer-page-materializer.php
  • php -l includes/class-static-site-importer-report-diagnostics.php
  • php -l tests/smoke-template-part-shell-dedupe.php
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenAI GPT-5.5 via OpenCode
  • Used for: Inspected the dedupe diagnostics gap, implemented report/test hardening, and ran focused verification.

@chubes4 chubes4 merged commit e737df7 into main Jul 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant