test(agents): stabilize status checks and record UI integration
This commit is contained in:
@@ -4,6 +4,8 @@ This file is the integrated default-branch snapshot. Feature tasks record progre
|
||||
|
||||
## Integrated Through
|
||||
|
||||
- 2026-09-14:任务 `20260914-agent-ui-integration-4a838e7c` 将引导式智能体 UI 源 `6e6a8c92ddb66747a71af714809e2205292a0bf9` 无冲突合入本地 `main`,合并提交 `5a974cf78493b8dd92e176cc26fbe323a18e9570`。面向非专业用户与 8–15 岁学生的创建引导、基础要求、高级设置折叠、保存后重新试用、历史对比及首次自用确认已集成,见[已接受决策](../10-decisions/ADR-2026-09-11-personal-cloud-agents.md)。保留主分支连接时差修复,产品代码与已验证源一致;集成时补充两条异步状态测试等待。组合验证累计 89 项相关单测、类型检查、Vite 全目标构建、Electron 引导用例通过;全量测试沿用源记录中已确认的 Pi v6/v7 既有失败限制。原有三份未跟踪记录原样保留;已授权的源工作区清理因 Git 目录非空错误受阻,残余保留,分支和提交完整。未推送、打包或部署。详见[集成记录](tasks/20260914-agent-ui-integration-4a838e7c.md)。
|
||||
|
||||
- 2026-09-14:任务 `20260914-merge-cloud-reconnect-8fe72c41` 经用户授权移交主目录登记,将源 `8a67e8bd47d814b533476a6e36421f7a5d983a27` 无冲突快进合入本地 `main`。云智能体 Main 凭证处理不再因签发端轻微快于客户端而拒绝正常的五分钟凭证,改为限制本地复用时长;服务端过期校验及既有刷新余量不变。产品树与已验证源一致,沿用 33 项相关测试、类型检查、scoped ESLint 和 Vite 全目标构建。该缺陷已复现,尚不能据此认定线上所有不可用提示均由此引起;详见[源任务](tasks/20260914-cloud-reconnect-5ad71e6c.md)。原有三份未跟踪文档保留;需要重新打包安装客户端才生效,未推送、打包、安装或部署。
|
||||
|
||||
- 2026-09-14:任务 `20260914-merge-ppt-makelore-2e8ec5dc` 经用户授权移交主目录登记,将已独立审查的 `4f2caf7` 从 `9044f7d` 无冲突快进合入本地 `main`。新建云智能体默认 300 步,保留显式 40/自定义设置;微信会话优先展示原生 Run 状态及失败原因,再显示部分正文,涵盖关闭历史会话与仅排队状态。产品树与已验证源一致,沿用 42 项回归、类型检查、lint、Vite 构建及 Electron 验收,详见[源任务](tasks/20260914-makelore-ppt-failure-7c4a.md)。原有三份未跟踪文档保留;未推送、打包、安装或部署。需配套更新 Yuxi API/worker,已有智能体调整限制后重新发布。
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
# Task: Integrate guided cloud Agent UI into main
|
||||
|
||||
## Identity
|
||||
|
||||
- Task ID: 20260914-agent-ui-integration-4a838e7c
|
||||
- Mode: Integration
|
||||
- Branch: main
|
||||
- Worktree: D:\Datas\OthersProjects\makelore
|
||||
- Base commit: c2c415c6740adb6bdbd6502cc4b33c9323ff5c83
|
||||
- Owner: codex
|
||||
- Status: Ready for Integration
|
||||
|
||||
## Scope
|
||||
|
||||
- Merge completed guided Cloud Agents UI source `6e6a8c92ddb66747a71af714809e2205292a0bf9` into local `main`; reconcile accepted Agent UX decisions and current-state metadata. Complete the existing WeChat status tests' asynchronous waits exposed by combined-tree verification.
|
||||
|
||||
## Intent And Constraints
|
||||
|
||||
- User requested the merge and explicitly authorized releasing the prior completed main owner and adopting the three existing untracked task records unchanged. Bundled start succeeded in integration mode; ownership and Planning Gate passed.
|
||||
- Preserve the newer Main connection clock-skew fix, source task record and the three adopted documents. No push, packaging or deployment is in scope; worktree cleanup requires separate consent.
|
||||
- The accepted audience is nonprofessionals and ages 8–15, introduced by a teacher then using independently. This UI guidance does not introduce classroom roles or change cloud authority/billing.
|
||||
- Peer task scopes were assessed; old incomplete records remain unknown coordination state but no concrete semantic dependency blocks this merge. Positioning placeholders and legacy module wording do not override the accepted Agent ADR/README.
|
||||
|
||||
## Outcome
|
||||
|
||||
- Source merged without conflicts as `5a974cf78493b8dd92e176cc26fbe323a18e9570`. Main connection clock-skew implementation/tests match `c2c415c`; merged UI, README and source task record match `6e6a8c9` exactly.
|
||||
- Two additional WeChat status assertions waited only for a placeholder element, so the first combined run failed before history loaded. They now wait for the expected status content, following the source task's existing fix for the same asynchronous loading path. Product behavior and failure/error assertions are unchanged.
|
||||
- Promoted the confirmed audience and guided first-helper behavior to the accepted Agent ADR/decision index; current-state records source and merge commits. All three adopted task records remain unchanged and uncommitted.
|
||||
- No push, packaging, installation or deployment performed. User explicitly approved source checkout cleanup while preserving its branch/commits. After readiness, cleanliness and latest-source ancestry were rechecked, bundled `retire` failed with Git `Directory not empty`; remaining checkout/registry state is retained, with no manual deletion or forced registry release. Source branch still resolves to `6e6a8c9`; completed main merge is unaffected.
|
||||
|
||||
## Verification
|
||||
|
||||
- Source verification includes focused tests, typecheck, lint, Vite build and Electron UI acceptance. Its full suite has a verified pre-existing Pi runtime v6/v7 expectation failure; this merge will not change that unrelated test.
|
||||
- Confirmed pnpm 10.33.4. Initial main typecheck found missing installed qrcode/types dependencies; `pnpm install --frozen-lockfile` restored already-declared dependencies without changing manifests or lockfile. Subsequent typecheck passed.
|
||||
- Combined five-file run: 87 passed, 2 early-placeholder assertions failed. After fixing only those assertions, the affected 13-test file passed; the unchanged four files had 76 passes. All 89 relevant tests passed across these runs, including 33 Main connectivity tests. Scoped ESLint on the changed test passed.
|
||||
- `pnpm run build:vite` passed all Renderer/Main/Preload/utility targets with existing mixed-import and size warnings. `pnpm exec playwright test tests/e2e/cloud-agents.spec.ts` passed (1 scenario, 5.3 seconds total) against the merged build with isolated Host fixtures.
|
||||
- Merged source ancestry and unchanged source product files/Main fix verified. Inspected committed and working diffs from recorded base; task documentation drift and whitespace checks passed.
|
||||
|
||||
## Follow-ups
|
||||
|
||||
- Source worktree `D:\Datas\OthersProjects\.codex-worktrees\makelore\20260914-agent-ux-discussion-930b45dd`, branch `codex/20260914-agent-ux-discussion-930b45dd-agent-ux-discussion`: cleanup authorized and attempted with bundled retire; blocked by Git `Directory not empty`, residual directory retained. Branch and commits preserved. Further recovery must follow the skill's eligibility rules; do not emulate retirement.
|
||||
- The unused integration preflight checkout at `D:\Datas\OthersProjects\.codex-worktrees\makelore\20260914-agent-ui-integration-4a838e7c` has no registered owner and remains untouched; not eligible for automatic retirement.
|
||||
- Source follow-ups remain: separate Pi runtime test expectation alignment and student usability/real-cloud validation. No claims of measured learning improvement or full-suite green.
|
||||
|
||||
## Promotion Candidates
|
||||
|
||||
- Accepted guided Agent workspace behavior promoted to the personal-cloud-agents ADR/index and source/merge provenance recorded under current-state Integrated Through. User confirmation was already supplied by implementation acceptance and the merge request; no source-of-truth conflict was identified. No further canonical promotion pending.
|
||||
Reference in New Issue
Block a user