Pin frontend to the pending-account contract migration #583

Merged
weichen merged 19 commits from fix/admin-user-create-contract into main 2026-10-16 08:53:41 +00:00
Owner

目标

修复管理员建号 UI 400(json: unknown field "name"):frontend PR weichen/Agent-System-Frontend#94 按 backend 新契约迁移建号请求({owner, profile:{name}}),并移除已 410 的登录 Key 签发入口。

变更

  • modules/frontend pin:3bbb918 → d8e610a(transport 单元 u2 一次成功,cursor worker)
  • 任务卡 fix-admin-user-create-contract:路由裁定、单元收据与验证证据

验证

  • 组合最小验证 make test-frontend(contracts 同步 + vitest + knip 43≤43 门禁)PASS(SELF,任务卡 evidence)
  • GATE:本 PR HEAD 的组合 CI(make test + make build)
  • 合入顺序:本 PR CI 绿 → frontend #94 合入 → 若合并方式改变 SHA 则校准 pin 重跑 CI → 本 PR 合入

任务卡

fix/admin-user-create-contract(R0 9edb011,已 task-sync 至 37b272ba)

## 目标 修复管理员建号 UI 400(`json: unknown field "name"`):frontend PR weichen/Agent-System-Frontend#94 按 backend 新契约迁移建号请求(`{owner, profile:{name}}`),并移除已 410 的登录 Key 签发入口。 ## 变更 - `modules/frontend` pin:3bbb918 → d8e610a(transport 单元 u2 一次成功,cursor worker) - 任务卡 fix-admin-user-create-contract:路由裁定、单元收据与验证证据 ## 验证 - 组合最小验证 `make test-frontend`(contracts 同步 + vitest + knip 43≤43 门禁)PASS(SELF,任务卡 evidence) - GATE:本 PR HEAD 的组合 CI(make test + make build) - 合入顺序:本 PR CI 绿 → frontend #94 合入 → 若合并方式改变 SHA 则校准 pin 重跑 CI → 本 PR 合入 ## 任务卡 fix/admin-user-create-contract(R0 9edb011,已 task-sync 至 37b272ba)
weichen added 8 commits 2026-10-16 06:50:39 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/fix-admin-user-create-contract.md; R0=9edb011e63ab9bf104360379e52c30075bd2f344.

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

Refs: .task/fix-admin-user-create-contract.md
Why: UI account creation returns 400 (unknown field name) after the
backend contract change; task card records root cause, scope and units.
Evidence: precheck receipt /tmp/precheck-fix-admin-user-contract-20261016a.json (SELF).
Impact: task card only; no product code.
Refs: backend 8dfc223, b9c0a34
Why: agent-per-unit dispatch to the frontend repo is not supported until
that repo adopts AGENT-EXECUTION.md; verdict and precedent recorded.
Evidence: /tmp/u1-frontend-receipt.json (SELF).
Impact: task card only.
Refs: docs/superpowers/specs/2026-10-15-project-agent-execution-design.md
Why: delivery gating requires tool-written evidence for the three
completion outputs.
Evidence: make evidence SELF entry on the task card.
Impact: task card only.
Refs: frontend d8e610a
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=37b272ba0ecfaf97fe71db3947ddf1127594db8e.

Impact: integrate upstream changes without rewriting task history.

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

Evidence: SELF recursive component checks; sync_base=37b272ba0ecfaf97fe71db3947ddf1127594db8e; before_record=6e51a164e9ea3f6c5bd38e6ce754c62913222fea.

Impact: task metadata only.

