Harden maintainer-preview harness and review fixes

Unify conversational domain routing, preserve artifact completion evidence, replace provisional tool-round prose with terminal synthesis, and resolve verified maintainer review findings across search, frontend module identity, path policy, configuration, and built-in skill startup.
This commit is contained in:
pewdiepie-archdaemon
2026-09-21 06:54:03 +00:00
parent d7cad0621f
commit 297ad19248
54 changed files with 1223 additions and 110 deletions
+7 -1
View File
@@ -76,7 +76,13 @@ def select_experiment_inventory(inventory, routed, history, mode, *, user_text='
and routed.required_read_operation is None
and any(canonical_tool(name) == 'edit_image' for name in routed.required)
)
if not explicit_image_edit:
if not explicit_image_edit and not (
mode == MODEL_CHOICE_MODE and families
and routed.required_read_operation is None
):
# A concrete current-turn route owns the inventory. Reintroducing
# previously used families here lets an explicit domain switch retain
# stale authority and lets a resolved follow-up drift into shell.
families.update(recently_executed_families(
history, user_turns=6, maximum=3,
include_failed_attempts=mode == MODEL_CHOICE_MODE,