[已取代] Scalar Pilot 契约、Staging Endpoint 与只读凭据 #19
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#12
Superseded decision
Pilot 目录主路径已经改为 Education 模块的
JAVA_READ+ PostgreSQL 原生目录,#20 负责该实现。真实 Scalar staging endpoint、只读凭据和上游 smoke 不再阻塞本次原生目录 Pilot。SCALAR_READ仍可作为显式兼容模式保留,但后续如需要验证或退役,应创建独立的 Scalar 兼容/退出票据;不得实现请求失败后的静默 fallback,也不得将 token 或 secret 写入 issue、仓库、日志或报告。Resolution
本票据因架构方向变化被 #20 取代,关闭为 superseded。
进展:已从源码冻结 Scalar 契约
tiku-backend 仓库已克隆到
/Users/tiku1/code/tiku-backend,完整 NestJS 源码已审查。契约已从 Controller 装饰器、DTO 和 query 参数定义中冻结。已完成
x-tenant-idheader +@TenantAccess(),无需 Bearer(assets 除外){ items/item, meta: { requestId } }docs/education/scalar-contract-from-source.md⚠️ 发现的关键差异
page+pageSize,但 Scalar 只接受limit(1-2000),无分页偏移。total,RuoYi 前端分页依赖此字段时会异常。published=true&hidden=false,但这些参数在 Scalar DTO 中不存在。待完成
/tmp/tiku-openapi.json提供 Scalar Pilot 契约、Staging Endpoint 与只读凭据to [已取代] Scalar Pilot 契约、Staging Endpoint 与只读凭据关闭原因:Pilot 题库目录主路径已确定为 #20 的 JAVA_READ + PostgreSQL 原生实现;Scalar staging 与凭据不再是当前 Pilot 阻塞项。若后续保留或退役 SCALAR_READ,将另开独立兼容性票据。