NEC-372: A peer's edit outside a section card being typed in went missing on CI (SAFE-A32, possible silent loss) #336
No reviewers
Labels
No labels
area:docs
area:identity
area:ops
area:plugin
area:server
channel:community
channel:direct
channel:owned
channel:press
channel:social
dependencies
e2ee-constrained
gate:at-ga
gate:pre-ga
marketing
parity
relay:absent
relay:planned
relay:requested
relay:supported
risk:additive
risk:contract
risk:none
security
usability
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Nectenda/nectenda!336
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-nec-372-a-peers-edit-outside-a-section-card-bein"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task: NEC-372 — https://projectron.nerchure.com/tasks/394
A note shown in a canvas card lost a peer's line, and later a typed word, when the card saved from surroundings behind the document: three gates in the view guard's base cascade each dropped the record of what the card built its save on, and the save was diffed against the document, deleting what it lacked, in both vaults with no copy. Found on CI once in 54 runs, reproduced by an opt-in seeded repro (nec-372-repro.test.ts) and traced with new diagnostic logging (every load into a card, every card save, the base chosen; hashes, never text). The model replaces the cascade: a card's save is read in against what it built it on, followed back through its own saves never read in, for 30 s after the card closed too; a save with no vouched base is never read in over the document, where that would remove a line, without the note kept first in .nectenda-backups with a notice; and a card is not reloaded with its own superseded save. SAFE-A32 amended; docs/sync-limitations.md records what remains. Evidence: 11 mutation checks, gate green, repro 400/400 on the failing seed with no copy kept, canvas hardness hour clean, three fresh-context reviews.
Spec:
docs/changes/NEC-372-section-card-peer-edit/spec.mdChangelog
A note shown in a canvas card no longer loses another person's line, or a word you typed, when the card saves while it is behind the shared note; a save Nectenda cannot place safely keeps a copy of the note first.
eb69da45d295ca57bb1d