Documentation
¶
Overview ¶
recur says which lessons recorded a RECURRENCE and have no gate.
recur --memory ~/.claude/projects/<slug>/memory recur --memory <dir> --accept <lesson> --gate 'go-fleettools/fleettools/cmd/viaonly' recur --memory <dir> --accept <lesson> --no-gate 'why a gate cannot exist here'
⛔ WHY IT EXISTS. The user had to say it twice, and the second time like this: "une erreur qui se reproduit c'est un outil et une gate qui manque."
A memory that records the same mistake a second time is a note that did not work. The file already says so — "Troisième récidive", "la deuxième fois aujourd'hui", "4th occurrence the same day" — and nothing reads those words, so the lesson keeps being filed and keeps being repeated. In one session three separate commands (gotest, prwait, ghrelease) each caught a mistake its author had already written a memory about. The memories did not hold; the commands did.
It does not cry wolf, and that is a design constraint ¶
Measured over 2349 memories on 2026-11-11: 31 say "récidive", 84 carry an ordinal with "fois" or "occurrence", 27 the English equivalent — about 5% of the corpus, essentially none of them with a gate. Reporting all of those on day one would be a wall of 120 findings, and a guard that produces a wall is a guard somebody turns off: this fleet has that measured twice.
So the finding is not "a lesson has repeated". It is "a lesson has repeated AND NOBODY HAS DECIDED WHAT TO DO ABOUT IT" — which is what the LEDGER records. Everything known at the moment the ledger is seeded is a backlog entry, honestly marked as untriaged; after that the gate fires only on a lesson that NEWLY records a recurrence. That is the same shape as the ledger gating `ghissue --new` (#233).
The three conditions a gate has to meet here ¶
a mandatory flag with no default --memory, and --accept needs --gate or --no-gate a refusal BEFORE the expense it runs before gitpush/ghmerge/ghrelease a waiver that STAMPS --no-gate writes its reason, dated, into the ledger
Exit status, following assetpath's and priorart's:
0 every recorded recurrence is in the ledger 1 at least one is not; each is named 2 REFUSED TO DECIDE: the memory directory or the ledger could not be read
⛔ 2 is never an absence. A directory that would not open is not a clean one, and this fleet has three memories of a sweep that could not read reporting zero.