Files
Agent-Workbench/docs/desktop-host-a-first-failures.txt
2026-10-31 09:03:01 +08:00

56 lines
8.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Warning: truncated output (original token count: 2543)
Total output lines: 64
✔ truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities (3174.8306ms)
✔ request projection keeps exact tool pairs and complete recent user instructions while preserving disk history (2206.592ms)
#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>����׼���״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>����׼���״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
✔ a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes (4610.9944ms)
✔ failed upgrade restores the original artifact object, provider and request handler (1798.2653ms)
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>����׼���״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>����׼���״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="Error">Set-Acl : �Ҳ���·����D:\Ai-project\REA逆向\Agent-Workbench\.qa\test-oEu3HK\data\.secrets������Ϊ��·�������ڡ�_x000D__x000A_</S><S S="Error">����λ�� ��:1 �ַ�: 429_x000D__x000A_</S><S S="Error">+ ... AccessRule($awbRule);Set-Acl -LiteralPath $awbPath -AclObject $awbAcl_x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error"> + CategoryInfo : ObjectNotFound: (D:\Ai-project\R...K\data\.secrets:String) [Set-Acl], ItemNotFoundExcept _x000D__x000A_</S><S S="Error"> ion_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetAclCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>
✔ claiming the same runtime owner twice preserves its original metadata and every database row (1006.8157ms)
✔ sessions without controlled-engine history retain their prior export shape and never expose another session record (852.2873ms)
✔ live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows (916.7101ms)
#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>����׼���״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>����׼���״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
✔ an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects (1070.7737ms)
✔ an installation failure restores old managers, original record maps, handlers and all existing database rows (1933.1205ms)
✔ the owned controlled driver remains an active session and project even after outer task activity has ended (1007.0447ms)
✔ release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory (1652.1223ms)
<Objs Version="1.1.0.1" xml…443 tokens truncated…ailing tests:
test at tests\desktop-host.test.mjs:40:1
✖ failed registration publishes no initialized memory and can complete after its actual inputs are supplied (2671.3965ms)
Error: 无法为本机秘密目录设置当前Windows用户权限。
at hostError (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/shared/contracts/desktop-host.mjs:5:100)
at protectUserDirectory (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/process-identity.mjs:21:17)
at HostAuthority.initialize (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/host-authority.mjs:18:5)
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/desktop-host.test.mjs:46:13)
at Test.runInAsyncScope (node:async_hooks:227:14)
at Test.run (node:internal/test_runner/test:1402:25)
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
at Test.postRun (node:internal/test_runner/test:1542:19)
at Test.run (node:internal/test_runner/test:1467:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
code: 'HOST_DIRECTORY_UNPROTECTED',
status: 409
}
test at tests\model-center.test.mjs:124:1
✖ compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model (2345.9189ms)
AssertionError [ERR_ASSERTION]: Workbench launch failed: #< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>����׼���״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>����׼���״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>����׼���״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>����׼���״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="Error">Set-Acl : �Ҳ���·����D:\Ai-project\REA逆向\Agent-Workbench\.qa\test-38ejfH\data\.secrets������Ϊ��·�������ڡ�_x000D__x000A_</S><S S="Error">����λ�� ��:1 �ַ�: 429_x000D__x000A_</S><S S="Error">+ ... AccessRule($awbRule);Set-Acl -LiteralPath $awbPath -AclObject $awbAcl_x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error"> + CategoryInfo : ObjectNotFound: (D:\Ai-project\R...H\data\.secrets:String) [Set-Acl], ItemNotFoundExcept _x000D__x000A_</S><S S="Error"> ion_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetAclCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>Workbench registration failed: 无法为本机秘密目录设置当前Windows用户权限。
at launchWorkbench (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:94:10)
at async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/model-center.test.mjs:125:55)
at async Test.run (node:internal/test_runner/test:1409:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: '',
expected: true,
operator: '==',
diff: 'simple'
}