Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

v2-platform: 04 grafting engine in the real host — mount registry + one-plugin tracer bullet

Đã đóng
#276 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react, typescript
Lĩnh vực
full-stack, web-dev

Hướng nghiên cứu

Bắt đầu với nguyên mẫu web-grafting beta-v2 và các phát hiện đã được ghi lại của nó, sau đó truy vết host thực và các script composition, SSR và collision verify của nguyên mẫu. Hoàn tất có nghĩa là một web plugin thực được cung cấp thông qua host mount, các tiêu chí routing, context, SSR, collision và shared-scope được liệt kê đều đạt, và các script chạy trong các test suite thực.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

ready-for-agent

Parent

#274 (v2 platform services spec)

What to build

Route grafting in the real host, as proven by the beta-v2 web-grafting prototype: a mount registry derived from pathless layouts, the composition function that grafts web-plugin route trees into mounts (reparenting only the subtree root, namespacing route ids per plugin), MF shared-singleton scope participation, and SSR-by-exclusion for session-gated mounts. The tracer bullet is ONE real web plugin grafted at one mount and served by the actual host — with the prototype's headless verify scripts promoted into the real test suites. The prototype code and its documented findings (including the corrections it produced) are the specification.

Acceptance criteria

  • One real web plugin's route tree is grafted into a host mount with zero host-side routing code for that plugin
  • Route ids are namespaced; duplicate leaf URL paths across plugins resolve first-wins without breaking either plugin
  • Auth/apiClient context flows to grafted routes through root-route context
  • Session-gated mounts server-render nothing; public mounts SSR fully
  • The prototype's composition/SSR/collision verify scripts run as part of the real test suites
  • The host joins the MF shared scope with React/router as eager singletons (no double-instance footgun)

Blocked by

  • Epic #248 (oRPC v2 / Effect 4 migration) — grafting lands on the migrated platform.
Ngôn ngữ chính
TypeScript
Star
5
Fork
3
Merge trung bình
9 giờ 37 phút
Pull request đã merge (30 ngày)
157

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NEARBuilders/everything-dev

Tất cả issue của NEARBuilders/everything-dev

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.