FSharpened

Pillars

28 independently versioned packages plus tools, declared in registry/pillars.json.

P0SubstrateStable

Cross-platform abstraction

FSharpened.Platform

Owns every OS-specific behaviour behind interfaces and a capability manifest: file watching, IPC transport, path identity, overlay store, sandboxing, terminal, runtime identity. Nothing else may #if on a platform.

P0SubstrateStable

Snapshot / fork / rollback / merge substrate

FSharpened.Statepoints

Shared statepoint graph used by hot reload, debugging, model canarying, experiment tracking and chaos testing. No component may implement its own checkpointing.

P1SubstratePreview

Semantic grounding for agents (MCP + library)

FSharpened.Semantic

find / check / types / rename / dead-code plus model-aware queries, exposed as a library and a stdio MCP server. Agents must use it for symbol resolution.

Wraps: FsLangMCP, SageFs, FsAutoComplete

P0ProductStable

FCS wrapper, warm compiler, per-file cache

FSharpened.CompilerBridge

Warm FSharpChecker host, structured diagnostic projection, diagnostic enrichment, onboarding diagnostics, content-addressed per-file typecheck cache exposed as an MSBuild task wrapping CoreCompile.

Wraps: FSharp.Compiler.Service

P0ProductStable

Structured error and debug logging

FSharpened.Diagnostics

DiagnosticScope CE, Result-centric error pipeline, ILogger integration, Sentry/OTLP bridges. Every error has a typed shape.

Wraps: Microsoft.Extensions.Logging, FSharp.Logf

P0ProductStable

OpenTelemetry-native observability

FSharpened.Telemetry

Compiler Meter/ActivitySource subscription, pipeline instrumentation, dev-loop spans, AOT-safe instrumentation, opt-in privacy-preserving feedback collection, ML instruments.

Wraps: OpenTelemetry, FsOpenTelemetry

P0ProductPreview

Curated FSharp.Analyzers.SDK rule set

FSharpened.Analyzers

File-order, value-restriction, Async/Task, Option/ValueOption, nullability, performance, documentation-coverage, testing-gap and supply-chain rules. Every rule is opt-in and has an RFC with false-positive analysis.

Wraps: FSharp.Analyzers.SDK, FSharpLint

P1ProductPreview

Editor integrations and headless LSP harness

FSharpened.Tooling

VS Code companion, VSIX, headless language-server harness, SharpLsp gap closure (upstream-first), statepoint-backed hot-reload sessions.

Wraps: Ionide, FsAutoComplete, SharpLsp

P1ProductPreview

Build, CI primitives and compiler cache integration

FSharpened.Build

FAKE / Fun.Build targets, MSBuild cache task integration, `dotnet fsh build --cached`, reference pipelines.

Wraps: FAKE, Fun.Build, MSBuild.CompilerCache

P1ProductExperimental

Opt-in language-level gap fillers

FSharpened.LanguageExtensions

Collections.Immutable, Option (ValueOption-aware), Async/Task bridge, Pipeline. Library-level only: no compiler patches, no FSharp.Core changes, no HKTs.

Wraps: System.Collections.Immutable, FSharpPlus

P0ProductPreview

Unified effect pipeline

FSharpened.Effects

Effect<'T,'E> struct and a single effect { } CE covering async, task, result, option and validation with OTel context. Not algebraic effects at runtime.

Wraps: FsToolkit.ErrorHandling

P0ProductPreview

AOT-ready, source-generation-free serialization

FSharpened.Serialization

System.Text.Json converter factory using analyzer-generated metadata instead of FSharp.Reflection; build-time AOT validation that fails the build with a suggested fix.

Wraps: System.Text.Json, FSharp.SystemTextJson

P1ProductPreview

F#-aware quality gates

FSharpened.Quality

Complexity computed from the typed AST (match case = decision point), coverage, CRAP, mutation-score gates, baseline-comparison mode.

Wraps: Lizard, dotCover, AltCover, energy-state-analyzer

P2ProductExperimental

Functional-first desktop / mobile UI

FSharpened.Desktop

MVU wrapper over Avalonia and Fabulous.Avalonia, `dotnet fsh new desktop` template, AOT lane for mobile.

Wraps: Avalonia, Fabulous.Avalonia

P0ProductPreview

F#-aware debugging and profiling

FSharpened.Debugging

DAP proxy over netcoredbg, in-process FCS expression evaluator via ICorDebug, PDB+IL symbol snapshots for hot-reloaded assemblies, profiling bridge.

Wraps: netcoredbg

