mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-07 10:45:59 -10:00
complete_subtask, the host adjudication of its criteria and the 'lowered by the host' note are gone, with the handoff audit channel and its metrics, trajectory field and benchmark columns. A delegated child ends the way any turn does and the parent reads its last reply. The host's own receipts appended to a child's reply and the write-scope check stay: they need a record of what the child changed, which is replaced with the evidence ledger later.
24 lines
740 B
Go
24 lines
740 B
Go
package boot
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
// Declaring a conditional tool must not put it in a session that was not
|
|
// offered it: the request's tool list is the cache-stable prefix.
|
|
func TestEffectConditionalDeclarationsDoNotReachTheProviderPrefix(t *testing.T) {
|
|
isolateConfigHome(t)
|
|
t.Chdir(robustTempDir(t))
|
|
writeUserConfig(t, userModel)
|
|
req := firstTokenProfileRequest(t, "")
|
|
sent := map[string]bool{}
|
|
for _, schema := range req.Tools {
|
|
sent[schema.Name] = true
|
|
}
|
|
for _, n := range []string{"advise", "best_of_n", "apply_isolated", "discard_isolated", "system_one", "submit_plan", "conclude_no_changes", "review_report"} {
|
|
if sent[n] {
|
|
t.Errorf("%s is declared conditional but reached the default request tools", n)
|
|
}
|
|
}
|
|
}
|