Replace create_skill branches with category/skill suggestion events

Navigation now offers create_category at the category level and create_skill
at the leaf. Both are stubs that log a suggestion event (state, question,
SemIf output) to the trace instead of returning an authoring sentinel.
This commit is contained in:
Denton Social
2026-09-23 18:24:13 -05:00
parent add860c0bb
commit 147b6cba5f
4 changed files with 48 additions and 15 deletions
+2 -3
View File
@@ -198,12 +198,11 @@ class Scheduler:
# ---- dispatch ----
def _dispatch(self, request: Request) -> DispatchResult:
navigation = navigate(self.engine, self.log, request, self.tree)
navigation = navigate(self.engine, self.log, self.trace, request, self.tree)
if isinstance(navigation, CreateSkill):
self.trace.append("create_skill", request.id, category=navigation.category)
return DispatchResult(
kind="create_skill",
summary="skill authoring via opencode is deferred to v2; request logged.",
summary="skill authoring via opencode is deferred to v2; suggestion logged.",
)
outcome = self.runner.run(navigation, request)
if outcome.error: