gate: stop dropping lookups by carrying expectation + skills in the state

The binary gate asked "Does this input contain an actionable request?" over
the raw text alone, so the model read information requests as small talk:
"tell me the next event in my nextcloud calendar" scored 0.599 (under tau
0.6) and "what is the next event...?" scored 0.191, both dropped. The state
now states that the user expects handling, that looking values up in a
configured service is a real task, and lists the available skills; the
question/options say handle/ignore. On the real model every lookup variant
scores 0.9998+ while chatter stays at 0.016-0.125, and the new jarvis
integration battery pins both sides.
This commit is contained in:
Denton Social committed 2026-09-26 06:04:39 -05:00
1 parent b66d1e325a
commit de2c1a73f2
5 files changed
+115 -8

No files matched your search

+3 -1
View File
@@ -52,7 +52,9 @@ supplied options; an LLM is used only for generation and self-assessment.
```
cli.py argparse: run (REPL / --script), dream, skills, status, relabel,
dashboard
scheduler.py gate -> choice(tau) -> score -> queue; preempt + requeue;
scheduler.py gate (handle/ignore; state carries the user's expectation +
the available skills, so lookups are not read as small talk)
-> choice(tau) -> score -> queue; preempt + requeue;
a skill run paused for input (needs_input) keeps `current`
busy; `answer` routes straight to the pending run, bypassing
gate/score/navigation; skill-body authoring is an ASYNC single-slot