SOURCE EXPLORER / 資料ブラウザー
migration.md
実装と資料を、行ごとに確かめる。
日常訳はAIを用いて作成された翻訳です。人間の聖書学・原語の専門家による全訳の検証は確認されていません。既存の翻訳や原語資料と照らし合わせてお読みください。
1# 日常訳第1版 publication and experimental retirement23The main reader offers 口語訳 and 日常訳第1版 on desktop and mobile. A translation4selection reloads the document, which isolates the reader and search-worker caches.5`?translation=nichijo-v1` selects the new release; `?translation=kougo` selects6口語訳. An explicit URL wins over the saved browser preference. Shared links name7the edition, and copied 日常訳第1版 citations include its name.89The new release contains 31,101 numbered verses and 33 separate Japanese Psalm10heading blocks. The reader offers Hebrew, Aramaic and Koine Greek parallels for11both editions. The notice describes a technology-based translation project,12rigorous development/testing, and the absence of human expert verification.13口語訳 furigana is available; audio is not currently available on the website.14The new edition does not play mismatched audio.1516## Release provenance1718`web/scripts/build-nichijo.mjs` reads only the reviewed translator release under19`cli/translate-bible/reports/releases/nichijo-v1`. It checks the manifest,20audit and book hashes and the verse/chapter counts before producing the CSV and21legacy-reference map. It never exports the raw source-numbered harness output.22`npm run build` runs this step automatically. The server preview bundles the same23CSV, with separate per-edition caches and edition-preserving redirects.2425## Retirement2627Cloudflare confirms the actual production hostname is **experiment.japanbible.net**28on the `experimental-japanbible` Pages project in the JTCM account. The retirement29build uses [Pages advanced mode](https://developers.cloudflare.com/pages/functions/advanced-mode/)30and replaces the historical reader with a redirect-only worker. No database is31bound or deleted. The historical source remains available in this repository.3233Old chapter and passage URLs redirect through `/experimental` on the main site.34That route maps source verse numbers using the reviewed alignment before sending35the reader to the correct main-site passage. The browser retains an old fragment36through the HTTP redirect so the client can map it too. Search queries are37preserved; reviewer credentials and unrelated query parameters are not forwarded.38Retired API endpoints, writes and raw corpus URLs return 410.3940## Build and validation4142From `web/japanbible-net`:4344```sh45npm run build46npm run build --prefix functions47npm run test:coverage48npm run test:coverage --prefix functions49npm run test:e2e --prefix web -- e2e/nichijo.spec.ts e2e/originals.spec.ts50firebase deploy --only hosting,functions:ogPreview --project japanbible-cd2ba51```5253Deploy the main site and verify it before running the experimental project's54`npm run deploy` with the repository-documented JTCM Cloudflare credentials. Its55normal build now produces only retirement assets. `npm run build:archive` is for56local inspection, not publication. The retirement worker has its own 100% coverage57checks via `npm run test:retirement`; the tracked pre-commit hook includes them.5859Validation at finalization: 1,153 web tests, 229 server tests, 47 focused60browser checks and four retirement-worker tests pass. The new selection and61migration modules and retirement worker have 100% statement/branch coverage.62Existing code has lower overall coverage; thresholds were not relaxed. Both63production builds pass. Vite retains its pre-existing main-bundle size warning.6465## Production result — 2026-09-126667Both deployments completed. [日常訳第1版 is live](https://japanbible.net/?translation=nichijo-v1),68and [experiment.japanbible.net](https://experiment.japanbible.net/) redirects to it.69Firebase updated only Hosting and `ogPreview`; Cloudflare production deployment70is `c4b169ce`. No databases were deleted. The missing package-local Wrangler71executable was handled by invoking the available CLI through `npx wrangler`.7273[Live verification](migration-verification.json) passes the production CSV hash,74server preview, mobile reader, edition switching, search, Hebrew parallel,75retirement HTTP statuses, old Joel 4 chapter/fragment mapping, and an old Psalm76passage mapping. The main site's 31,101-verse CSV hash is77`5514825d96a0747b70c5a2225db5cca9cb18032da0fa8089f14bf4ee87200b0c`.78Recheck with `node web/scripts/verify-live.mjs --retired` from this directory.79