@sylad/cadence 1.39.0 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,6 +59,12 @@ With no project named, run `cadence session close --all` from the parent folder,
59
59
  4. **Memory, filtered** (only if you keep a persistent memory): write down what the repository does
60
60
  NOT already say — a trap and its cause, a decision or correction from the human, a collaboration
61
61
  rule. Test: "do `git log` or the docs already say it?" → then no memory.
62
+ When the report has a section "Mémoire" (the `MEMORY.md` index of this folder weighs more than
63
+ `memory.indexMaxBytes` of `cadence.yaml`, 12000 bytes by default), propose to group the dated entries it
64
+ counts under one line that points to a secondary index (a memory file holding them): the index is loaded
65
+ at every turn, so its weight is paid by every session. Move the entries only after the human agrees, then
66
+ run `cadence session close` again — the section is gone or the size has dropped. Without the agreement
67
+ nothing moves and the warning comes back at the next close. The command never writes the memory.
62
68
  5. **Skills and agents, on threshold, PROPOSED**: a skill when the same chain of commands was done by
63
69
  hand at least twice today; an agent update when an agent got something wrong or its domain moved.
64
70
  List them with the benefit; the human decides. Never create them here.