Implement U4 one-time login keys and OpenExisting (Backend pin) #428

Merged
weichen merged 11 commits from feature/svc-deploy-u4-login-key into main 2026-10-12 05:15:35 +00:00
Owner

Summary

  • Pin Backend to U4 implementation (47463a9, Backend PR #171): login_keys, restricted sessions, OpenExisting, CLI/HTTP
  • Record U4 specs under docs/svc-deploy/ and task-card evidence (SELF go test store/server/app)

Why

Approved proposal r1 §7 U4; sibling of U1 account binding. Enables passwordless activate/recover keys and safe open of existing stores.

Evidence

Impact

Dev gitlink advances to Backend U4 tip. U1/U5 depend on --open-existing and redeem HTTP. PG tests NOT_RUN without env.

Refs

  • Proposal r1 / Documents PR #79 (if open) / docs PR chain
  • Spec: docs/svc-deploy/u4-one-time-login-key.md
  • Sibling: feature/svc-deploy-u1-account-binding

Do not merge — owner double-key.

## Summary - Pin Backend to U4 implementation (`47463a9`, Backend PR #171): login_keys, restricted sessions, OpenExisting, CLI/HTTP - Record U4 specs under `docs/svc-deploy/` and task-card evidence (SELF go test store/server/app) ## Why Approved proposal r1 §7 U4; sibling of U1 account binding. Enables passwordless activate/recover keys and safe open of existing stores. ## Evidence - SELF: `cd modules/backend && go test ./internal/store/ ./internal/server/ ./internal/app/ -count=1` (exit 0) — see task card `.task/feature-svc-deploy-u4-login-key.md` - GATE: this PR CI (`make test` + `make build`) - Backend: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Backend/pulls/171 ## Impact Dev gitlink advances to Backend U4 tip. U1/U5 depend on `--open-existing` and redeem HTTP. PG tests NOT_RUN without env. ## Refs - Proposal r1 / Documents PR #79 (if open) / docs PR chain - Spec: `docs/svc-deploy/u4-one-time-login-key.md` - Sibling: `feature/svc-deploy-u1-account-binding` **Do not merge** — owner double-key.
weichen added 6 commits 2026-10-12 03:59:39 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-svc-deploy-u4-login-key.md; R0=9a9665b458916179df6d94066dfb9aa657a13d60.

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

Refs: .task/feature-svc-deploy-u4-login-key.md
Why: wire Dev to the Backend feature that delivers OpenExisting and
one-time login keys for the approved deploy proposal.
Evidence: SELF Backend tests; gitlink 1ba7225.
Impact: Backend gitlink + docs; runtime via new binary.
Refs: .task/feature-svc-deploy-u4-login-key.md

Co-authored-by: Cursor <cursoragent@cursor.com>
Why: Backend #171 HEAD advanced with must_change e2e fix; keep Dev gitlink in sync and mark U4 specs started.
Evidence: Backend go test store/server/app green at 47463a9
Impact: Dev U4 branch tracks Backend PR #171 tip.
Refs: docs/svc-deploy/u4-one-time-login-key.md; Backend pulls/171
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=ae465d24441ab349c961a55e9b04f8c4ccaf6de8.

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=ae465d24441ab349c961a55e9b04f8c4ccaf6de8; candidate=e83c60b21b314c2b3cd63c4d5907b5002605d5ba.

Impact: task metadata only.

Refs: .task/feature-svc-deploy-u4-login-key.md
Record U4 Backend test evidence after task-sync
ci / test-pg (pull_request) Failing after 1m54s
ci / test (pull_request) Failing after 3m11s
95c6e52006
Why: Completion gate requires evidence-tool receipts for go test on the pinned Backend.
Evidence: SELF receipt e4d1d56c… (store/server/app exit 0 at c2d0fdf)
Impact: Task card ready for PR review; merge still owner-only.
Refs: Backend pulls/171; docs/svc-deploy/u4-one-time-login-key.md
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-12 03:59:49 +00:00
Link U4 task card to Dev #428 and Backend #171
ci / test-pg (pull_request) Failing after 1m45s
ci / test (pull_request) Failing after 3m11s
484a3fb176
Why: PR URLs are the task主记录 after push; keep the card discoverable for review.
Evidence: Gitea API created pulls/428 and Backend pulls/171
Impact: Card header points at open PRs; no merge.
Refs: pulls/428; Backend pulls/171
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 4 commits 2026-10-12 05:05:03 +00:00
Why: Backend #171 landed on main as 1d9e8f4; Dev #428 conflicted on the gitlink against newer main pins.
Evidence: Backend origin/main contains OpenExisting + login_keys (merge #171)
Impact: Dev U4 tracks Backend main tip; unblocks task-sync merge of origin/main.
Refs: Backend pulls/171; Dev pulls/428
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=b431777c9fa9c74f096d7f14fce40d1beba53fe2.

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=b431777c9fa9c74f096d7f14fce40d1beba53fe2; candidate=a918d8c1812ffaae1f5b55ccca93164b932fb05e.

Impact: task metadata only.

Refs: .task/feature-svc-deploy-u4-login-key.md
Record post-sync U4 evidence after resolving main conflict
ci / test-pg (pull_request) Failing after 1m2s
ci / test (pull_request) Failing after 2m20s
5a43eb5196
Why: task-sync merged origin/main; Backend pin is main tip with #171; refresh SELF evidence for #428.
Evidence: go test store/server/app exit 0 at synced HEAD
Impact: PR #428 should become mergeable.
Refs: Dev pulls/428; Backend #171 (merged)
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit 5568ca1efe into main 2026-10-12 05:15:35 +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#428