# Production Version Truth 2026-06-27

## Rule

正式環境 `/health` 是 EwoooC 的最新版本真相。

Local workspace、Gitea `main`、branch、handoff 或文件只能作為 source candidate；除非 production readback 回同一個版本，否則不能宣稱已上線或最新。

## Current Protected Baseline

- Production URL: `https://mo.wooo.work/health`
- Production readback at setup time: `status=healthy`, `database=postgresql`, `version=V10.725`
- Clean local workspace: `/Users/ogt/codex-workspaces/ewoooc-dev`
- Local branch at setup time: `main`
- Local / origin HEAD at setup time: `f3e412c`
- Clean local `config.py`: `SYSTEM_VERSION = "V10.725"`
- Old iCloud checkout had a local-only `config.py` drift to `V10.726`; that drift is not production truth.

## Required Check

Before claiming a version, run:

```bash
python scripts/ops/check_production_version_truth.py
```

If the script reports `BLOCKED`, treat local work as a candidate and do not deploy, report completion, or write handoff text that says the local version is latest.

For an explicit release-prep branch only, `--allow-local-version-drift` may be used to inspect a local `config.py` version bump, but production `/health` still remains the latest runtime truth until deploy readback matches it.
