Cover the admin create path in the composition e2e harness #591

Merged
weichen merged 14 commits from fix/admin-create-e2e-guard into main 2026-10-16 11:48:45 +00:00
Owner

目标

防再发收尾:管理员建号路径纳入组合验收线。backend 8dfc223 契约变更曾致 UI 建号部署后 400,而单测/mock 均不覆盖该组合路径。

变更

  • scripts/e2e.sh:主阶段 playwright 纳入 e2e/admin-user-create.playwright.ts(frontend PR weichen/Agent-System-Frontend#97;断言请求体严格 {owner,profile:{name}}、待初始化提示逐字、行状态未设密码、CLI 发放指引、随机后缀防 409)
  • modules/frontend pin → 119fff9(候选,#97 合入后校准为 merge SHA)
  • 任务卡 fix-admin-create-e2e-guard:路由收据(含一次 fail-stop 与一次缺陷 transport 回滚)+ 部署环境浏览器实测与 spec 运行证据

验证

  • bash scripts/e2e.sh 全量 PASS:主阶段 6 用例(含建号场景)+ plain-base 阶段 2 用例(SELF,任务卡 evidence;sync 仅带卡片变更,组合输入未变)
  • GATE:本 PR HEAD 组合 CI

关联

frontend #97;前置增量 fix-admin-user-create-contract(#94/#583/#587)

## 目标 防再发收尾:管理员建号路径纳入组合验收线。backend 8dfc223 契约变更曾致 UI 建号部署后 400,而单测/mock 均不覆盖该组合路径。 ## 变更 - `scripts/e2e.sh`:主阶段 playwright 纳入 `e2e/admin-user-create.playwright.ts`(frontend PR weichen/Agent-System-Frontend#97;断言请求体严格 `{owner,profile:{name}}`、待初始化提示逐字、行状态未设密码、CLI 发放指引、随机后缀防 409) - `modules/frontend` pin → 119fff9(候选,#97 合入后校准为 merge SHA) - 任务卡 fix-admin-create-e2e-guard:路由收据(含一次 fail-stop 与一次缺陷 transport 回滚)+ 部署环境浏览器实测与 spec 运行证据 ## 验证 - `bash scripts/e2e.sh` 全量 PASS:主阶段 6 用例(含建号场景)+ plain-base 阶段 2 用例(SELF,任务卡 evidence;sync 仅带卡片变更,组合输入未变) - GATE:本 PR HEAD 组合 CI ## 关联 frontend #97;前置增量 fix-admin-user-create-contract(#94/#583/#587)
weichen added 8 commits 2026-10-16 11:10:47 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/fix-admin-create-e2e-guard.md; R0=5f848b17849f85d19662db1cc46a41a7dacc25e1.

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

Refs: .task/fix-admin-create-e2e-guard.md
Why: the verifier-scoped increment adds the admin-create browser
scenario to the composition harness; card records prior evidence and
scope.
Evidence: deployed-dev spec run and browser acceptance (SELF, /tmp).
Impact: task card only.
Refs: frontend PR #97, PR #94
Why: the evidence tool wrote its receipt before the run failed on pin
drift; commit keeps the card authoritative before re-dispatch.
Evidence: make evidence receipt (SELF).
Impact: task card only.
Refs: harness run
Why: routing receipts including one fail-stop and one defective
transport (reverted) must be on the card per gating.
Evidence: /tmp receipts referenced in the unit table; harness PASS
receipt written by make evidence.
Impact: task card only.
Refs: frontend PR #97
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=8218685ced13b51f7420587391f93ec3cbcc995d.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
Record the sync checkpoint
ci / svc-realcombo (pull_request) Successful in 2m44s
ci / test (pull_request) Successful in 6m43s
ci / test-pg (pull_request) Successful in 9m33s
c277f4d837
Why: bind the task validation checkpoint to the integration baseline.

Evidence: SELF recursive component checks; sync_base=8218685ced13b51f7420587391f93ec3cbcc995d; before_record=a5a3f0699151f8dec1abc2ac8176e33fd5555ac5.

Impact: task metadata only.

Refs: .task/fix-admin-create-e2e-guard.md
weichen added 2 commits 2026-10-16 11:23:30 +00:00
Calibrate pin to the merged frontend head and record u3
ci / svc-realcombo (pull_request) Successful in 1m56s
ci / test (pull_request) Successful in 6m20s
ci / test-pg (pull_request) Successful in 8m24s
4a6dd9291d
Why: frontend PR #97 merged as a merge commit; the pin must reference
the merged main head with identical tree before the Dev merge.
Evidence: /tmp/u3-e2eguard-receipt.json; make test-frontend SELF entry.
Impact: frontend pin 65ab7a8; task card.
Refs: frontend PR #97, Dev PR #591
weichen added 1 commit 2026-10-16 11:24:35 +00:00
Record composition evidence on the calibrated head
ci / svc-realcombo (pull_request) Successful in 2m6s
ci / test (pull_request) Successful in 6m10s
ci / test-pg (pull_request) Successful in 8m10s
30545e7237
Why: delivery gating requires fresh evidence on the final candidate.
Evidence: make test-frontend SELF entry (vitest + knip gate).
Impact: task card only.
Refs: frontend PR #97, Dev PR #591
weichen added 3 commits 2026-10-16 11:37:16 +00:00
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=f302341a02b0c0dcf94f2017d56ff94a17a3617d.

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=f302341a02b0c0dcf94f2017d56ff94a17a3617d; before_record=ff8f935397118590132917911cd9d750f565f381.

Impact: task metadata only.

Refs: .task/fix-admin-create-e2e-guard.md
Record post-sync checkpoint and fresh evidence
ci / svc-realcombo (pull_request) Successful in 2m44s
ci / test (pull_request) Successful in 6m39s
ci / test-pg (pull_request) Successful in 8m14s
e44f3c1044
Why: main advanced; sync merged it and gating requires fresh evidence
on the new head.
Evidence: make evidence SELF entries.
Impact: task card only.
Refs: Dev PR #591
weichen merged commit bb72d9cde0 into main 2026-10-16 11:48:45 +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#591