TL;DR
- Final architecture: Astro 6 + Sanity CMS + Cloudflare Workers — zero translation layers, trilingual support (zh-Hant / en / nan-Hant-TW), fully automated deployment
- Hit 37+ pitfalls, each documented with concrete error messages and fixes: 21 from Next.js + OpenNext, version three-way deadlock, 6 post-Astro migration, 10+ discovered after stabilization
- Framework migration completed in 30 minutes: three parallel AI agents replaced Next.js with Astro — deleted 6,897 lines, added 3,394 lines
- Core lesson: fewer translation layers is better, but platform constraints don't vanish when you switch frameworks
1. Why I Left WordPress
The positioning of lzong.tw is clear: a signed, public, permanent intellectual identity. Not fragments scattered across social media, but a personal site that's searchable, quotable, and permanent.
What's wrong with WordPress? It didn't actually do anything wrong. But self-hosted WordPress requires a VPS, PHP runtime, MySQL, and security patches — I didn't want to maintain a server, and there was no reason to spend that money on a low-traffic personal site.
What I wanted was simple: content that's portable (schema-as-code, not locked to any platform), zero operational overhead, operational cost approaching zero, and a chance to play with new tech and experience what a highly customizable product actually feels like.
Why Sanity + Cloudflare Workers?
Sanity is a headless CMS — schemas defined in TypeScript, Studio deployed independently, API is HTTP. No PHP, no MySQL, no server to maintain. Cloudflare Workers runs on an edge runtime across 300+ global nodes, with a free tier of 100,000 requests per day, and my DNS was already on Cloudflare.
Why not Vercel? Vercel is Next.js's birthplace — zero-config deployment. But Cloudflare's free tier is more generous, the CDN is faster, and my DNS was already on CF. Workers Builds went GA in April 2025, providing the same git-connected push-to-deploy experience as Vercel. Cloudflare is consolidating Pages functionality into the Workers platform, and Workers Builds is the new recommended approach. Worth noting: Pages still has deploy hooks (external API can trigger a rebuild), but Workers Builds does not — this gap comes up again later.
Sounds great.
2. Technology Choices: Sanity, Workers, Trilingual
Sanity: A Schema-as-Code Headless CMS
Sanity's core selling point is schema-as-code — document structures defined in TypeScript, version-controlled alongside the codebase. Studio is a standalone React application deployed at lzong.sanity.studio. Content is accessed via the GROQ query language, and the API is a standard HTTP endpoint.
The multilingual system uses @sanity/document-internationalization for document-level i18n — each language version is an independent Sanity document sharing the same slug. This is far cleaner than field-level i18n (cramming three languages' fields into one document), especially when article lengths vary significantly.
Cloudflare Workers: A Third Kind of Thing
Workers is not Node.js, and it's not a browser. It's a third kind of thing — it has fetch but no fs, has V8 and WebAssembly but restricts certain WASM instantiation methods, has Web APIs but is missing some. This recognition is critical, because most of the pitfalls that follow stem from "treating Workers as if it were Node.js."
Trilingual Support
lzong.tw supports three languages: zh-Hant (Traditional Chinese), en (English), and nan-Hant-TW (Taiwanese Hokkien in Han characters). Routes use a [lang] prefix: /zh-Hant/posts/slug, /en/posts/slug, /nan-Hant-TW/posts/slug. UI translations are centralized in lib/translations.ts, and all components retrieve values via t(lang, key).
Taiwanese Hokkien translation has one critical rule: consult the Ministry of Education's Dictionary of Frequently-Used Taiwan Minnan (教育部臺灣閩南語常用詞辭典) (sutian.moe.edu.tw) — never rely on intuition. The primary meaning of "換做" is "supposing" (hypothetical), not "switch to"; the Taiwanese for "選擇" (choose) is "揀" (kíng); "首頁" (homepage) is "頭頁". Every translation must be verified against the dictionary.
3. The First Architecture: Next.js + OpenNext (21 Pitfalls)
Next.js can't run directly on Cloudflare Workers — it requires a Node.js server. @opennextjs/cloudflare is a translation layer that converts Next.js's server code into a format Workers can execute.
Four layers. Each one is a potential breaking point. Here are all 21 pitfalls, grouped into six categories.
Build Pipeline Pitfalls
#1. Build script infinite recursion — Setting build in package.json to npx @opennextjs/cloudflare build, but OpenNext internally calls npm run build, creating a loop. build must be next build. Almost nobody mentions this online.
#2. pnpm deploy is a reserved command — pnpm reserves deploy for monorepo workspace deployment. The deploy script must be renamed to cf:deploy.
#3. open-next.config.ts must be fully specified — An empty default: {} throws errors. You must explicitly specify wrapper, converter, proxyExternalRequest, incrementalCache, tagCache, and queue.
#4. Cloudflare Dashboard build command isn't in git — Switch frameworks, switch build commands, but the Dashboard settings are manual. Forget to update them and it'll run the old OpenNext command.
Runtime Compatibility Pitfalls
#5. @sanity/client crashes on Workers — Under the hood it uses get-it for HTTP requests, and get-it uses Node.js's https.request. OpenNext's unenv polyfill doesn't implement this API.
This was the single most critical issue in the entire process. The fix: bypass @sanity/client entirely and use native fetch to call the Sanity HTTP API directly.
#6. fs.readFileSync crashes the entire Worker on startup — OpenNext bundles all server-side code into a single Worker. Any route that has import { readFileSync } from 'fs' executes at startup, regardless of which route is being accessed.
#7. @vercel/og doesn't work — It depends on Vercel's edge runtime internals. Alternative: use satori directly (the library underlying @vercel/og).
#8. Edge runtime config breaks OpenNext — export const config = { runtime: 'edge' } in API routes conflicts with OpenNext bundling. On Workers everything is edge anyway — just remove it.
#9. nodejs_compat_v2 is actually stricter — Switching to it produces No such module "node:fs". Stick with nodejs_compat.
Bundle Size Pitfalls
#10. Worker exceeds 3MB free tier limit — When Sanity Studio's sanity package is embedded in Next.js, gzipped size is ~4.7MB. The free tier limit is 3MB.
Fix: extract Studio into a standalone deployment at *.sanity.studio (free). Move Studio-only packages to devDependencies, bringing the Worker down to ~1.8MB.
Routing Pitfalls
#11. Next.js built-in i18n doesn't work — The i18n config in next.config.ts requires a Node.js server for locale negotiation. Switch to middleware + [lang] dynamic routes instead.
#12. getStaticProps can't return a redirect during prerender — Use middleware redirect + client-side fallback for the root route.
Toolchain Pitfalls
#13. wrangler.jsonc name must match Dashboard — Config says lzong-tw, Dashboard project is lzong-tw-sanity — deployment fails outright.
#14. Sanity CLI doesn't recognize Next.js path aliases — sanity deploy uses Vite build and doesn't read tsconfig.json's baseUrl. You need to manually add Vite aliases in sanity.cli.ts.
#15. sanity deploy build output should be gitignored — dist/ and .sanity/ can get accidentally committed.
#16. sanity deploy crashes on assertValue() — The standalone Studio doesn't have .env.local, so Vite build throws when assertValue() finds no value. projectId/dataset must use hardcoded fallbacks.
#17. sanity deploy requires remembering hostname and appId — Otherwise you have to interactively select them every time.
Debugging and Frontend Pitfalls
#18. Wrangler observability must be manually enabled — Add "observability": { "enabled": true } to wrangler.jsonc to get runtime logs.
#19. 500 errors require wrangler tail — Build logs only capture build-phase errors. Runtime errors need wrangler tail or Dashboard real-time logs.
#20. Tailwind container class has padding asymmetry — At certain viewport widths, left and right margins are unequal. Replace with max-w-4xl mx-auto px-6 md:px-8.
#21. Dark mode anti-flash — The <html> class must be set before HTML parsing begins, otherwise it renders light mode first then flashes to dark mode. Fix with an inline script in <head>.
4. Version Hell and the Epiphany
All 21 pitfalls fixed. Site is live. Then the Sanity Dashboard says: please upgrade to v5.
After upgrading to Sanity 5, @sanity/visual-editing and next-sanity require Next.js 16. After upgrading to Next.js 16:
OpenNext 1.17.1 doesn't support Next.js 16. Its peer dependencies claim support for ^16.1.5, but it crashes at runtime.
Downgrade to Next.js 15? The latest Sanity packages require Next 16. Downgrade to Sanity 4? The Dashboard nags you to upgrade to 5.
Three-way deadlock. No solution.
Looking back at those 21 pitfalls, they share a common root cause:
OpenNext is a translation layer. It translates Next.js's Node.js server behavior into Workers' edge runtime behavior. Every "pitfall" is a translation fidelity loss:
https.requestnot implemented → translation layer missing polyfillfs.readFileSynccrash → translation layer's bundling approach is wrongedge runtimeconfig conflict → translation layer's conceptual model differs from Next.js- Next.js 16 incompatibility → translation layer can't keep up with upstream breaking changes
The problem isn't any individual pitfall — it's the translation layer itself.
If the translation layer is responsible for 90% of the problems in your stack, the solution isn't to fix every individual problem — it's to remove the translation layer.
5. The 30-Minute Astro Migration
Astro has a native Cloudflare Workers adapter (@astrojs/cloudflare). No translation layer needed.
Two fewer layers. I used three parallel Claude Code agents for the migration:
73 files changed. Deleted 6,897 lines of Next.js code, added 3,394 lines of Astro code. Including merge conflict resolution and verification, the whole thing took 30 minutes.
Results:
All OpenNext-related problems from the 21 pitfalls (#1, #3, #5-10) simply vanished. They weren't fixed — they ceased to exist.
6. Post-Astro Pitfalls (#22-27)
Thought switching frameworks would be the end? No. Six more pitfalls after migration.
#22. Tailwind v4 + Astro requires @tailwindcss/vite — The @astrojs/tailwind integration only supports Tailwind v3. For v4, use @tailwindcss/vite as a Vite plugin instead of the integration.
#23. Cloudflare Dashboard settings aren't in git — Build command, deploy command, environment variables are all manually configured in Dashboard. After switching frameworks, forgetting to update the build command means CI still runs the old npx @opennextjs/cloudflare build. Always record the correct Dashboard settings in CLAUDE.md.
#24. satori's yoga-wasm is blocked by Workers — OG image generation uses satori (renders JSX to SVG), but satori depends on yoga-wasm under the hood. Workers supports WebAssembly but restricts certain instantiation methods (e.g., calling new WebAssembly.Instance() from a dynamic source). yoga-wasm happens to trigger this restriction:
Fix: abandon satori entirely, use a pure SVG string template. No WASM, no JSX, no dependencies.
#25. Cascading effects of framework migration — After deleting Next.js's components/ directory, Sanity Studio plugins were still importing from it. OpenGraphPreview imports components/OpenGraphImage, AuthorAvatarPreviewPane imports components/AuthorAvatar, OpenGraphInput imports constants from components/OpenGraphImage. Each one had to be found and inlined or rewritten.
#26. Leftover dependencies from the old framework — sanity.cli.ts used @next/env to load .env.local, but that package was removed during migration. Had to switch to dotenv. sanity.config.ts had presentationTool and previewDocumentNode that depended on Next.js's preview mode API route — also had to be removed.
#27. Astro API endpoints don't support .tsx — Assumed renaming .ts to .tsx would enable JSX, but Astro's endpoint routing only recognizes .ts. .tsx returns 404. This is why the OG image ultimately used an SVG string template instead of JSX.
These six pitfalls share a common lesson: Framework migration isn't just deleting old files and creating new ones. Every dependency on your old framework — packages, CMS plugins, CLI config, API patterns — will surface when you think you're done.
7. WordPress Content Migration
Architecture stabilized. Next step: migrate old articles from WordPress. Sounds like it should be the easiest part. It wasn't.
The Process
WordPress's export format is WXR (WordPress eXtended RSS), which is essentially a massive blob of XML. The pipeline has two separate steps: first, import-wordpress.ts parses the XML, extracts each article's HTML content, strips Gutenberg block comments, converts to Markdown with turndown, and writes drafts/*.md files. Then pnpm import:draft reads those Markdown files and pushes them into Sanity as draft documents.
WordPress's Hidden Landmines
URL-encoded slugs — WordPress's Chinese slugs are URL-encoded (%e5%be%9e-wordpress-%e5%88%b0). Using them directly as Sanity slugs is ugly — they need to be decoded and renamed.
Gutenberg block comments — WordPress 5.0+ content is littered with <!-- wp:paragraph --> block comments. turndown doesn't strip them automatically; you need to regex-strip them before conversion.
Mixed HTML — Some older articles mix the Classic Editor and Gutenberg blocks, producing inconsistent HTML structure. Some paragraphs are wrapped in <p> tags, others are bare text with <br>. turndown's output requires manual proofreading.
Automatic category mapping — WordPress categories map to Sanity's category field: society → essay, software-engineering → tech. Converted automatically via a mapping table; unmatched categories fall back to essay.
Evolution of import-draft.ts
This script went through many iterations:
- CRLF issue — On Windows,
^---\ndoesn't match\r\n. Frontmatter parsing fails silently. Changed to\r?\n. - dotenv issue —
npx tsxdoesn't automatically load env files. Secrets (e.g., Sanity Editor token) go in.env.secret(gitignored), public IDs go in.env.local(committed). The script must manually load both:import { config } from 'dotenv'; config({ path: '.env.secret' }); config({ path: '.env.local' }). - perspective: raw — The Sanity API defaults to returning only published documents. To find documents with
drafts.*prefix, you must setperspective: 'raw'. - drafts. prefix* —
client.create()without_idcreates a published document directly. To create a draft, you must usecreateOrReplace()with adrafts.-prefixed ID.
8. The Multilingual System
Document-Level i18n
Using @sanity/document-internationalization, each language version is an independent Sanity document with its own random UUID as _id. The association between language versions is managed through a translation.metadata document — this metadata document holds references to all language versions, letting Studio know which documents are different language versions of the same article.
Upside: each language version's content length can differ completely, without being crammed into array fields on the same document. Downside: document count multiplied by 3 (plus the metadata document). Not a problem for a personal blog.
Central Translation File
lib/translations.ts centralizes all UI strings:
All components retrieve values via t(lang, 'writing') — no hardcoded text in components.
Getting Taiwanese Hokkien Translations Right
Taiwanese Hokkien translation can't rely on intuition, Google Translate, or "that's probably right." You must consult the Ministry of Education's Dictionary of Frequently-Used Taiwan Minnan (教育部臺灣閩南語常用詞辭典) (sutian.moe.edu.tw).
Some actual corrections:
- "切換" (switch) → "換" (not "換做" — the primary meaning of "換做" is "supposing," a hypothetical)
- "語言選擇" (language selection) → "揀語言" ("揀" kíng is native Taiwanese, not a calque of "選擇")
- "首頁" (homepage) → "頭頁" (not "主頁" or a direct rendering of "首頁")
Slug Uniqueness Scoped by Language
Sanity's slug validation defaults to global uniqueness. This means zh-Hant and en versions can't share the same slug — the English version would need a -en suffix, which is ugly.
Fix: add a custom isUnique validator to the post schema's slug field, scoped by language. zh-Hant and en can now share the same slug because their language fields differ.
9. Automated Quality Assurance
Manually maintaining a lessons-learned list, manually checking terminology, manually verifying links — doing these once is fine, but long-term they inevitably degrade. I ported a hook system from another project (sugar-dating) to mechanically enforce quality assurance.
6 Claude Code Hooks
The core philosophy: don't rely on human discipline — rely on mechanized process. lesson-surfacing.mjs contains a LESSON_MAP — file path patterns mapped to relevant CLAUDE.md rules. Edit lib/sanity.fetch.ts, and it automatically reminds you that @sanity/client can't be used on Workers. Edit src/styles/global.css, and it reminds you to use CSS custom properties instead of hardcoded values.
The memory anti-bloat guard warns you when you write to ~/.claude/ memory instead of CLAUDE.md. The git commit doc gate reminds you when you commit code without updating CLAUDE.md (add [no-lesson] to the commit message to skip).
Taiwan Terminology Lint
27 rules, mechanically enforced via hooks. Chinese technical writing must use Taiwan-standard terminology:
- 数据 → 資料 (data)
- 算法 → 演算法 (algorithm)
- 服务器 → 伺服器 (server)
- 调试 → 除錯 (debug)
- 文件 → 檔案 (file, when referring to a file)
- 网络 → 網路 (network)
- 应用程序 → 應用程式 (application)
- 集成 → 整合 (integration)
- 云计算 → 雲端運算 (cloud computing)
The same rules apply when translating English to Chinese. See tw-tech-terminology-converting-prompt for a 600+ term reference table.
Cross-Validation with Codex CLI
I used OpenAI's Codex CLI for automated review of the entire codebase. Not a one-shot pass — I ran 7 rounds.
Each round found new issues introduced by the previous round's fixes. For example: round 3 fixed pagePath not being passed to the post page; round 4 discovered the 404 page was still emitting og:url. Round 6 fixed strictNullChecks; round 7 discovered env.d.ts was never created.
The goal isn't "one run with no errors" — it's "Codex has nothing left to say." ALL PASS is a fixed target; iterate until you hit it.
WebFetch Interception Hook
Link validation can't use WebFetch (it can only check HTTP status, not whether the page actually renders correctly). Use Playwright's browser_navigate + browser_snapshot to verify that links are alive and content is accessible.
One hard-won lesson: a polish agent flagged a Facebook link as "dead link with no context" and deleted it. But that link was the author's original writing motivation. Codex then flagged the English translation as "fabricated content." A polish agent must never delete original content — it must first cross-validate against the WordPress XML source.
10. Studio Customization
Sanity Studio defaults to a generic document list, but as content types and languages multiply, you need a custom structure to find things quickly.
Category and Language Filtering
The Studio document list has five flat filter entry points: Essays (📝), Tech (🔧), zh-Hant (🇹🇼), English (🇺🇸), and WP Published (✅). These are flat categories, not nested — clicking Essays shows essays in all languages, clicking zh-Hant shows all categories in Chinese. There's also an All Posts view that shows all documents unfiltered.
PostStats: Article Statistics Panel
The Studio's Posts menu embeds a Statistics panel (React component PostStats) that uses GROQ count queries with perspective: 'raw' to display real-time article count statistics.
There's a subtle counting issue here: because of document-level i18n, a single article can have 3 documents (zh-Hant / en / nan-Hant-TW), plus draft and published versions, so the document count far exceeds the actual article count. PostStats displays multiple sets of numbers:
- Unique article count — deduplicated by slug, representing how many actual articles exist (split by Essays / Tech)
- Published / Drafts — published and draft document counts shown separately
- By language — how many documents in zh-Hant / en each
This lets you see actual content volume at a glance, rather than being misled by document counts.
wpStatus Read-Only Field
Articles imported from WordPress that were originally published carry a wpStatus: "publish" field, set to readOnly in Studio. Unpublished articles don't have this field. This field's purpose is to track the original WordPress publication status and should not be manually modified — it's a record of import history, not Sanity's publication status.
The Invisible .id() Trap (#39)
When building custom Studio structure, S.documentList() must call .id(). Omitting .id() doesn't produce a build error, and TypeScript won't complain, but Studio will white-screen on load with only a vague error in the console: id is required for document lists. Note: S.listItem() does not need .id() — only S.documentList() does.
11. Post-Stabilization Pitfalls (#28-37+)
The site was live and functional. Then I ran 7 rounds of review with Codex CLI and dug up another batch. These aren't migration pitfalls — they're "thought it was stable but it wasn't" pitfalls.
#28. SEO meta was almost entirely missing — After the Astro migration, nobody added og:title, og:url, canonical, hreflang, twitter:card, or robots.txt. The homepage didn't even have <meta name="description">. Framework migration ensures "it works," not "it can be found."
#29. Nine "latest" versions in package.json — Nine Sanity packages used "latest". Every pnpm install produced different results; CI was non-reproducible. Rule after getting burned: always pin versions.
#30. OG image SVG: wrap first, escape second — If you escapeXml() before wrapText(), entities like & can get split across <tspan> elements, producing invalid SVG. Correct order: wrap the raw text into lines, then escape each line individually.
#31. strictNullChecks: false + missing env.d.ts — TypeScript configuration degradation from the migration. strictNullChecks was disabled, and src/env.d.ts (Astro's type declarations) was never created. Six type errors disappeared silently. A single /// <reference types="astro/client" /> line fixed all of them.
#32. Sanity slugs are globally unique by default — Sanity's slug validation doesn't scope by language. zh-Hant and en versions of the same document can't share a slug. Solution: custom isUnique validator, scoped by the language field.
#33. npx tsx doesn't load env files — Sanity CLI auto-loads .env.local via dotenv, but standalone scripts don't. Secrets (e.g., Sanity Editor token) go in .env.secret (gitignored), public IDs go in .env.local (committed). Scripts must manually load both:
#34. Windows CRLF breaks frontmatter regex — ^---\n doesn't match \r\n on Windows. Frontmatter parsing fails silently, all fields fall back to defaults. Always use \r?\n.
#35. Sanity client.create() without _id publishes immediately — I assumed create() would produce a draft. It doesn't — Sanity auto-generates an ID without the drafts. prefix, meaning the document is published instantly. To create actual drafts, use createOrReplace() with a drafts.-prefixed ID.
#36. npx sanity documents delete doesn't delete drafts.* documents — The CLI delete command only targets published documents. Draft-prefixed documents become invisible orphans, causing slug conflicts and Studio errors. You must use the transaction API with perspective: 'raw' to find and delete them all.
#37. prerender = true pages are static — After publishing content in Sanity, the Cloudflare-hosted pages don't update automatically. You must run pnpm cf:deploy to rebuild. No webhook, no ISR — it's a full rebuild every time.
#38. NEXT_PUBLIC_ env vars are intentional* — The NEXT_PUBLIC_SANITY_PROJECT_ID variables in sanity.api.ts look like Next.js leftovers, but they correspond to variable names in .env.local, and Sanity Studio's Vite build reads them. Don't rename them.
#39. Studio structure .id() is required — In Sanity Studio's custom structure, S.documentList() must call .id(). Omitting it doesn't produce a build error, but Studio will white-screen on load.
12. Automated Deployment
Frontend Deployment
Push to master → Cloudflare Workers Builds auto-triggers → pnpm build (runs astro build) → npx wrangler deploy.
Workers Builds is a git-connected CI/CD that went GA in April 2025. But it has one critical limitation: Workers Builds has no deploy hook — it can only be triggered by a git push, not by an external API call. (By contrast, Cloudflare Pages has deploy hooks, but Pages is no longer the recommended approach.)
This means the frontend doesn't automatically rebuild when Sanity content is updated.
Sanity Webhook → GitHub Action
Since Workers Builds has no deploy hook, the workaround routes through GitHub Actions:
The Sanity Webhook fires on content publish, calling the GitHub API to send a repository_dispatch event that triggers a GitHub Action on the master branch. The Action receives the event and runs pnpm build + wrangler deploy.
This path has one extra step compared to Workers Builds, but it solves the "content updates don't trigger a rebuild" problem. If Workers Builds adds deploy hook support in the future, this GitHub Action can be removed.
Studio Deployment
pnpm sanity:deploy → deploys to lzong.sanity.studio. This is Sanity's free hosting — no server management needed.
13. Conclusion: Five Lessons
One: fewer translation layers is better. Every layer of translation is a potential source of version conflicts, polyfill gaps, and breaking changes. Sanity → fetch → Astro → Workers has two fewer breaking points than Sanity → next-sanity → Next.js → OpenNext → Workers. If the adapter is the problem, switch frameworks — don't keep piling on workarounds.
Two: platform constraints don't vanish when you switch frameworks. Workers restricts certain WASM instantiation methods, doesn't support fs, doesn't support https.request — none of this has anything to do with which framework you use. Switching frameworks solves translation-layer problems, not platform problems. Distinguish which pitfalls belong to which layer so you know what to fix.
Three: a successful build doesn't mean it runs. The most painful bugs only appear at runtime. [unenv] https.request is not implemented yet!, Wasm code generation disallowed by embedder — these don't show up in build logs. Always enable observability + wrangler tail, and verify immediately after deployment.
Four: mechanize lesson recording — don't rely on human discipline. 6 hooks, 27 terminology rules, a commit doc gate — not because I have a bad memory, but because humans "in the middle of fixing a bug" don't think to update documentation. Hooks don't forget. CLAUDE.md is the canonical source; memory and README are derivatives.
Five: iterate verification until the tool has nothing left to say. 7 rounds of Codex, ALL PASS as a fixed target. Each round found new issues introduced by the previous round's fixes. Running one review pass and declaring "done" is self-deception. Set a hard metric and iterate until you hit it.
Stack Summary
This article documents the state of things as of March 2026. OpenNext may fix Next.js 16 compatibility in future versions, and Workers may lift WASM restrictions. But "fewer translation layers is better," "distinguish which layer owns the problem," and "mechanize lesson recording" are principles that won't expire.