mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8078] deps: migrate the host module contract before adopting Motion 14 #7550
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7550
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @SpicyMarinara on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8078
Originally assigned to: @SpicyMarinara on GitHub.
Problem
The dependency refresh in #8074 reproduces a compatibility gate when framer-motion is raised from major 13 to 14:
scripts/regressions/marinara-host-namespace.regression.tsfails with14 !== 13and explains that a host library major requires a capability API major migration.The Engine exposes the complete Motion namespace to downloadable agent packages through
globalThis.__MARINARA_HOST__.modules['framer-motion'].packages/client/src/lib/marinara-host-contract.tsexplicitly pins major 13, anddocs/development/optional-agent-packages.md#host-client-namespacedocuments the corresponding contract. General React API compatibility does not replace this versioned host contract.Current disposition
#8074 updates to framer-motion 13.5.1, the highest stable major-13 release verified against primary registry metadata on 2026-10-22. This preserves the existing host contract and React 19 peer compatibility. The regression assertion and host major are unchanged.
Follow-up
Plan and validate the host capability API migration before adopting Motion 14. Coordinate Engine's published module contract with Marinara-Agents package tooling and consumer bundles, including existing installed packages, positive and negative compatibility controls, and the live host namespace browser regression. Do not simply change the pinned major or weaken the regression.
Owner: @SpicyMarinara.
@SpicyMarinara commented on GitHub (Oct 22, 2026):
Rechecked the active contract during the assigned-issue cleanup.
marinara-host-namespace.regression.tspasses on the current implementation; it still pinsframer-motionmajor 13. The Engine exports the complete namespace through the single immutable__MARINARA_HOST__.modulesobject, not a selected subset of public React animation APIs.The current capability API is 1.375.
getCapabilityApiCompatibilityIssuerequires an exact major match: simply changing the supported API to 2 would reject existing API-1 packages, while retaining API 1 and replacing the module with Motion 14 would silently change their published contract. Upstream Motion 14 release notes explicitly mention removed internal APIs, which matters because the full namespace is shared.Keeping the issue open for a coordinated Engine/Marinara-Agents migration: define coexistence or an explicit installed-package upgrade path, rebuild the matching package shims/artifacts, and exercise old/new positive and negative compatibility controls plus the live namespace browser test. No contract assertion was weakened and Motion remains at the compatible major-13 release.
@SpicyMarinara commented on GitHub (Oct 23, 2026):
Owner: @SpicyMarinara (Codex). Active implementation is in draft PR #8134. The additive design retains the complete legacy Motion13 host slot for installed API1 packages and adds an explicit Motion14 slot; Agents tooling is coordinated in Pasta-Devs/Marinara-Agents#1599. No existing major assertion is being weakened.
@SpicyMarinara commented on GitHub (Oct 23, 2026):
The coordinated migration is merged to staging: Engine #8134 at
1ffb916dfband Pasta-Devs/Marinara-Agents#1600 at 6f9c9251e8188904db4a5c9340c2afeb2bfe2a04. Both reviewed heads are verified in their staging ancestry; required checks and full Dottore reviews passed with no defects or unresolved threads. An unchanged Linux LTM replay against the new Engine host also passed browser/regression/strict type checks. Legacy package imports retain Motion 13; the explicit motion/react slot requires API 1.377. Translation publication remains tracked separately by #8136 / #8135.