NEC-21: A 'structured' file kind beside text and blob #214
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
e2ee-constrained
gate:at-ga
gate:pre-ga
marketing
parity
relay:absent
relay:planned
relay:requested
relay:supported
risk:additive
risk:contract
risk:none
usability
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Nectenda/nectenda!214
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-nec-21-a-structured-file-kind-beside-text-and-bl"
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-21 — https://projectron.nerchure.com/tasks/21
Adds a third kind of synced file beside notes (text) and attachments: 'structured', merged key by key through Y.Map/Y.Array in its own document and written back over disk. This is the machinery only — no format is registered, so nothing a user has changes kind until the canvas codec lands (NEC-22).
What it adds:
structuredthat older clients neither read nor act on, and routing in FileSync and VaultWatcher.Two review rounds found four silent-loss bugs in earlier drafts; all are fixed with tests, recorded in the spec. One case is left open by the user's decision: an edit that had reached the server, inside a record deleted by a vault that had not yet seen it. Each codec owns that deletion policy (NEC-22), documented in sync-limitations and the codec contract.
Spec:
docs/changes/NEC-21-structured-file-kind/spec.mdChangelog
NONE