From ba07713a3610134057881d17c9db9116bbc58135 Mon Sep 17 00:00:00 2001 From: Agent Workbench Dev Date: Tue, 3 Nov 2026 08:08:46 +0800 Subject: [PATCH] test: validate portable identity and wait for responsive project navigation --- docs/QA-DELIVERY-RELIABILITY-G.md | 6 ++++++ progress.md | 6 ++++++ scripts/verify-delivery-reliability-ui.mjs | 9 +++++++-- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/docs/QA-DELIVERY-RELIABILITY-G.md b/docs/QA-DELIVERY-RELIABILITY-G.md index fdb8baec..a995c65a 100644 --- a/docs/QA-DELIVERY-RELIABILITY-G.md +++ b/docs/QA-DELIVERY-RELIABILITY-G.md @@ -31,3 +31,9 @@ 不可变源码独立重建、便携/安装和正式原状态核对正在执行。正式当前仍1.24.0/PID36552/Provider保留;全部会话以新只读快照为准,bootstrap仅显示其中48个,不能把它当作全部58个会话计数。正式原生窗口回看尚待补验。 可复用验收入口:`scripts/verify-live-context-retention.mjs`和`scripts/verify-delivery-reliability-ui.mjs`。各自要求新输出目录,保留既有失败,不覆盖旧证据。 + +首发行候选20261102235819796/source c1521e6通过三归档、源码ZIP522输入/22编译逐字节一致及实际便携REA/SDK/浏览器/受控工程检查;随后新UI验证器错误假设便携目录包含package.json,便携专项在发模型请求前失败。按真实包格式改为读取MANIFEST.json身份,保留候选及原失败;此候选未正式安装。产品源码冻结未改变,QA修正后生成新的最终候选,不将首候选证据冒充最终包。 + +首候选便携UI第二轮完成两项交接检查后,在390px视口刚切换时误用尚未稳定的侧栏可见状态,选择控件随后被响应式收起,原2请求/超时/截图保留。按既有批次验收的真实导航契约,等待移动端“展开项目栏”出现并打开、确认选择控件可见后操作,不强制点击或修改产品。 + +修正验证器后的首候选便携UI第三轮10组全部通过,5次本机声明夹具请求、0真实模型请求;产品12份冻结输入保持。接下来由该QA修正的新Git来源生成最终不可变候选,并为新包独立记录归档、重建、便携、安装和正式保留状态结果。 diff --git a/progress.md b/progress.md index 96e8cbd5..39fd50a0 100644 --- a/progress.md +++ b/progress.md @@ -1451,3 +1451,9 @@ D实现7b4f7ee;496份/17,251,023字节/338观察加载路径/1,340加载记录 G修复开发:完整批次交接旧回归2例失败、边界5例通过;修改后9/9通过。React原件离线以原system/tools/历史/32K/逐请求剩余额度重建,修复前第7–12次估算全部与原件相同,六文件完整保留为6/5/5/4/2/2;稳定小源码优先后6次均6/6,实际输入15714–16993,仍在原硬预算内,16K软目标未当成硬上限。无需新模型请求,原件保持。QA驱动初始化/SQLite/漏传路由工具的原失败保留,最终补实际路由工具后实现精确复现。 G冻结收口:18文件155/155相关回归、最终1.24.1完整构建、10组两视口交接与预算界面、11组批次恢复/冲突/回退通过。桌面交接与1440/390px预算原图目视核对通过。一次只读收据路径误猜为.qa,实际生成于docs,按验证器写入位置定位;未重跑流程。封存验证器在提交前收紧为严格155项。一次补丁因工具JSON转义误读拒绝,未改变源码。下一不可变打包、独立重建与保留正式状态部署。 + +G首候选c1521e6/20261102235819796三归档、源码522输入/22编译、实际便携REA/SDK/浏览器/受控工程通过。新便携UI验证器读不存在的package.json失败(0模型请求),按MANIFEST.json实际契约修正;原候选未部署。保留首收据与原失败,并在产品输入不变条件下生成新的最终不可变候选。 + +首候选便携UI第二轮在390px视口切换后侧栏布局尚未稳定时selectOption超时,已完成两项交接、2个本机夹具请求、无页面错误;原图/结果保留。QA导航改为等待移动展开入口和选择控件可见,再正常选择,不改产品或用force绕过。第三轮继续确认后冻结QA修正。 + +首候选便携UI第三轮10/10通过,5个声明本机模型请求、0真实模型请求。两处QA问题已具体修正;下一从QA修正提交创建最终包,不再重复已通过的产品155回归。 diff --git a/scripts/verify-delivery-reliability-ui.mjs b/scripts/verify-delivery-reliability-ui.mjs index 5c408a48..3cadd8ad 100644 --- a/scripts/verify-delivery-reliability-ui.mjs +++ b/scripts/verify-delivery-reliability-ui.mjs @@ -13,6 +13,8 @@ const output = path.resolve(process.argv[2]); assert.ok(!fs.existsSync(output), 'Keep prior evidence; choose a new directory.'); fs.mkdirSync(output, { recursive: true }); const appRoot = path.resolve(process.argv[3] ?? '.'); +const packageIdentity = JSON.parse(fs.readFileSync(path.join(appRoot, + fs.existsSync(path.join(appRoot, 'MANIFEST.json')) ? 'MANIFEST.json' : 'package.json'))); const cleanups = [], t = { after: fn => cleanups.push(fn) }; const f = fixture(t), cases = {}; fs.mkdirSync(path.join(f.projectRoot, 'test')); @@ -52,7 +54,7 @@ try { return completion([], '两份模块已通过实际 Node 测试。'); }); const host = await launchWorkbench(t, f.data, {}, { appRoot }); - assert.equal(host.bootstrap.version, JSON.parse(fs.readFileSync(path.join(appRoot, 'package.json'))).version, 'Compiled host and package must agree.'); + assert.equal(host.bootstrap.version, packageIdentity.version, 'Compiled host and package must agree.'); await host.api('/config', { mode: 'compatible', baseUrl: model.baseUrl, model: 'declared-ui-fixture', apiKey: 'SYNTHETIC-QA-ONLY', maxSteps: 6 }); browser = await chromium.launch({ channel: 'msedge', headless: true }); page = await browser.newPage({ viewport: { width: 1440, height: 1000 } }); @@ -61,7 +63,10 @@ try { await page.goto(host.url); await page.waitForLoadState('networkidle'); async function choose(projectId) { const selector = page.getByLabel('当前项目', { exact: true }); - if (!await selector.isVisible()) await page.getByRole('button', { name: '展开项目栏', exact: true }).click(); + const expand = page.getByRole('button', { name: '展开项目栏', exact: true }); + if ((await page.viewportSize()).width <= 620) await expect(expand).toBeVisible(); + if (!await selector.isVisible()) await expand.click(); + await expect(selector).toBeVisible(); await selector.selectOption(projectId); if ((await page.viewportSize()).width <= 940 && await page.locator('.project-sidebar').isVisible()) await page.getByRole('button', { name: '收起项目栏', exact: true }).click(); }