onibot 6733cb660e feat(stream): thinking + run log for CLI (GAP-13 CLI part)
RunStreams: run.log always (flushed, tail -f-able) with full technical detail; thinking stream to screen under --verbose (flushed, [T] lines, > depth prefixes). Machine hooks on INIT/MISSING/ROUTE/EXPERT/ANSWER + budget ticks; child runs share the parent's stream; engine emits its raw output. Verified live: 8-call train run inline, fresh-question run 69.6s (proxy caches identical temp-0 prompts; noted).
2026-10-13 17:50:57 +02:00

floop

Fractal loop. One algorithm — an LLM translates, a sound engine computes, the answer carries its proof — instantiated at every level of abstraction, including the orchestration level itself. The orchestrator is not a special component: questions too big for one expert recurse into new FLOOP runs, so the engine of FLOOP is FLOOP itself.

FLOOP is ReAct where the "thought" step is replaced by computation and the "observation" is typed before it enters the state. From the outside floop acts as an LLM (messages + tools in → text or tool_call out): the final goal is to be a drop-in replacement for the LLM of an agent harness. Answering questions is one use case; see SCOPE.md for the intent layer, the tool interface, and the self-learning meta level.

Documents

File Contents
SCOPE.md floop beyond Q&A: drop-in-LLM positioning, the intent layer (answer / tool_call / chat / meta), tool_call + tool_result semantics, progress streaming, the offline self-analysis meta level. DESIGN, no code yet.
PIPELINE.md Definition of the pipeline: the generic expert pattern, the expert fleet, the orchestrator-as-recursion, the living plan, table laws, guarantees, v1→v2, known risks.
ALGORITHM.md How the machine works, in words: the opening call (INIT), the main loop, the generic expert and the fleet, recursion (floop inside floop), backtracking, stopping and answering.
GAPS.md Design gap log from the step-by-step replay: what was missing, why it bites, proposed resolutions. GAP-11..14 = the 2026-10-13 scope additions.

Status

Design docs (v0.2 — recursion redesign). v0.1 draft executable since 2026-10-10 (code/): the full loop runs on dspy LLM calls only (INIT/ROUTE/EXPERT/MISSING/ANSWER as dspy modules, the machine — stack, dependency order, budget, recursion — as fixed code); formal checks, prover and expert engines are stubs, so every answer is honestly Unverified. See code/README.md and RUNLOG "Executable runs". Next: real check layer, knowledge vertical with real search, prover (clingo/Z3).

Lineage

Logic-LM (arXiv:2305.12295) — lm→solver pattern with self-refinement. ReWOO (arXiv:2305.18323) — plan-on-slots, decoupled execution. LLM-Modulo (arXiv:2402.01817) — LLMs propose, external verifiers decide. LLM+P (arXiv:2304.11477) — lm→PDDL→classical planner. POMDP-Coder (arXiv:2505.02216) — lm writes the model, a solver plans. Rational metareasoning (Russell & Wefald 1991; arXiv:2410.05563) — the value of computation decides what to do next.

S
Description
floop - fractal loop: neuro-symbolic reasoning pipeline (design docs + v0.1 dspy draft)
Readme
2.9 MiB
Languages
Python 100%