Merge branch 'fusion/fn-1690' into main

- Add roadmap schema migration v32 with covering indexes for roadmapItems table
- Implement RoadmapStore with CRUD and deterministic ordering
- Wire RoadmapStore access via TaskStore.getRoadmapStore()
- Update architecture.md with RoadmapStore persistence docs
- Fix pre-existing test failures in SettingsModal and store tests
This commit is contained in:
gsxdsm
2026-04-14 10:56:04 -07:00
parent 1a30ab20a8
commit 08f42b366d
2 changed files with 5 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ import { describe, it, expect, beforeAll } from "vitest";
import { definePlugin } from "./index.js";
import type { FusionPlugin } from "../../core/src/plugin-types.js";
import { validatePluginManifest } from "../../core/src/plugin-types.js";
import type { TaskStore } from "../../core/src/store.js";
let validateFn: typeof validatePluginManifest;
@@ -51,7 +52,7 @@ describe("Plugin SDK", () => {
name: "my_tool",
description: "A useful tool",
parameters: {},
execute: async (params, ctx) => ({
execute: async (_params, _ctx) => ({
content: [{ type: "text" as const, text: "Hello!" }],
}),
},
@@ -176,7 +177,7 @@ describe("Plugin SDK", () => {
it("exports PluginContext type", () => {
const ctx: import("../../core/src/plugin-types.js").PluginContext = {
pluginId: "test",
taskStore: {} as any,
taskStore: {} as unknown as TaskStore,
settings: {},
logger: {
info: () => {},