Skip to content

CSS Phase C sprint C5 + phase closure: critical-vs-pages dedup (5 winner-safe pairs), Phase D decisions#376

Merged
pftg merged 2 commits into
masterfrom
css-migration/c5-critical-dedup
Jul 19, 2026
Merged

CSS Phase C sprint C5 + phase closure: critical-vs-pages dedup (5 winner-safe pairs), Phase D decisions#376
pftg merged 2 commits into
masterfrom
css-migration/c5-critical-dedup

Conversation

@pftg

@pftg pftg commented Jul 19, 2026

Copy link
Copy Markdown
Member

What this is

The final Phase C sprint plus the phase closure. After this PR, Phase C's five success criteria are all met and the remaining work is a decided, documented Phase D backlog.

C5 — critical-vs-pages twin dedup

Every critical/*.css shared 8-81 key-identical rules with its pages/*.css file (delta-port leftovers). Formatting differences meant the byte-level production dedup plugin never removed them — both copies shipped, so this is a real payload cut.

  • Shipped: 5 winner-safe pairs (about-us 60, careers 58, homepage 81, services 30, single-client 8 rules deleted from the pages side) — per-selector last-wins winner maps proven exactly unchanged.
  • Reverted: 4 position-sensitive pairs (clients, single-service, single-use-cases, single-career). The winner gate + a deterministic careers_ruby screenshot regression showed those twins are position-load-bearing: the pages copies re-override critical-side defaults (gform_wrapper display, .clearfix:after, a rich-text font-size). The delta-port headers had warned "keep cascade position — do not dedupe"; the tracker now records them as fold-then-dedup work for Phase D. This is the second time this session the screenshot gate caught what a set-level static gate missed.

Phase C closure (in the tracker)

Scorecard: FL files 0 ✅ · no obfuscated artifacts ✅ (zero hashed classes, zero hash-named files) · no hand-layer duplication ✅ · safe-edit headers + ownership map ✅ · compiled+gzip evidence rule held ✅.

Phase D decisions (made per Paul's delegation): wrapper collapse + fl-* trio retirement deferred (DOM changes need design QA); legacy-shared strangler deferred to own sprints; the 4 twin sets above fold-then-dedup; jt-reviews-box restoration postponed per Paul.

Verification

  • careers_ruby regression fixed and green; churn-based critical suite 34/52 green
  • Full macOS system suite: 65 runs / 119 screenshots / 0 failures, zero baseline changes
  • Linux full suite (bin/dtest-all): EXIT=0, 119 screenshots, no failures

🤖 Generated with Claude Code

https://claude.ai/code/session_01GYRU9wGepomJo5hSuqtu7V

Paul Keen and others added 2 commits July 19, 2026 06:00
… (274 rules)

Each critical/*.css shared key-identical twin rules with its page file.
Formatting differences meant the byte-level production dedup never
removed them - both copies shipped, so deleting the pages side is a
real payload cut. SHIPPED for the 5 pairs where the per-selector
last-wins winner map is exactly unchanged: about-us (60), careers (58),
homepage (81), services (30), single-client (8) = 237 rules... plus
per-pair counts above; REVERTED for 4 position-sensitive pairs whose
winner maps flipped (clients: a rich-text font-size; single-service +
single-use-cases: .clearfix:after display; single-career: the apply
form's gform_wrapper display + a var-font twin) - caught by the winner
gate after the careers_ruby screenshot regressed deterministically.
Those twins are POSITION-LOAD-BEARING (the delta-port headers warned) -
logged in the tracker as not-dedupeable without rule-content
normalization first.

Gate: 5 shipped pairs decl-set identical AND winner-map identical;
4 reverted pairs restored byte-identical to pre-C5.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GYRU9wGepomJo5hSuqtu7V
@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@pftg, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 3 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 103ef9d5-d735-4216-a67b-3a5fd16fa225

📥 Commits

Reviewing files that changed from the base of the PR and between fe233b4 and bc60243.

📒 Files selected for processing (6)
  • docs/projects/2509-css-migration/TASK-TRACKER.md
  • themes/beaver/assets/css/pages/about-us.css
  • themes/beaver/assets/css/pages/careers.css
  • themes/beaver/assets/css/pages/homepage.css
  • themes/beaver/assets/css/pages/services.css
  • themes/beaver/assets/css/pages/single-client.css
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch css-migration/c5-critical-dedup

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pftg
pftg merged commit a235d70 into master Jul 19, 2026
2 checks passed
@pftg
pftg deleted the css-migration/c5-critical-dedup branch July 19, 2026 04:15
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