fix: retain all rejected candidate browser logs in local Git

This commit is contained in:
Agent Workbench Dev
2026-11-02 08:17:33 +08:00
parent 751bbbd0ac
commit bfd2f213a5
56 changed files with 1231 additions and 0 deletions
@@ -0,0 +1 @@
{"success":true,"version":"1.22.0","directory":"D:\\AWQA22\\s-a05d5587\\.qa\\browser-native-5f29abcf-1b0f-4fad-9506-36598fe1e21f","results":[{"jobId":"95747d0b-e5e7-4053-9090-1ad09215e50c","taskId":"4e93218c-c2c6-4f6b-83a0-1550556fd824","viewport":{"width":1280,"height":900},"status":"passed","assertions":{"total":3,"passed":3,"failed":0},"resultSha256":"f772cf085d0061adf5ef1c4f3421b62b43a67c8cb79190efa1e7550843dff95f","buildSha256":"1128c86f9108e72bc1ada18b7c48c9f865283f46d5e530b99caa04d7507f46cd","screenshotSha256":"a0b9187034642bb65372f74db669b60f07c0888d7ce86deb60a4a202b505ca54","browserExited":true,"reusedOriginalJob":true},{"jobId":"afc30096-e7d4-405e-9cbe-3c1768914466","taskId":"4e93218c-c2c6-4f6b-83a0-1550556fd824","viewport":{"width":390,"height":844},"status":"passed","assertions":{"total":3,"passed":3,"failed":0},"resultSha256":"97124bab6441035932ee37d59a030abf5fcd5ef00f54aab3772b84b2a4878c88","buildSha256":"1128c86f9108e72bc1ada18b7c48c9f865283f46d5e530b99caa04d7507f46cd","screenshotSha256":"590ef1090d857bc7a7eb30ed790f918d76ebabe4d53b54b82948de4db20cfb4f","browserExited":true,"reusedOriginalJob":true}],"modelRequests":0,"rootExited":true}
@@ -0,0 +1,20 @@
> local-agent-workbench@1.22.0 build
> tsc --noEmit && vite build && node scripts/build-mobile.mjs && node scripts/build-server.mjs
vite v7.3.7 building client environment for production...
transforming...
✓ 1743 modules transformed.
rendering chunks...
computing gzip size...
dist-client/.vite/manifest.json  0.55 kB │ gzip: 0.22 kB
dist-client/index.html  0.58 kB │ gzip: 0.39 kB
dist-client/mobile.html  0.82 kB │ gzip: 0.46 kB
dist-client/assets/mobile-CNDnI_ru.css  11.92 kB │ gzip: 3.12 kB
dist-client/assets/desktop-vcA-TXgD.css 157.84 kB │ gzip: 29.95 kB
dist-client/assets/mobile-BewIZSK_.js  26.14 kB │ gzip: 9.09 kB
dist-client/assets/x-BnWsFXbN.js 225.51 kB │ gzip: 70.77 kB
dist-client/assets/desktop-CwBApaLz.js 368.20 kB │ gzip: 104.10 kB
✓ built in 1.18s
Mobile shell built: 3 allowed assets; API and project data are never cached.
Server bundle built.
@@ -0,0 +1,8 @@
PASS desktop explicitly enables HTTPS and downloads the actual public CA without changing OS trust
PASS 390px real gateway pairing clears fragment, displays scoped task list and registers the same device in desktop
PASS phone UI confirms original Task/Run approval and the existing Runtime executes one command
PASS original paginated diff and counted check/report display verified content from the same Task
PASS disconnect and refresh recover from persistent seq without submitting a new command or Run
PASS PWA service worker stores the shell and no API/project response
PASS desktop revocation removes mobile project content immediately on the next read while preserving the original completed tool
EVIDENCE D:\AWQA22\s-a05d5587\.qa\companion-ui-6ae33e8d-8851-4e58-b2da-c3b6f0b85b96
@@ -0,0 +1,6 @@
PASS compiled host seals actual Harness/source identities and prepares one owned worktree while retaining parent bytes and staging
PASS compiled native execution retains failing tests, requires original check approvals, seals literal prompt/model/receipts/results and accounts each owned HTTP request once
PASS compiled parent review and immutable merge pass the original 8 functional tests and actual ESM build
PASS compiled Git delivery contains only reviewed modules, preserves staged/unstaged/untracked owner bytes and completes the parent with sealed original evidence
EVIDENCE C:\Users\wangy\AppData\Local\Temp\awb-controlled-mmYsCH
{"success":true,"version":"1.22.0","directory":"C:\\Users\\wangy\\AppData\\Local\\Temp\\awb-controlled-mmYsCH","cases":4,"rootExited":true,"fixtureModelRequests":7,"realModelRequests":0}
@@ -0,0 +1,43 @@
actual Electron process registered and original host reused: passed
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
+ 'browsingLayout',
'pickProject',
'projectFolder',
'protocol',
'revealFile',
'reviewTask',
at file:///D:/AWQA22/s-a05d5587/scripts/verify-desktop-window.mjs:67:12 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [
'browsingLayout',
'pickProject',
'projectFolder',
'protocol',
'revealFile',
'reviewTask',
'status',
'stopHost'
],
expected: [
'pickProject',
'projectFolder',
'protocol',
'revealFile',
'reviewTask',
'status',
'stopHost'
],
operator: 'deepStrictEqual',
diff: 'simple'
}
Node.js v24.22.1
@@ -0,0 +1,20 @@
fatal: not a git repository (or any of the parent directories): .git
actual owned React/Vite UI approval, OS listener identity and HTTP readiness: passed
same actual native page, isolated Node/preload and blocked workbench API: passed
drag and keyboard width adjustment, native occlusion during drag and 125% zoom geometry: passed
fixed original-control fill and click operate real React controlled state: passed
actual DOM mutation invalidates previous observation without submitting: passed
actual source update reaches same native WebContents through Vite live reload: passed
390px mobile shell verifies and displays the same actual Electron original PNG through CA-verified TLS: passed
mobile digest mismatch shows failure and never displays unverified screenshot: passed
mobile device revocation removes original browser observation and task content: passed
native page hides for main-window authorization modal and restores: passed
unapproved popup is denied in actual Electron: passed
actual native navigation, back and forward preserve original scoped receipts: passed
explicit exact-URL download keeps original binary artifact and SHA: passed
actual independent temporary/persistent sessions, explicit reuse and selective cookie/storage/cache revocation: passed
390px native geometry, modal occlusion and return-to-task with no horizontal overflow: passed
closing actual view leaves owned development service running: passed
window close retains host and preview; explicit service stop confirms original process tree: passed
EVIDENCE D:\AWQA22\s-a05d5587\.qa\embedded-browser-a77a8387-a0d1-4305-9ab9-67e33dc53eb2
{"passed":true,"root":"D:\\AWQA22\\s-a05d5587\\.qa\\embedded-browser-a77a8387-a0d1-4305-9ab9-67e33dc53eb2","groups":17}
@@ -0,0 +1 @@
{"success":true,"version":"1.22.0","directory":"D:\\AWQA22\\s-a05d5587\\.qa\\native-engine-0462c075-241a-48a1-a82a-40ab15bdb30a","sdkVersion":"0.2.1-rc.2","nativeMethods":["initialize","session/working-directory/get","session/wait","session/resume","session/cancel","shutdown"],"modelRequests":0,"rootExited":true}
@@ -0,0 +1,5 @@
PASS actual React npm ci: 4ad08739-cea5-4f45-912f-26595da6c61b
PASS actual React npm ci: 76dd3053-bf01-4f67-8793-71c382befcb4
Observed dependency changes: ["node_modules/.vite-temp"]
Observed dependency changes: ["node_modules/.vite-temp"]
{"success":true,"directory":"D:\\AWQA22\\s-a05d5587\\.qa\\environment-projects-9157b401-a17b-4425-9272-79da4ab84d07","reports":5,"reactOriginal":"failed","reactCandidate":"passed","reactTests":9,"pythonTests":2,"requests":138,"originalLockSha256":"48c138a05408667bbd332000731598415c9ae281d5072daa18544025ad89f7ff","ownedLockSha256":"e0d2bab9b3ef641608c5a92112da444f925d16f70945c7068025a20cd79a14b5","downloadSource":"local HTTP feed of existing npm tarball bytes by locked SRI; no config/credentials or remote network","realModelRequests":0}
@@ -0,0 +1,8 @@
PASS desktop diagnosis, fixed plan, explicit approval, actual npm, original log and refresh
PASS 390px same real flow and bounded plan modal
PASS explicit script approval and original nonzero install failure
PASS stop kills only owned npm tree and keeps cancelled logs
PASS changed lock rejected before process dispatch
PASS recovered unknown remains original unknown after explicit reconciliation
PASS late plan response cannot replace another project or task
{"success":true,"appRoot":"D:\\AWQA22\\s-a05d5587","version":"1.22.0","checks":["desktop diagnosis, fixed plan, explicit approval, actual npm, original log and refresh","390px same real flow and bounded plan modal","explicit script approval and original nonzero install failure","stop kills only owned npm tree and keeps cancelled logs","changed lock rejected before process dispatch","recovered unknown remains original unknown after explicit reconciliation","late plan response cannot replace another project or task"],"screenshots":[{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\environment-ui-4a83fa06-dc9f-4c43-9bc8-a4a37512ef87\\desktop-plan.png","sha256":"664a3087f2f7f2f40baf1e13c79b0f66876a0b33c661e333c3d12357a8175542"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\environment-ui-4a83fa06-dc9f-4c43-9bc8-a4a37512ef87\\desktop-prepared.png","sha256":"bdd53fc3989dc10dbc98965f6c66fc53de732f645b33b91342b3574b2686c8b8"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\environment-ui-4a83fa06-dc9f-4c43-9bc8-a4a37512ef87\\mobile-plan.png","sha256":"55527b443a2752b79c63c1652d29c98561b3007e4f7808465906893847fee132"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\environment-ui-4a83fa06-dc9f-4c43-9bc8-a4a37512ef87\\mobile-prepared.png","sha256":"f44cbac4ca0d45fc2e88ba21933eda80f025ce66e0cb11e7aac0284006eefeb0"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\environment-ui-4a83fa06-dc9f-4c43-9bc8-a4a37512ef87\\failure-original-log.png","sha256":"ee18eb9bf9d2c35bacefbe3978d435529c913691c06534224fccaafcecc8b082"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\environment-ui-4a83fa06-dc9f-4c43-9bc8-a4a37512ef87\\stopped-owned-process.png","sha256":"f261c0d8385dd6e2372ac5b4d37ae431f961a8ea351cf66f4d3bf820ef3617d8"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\environment-ui-4a83fa06-dc9f-4c43-9bc8-a4a37512ef87\\stale-input-rejected.png","sha256":"0dcf07a1ff00720bb4a5543576d74004e83e69216d12efadc50aea572facafdf"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\environment-ui-4a83fa06-dc9f-4c43-9bc8-a4a37512ef87\\recovery-reconciled.png","sha256":"2059f9093bfdfa517130947516dbbf1ab2e732563bd2b1e5ed019e13e154d4bb"}],"pageErrors":[],"failures":[],"events":[{"url":"http://127.0.0.1:55492/api/sessions/abeee68d-2d1f-4d2f-93e8-ebeec1d816ba/environment-diagnostics","status":201},{"url":"http://127.0.0.1:55492/api/sessions/abeee68d-2d1f-4d2f-93e8-ebeec1d816ba/environment-plans","status":201},{"url":"http://127.0.0.1:55492/api/sessions/abeee68d-2d1f-4d2f-93e8-ebeec1d816ba/environment-jobs","status":202},{"url":"http://127.0.0.1:55492/api/sessions/2faee8e6-80e5-4b0d-bc45-812fd99409a0/environment-diagnostics","status":201},{"url":"http://127.0.0.1:55492/api/sessions/2faee8e6-80e5-4b0d-bc45-812fd99409a0/environment-plans","status":201},{"url":"http://127.0.0.1:55492/api/sessions/2faee8e6-80e5-4b0d-bc45-812fd99409a0/environment-jobs","status":202},{"url":"http://127.0.0.1:55492/api/sessions/491bf980-f71a-4c11-94c7-64249e69c03e/environment-diagnostics","status":201},{"url":"http://127.0.0.1:55492/api/sessions/491bf980-f71a-4c11-94c7-64249e69c03e/environment-plans","status":201},{"url":"http://127.0.0.1:55492/api/sessions/491bf980-f71a-4c11-94c7-64249e69c03e/environment-jobs","status":202},{"url":"http://127.0.0.1:55492/api/sessions/68aed842-2e70-4619-a9ac-62ce10d4de4b/environment-diagnostics","status":201},{"url":"http://127.0.0.1:55492/api/sessions/68aed842-2e70-4619-a9ac-62ce10d4de4b/environment-plans","status":201},{"url":"http://127.0.0.1:55492/api/sessions/68aed842-2e70-4619-a9ac-62ce10d4de4b/environment-jobs","status":202},{"url":"http://127.0.0.1:55492/api/sessions/68aed842-2e70-4619-a9ac-62ce10d4de4b/environment-jobs/0b682a4e-af4c-43a5-b7fa-ff629f538628/stop","status":200},{"url":"http://127.0.0.1:55492/api/sessions/4f5cc9f0-3fef-480f-a467-1b6f34811ce0/environment-diagnostics","status":201},{"url":"http://127.0.0.1:55492/api/sessions/4f5cc9f0-3fef-480f-a467-1b6f34811ce0/environment-plans","status":201},{"url":"http://127.0.0.1:55492/api/sessions/4f5cc9f0-3fef-480f-a467-1b6f34811ce0/environment-jobs","status":409},{"url":"http://127.0.0.1:55492/api/sessions/35621458-0526-4bb7-9207-7295eedd47cc/environment-jobs/e61c7aeb-38d7-4b72-8f93-12102fd6ad61/reconcile","status":200},{"url":"http://127.0.0.1:55492/api/sessions/788da1bd-6eee-4581-b5fa-2383f0462980/environment-diagnostics","status":201},{"url":"http://127.0.0.1:55492/api/sessions/788da1bd-6eee-4581-b5fa-2383f0462980/environment-plans","status":201}],"directory":"D:\\AWQA22\\s-a05d5587\\.qa\\environment-ui-4a83fa06-dc9f-4c43-9bc8-a4a37512ef87","realModelRequests":0}
@@ -0,0 +1,2 @@
added 137 packages in 8s
@@ -0,0 +1,6 @@
PASS actual form saves Responses and declared stream, refresh preserves both and narrow editor remains operable
PASS separate text, nonce tool and actual SSE probes bind only their requested capability and own attempts
PASS actual pooled task excludes text-only before dispatch, executes original tool once and downloads SHA-matched original SSE
PASS desktop and actual paired gateway show same bounded stream; mobile stops original HTTP with zero fragment tool dispatch or replay
PASS truncated output keeps explicit unknown ledger, partial evidence and no automatic failover or incomplete tool execution
EVIDENCE D:\AWQA22\s-a05d5587\.qa\model-protocols-ui-d4047f6f-1e53-46bc-b91b-d9ebd347588a
@@ -0,0 +1,8 @@
PASS desktop query shows two-pass current SHA verification and real parsing reuse
PASS same-size restored-mtime edit invalidates the actual source and displays the reason
PASS disable persists across page reload and future queries parse current sources
PASS clear removes only derived project material; next query rebuilds while sessions and configuration remain byte-semantically unchanged
PASS failed settings keep actual switch and query state; the same operation can recover
PASS diagnostics displays bounded cache and last project verification without triggering another query
PASS 390px controls support keyboard, 44px targets, readable metrics and no horizontal page/panel overflow
EVIDENCE D:\AWQA22\s-a05d5587\.qa\project-cache-ui-afd56576-e67f-4109-840d-f7fcb2db0f61
@@ -0,0 +1 @@
{"success":true,"version":"1.22.0","directory":"D:\\AWQA22\\s-a05d5587\\.qa\\rea-integration-a5a6f188-217c-40ba-86dc-b9e69cbba035","results":[{"operation":"javascript","evidenceId":"ev_77b766c532e68c4efa0cd3f8b87daf556a8ea743445962022ae2a724b95dd673","targetSha256":"136cfa093e8bc85cd7d5f064748e192118bc9bf88621e29baf9b74cb0cd89e80","advertisedTools":229,"rootExited":true},{"operation":"pe-imports","evidenceId":"ev_4b4937100d1568b16324657480ec66d5e8078c0f3f90ec5ac45c58eaef2f5bd1","targetSha256":"7102754492d544b471ff84afdb3bbec983824049e4c2118bd0e240f8e7cbe973","advertisedTools":229,"rootExited":true},{"operation":"pe-resources","evidenceId":"ev_8bf07540d45b0443e29c5fe6af1917e1e3a345b747089e8e50e357e77669c574","targetSha256":"7102754492d544b471ff84afdb3bbec983824049e4c2118bd0e240f8e7cbe973","advertisedTools":229,"rootExited":true}]}
@@ -0,0 +1,6 @@
PASS HTML applies once, ends without tests or continuation prompt, and shows actual model
PASS 390px result and task panel remain usable without horizontal overflow
PASS one approved real failing check is reused across new plans and the no-progress task pauses
PASS diagnostic answer completes separately and preserves original unfinished task at both widths
PASS required empty arguments reject the entire batch and reported usage remains once after reload
{"success":true,"version":"1.22.0","appRoot":"D:\\AWQA22\\s-a05d5587","directory":"D:\\AWQA22\\s-a05d5587\\.qa\\task-control-ui-0ad84db9-a758-4da2-af5d-4e7f50af0076","passed":["HTML applies once, ends without tests or continuation prompt, and shows actual model","390px result and task panel remain usable without horizontal overflow","one approved real failing check is reused across new plans and the no-progress task pauses","diagnostic answer completes separately and preserves original unfinished task at both widths","required empty arguments reject the entire batch and reported usage remains once after reload"],"screenshots":[{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\task-control-ui-0ad84db9-a758-4da2-af5d-4e7f50af0076\\html-desktop.png","sha256":"5a67a81f40e68e35078d8b7912e7fd2a364042f2ecd10d0805b1c0d3596b3eea"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\task-control-ui-0ad84db9-a758-4da2-af5d-4e7f50af0076\\html-390.png","sha256":"4ae3a520d945fe937869bdaebc51eda5c574acbf40b6d9ce04e59d694a2260e5"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\task-control-ui-0ad84db9-a758-4da2-af5d-4e7f50af0076\\checks-desktop.png","sha256":"5568fd0c475977d8464f0e9855f461053d0b8329eaac95dd8f73f976b1d1affb"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\task-control-ui-0ad84db9-a758-4da2-af5d-4e7f50af0076\\diagnostic-desktop.png","sha256":"973df4e7d6d64f837c650512846276b9dbecf74209090d1f6c84504d420ee651"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\task-control-ui-0ad84db9-a758-4da2-af5d-4e7f50af0076\\diagnostic-390.png","sha256":"752539bb61b4c6457d4ba6fe3bad6260f53b41310929927225c5cbb0835fb5ab"},{"path":"D:\\AWQA22\\s-a05d5587\\.qa\\task-control-ui-0ad84db9-a758-4da2-af5d-4e7f50af0076\\protocol-desktop.png","sha256":"65a4a9e6776c067239728ee093bbdaf03527f20eefc3ba375d99547eee2b62f5"}],"pageErrors":[],"requestCount":11,"realModelRequests":0}
@@ -0,0 +1,6 @@
PASS desktop upload, explicit route, refreshed draft, original download SHA, one paired tool and narrow task history
PASS forged image rejects without losing task text or sending a model request
PASS explicit budget preview and confirmation retain Task, attachment and completed tool while global capacity stays unchanged
PASS paired TLS companion verifies same screenshot, refresh restores it and revoke clears project/image content
PASS stopping screenshot SSE closes original HTTP and dispatches zero partial tools
EVIDENCE D:\AWQA22\s-a05d5587\.qa\vision-ui-5dc23791-998a-495b-8c75-28628098912e