Commit Graph
2 Commits
Author SHA1 Message Date
vchuser a90ec05550 Fix shared spec references in session; clarify undoLast contract
commitAssignment and moveEntry stored the same spec object in both
stack.spec and entry.spec. A later, more complete scan enriching
stack.spec would retroactively mutate the entry that first created the
stack, making it appear as if it had been scanned with data it never
actually had. Both places now store independent shallow copies so the
entries log and the stacks spec (comparison baseline) can't leak into
each other.

Also documents that undoLast intentionally reverts the last *recorded*
entry, not the last *action* - a subsequent moveEntry/removeEntry on a
different entry does not change what undoLast will take back - and
adds a test pinning that contract after a reorder.
2026-07-28 15:07:15 +02:00
vchuser f8e3a06d44 feat: Sitzungsverwaltung mit Stapel-Zuweisung und Ruecknahme 2026-07-28 14:59:46 +02:00