feat(FN-3638): extract roadmap domain into plugin and define plugin route s

This merge restructures the roadmap plugin by removing its duplicated domain logic (roadmap store, ordering, handoff, and types — ~3,000 lines deleted) and completing the plugin SDK scaffold with proper route status/body contracts and type exports. It also introduces eval settings infrastructure wit

Fusion-Task-Id: FN-3638
This commit is contained in:
Fusion
2026-05-07 08:12:26 -07:00
committed by gsxdsm
parent 1f5e102312
commit 213ed79d5f
19 changed files with 190 additions and 3858 deletions

View File

@@ -1,4 +1,5 @@
import { definePlugin } from "@fusion/plugin-sdk";
import { createRoadmapPluginRoutes } from "./roadmap-routes.js";
const plugin = definePlugin({
manifest: {
@@ -9,6 +10,7 @@ const plugin = definePlugin({
},
state: "installed",
hooks: {},
routes: createRoadmapPluginRoutes(),
});
export default plugin;
@@ -34,7 +36,8 @@ export type {
RoadmapFeatureTaskPlanningHandoff,
RoadmapMissionPlanningMilestoneHandoff,
RoadmapMissionPlanningHandoff,
} from "./roadmap-types.js";
RoadmapStoreEvents,
} from "@fusion/core";
export {
normalizeRoadmapMilestoneOrder,
@@ -42,14 +45,9 @@ export {
normalizeRoadmapFeatureOrder,
applyRoadmapFeatureReorder,
moveRoadmapFeature,
} from "./store/roadmap-ordering.js";
export {
mapFeatureToTaskHandoff,
mapRoadmapToMissionHandoff,
mapRoadmapWithHierarchyToMissionHandoff,
mapAllFeaturesToTaskHandoffs,
} from "./store/roadmap-handoff.js";
export { RoadmapStore } from "./store/roadmap-store.js";
export type { RoadmapStoreEvents } from "./store/roadmap-store.js";
RoadmapStore,
} from "@fusion/core";