fix(audit): include /ephemeris in the capability-audit route set
Independent Staging Quality Gate / validate (push) Failing after 9m31s
Independent Staging Quality Gate / publish (push) Skipped

BUG-713: the staging quality gate failed because _scan_app_routes
found the new ephemeris page and the exact allowlist did not.
This commit is contained in:
jesse-ux
2026-09-15 18:16:57 +08:00
parent 766028399c
commit 8d6a4bd065
3 changed files with 34 additions and 0 deletions
@@ -44,6 +44,20 @@
未改 `jyotish_api_server.py` 行数契约。未删 sidebar 星历入口。未放宽 `dignities` / boundary。
## 门禁补修(BUG-713
Gitea `backend-quality-gate` run `2635``a38a9415`)失败:
`tests/test_api_server_security.py::test_capability_audit_scans_registry_and_local_sources`
| | |
| --- | --- |
| 原值 | `app_routes``chart` 后直接 `home`,无 `ephemeris` |
| 新值 | 加入 `'ephemeris'` |
| 原因 | `_scan_app_routes` 扫到了 `frontend/src/app/ephemeris/page.tsx`;这是 BUG-454 同类遗漏,不是放宽 |
门禁数字:`1 failed, 765 passed, 1 skipped`。本条修完后应回到 766 passed。
## 合入
`git push origin HEAD:staging`,核对远端 SHA。部署是否追上见推送后的 `/api/health`