feat: preserve native channel and task continuity
This commit is contained in:
parent
610c688dd9
commit
30865321a8
31 changed files with 2138 additions and 171 deletions
|
|
@ -45,6 +45,7 @@ test('knowledge-embedded Agent keeps one channel body with human-managed convers
|
|||
test('Agent receives a real HoloLake environment frame and autonomously calls numbered knowledge tools', () => {
|
||||
const contract = JSON.parse(read('contracts/persona-agent-runtime.json'))
|
||||
const runtime = read('src-tauri/src/persona_agent_runtime.rs')
|
||||
const hostRuntime = read('src-tauri/src/channel_host_runtime.rs')
|
||||
|
||||
assert.equal(contract.knowledge.embedding, 'NATIVE_KNOWLEDGE_WORKSPACE')
|
||||
assert.equal(contract.agent_loop.model_decides_tool_use, true)
|
||||
|
|
@ -122,6 +123,7 @@ test('Token Plan qwen3.8-max is a first-class provider and long work emits real
|
|||
test('channel core, local skills and typed tools run before optional models', () => {
|
||||
const contract = JSON.parse(read('contracts/persona-agent-runtime.json'))
|
||||
const runtime = read('src-tauri/src/persona_agent_runtime.rs')
|
||||
const hostRuntime = read('src-tauri/src/channel_host_runtime.rs')
|
||||
const binding = read('src-tauri/src/persona_binding.rs')
|
||||
|
||||
assert.equal(contract.channel.channel_entry_creates_persona_orientation, false)
|
||||
|
|
@ -137,9 +139,9 @@ test('channel core, local skills and typed tools run before optional models', ()
|
|||
'ACCOUNT_CHANNEL_SCOPED_PERSONAL_SKILL_BRAIN_ZERO_MODEL',
|
||||
'LOCAL_TYPED_TOOL_EXECUTION_ZERO_MODEL',
|
||||
])
|
||||
assert.match(runtime, /fast_channel_system_reply/)
|
||||
assert.match(runtime, /频道系统本体是该频道持续存在的认知调度与交流主体/)
|
||||
assert.match(runtime, /不得把字段清单当作频道本体的说话方式/)
|
||||
assert.doesNotMatch(runtime, /fast_channel_system_reply/)
|
||||
assert.match(hostRuntime, /承载当前频道系统本体的这一轮语言/)
|
||||
assert.match(hostRuntime, /不要扮演任何单一人格/)
|
||||
assert.match(runtime, /deterministic_tool_route/)
|
||||
assert.match(runtime, /模型调用:0/)
|
||||
assert.match(runtime, /FLAGSHIP_CHANNEL_SYSTEM_COGNITION/)
|
||||
|
|
|
|||
Loading…
Reference in a new issue