Owner: IDE-like debugging a posteriori — every component LLM or not leaves a JSON line with in/out/parent. Components: machine stages, gate/probe/claims/type/merge (per fact as ruled), prover, KG snapshot at run end (rows annotated with last-touch). Never breaks a run: no run dir = total no-op. Live-checked on a baseline run. TDD: recorder 3/3; suite 31 green. PR B (floop-inspect HTML) follows.
Owner: IDE-like debugging a posteriori — every component LLM or not leaves a JSON line with in/out/parent. Components: machine stages, gate/probe/claims/type/merge (per fact as ruled), prover, KG snapshot at run end (rows annotated with last-touch). Never breaks a run: no run dir = total no-op. Live-checked on a baseline run. TDD: recorder 3/3; suite 31 green. PR B (floop-inspect HTML) follows.
Owner ruling (26/10): 'vull poder fer com un debug amb l'IDE de
programació, però a posteriori de l'execució' — see WHERE inside which
expert we are at every moment, and the input/output of every component,
LLM or not. This is the recorder half (PR A of the observability plan).
- floop/recorder.py: append-only JSONL, one event per line. LAWS:
never breaks a run (emitting is swallowed; no run dir = TOTAL no-op,
no buffer, no counters); every line self-describing (seq, ts, run_ts,
event, payload); in/out carry structured data, the exact prompt text
stays in prompts/NN-stage.txt (events stay small).
- Wired via RunStreams (every component already had streams):
comp.start/comp.out (machine stages INIT/ROUTE/EXPERT/ANSWER/FINAL),
state, llm.done (stage, dur_s, call_seq, prompt file link — from the
dspy callback), run.final.
- Knowledge pipeline components (floop-internal nodes, not LLMs):
probe.done (seeds, rows, tau, semantic adds), claims.done (the claim
list), type.done (claim -> typed fact, one per claim as ruled),
fact.merged / fact.rejected (one per fact — _ingest_candidate is
called per fact; verdict + reason + page), prover.done (dsl, verdict:
invalid_dsl/no_closed_path/closed/ambiguous, bindings), kg.snapshot
(once at run end: every edge with temporal window + last_touch from
this run's merge events).
- kg_snapshot(): rows annotated with their last-touch event (owner:
'cada fila del kg podria tenir anotat quan s'afegeix o edita').
Live-checked: baseline run writes real events (comp.start, llm.done
dur_s=17.35, comp.out '4'). TDD: recorder 3/3; suite 31 files green.
Next (PR B): floop-inspect — the HTML debugger reading events.jsonl
(timeline Gantt, KG view, facts table, probe view).
onibot
merged commit 9f2fbd711c into main2026-10-27 07:42:28 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Owner: IDE-like debugging a posteriori — every component LLM or not leaves a JSON line with in/out/parent. Components: machine stages, gate/probe/claims/type/merge (per fact as ruled), prover, KG snapshot at run end (rows annotated with last-touch). Never breaks a run: no run dir = total no-op. Live-checked on a baseline run. TDD: recorder 3/3; suite 31 green. PR B (floop-inspect HTML) follows.