mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
* feat(mods): verified-outcome learning loop (learningLoop, #4581, ADR-502) ruflo-mods 0.8.0 adds the learningLoop option (default off). Each main-loop turn becomes a trajectory whose outcome is verified-success/verified-failure only when a recognised test/build/typecheck/lint command ran after the turn's last edit and the shell's exit status said so; otherwise unknown. A masked status (|| true, pipes, ;, background, substitution) verifies nothing, and the model's own words are never read. The CLI ingests the records (ruflo hooks verified-ingest, the hooks_intelligence_verified-ingest MCP tool, and automatically from hooks_route and hooks_session-end): only verified records train SONA, unknown ones are counted; each id once; PII-redacted. It writes learned-lessons.json, and the mod adds at most three cited lessons at or above the 0.6 gate to a matching prompt. doctor --component learning-loop reports whether outcomes reach SONA. Stages 5-7 of #4581 (pane, autonomous /loop-run, GEPA self-tuning) are deferred; the on-by-default evaluation has not been run. Co-Authored-By: RuFlo <ruv@ruv.net> * fix(mods): learning loop needs an edit to verify; redact e-mails before writing (#4581) A turn that edited nothing is unknown (a verifier verifies a change). The mod replaces e-mail addresses in the stored task; ADR-502 states the privacy limit (broader PII redaction runs at CLI ingest). Co-Authored-By: RuFlo <ruv@ruv.net> * feat(mods): learningLoop on by default (#4581) Maintainer decision: ship the learning loop on by default. Set the learningLoop option to false to turn it off. ADR-502 records that the issue's 30-task evaluation has not been run yet. Co-Authored-By: RuFlo <ruv@ruv.net> * fix(cli): ADR-112 guidance on hooks_intelligence_verified-ingest (#4581) Co-Authored-By: RuFlo <ruv@ruv.net> --------- Co-authored-by: r <r@x>