Bump frontend pin: refresh me on auth state (frontend #61) #407

Merged
weichen merged 7 commits from feature/fe-me-refresh into main 2026-10-12 02:41:57 +00:00
Owner

Why: 管理入口(系统管理→用户管理)在任何一次刷新/正常重登后消失——store.me 只由改密门 onDone 回填(refreshMe 全仓唯一调用点),me?.isAdmin 门控的菜单在 me=null 时永久隐藏。前端 fdedaa1 在 authState ok effect 补 store.refreshMe()。

Evidence: 任务卡三段(precheck/task-sync/make test)由 make evidence 写入(SELF);组合 make test 在同步后 head + bumped pin 上 exit=0;前端 vitest 100/100、tsc+vite 构建通过。CI 在 PR head 重放(GATE)。

Impact: 管理员刷新/重登后保留系统管理入口;非管理员无行为变化。
注意:请先合 frontend PR #61,再合本 PR(pin 指向其提交 fdedaa1)。

Refs: 任务卡 .task/feature-fe-me-refresh.md;frontend PR #61。

Why: 管理入口(系统管理→用户管理)在任何一次刷新/正常重登后消失——store.me 只由改密门 onDone 回填(refreshMe 全仓唯一调用点),me?.isAdmin 门控的菜单在 me=null 时永久隐藏。前端 fdedaa1 在 authState ok effect 补 store.refreshMe()。 Evidence: 任务卡三段(precheck/task-sync/make test)由 make evidence 写入(SELF);组合 make test 在同步后 head + bumped pin 上 exit=0;前端 vitest 100/100、tsc+vite 构建通过。CI 在 PR head 重放(GATE)。 Impact: 管理员刷新/重登后保留系统管理入口;非管理员无行为变化。 注意:请先合 frontend PR #61,再合本 PR(pin 指向其提交 fdedaa1)。 Refs: 任务卡 .task/feature-fe-me-refresh.md;frontend PR #61。
weichen added 5 commits 2026-10-12 02:21:26 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-fe-me-refresh.md; R0=a1ac948155eb8957a87f37d8da4a9feb870dd532.

Impact: task metadata only; the feature workspace starts at a1ac948155.

Refs: .task/feature-fe-me-refresh.md
Why: the admin entry vanished after every reload because store.me was
never repopulated outside the forced-change gate; frontend fdedaa1
adds store.refreshMe() to the authState ok effect.

Evidence: composite make test exit=0 on this worktree with the bumped
pin (SELF); frontend vitest 100/100 and tsc+vite build clean on
feature/me-refresh-on-auth.

Impact: dev UI keeps the system-management entry for admins across
reloads and re-logins; merge frontend PR #61 before this one so the
pin points at a merged commit.

Refs: frontend PR #61; task card feature/fe-me-refresh.
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=df18c35203601bdec8d1671c60e0f4cf7d0b5aef.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=df18c35203601bdec8d1671c60e0f4cf7d0b5aef; candidate=0ef2741902ababec7efa530516234a0cedd51ca6.

Impact: task metadata only.

Refs: .task/feature-fe-me-refresh.md
Record the make test evidence in the task card
ci / test-pg (pull_request) Successful in 1m10s
ci / test (pull_request) Successful in 2m55s
6e6427e330
Why: bind the completion claim to the tool-recorded composite test run
on the post-sync head with the bumped frontend pin.

Evidence: CMD="make test" make evidence exit=0 appended by the evidence
tool (SELF); CI replay expected on the PR head.

Impact: task card only; no code change.

Refs: task card feature/fe-me-refresh.
weichen added 2 commits 2026-10-12 02:40:09 +00:00
Why: Dev main moved the frontend pin to 41f6ce8 (U6, PR #408) while
this branch pinned fdedaa1 (admin me-refresh, frontend #61); frontend
main 360d640 contains both, so the gitlink resolves there.

Evidence: git merge-base --is-ancestor fdedaa1 360d640 and 41f6ce8
360d640 both hold in the frontend repo (SELF).

Impact: pin-only merge resolution; composite make test reruns next.

Refs: frontend PR #61/#62; Dev PR #407/#408.
Record the post-conflict-resolution test evidence
ci / test-pg (pull_request) Successful in 1m18s
ci / test (pull_request) Successful in 2m54s
512b56e439
Why: pin re-resolution requires a fresh composite run per the
cross-repo pin rules.

Evidence: CMD="make test" make evidence exit=0 at the merged head
with frontend pinned to 360d640 (SELF).

Impact: task card only.

Refs: task card feature/fe-me-refresh; Dev PR #407.
weichen merged commit 475654363d into main 2026-10-12 02:41:57 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#407