--- 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「已发布到对象存储」弹窗**完全一致**。