Skip to content

Extract author selector semantic preparation - #1438

Merged
chubes4 merged 1 commit into
trunkfrom
refactor-author-selector-semantics
Aug 30, 2026
Merged

Extract author selector semantic preparation#1438
chubes4 merged 1 commit into
trunkfrom
refactor-author-selector-semantics

Conversation

@chubes4

@chubes4 chubes4 commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • extract author-style installation and selector semantic preparation from HtmlTransformer
  • centralize selector matching, cache accounting, and control/inline/attribute/root/table marker discovery
  • retain six explicit conversion-policy decisions in a typed context while removing 326 lines from the transformer

Part of #242.

Verification

  • composer validate --strict
  • composer test
  • focused contracts: 100 author-selector assertions, 63 engine-support assertions, 22 compile-fragment assertions, shared-cache equivalence across 54 pages, session isolation, artifact projection, navigation projection isolation, and table conversion
  • PHP transformer parity: 292 fixtures
  • CSS-attached corpus: 383 documents across 87 fixtures, 82 with CSS, 0 throws
  • exact base/candidate corpus hash: 6f0fd03d6eaa5b9683919e19a0a44eb652f7517373b91c4de3880ac9055ab04f

AI assistance

OpenAI GPT-5.6 Sol via OpenCode was used to map the semantic-preparation boundary, implement the extraction, and run the verification suite; the resulting diff and evidence were reviewed before publication.

@chubes4
chubes4 merged commit 8ed653d into trunk Aug 30, 2026
10 checks passed
@chubes4
chubes4 deleted the refactor-author-selector-semantics branch August 30, 2026 18:07
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