mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-09-14 14:01:28 +08:00
126c23a0fc
Scaffolds plugins/ruflo-graph-intelligence/ — the RuFlo Graph Intelligence Engine. Built on sublinear-time-solver@^1.7.0. Three-layer architecture: Neural / Graph Intelligence / Complexity. Phase 1 deliverables: - package.json @ 0.1.0-alpha.1 - domain/types.ts — SparseMatrix, ComplexityClass (12 tiers + fitsBudget + isEdgeSafe), CoherenceReport, PageRankQuery/Result, SolveQuery/Result, SolveOnChangeQuery, structured GraphIntelError taxonomy - domain/adapter.ts — SublinearAdapter interface, AdapterRegistry (singleton) - infrastructure/solver-bridge.ts — coherenceScore, singleEntryPageRank (forward-push), conjugateGradient, neumann, solveOnChange, hashResult, observedComplexity, runPageRank/runSolve/runSolveOnChange entry points - mcp-tools/index.ts — 6 MCP tools under sublinear/*: page-rank-entry / solve / solve-on-change / analyze / feasibility / jl-embed All threaded with maxComplexityClass + coherenceThreshold budget gates. - tests: 37/37 passing — solver-bridge (coherence, PR, CG, Neumann, solve-on-change, hash determinism), adapter-registry (CRUD + singleton), mcp-tools (happy path, graph-not-found, coherence-rejected, complexity-budget-exceeded) CI guard (#2044 follow-up): - .github/workflows/v3-ci.yml — adds plugins/ruflo-graph-intelligence/** to both push and pull_request path filters - New job: ruflo-graph-intelligence build + test smoke. Installs (npm ci with --legacy-peer-deps because the plugin is outside the v3 pnpm workspace), typechecks, builds, runs vitest. Cross-platform via Node 22. Co-Authored-By: RuFlo <ruv@ruv.net>
22 lines
519 B
JSON
22 lines
519 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"lib": ["ES2022"],
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist", "tests"]
|
|
}
|