P1ProductPreview

Type-directed refactorings (MCP first, LSP second)

FSharpened.Refactoring

rename, extract, inline, move-type, Async to Task, Option to ValueOption; MCP and LSP code actions with identical semantics and test suites.

Wraps: FsAutoComplete

P1ProductPreview

Composed testing stack

FSharpened.Testing

Unified property facade, AST-native mutation layer where Stryker fails, contract tests from DUs, MVU UI harness, chaos harness with statepoint recovery verification, coverage wrapping.

Wraps: Expecto, FsCheck, Hedgehog, Hegel, AltCover, Stryker.NET

P1ProductExperimental

Composed columnar and tabular interop

FSharpened.Data

Facade over DuckDB, Flowthru, DataFusionSharp plus a greenfield XParsec-based TOML 1.0.0 parser and streaming CSV.

Wraps: fss_duckdb, Flowthru, DataFusionSharp, XParsec

P1ProductPreview

Supply-chain and artifact governance

FSharpened.Security

Composes SBOM (dep-scan, SOVA, ShieldedStack), SLSA/Sigstore, lock-file validation (NuGet, CPM and Paket); extends signing and SBOM to model artifacts. Continuous, not release-gate.

Wraps: OWASP dep-scan, cdxgen, SOVA, ShieldedStack, Sigstore

P1ProductPreview

Living architecture and fitness functions

FSharpened.Architecture

Typed dependency graph from FCS symbol resolution, type-directed fitness-function DSL, generated architecture docs.

Wraps: FSharp.Compiler.Service, fsdocs

P1ProductExperimental

Internal specialised models and resilience envelope

FSharpened.Models

Hyper-specific CDM/APM/ECM/SSM/ATRM models, recursive training pipeline with frozen judges, five-layer deterministic fallback stack, atomic hot-swap via statepoints. The symbolic fallback ships first.

Wraps: ONNX Runtime, ML.NET

P0Machine learningPreview

Capability contracts for fragile ML frameworks

FSharpened.ML.Portability

Every ML framework declares RIDs, dtypes, ops, training/inference support and a stability tier; fallback to ONNX export or ILGPU; version pinning recorded in artifacts.

Wraps: TorchSharp, DiffSharp, Furnace, ONNX Runtime, ML.NET, ILGPU

P0Machine learningPreview

Hardware abstraction and backend resolver

FSharpened.ML.Hardware

Backend registry (Training/Inference/Kernel), capability negotiation, per-task priority-chain resolver and deterministic fallback. CUDA, ROCm/HIP, DirectML, OpenVINO, CoreML, MPS, oneDNN/oneDAL, ILGPU, CPU.

Wraps: ONNX Runtime EPs, TorchSharp, ILGPU, oneDAL

P1Machine learningExperimental

F#-native model definition and training

FSharpened.ML.Authoring

model { } and training { } CEs, DU architectures, nested-AD combinators, elastic distributed training via statepoint rollback.

Wraps: TorchSharp, DiffSharp, Furnace, Toro

P1Machine learningExperimental

Typed, lineage-tracked ML data pipelines

FSharpened.ML.Data

Typed frames with provenance DAG, schema and drift validation, reproducible splits seeded from the statepoint graph, streaming.

Wraps: Deedle, ML.NET IDataView

P1Machine learningExperimental

Experiment tracking, search and AutoML

FSharpened.ML.Experiments

Local-first tracker where every run is a statepoint; typed search { } CE (random, Bayesian, Hyperband, PBT); AutoML wrapper; notebook integration. Genuinely greenfield.

Wraps: ML.NET AutoML, MLflow, Polyglot Notebooks

P1Machine learningExperimental

Signed model registry and promotion

FSharpened.ML.Registry

Content-addressed store, staged promotion with frozen-judge gates, ONNX export with six-RID AOT validation, signed model cards. Genuinely greenfield.

Wraps: Sigstore, ONNX

P1Machine learningExperimental

Inference runtime, drift response, shadow deploy

FSharpened.ML.Serving

ONNX-first runtime with batching and warm-up, Giraffe integration, drift detection, shadow traffic, automatic rollback to prior artifact.

Wraps: ONNX Runtime, Giraffe, Saturn

Tools

dotnet fsh command line

fsh

init, watch, doctor, analyze, quality, explain, refactor, mutate, build --cached, sign, architecture check, new desktop.

Warm compiler and statepoint-backed hot reload

fsh watch

Warm FSharpChecker daemon over IPC; Harmony-backed patching now, FCS-native hot reload session when upstream lands.