diff --git a/config.example.json b/config.example.json index a1fb6ee..ddccff7 100644 --- a/config.example.json +++ b/config.example.json @@ -4,8 +4,8 @@ "max_reentries": 3, "navigation": { "_comment": "Confidence gate on the create branches. create_skill/create_category share a softmax with the real skills/categories, so a weak plurality win is not evidence that nothing matches. The create branch only fires when P(create) >= create_tau AND it leads the best existing option by create_margin; otherwise navigation falls back to the best existing option (a genuinely unmatched action still reaches authoring through the intent guard). Suppressed picks are traced as create_suppressed with their probs so the thresholds can be calibrated from real runs. A level with nothing to choose from still short-circuits to create.", - "create_tau": 0.4, - "create_margin": 0.15 + "create_tau": 0.5, + "create_margin": 0.35 }, "queue": {"max_size": 100, "age_rate": 0.01}, "engine": { diff --git a/semif_agent/scheduler.py b/semif_agent/scheduler.py index 9136301..f5ddad5 100644 --- a/semif_agent/scheduler.py +++ b/semif_agent/scheduler.py @@ -225,8 +225,8 @@ class Scheduler: self.config = config self.tau = tau nav_cfg = config.get("navigation", {}) or {} - self.create_tau = float(nav_cfg.get("create_tau", 0.4)) - self.create_margin = float(nav_cfg.get("create_margin", 0.15)) + self.create_tau = float(nav_cfg.get("create_tau", 0.5)) + self.create_margin = float(nav_cfg.get("create_margin", 0.35)) self.max_reentries = max_reentries self.codegen = codegen self.degeneration_check_factory = degeneration_check_factory diff --git a/semif_agent/skills.py b/semif_agent/skills.py index 9f2aa62..a291b12 100644 --- a/semif_agent/skills.py +++ b/semif_agent/skills.py @@ -557,8 +557,8 @@ def navigate( trace: TraceLog, request: Request, tree: dict[str, list[Skill]], - create_tau: float = 0.4, - create_margin: float = 0.15, + create_tau: float = 0.5, + create_margin: float = 0.35, ) -> Skill | CreateCategory | CreateSkill: """Descend the tree one SemIf choice per level. Every choice is logged.