feat(auth): 添加 M0A.5a 正式认证基础 - #88
Open
wangjk9527 wants to merge 1 commit into
Open
Conversation
7 tasks
wangjk9527
force-pushed
the
cursor/m0a5a-formal-auth-foundation-f252
branch
2 times, most recently
from
July 27, 2026 08:18
79bf799 to
df7a377
Compare
- 落地 password 正式认证基础与相关回归 - deploy 默认补齐 AUTH_REGISTRATION_MODE,兼容旧完整配置 - CI/Docs 仅在主仓 datagallery-lab/datafoundry 运行
wangjk9527
force-pushed
the
cursor/m0a5a-formal-auth-foundation-f252
branch
from
July 27, 2026 08:18
df7a377 to
a072d34
Compare
wangjk9527
requested review from
SymbolZH,
Wistomize and
iancaoo
and removed request for
Wistomize
July 27, 2026 08:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GET /api/v1/auth/status、登录防枚举、Web/TUI 会话 TTL、可恢复 CSRF 轮换)。createAuthenticatedTestClient();核心 HTTP smoke/seed 迁到 password 模式;CIcore-smoke-tests跑test:auth-foundation。ask_user/submit_plan在合成RUN_FINISHED前补齐TOOL_CALL_END。scripts/deploy/.env.example的AUTH_REGISTRATION_MODE配套小补丁,保证 password 模式与 Native Deploy Smoke。「不叠」仅指不把过期整支部署分支的 commit 叠进来,不是禁止基于 feat(部署): Ubuntu/Debian 原生一键部署(DataLink 外置) #87,也不是去掉对 deploy 脚本的依赖。不在范围:M0A.5b(TUI 登录)、M0A.5c(password-only 切流);完整部署方案已由 #87 合入 main,本 PR 不另开部署大改。
对抗审查(复审后)
*+credentials(既有模式);open 注册 409 可枚举邮箱;口令最短 6;注册 UI 与registrationMode完全对齐留给 5cVerdict:可合并
Test plan
npm run test:auth-foundation(26 pass)npm run smoke:authnpx vitest run apps/api/src/interaction-runtime-adapter.test.ts(3 pass)npm --workspace @datafoundry/agent-runtime exec -- vitest run src/tools/governed-tool-factory.test.ts(4 pass)npm run typecheckCore Smoke Testsgreen