feat(v2): 完善配置中心与可替换轨迹质检并联动预审依据
This commit is contained in:
@@ -16,3 +16,9 @@ const ring=read('src/components/xingbang/ProbabilitySummary.tsx');assert.ok(ring
|
||||
assert.ok(!/\b(42|58|51|64)\b/.test(ring),'UI must not duplicate the scenario table');
|
||||
const css=read('src/components/xingbang/v2-workbench.css');for(const rule of ['.xb-v2{','prefers-reduced-motion','focus-visible','.v2-dialog::backdrop','.v2-knowledge-card.from-ai'])assert.ok(css.includes(rule));
|
||||
console.log('v2-sqlite-workbench-ui: PASS (source guards; not visual/browser verification)');
|
||||
|
||||
const configuration=read('src/app/configuration-center/page.tsx');for(const label of ['能力卡片','评审方案','模型与质检'])assert.ok(configuration.includes(label));
|
||||
assert.ok(configuration.includes("identity?.role!=='admin'"));assert.ok(pool.includes('模板语言卡'));assert.ok(pool.includes('/visibility'));assert.ok(pool.includes('/library/configuration/cards'));
|
||||
const quality=read('src/components/xingbang/QualitySettings.tsx');for(const mode of ['disabled','local','jev'])assert.ok(quality.includes(mode));assert.ok(quality.includes('type="password"'));assert.ok(quality.includes('allow_external'));
|
||||
assert.ok(read('src/components/xingbang/BusinessAssistant.tsx').includes('library/inventory'));assert.ok(read('src/components/xingbang/PrescreenPanel.tsx').includes('<EvidenceInfluence'));
|
||||
assert.ok(read('src/components/xingbang/TrajectoryQualityPanel.tsx').includes('/quality'));console.log('configuration-quality-ui: PASS (source guards only)');
|
||||
|
||||
Reference in New Issue
Block a user