Auto-sync tool counts + OG drift regression + Free-Tier AI nudge
AetherCut v1.9.95 shipped on Aug 13, 2026.
What's new in v1.9.95?
- Set-Size Auto-Sync — marketingCounts.js now imports PRO_FEATURE_IDS + AI_FEATURE_IDS and COMPUTES TOOLS_PRO/AI_PRO/AI_FREE at runtime instead of storing them as literals. Adding a Pro tool now needs one edit (append to the Set); all three counts + every downstream marketing surface follow automatically. Drift bug shipped 3× before this fix (v1.9.10, v1.9.85, v1.9.90) — architecturally impossible now.
- Auto-Cropping Regression — /app/backend/tests/test_og_card_drift.py regenerates all 3 OG variants (1200×630, 1080×1080, 1080×1350), phashes each, and asserts the perceptual distance against checked-in baselines in /app/scripts/og_baselines/ is ≤ 3. Also asserts exact dimensions. Uses imagehash + PIL. Runs with the pytest suite so any layout drift caught before merge.
- Free-Tier AI Nudge — first time a free user clicks any AI-gated tool, a persistent sonner toast fires: "AI Layer is $9.99/mo — try one AI tool free" with an "Unlock AI Layer" action button. localStorage-gated so it only fires once per browser. Fires ai_nudge_shown funnel event tagged with the tool ID that triggered it, so we can see which AI tool is the strongest conversion entry-point.
- Migrated 10 count-checking regression tests from static-file grep to runtime import via a new /app/frontend/src/tests/_helpers/counts.mjs helper — the tests now read the actual computed values, not literals.
- Regression suite grew to 443 (+6 in v1995AutoSyncAndNudge + 9 pytest cases in test_og_card_drift)
How these changes reduce release risk in practice
The through-line in v1.9.95 is not just “more tests,” but fewer places where the product can silently drift away from what the code actually does. The count fix is the clearest example. Before this change, marketing surfaces could be technically correct at launch and still become wrong later because the source of truth lived in more than one place. A new Pro or AI tool might be added correctly in product code, yet the homepage count, pricing copy, upgrade prompts, or in-app badges could lag behind because they depended on hard-coded numbers. Computing TOOLS_PRO, AI_PRO, and AI_FREE from PRO_FEATURE_IDS and AI_FEATURE_IDS changes the maintenance model: the edit happens where entitlement logic already lives, and the displayed totals become a byproduct of that same data. That matters most in fast-moving releases, where “just update the number too” is exactly the kind of small follow-up step people forget.
A practical way to think about it is this: if a teammate adds one new AI tool to the free trial bucket, the old approach required remembering every surface that referenced counts, every test that mirrored those literals, and every place where marketing language might now be off by one. The new approach makes the Set membership the only meaningful edit. The runtime helper in the frontend tests is important for the same reason. A regression test that checks a copied literal can pass while the app is wrong; a regression test that imports the computed value fails when production behavior changes. That is a much stronger guardrail because it validates the same path users see, not a parallel approximation of it.
The OG image regression work solves a different class of problem: visual breakage that is obvious once shared publicly but easy to miss during normal feature review. Exact-dimension assertions catch the blunt failures, but perceptual hashing is what makes the test useful against subtler layout movement. A one-line CSS tweak, font metric change, or crop adjustment may still output a correctly sized image while shifting text blocks, clipping faces, or rebalancing whitespace enough to weaken click-through on social previews. By generating all three variants and comparing each against checked-in baselines with a tight threshold, the test protects the approved composition rather than only the file shape. One common mistake with visual regressions is setting the threshold so loose that meaningful drift passes unnoticed; another is setting it so strict that harmless rendering noise creates flaky failures. The current design suggests a deliberate middle ground: exact dimensions for hard guarantees, phash distance for perceptual stability.
The free-tier AI nudge also benefits from being narrowly scoped. Because it is first-click only and browser-persistent, it avoids turning every gated action into repeated friction. The event tagging by triggering tool ID is what makes the prompt operationally useful instead of just promotional. If one AI feature consistently generates ai_nudge_shown events and later outperforms others as an upgrade entry point, that tool becomes a stronger candidate for onboarding emphasis, pricing-page examples, or “try this first” placement. A common implementation error in this kind of funnel is measuring the modal or toast globally, which tells you that a prompt appeared but not which feature generated intent. Tool-level attribution gives product and growth teams something concrete to act on without changing the user experience again first.
How do I get this update?
Open the editor and you have it. AetherCut runs in Chrome, Edge, Safari and Firefox. There is nothing to install, and you can edit without an account. Open the editor or see how it works.