Refs: .task/fix-admin-user-create-contract.md
Record pin bump unit receipt and composition verification
ci / svc-realcombo (pull_request) Successful in 2m29s
ci / test (pull_request) Successful in 6m47s
ci / test-pg (pull_request) Successful in 9m43s
220c041077
Why: the Dev-side frontend gitlink bump went through a routed unit and
task-sync; delivery gating requires the receipt and fresh evidence on
the synced head.
Evidence: /tmp/u2-pin-bump-receipt-b.json; make test-frontend SELF entry.
Impact: task card only.
Refs: frontend PR #94
weichen added 3 commits 2026-10-16 07:24:07 +00:00
Why: delivery gating requires reviewer identity, objects, verdicts and
fix closure on the task card.
Evidence: review brief and diffs under /tmp (SELF refs).
Impact: task card only.
Refs: frontend bcb8171
Record u3 fail-stop reconciliation and u4 retry transport
ci / test (pull_request) Successful in 6m12s
ci / svc-realcombo (pull_request) Successful in 1m58s
ci / test-pg (pull_request) Successful in 7m50s
836aca2371
Why: the pin bump to the reviewed head required a fresh routed unit
after a startup TLS failure fail-stopped the first run; receipts and
composition evidence recorded per gating.
Evidence: /tmp/u3-pin-bump-receipt.json, /tmp/u4-pin-bump-receipt.json;
make test-frontend SELF entry.
Impact: task card + frontend pin bcb8171.
Refs: frontend PR #94
weichen added 2 commits 2026-10-16 07:39:35 +00:00
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=e665bfb574fe3311bb1ffa02212c0620c4e310f7.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
Record the sync checkpoint
ci / svc-realcombo (pull_request) Successful in 2m3s
ci / test (pull_request) Successful in 6m7s
ci / test-pg (pull_request) Successful in 8m11s
8837310655
Why: bind the task validation checkpoint to the integration baseline.

Evidence: SELF recursive component checks; sync_base=e665bfb574fe3311bb1ffa02212c0620c4e310f7; before_record=af7b69e321feddbf76ffb0792c2ac811a0f87f78.

Impact: task metadata only.

Refs: .task/fix-admin-user-create-contract.md
weichen added 1 commit 2026-10-16 07:52:27 +00:00
Record the sync attempt precheck receipt
ci / svc-realcombo (pull_request) Successful in 1m50s
ci / test (pull_request) Successful in 6m17s
ci / test-pg (pull_request) Successful in 8m20s
42ef39b2ba
Why: task-sync writes its internal precheck receipt before the
cleanliness gate; commit keeps the card authoritative.
Evidence: make evidence SELF entry (make precheck inside task-sync).
Impact: task card only.
Refs: PR #583
weichen added 2 commits 2026-10-16 07:56:29 +00:00
Calibrate the frontend pin to the merged PR head
ci / test (pull_request) Successful in 6m8s
ci / svc-realcombo (pull_request) Successful in 2m18s
ci / test-pg (pull_request) Successful in 7m54s
6aba36d88b
Why: frontend PR #94 merged as a merge commit; the pin must reference
the merged main head with identical tree before the Dev merge.
Evidence: /tmp/u5-pin-receipt.json; make test-frontend SELF entry.
Impact: frontend pin 46e99fe; task card.
Refs: frontend PR #94, Dev PR #583
weichen added 2 commits 2026-10-16 08:17:20 +00:00
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=84900d44d34d2d42428a5b5de1d92328d90a9950.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
Record the sync checkpoint
ci / test-pg (pull_request) Successful in 8m27s
ci / svc-realcombo (pull_request) Successful in 2m11s
ci / test (pull_request) Successful in 5m57s
c679756498
Why: bind the task validation checkpoint to the integration baseline.

Evidence: SELF recursive component checks; sync_base=84900d44d34d2d42428a5b5de1d92328d90a9950; before_record=417120e9753ad35988f78536b2b77ab097fb2d60.

Impact: task metadata only.

Refs: .task/fix-admin-user-create-contract.md
weichen added 1 commit 2026-10-16 08:23:27 +00:00
Record the post-sync combination test receipt
ci / svc-realcombo (pull_request) Successful in 1m49s
ci / test (pull_request) Successful in 5m54s
ci / test-pg (pull_request) Successful in 7m39s
858116a831
Why: the second sync to main 84900d4 invalidated the earlier test
receipt; the combined suite reran green on the synced head.
Evidence: make test exit 0 at c679756 (SELF, make evidence).
Impact: task card only.
Refs: PR #583
weichen merged commit 5575859b61 into main 2026-10-16 08:53:41 +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#583