Files
ruflo/v3/@claude-flow/cli/__tests__/real-binary
65fc26d0fa fix(learning-loop): show lessons only from a file this machine wrote (#4747, integrates #4854) (#5037)
* fix(learning-loop): show lessons only from a file this machine wrote

A repository could commit .claude-flow/data/learned-lessons.json, and both
the ruflo-mods prompt hook and the classic learning-loop.cjs helper showed
its lessons as this project's own test and build history.

The CLI ingest now stamps the lessons file with an origin id kept under the
home directory (~/.claude-flow/learning-loop-origin, 32 hex characters,
created on first use with mode 0600). Both readers show nothing from a file
whose origin is missing or does not match this machine's id, so a file
carried in by a clone is ignored. A lessons file written before this change
shows nothing until the next ingest rewrites it.

ruflo-mods 0.16.3. The helper bundle is rebuilt, so helpers.manifest.json
needs a maintainer re-sign.

Fixes #4747

* chore(helpers): re-sign manifest for the #4747 learning-loop.cjs change

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com>
Co-authored-by: r <r@x>
2026-11-18 23:51:56 -05:00
..