feat: redesign traditional workbench and formalize public surfaces

This commit is contained in:
冰朔 2026-08-21 01:57:57 +08:00
commit 950b7e48b3
21 changed files with 328 additions and 34 deletions

View file

@ -77,7 +77,7 @@ test('the product surface exposes a real knowledge workbench and browsable code
assert.match(ui, new RegExp(`['"]${command}['"]`))
}
assert.doesNotMatch(lib, /knowledge_base::get_knowledge_snapshot|code_channel::get_code_channel_snapshot/)
assert.match(ui, /知识工作台/)
assert.match(ui, /知识与 Agent/)
assert.match(ui, /HoloLake Era/)
assert.match(ui, /知识视图/)
assert.match(ui, /源文件/)

View file

@ -18,7 +18,7 @@ test('each verified persona receives one stable local execution subpersona with
assert.match(runtime, /experience_nodes/)
assert.match(runtime, /save_experience/)
assert.match(runtime, /route_experience/)
assert.match(panel, /不是子人格记忆/)
assert.match(panel, /任务沙箱清理不会删除执行体记忆/)
})
test('model-free experience learning is the public default and the small model is only optional enhancement', () => {

View file

@ -36,7 +36,7 @@ test('only provisioned channels receive current packs and Shiyu Yaochu stays def
test('the worker UI presents personal skill brain separately from persona worker and tool executor', () => {
const panel = read('src/modules/knowledge-agent/LocalWorkerPanel.tsx')
assert.match(panel, /本频道私有技能/)
assert.match(panel, /本频道私有技能/)
assert.match(panel, /模型只给语义候选/)
assert.match(panel, /现实写入仍走频道回执和目标读回/)
})

View file

@ -14,7 +14,7 @@ test('stage one embeds one knowledge persona channel without transferring person
assert.equal(contract.knowledge_embedded_persona_agent.initial_responder_is_channel_system_body, true)
assert.equal(contract.knowledge_embedded_persona_agent.persona_identity_preconfigured, false)
assert.equal(contract.knowledge_embedded_persona_agent.persona_response_lane_requires_verified_persona_declaration, true)
assert.equal(contract.knowledge_embedded_persona_agent.human_create_or_delete_conversation_allowed, false)
assert.equal(contract.knowledge_embedded_persona_agent.human_create_or_delete_conversation_allowed, true)
assert.equal(contract.knowledge_embedded_persona_agent.model_or_transport_grants_authority, false)
assert.equal(contract.hldp_native_tool_forge.bound_persona_required_before_compile, true)
assert.equal(contract.hldp_native_tool_forge.tested_tool_local_repeat_execution_implemented, true)