迭代 ONE-OS 多原型:加氢记录/订单同源对账、租赁明细校验与月度损益、车辆与台账增强;新增客户回款与加氢站统计;补齐业务逻辑与对象存储发布规范,同步原型导航。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
王冕
2026-07-16 09:00:13 +08:00
parent aa6b9a7683
commit 47c223a666
130 changed files with 17507 additions and 4461 deletions

View File

@@ -0,0 +1,31 @@
---
description: 对象存储发布 URL 必须与 Make 工具一致,禁止改后缀或加 prototypes/ 前缀
alwaysApply: true
---
# 对象存储发布 URL全局强制
完整规范:`rules/cloud-publish-url-guide.md`。配置:`.axhub/make/axhub.config.json` → `cloudPublishing.s3`。
## 标准形态
```text
{baseUrl}/{prototype-id}/index.html
```
示例:`https://prototype.lnoneos.com/lease-business-detail/index.html`
## 禁止Agent 发布或写链接时)
- 不得改为 `/prototypes/{id}/index.html`
- 不得去掉 `/index.html` 后缀
- 不得自改 `baseUrl` 域名
- 不得把本地 dev 路径 `/prototypes/...` 当作已发布链接写入 PRD/导航/registry
## 脚本发布
使用 `scripts/publish-all-to-s3.mjs``resolveObjectPrefix` 已与 Make 对齐为扁平 `{prototype-id}`。
## 回报用户
发布成功后给出的 URL 须与 Make「已发布到对象存储」弹窗**完全一致**。