feat: continue reviewed tasks and add reproducible engineering delivery validation

This commit is contained in:
Agent Workbench Dev
2026-10-29 14:45:39 +08:00
parent 2ea34850c4
commit 6d3a4c6705
47 changed files with 619 additions and 60 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ test('runtime diagnostics and model-response validation use actual records and p
const bootstrap = await (await fetch(server.url + '/api/bootstrap')).json();
assert.equal(bootstrap.config.model, 'saved-model'); assert.equal(bootstrap.config.hasKey, true);
const diagnostic = await server.api('/diagnostics?session=' + f.session.id);
assert.equal(diagnostic.version, '1.0.0'); assert.equal(diagnostic.session.project.root, f.project.root);
assert.equal(diagnostic.version, bootstrap.version); assert.equal(diagnostic.session.project.root, f.project.root);
assert.equal(diagnostic.environment.encoding, 'UTF-8'); assert.equal(diagnostic.connection.lastRequest.status, 'completed');
assert.ok(!JSON.stringify(diagnostic).includes('fixture-saved-connection')); assert.ok(!JSON.stringify(diagnostic).includes('fixture-tentative-connection'));
await server.api('/config/models', {}); assert.equal(model.requests[1].headers.authorization, 'Bearer fixture-saved-connection');