Add first-class local-first image attachments - #79
Merged
Conversation
callumalpass
marked this pull request as ready for review
August 2, 2026 13:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
Adds first-class image attachments across native Android/iOS and mdbase collections. Browser product builds remain cloud-only; OPFS exists only in the E2E fixture.
Task frontmatter is the portable source of truth for membership:
Binary metadata stays in storage descriptors/the filesystem. Body embeds are optional presentation, with distinct Attach image and Insert in Notes actions.
Local-first behavior
UI
Verification
pnpm verify: 84 files / 430 tests; 4,982 conformance passes; formatting, typecheck, lint, coverage gates, mdbase oracle, and production build green.pnpm test:production-smoke: 6/6 green.image/png, duplicate write is rejected with original bytes unchanged, and 250-record exercise green.Upstream contracts
0.3.0-rc.9), Add view-aware task capture #13