idle
busy
full
ok
run_queue when idle
yes
no
non-action
request
yes
no
yes (decisive)
no (unsure)
rejected
covers
none
one
many
yes
no
same
different
locked
open
yes
no
writing
stub (no body)
ready
yes
answer() bypasses queue
no
yes
answer()
no
yes
no
retry
complete
user confirms
act raises
canned / deterministic category skips assess
Input
REPL text · gateway DM (SimpleX · LXMF · voice) · dashboard submit
Scheduler.submit_request()
create Request, trace 'submit'
current process?
parse_meta_command()
explicit housekeeping command?
RequestQueue.push
FIFO, bounded
Output: rejected
'queue is full'
Output: queued
run housekeeping leaf
trace 'meta_command'
deterministic; skips navigation
_run_skill()
execute the leaf
navigate()
descend tree, one SemIf choice per level
SemIf choice
phase 'navigate:actionability'
P non_action >= action_tau?
_navigate_canned
phase 'navigate:response'
closed canned reply tree
SemIf choice
phase 'navigate:category'
options = real categories +
descriptions + create_category
create_category win
or no categories?
CreateCategory
winner prob >=
softmax_bypass_tau?
skills in category?
SemIf choice
phase 'navigate:category_scope'
P covers >= category_tau?
CreateSkill
sole skill
softmax skipped
SemIf choice
phase 'navigate:leaf'
options = existing skills only
picked skill
hard-locked category?
(housekeeping)
SemIf choice
phase 'navigate:intent'
P same >= intent_tau?
category locked to
new skills?
Output: error
'new-skill creation is locked'
meta
awaiting_skill_body?
Output: error
'body still being written;
restart category.skill'
authoring pipeline
see below
leaf status?
Output: error
'body still being written'
Output: error
'no body yet;
restart category.skill'
SkillRunner.run()
resolve tiered config
global -> category -> skill
contract variable
unresolved?
Output: needs_input
pre_act pause
ask one variable
SemIf choice
phase 'config:record'
record as config vs ask each fire
skill.act(ctx, request)
REAL action via stdlib transport
values from ctx.config
act asks for input?
Output: needs_input
act pause
SemIf choice
phase 'assess:outcome'
P success >= tau?
a definitive empty result counts as success
success?
deterministic summary
category.name: ok/failed - action_log
SemIf choice
phase 'assess:requeue'
complete vs retry
requeue original request
bounded by max_reentries
SemIf choice
phase 'repair:choice'
retry / repair_skill / ask_user / no_repair
Output: ran
SchedulerReply (run_id, skill_ref, result)
REPL · gateway reply · dashboard trace
Output: repair offer
surfaced in REPL/dashboard/gateway