# 云澜飞轨: round history (condensed from the project skill on 2026-11-26)

## Origins
- The project began as an analysis of the H5 game Rail in the Air (poki, OPlay Games); the user is authorized.
  - Assets are in work/rail/dl, beautified code in work/rail/game.pretty.js.
  - Already delivered: the analysis zip and maps_overview.png.
- 2026-11-21: the user's own original game, 云澜飞轨, was started. The original game is reference only; none of its assets or code are used.
- Roadmap ideas the user raised:
  - volumetric clouds
  - 100–1000 km tracks
  - biomes, plus atmospheres layered on them
  - daily and endless modes
  - a three-track ghost race
  - a passenger train that loses passengers
  - a sky bus

## Shipped milestones
- **Phase 2** (3ac10ce): 12 levels, endless and daily, 8 cars and 8 riders, 5 themes, procedural audio, PWA.
- **Phase 3** (d8a0af9): Chinese HUD, realistic islands and props.
- **Clarity pass** (cc1c79e) and **derail / fall / underwater sequence** (6e6338a, c70dc69). Polish round 4049b13.
- **Biome / atmosphere split + 云海** (l13, l14); **草原** (l15, l16, 25b33d8, shimmer 14323d4); **峡谷** (l17, l18, a4f15a3).
- **Chapters / daily / ambient** (beb4a21).
- **Phase A slim** (a350536): main chunk 270 kB, lazy cine.
- **Phase B, 三轨幽灵竞速** (8537cb9).

## 2026-11-25 continuous rounds
1. **Race polish** (8df6392): readable ghosts; a tie counts as joint first.
2. **载客列车 mode** (3f8826b, 090ea3c): 4 lines, 8 passengers who are thrown out and float down by umbrella; stars by passengers delivered.
3. **Train shimmer** (0175d18): overlap / sub-pixel fixes; deterministic train_shim.
4. **Low-tier far LOD**, all modes (c7e8efc).
5. **Train shimmer** (c8034e1): bellows, skirts; SW v6.
6. **Phone audit** (a9be69f): tap targets, back button, adaptive resolution, shader precompile; SW v7.

## 2026-11-26
7. **Train far shell + low-tier instance culling** (84d0067, deploy e869897a, nav c38f6c6).
   - All low-tier mid-run samples are within budget.
   - Culling uses position-hashed seeds; test/cull_check.py added. SW v9.
   - Main chunk 274.71 kB.

## Known leftovers
- Train shimmer at grass 780 m: 853 vs 650 for the single car, mostly the nearest car.
- Never tested on a real phone.
- Occasional render stalls.
- Ambient loudness never heard by ear.
- 草原 track-edge shimmer.
- Canyon high tier is capped at pixel ratio 1.5.
- Low tier has 2–3 extra draw calls that are unexplained.
- The ylfg2-race migration is still open if the ghost format changes.
8. Audio mix by LUFS + ?perf=1 overlay + env-map stall fix (a74ac78, deploy 0713fb94, nav ecf2402, SW v10). Main 274.91 kB. Montage at test/shots/report/mix.mp3.
9. (in progress, yunlan-r9-diet) Main bundle diet to ≤262 kB; louder train coupler clank.
