docs(adr): member-group ADR 改号 0028→0038,避免与 agent-config-folder-tree 撞号

This commit is contained in:
2026-08-06 00:58:51 +08:00
parent ecc92c9a87
commit c96ea60482
13 changed files with 29 additions and 48 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/**
* /database/api/groups/* 成员组管理端点(ADR-0028)。
* /database/api/groups/* 成员组管理端点(ADR-0038)。
* 约定:绝对路径;actorOrNull 前置 fail closed;业务全走 memberGroupService;
* 错误统一 sendRouteError。
*
@@ -108,7 +108,7 @@ export async function registerMemberGroupRoutes(
const { id } = request.params as { id: string };
const body = bodyObject(request.body);
if (body["parentId"] !== undefined) {
throw new FileLibError(400, "invalid_request", "reparent is not supported (ADR-0028)");
throw new FileLibError(400, "invalid_request", "reparent is not supported (ADR-0038)");
}
// description 需区分"未传"(不动)与 ""(清空),故不用 optionalString
// (它把 "" 也归为 undefined)。