# AERI_LANG v0.5.0b1 Release Notes

## Summary
`0.5.0b1` is the first beta focused on mission-grade execution:
- hybrid runtime (`auto`) for speed + compatibility
- tornado analytics and decision pipeline (Phase 5/6/7)
- mandatory production gate
- phase8 performance maturity framework

## Highlights
- **Hybrid Runtime**: automatic native/interpreter selection with safe fallback.
- **Tornado Intelligence**:
  - scenario generation (150+)
  - summary/ranking/playbooks
  - uncertainty and export pack generation
- **Production Hardening**:
  - auth token issue/expiry
  - audit logging
  - release gate policy enforcement
- **Performance Stack (Phase 8)**:
  - kernel cache metadata
  - autotuning DB
  - graph run overhead metrics
  - roofline-style profile reports

## Release Commands
```bash
aeri-lang verify --quick
aeri-lang prod gate --policy production/policy.json --json .aeri_prod_gate.json
```

## Phase 8 Commands
```bash
aeri-lang phase8 init
aeri-lang phase8 status
aeri-lang phase8 compile --source examples/hello_world.aeri --backend cuda --shape 256x256
aeri-lang phase8 tune --op storm_update --backend cuda --shapes 256x256,512x512 --trials 6
aeri-lang phase8 run --backend cuda --ops storm_step,pressure_update,vorticity_update
aeri-lang phase8 profile --backend cuda --op storm_hotloop --size 100000 --iters 50
aeri-lang phase8 report --out .aeri_phase8_report.json
```

## Production Gate Requirement
Release is considered blocked unless:
- `prod gate` returns `OK`
- required auth policy exists and tokens have valid expiry
- verification suite passes

## Known Limits
- Full native parity and full CUDA/ROCm fused lowering remain in-progress.
- Cluster-grade scheduler mesh and deep enterprise IAM integration remain roadmap items.

