Repository navigation
spec(AST-112): package shape — Expo package, Preview host package, default linking, named features - #12571
Merged
imdreamrunner merged 2 commits intoNov 18, 2026
Conversation
…fault linking, named features - FR1, DEC-11: the Expo configuration plugin and host hooks ship in @astryxdesign/react-native-expo; the core package carries no Expo code, and its old plugin entry fails with an error that names the new package (DEP-0020, CLN-0020). - FR1, DEC-12: the Preview host ships in its own host package; the library keeps the project side; Preview is not a capability (OQ7: publication). - FR1, FR3, FR5, DEC-13: the native half of the library's own components links by default; camera, media, microphone, pdf, photos, and web stay opt-in. - FR1, DEC-16: native modules whose alternative is an open-source library with native code are part of the package. - FR7, FR8, FR12, DEC-14: contracts at revision 1 plus named features; Astryx Stage pairs by contract spec hash plus a version floor. - FR4, DEC-15: public platform API only. - FR7: links the group records AST-123 to AST-132. - OQ8: whether the system sign-in session is its own opt-in.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
AI review status for this pull request.
|
…ec/ast-112-package-shape
8 tasks done
This was referenced Nov 18, 2026
This branch was successfully deployed
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.
Stacked on #12563. Review that pull request first; this one changes only the package-shape requirements of
spec:AST-112and leaves FR13, DEC-6, OQ5, and OQ6 as #12563 has them.Exact decision needed
How the React Native packages are shaped: which package holds the Expo support and the Preview host, which native pieces link by default and which an app opts in, how native contracts evolve and pair with Astryx Stage, and which native modules belong in the platform package.
Existing authority searched
spec:AST-112on the spec(AST-112): React Native commands are one astryx rn group; package shape (Expo wrapper, default linking, named features) #12563 branch: FR1 to FR5, FR7, FR8, FR11, FR12, FR14, DEC-2, DEC-5, Current-state impact, Verification.spec:AST-082FR13 (required dependencies) and DEC-7 (one contracts package).spec:AST-123tospec:AST-132, which detail AST-112 per group and ask it to link the library's own native pieces by default and to use revision 1 plus named features.Decision
@astryxdesign/react-native-expo(peers:@astryxdesign/react-nativeat the same version, andexpo). The core package carries no Expo code. Its old./app.plugin.jsfails with an error that names the new package for one minor (DEP-0020, CLN-0020).camera,media,microphone,pdf,photos, andwebstay opt-in. A minimal opt-out of the default set may exist; its shape is not specified.spec:AST-123tospec:AST-132) as the per-group detail.Rejected alternatives
previewcapability: only a host needs it.Claim scope and non-goals
Package shape only. The commands (FR13, DEC-6, OQ5, OQ6) belong to #12563. Each group's contracts belong to its own record. The Preview host's own contract is a non-goal of AST-112.
Evidence and implementation relationship
No implementation in this pull request. The FR1, FR3, and FR8 gap lines name where the package differs from this record.
Writing rubric results
Rejected:line; DEC-15 has none.<FR> gap:form (FR1, FR3, FR8). DEP-0020's state names the release it starts in, as DEP-0019 does.Scope
Components:
spec:AST-112(React Native foundation)Validation
node scripts/check-knowledge.mjs: exit 0, no new warningprettier --checkon the record: cleangit diff --check: clean