Root: README, PIPELINE, ALGORITHM, GAPS, RUNLOG (design + first executable runs). code/: v0.1 draft on dspy 3.4 (INIT/ROUTE/EXPERT/MISSING/ANSWER as dspy calls, machine as fixed code, stub engines — honest Unverified). knowledge/: DESIGN.md for the KG-first knowledge expert (pre-implementation).
26 lines
2.0 KiB
Markdown
26 lines
2.0 KiB
Markdown
# 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.
|
|
|
|
## Documents
|
|
|
|
| File | Contents |
|
|
|---|---|
|
|
| [`PIPELINE.md`](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`](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`](GAPS.md) | Design gap log from the step-by-step replay: what was missing, why it bites, proposed resolutions. |
|
|
|
|
## 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. |