This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createPhase9Tools, PHASE9_SPECS } from '../skills/phase9-tools.js';
|
||||
import { createPhase9GatewayTool, createPhase9Tools, PHASE9_SPECS } from '../skills/phase9-tools.js';
|
||||
import { SKILLS } from '../skills/catalog.js';
|
||||
|
||||
test('Phase 9 exposes the complete local QVAC capability surface', () => {
|
||||
@@ -13,3 +13,9 @@ test('Phase 9 exposes the complete local QVAC capability surface', () => {
|
||||
assert.ok(SKILLS.some(([id]) => id === 'model-registry'));
|
||||
for (const tool of tools) assert.ok(tool.parameters?.type === 'object', tool.name);
|
||||
});
|
||||
|
||||
test('Phase 9 gateway keeps the complete capability surface within harness custom-tool limits', () => {
|
||||
const [gateway] = createPhase9GatewayTool();
|
||||
assert.ok(gateway.parameters.properties.operation.enum.length >= PHASE9_SPECS.length);
|
||||
assert.ok(gateway.parameters.properties.operation.enum.includes('p2p_status'));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user