Spaces:
Paused
Paused
Commit History
-
fix(round-7): P2 收尾 + Round 6 deferred — 命名/抽组件/lifespan/24h去重/409/state-machine
P2 收尾 (来自 wave1-4 integration-verifier 5 项): - preferred_seat_type 命名归一化:chatgpt 别名 → default,setter/getter 双向兼容(runtime_config.py) - MailProviderCard.vue 抽出共享组件:Settings.vue / SetupPage.vue 各减约 200 行,统一邮箱归属验证 UI - test_plan_type_whitelist.py 拆分:从 test_spec2_lifecycle.py 移出 plan_type 白名单测试到独立文件 - FastAPI lifespan 迁移:on_event("startup"/"shutdown") → @asynccontextmanager(api.py),消除 DeprecationWarning - raw_rate_limit 注入 register_failures:codex_auth.py / manager.py 3 处 record_failure 调用点添加原始 wham/usage payload Round 6 deferred (来自 round6-review 推迟项): - manager 24h 去重 cheap_codex_smoke:last_codex_smoke_at / last_smoke_result 缓存,避免重复探测 - 前端 parseTaskError:web/src/api.js 导出辅助函数,解析 phone_required / register_blocked 409 响应 - shared/account-state-machine.md v1.0 → v1.1:补转移矩阵小注 文档同步: - spec/shared/account-state-machine.md v1.0 → v1.1 - spec/shared/quota-classification.md v1.3 → v1.4 - spec/spec-1-mail-provider.md v1.0 → v1.1 - spec/spec-2-account-lifecycle.md v1.3 → v1.4 - prompts/0426/prd/prd…a4ea50b -
feat(round-4 lifecycle): SPEC-2 账号生命周期/配额/席位/被踢识别全套落地
Wave 4 of 4 — 完成 issue #2 + #4 + #6 共因合并修复 (5 共因 A-E + 3 独属 F-H)。 ## 共因点修复 (Issue #2 + #4 + #6 三联) A. plan_type 白名单 (accounts.py) - SUPPORTED_PLAN_TYPES = {team, free, plus, pro} - normalize_plan_type / is_supported_plan - bundle 落盘前先验,plan_supported=False 直拒入池 B. wham/usage no_quota 分类 (codex_auth.py) - 5 分类: ok / exhausted / no_quota / auth_error / network_error - no_quota 优先级高于 exhausted - primary_total==0 / rate_limit 缺失 / remaining==0+total==0 三路触发 C. add-phone 探针接通 (codex_auth.py) - login_codex_via_browser 加 3 处 assert_not_blocked: about-you / consent loop / callback wait - invite.py 探针 4 处 (email/password/code/profile) 已存在 D. _run_post_register_oauth quota probe (manager.py) - team + personal 双分支对称设计 - bundle 拿到后立即 probe,no_quota 标 AUTH_INVALID - 5 分类对应 STATUS_ACTIVE/EXHAUSTED/AUTH_INVALID 转换 E. sync_account_states 区分被踢 vs 待机 (manager.py) - _probe_kicked_account: wham/usage 401/403 → AUTH_INVALID, 其他 → STANDBY - ThreadPoolExecutor 并发上限…478c16c
-
style: apply ruff format
Pre-commit CI ran ruff format --check on the initial AutoTeam-F commit and flagged 9 files. No logic changes — only whitespace normalization (line continuations, merged strings). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1f6d7ba -
feat: AutoTeam-F — fork of cnitlrt/AutoTeam with fixes and free-account pipeline
New features: - Personal account batch production (fill-personal) with baseline protection — preserves existing Team seats, caps total Team members at 4 - Soft task cancellation via cancel_signal module (cooperative, safe boundaries) - Register failure classification + persistence (register_failures.json) - Admin diagnose + fix-account-id endpoints for session/workspace debugging - Batch account deletion in Web UI (shared chatgpt_api + mail_client) - Runtime domain config switching (runtime_config.py) Fixes: - Correct account_id resolution on session_token import /backend-api/accounts is now the authoritative source; /settings double-checks - Skip step-0 ChatGPT pre-login in personal OAuth mode (fixes "Operation timed out") - Password generator produces 15-17 chars (OpenAI requires 12+) - cancel_signal reset ordering in _run_task prevents swallowed cancellations - Batch operations use dynamic timeout via run_with_timeout(timeout, func) - fill-personal fail-fast on 3 consecutive 40…3df0958