Skip to content

refactor(attachments): unify on canonical schema shape (Phase 0)#76

Merged
pparage merged 5 commits into
devfrom
feature/attachments-phase0-datamodel
May 21, 2026
Merged

refactor(attachments): unify on canonical schema shape (Phase 0)#76
pparage merged 5 commits into
devfrom
feature/attachments-phase0-datamodel

Conversation

@pparage
Copy link
Copy Markdown
Member

@pparage pparage commented May 21, 2026

Migrates the runtime attachment shape onto the canonical schema field names (target_node, order_in_stage) and normalizes legacy persisted rows on read, so the UI stops producing attachments that overlay/compose.ts silently drops. Pure data-model migration — no user-facing behavior change, no new UI. Adds normalizeAttachment + a compose.ts shape-guard test. Phase 0 of the attachments authoring work (#67/#62).

@pparage pparage merged commit 94905da into dev May 21, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant