feat(p01): add secure profile foundation and management UI #2

已合并
YokiiroBW 已将来自 feat/p01-foundation 的 7 提交合并入 main 2026-07-19 20:32:38 +08:00
管理员

Summary

  • add persistent SQLite schema v2 for non-sensitive ConnectionProfile metadata
  • add bounded Rust-owned Profile list/create/update/delete IPC
  • add strict ConnectionProfile Zod Schemas and basic React management UI
  • set the P01 version to 0.1.0-alpha.1
  • resolve PD-0008 through ADR-0004

Scope boundary

P01 includes basic Profile metadata CRUD.

The following remain in P02:

  • companion and operations slot assignment
  • active REST/SSE connections
  • auto-connect validation
  • Profile switching protection
  • duplicate server_instance_id detection
  • formal credential enrollment and deletion

Security

  • Profile IPC accepts no Token, password, API Key, Cookie or NAS credentials
  • unknown fields are rejected
  • credential-bearing URLs and URL query/fragment data are rejected
  • HTTP requires explicit insecure-transport approval
  • React does not receive credential values
  • no arbitrary command or unrestricted filesystem API was added

Verification

  • frontend format, ESLint, TypeScript and Vite build: passed
  • Vitest: 3 passed
  • Playwright Chromium: 1 passed
  • Rust fmt, Clippy with warnings denied and check: passed
  • Rust tests: 50 passed, 2 explicit manual tests ignored
  • protocol Schema export: passed without drift
  • Tauri development startup: passed
  • Windows release and NSIS build: passed

NSIS SHA-256:

90EB68CDB5EAEDEA675050DA0F30DDAB5E8A0345FF176690A31FA5F66C818740

Not claimed

  • Forgejo CI has not run because a compatible runner/jobs endpoint is unavailable
  • real AstrBot Gateway compatibility has not been validated
  • no real UNC transaction or real credential was used
  • main was not automatically merged
## Summary - add persistent SQLite schema v2 for non-sensitive ConnectionProfile metadata - add bounded Rust-owned Profile list/create/update/delete IPC - add strict ConnectionProfile Zod Schemas and basic React management UI - set the P01 version to 0.1.0-alpha.1 - resolve PD-0008 through ADR-0004 ## Scope boundary P01 includes basic Profile metadata CRUD. The following remain in P02: - companion and operations slot assignment - active REST/SSE connections - auto-connect validation - Profile switching protection - duplicate server_instance_id detection - formal credential enrollment and deletion ## Security - Profile IPC accepts no Token, password, API Key, Cookie or NAS credentials - unknown fields are rejected - credential-bearing URLs and URL query/fragment data are rejected - HTTP requires explicit insecure-transport approval - React does not receive credential values - no arbitrary command or unrestricted filesystem API was added ## Verification - frontend format, ESLint, TypeScript and Vite build: passed - Vitest: 3 passed - Playwright Chromium: 1 passed - Rust fmt, Clippy with warnings denied and check: passed - Rust tests: 50 passed, 2 explicit manual tests ignored - protocol Schema export: passed without drift - Tauri development startup: passed - Windows release and NSIS build: passed NSIS SHA-256: `90EB68CDB5EAEDEA675050DA0F30DDAB5E8A0345FF176690A31FA5F66C818740` ## Not claimed - Forgejo CI has not run because a compatible runner/jobs endpoint is unavailable - real AstrBot Gateway compatibility has not been validated - no real UNC transaction or real credential was used - main was not automatically merged
YokiiroBW 于 2026-07-19 20:24:57 +08:00 推送了 7 个提交
docs(p01): record foundation progress and profile boundary
一些检测仍在等待运行
ci / Portable quality checks (push) Waiting to run
ci / Windows Tauri build (push) Waiting to run
6a1eeabea8
docs(p01): resolve profile boundary and record verification
一些检测仍在等待运行
ci / Portable quality checks (push) Waiting to run
ci / Windows Tauri build (push) Waiting to run
2154c3b5ee
docs(p01): record Forgejo branch publication
一些检查失败了
ci / Portable quality checks (push) Has been cancelled
ci / Windows Tauri build (push) Has been cancelled
ci / Portable quality checks (pull_request) Has been cancelled
ci / Windows Tauri build (pull_request) Has been cancelled
99b3f4dea3
YokiiroBW 已合并提交 885abd1553 到 main 2026-07-19 20:32:38 +08:00
登录 并参与到对话中。
无评审员
未选择标签
未选择里程碑
暂无项目
未指派成员
1 位参与者
通知
到期时间
到期日期无效或超出范围。请使用“yyyy-mm-dd”格式。

未设置到期时间。

依赖工单

没有设置依赖项。

引用:YokiiroBW/AstrBot-Desktop#2
没有提供说明。