AIGuiders.Platform.Modeling.IdeSession.GateCatalog 0.1.0

dotnet add package AIGuiders.Platform.Modeling.IdeSession.GateCatalog --version 0.1.0
                    
NuGet\Install-Package AIGuiders.Platform.Modeling.IdeSession.GateCatalog -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AIGuiders.Platform.Modeling.IdeSession.GateCatalog" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AIGuiders.Platform.Modeling.IdeSession.GateCatalog" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="AIGuiders.Platform.Modeling.IdeSession.GateCatalog" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AIGuiders.Platform.Modeling.IdeSession.GateCatalog --version 0.1.0
                    
#r "nuget: AIGuiders.Platform.Modeling.IdeSession.GateCatalog, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AIGuiders.Platform.Modeling.IdeSession.GateCatalog@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AIGuiders.Platform.Modeling.IdeSession.GateCatalog&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=AIGuiders.Platform.Modeling.IdeSession.GateCatalog&version=0.1.0
                    
Install as a Cake Tool

AIGuiders.Platform.Modeling.IdeSession.GateCatalog

Gate catalog IR: gate / reject-when / code rows from ide-session *.catalog.gdl gates tables — data only, no evaluation.

What you get

  • IdeSessionGateRow — one gate: GateId, RejectWhen (condition wire), Code (stable diagnostic code)
  • IdeSessionGateCatalog — { SourcePath, Gates: IdeSessionGateRow array } — the parsed gates table with its provenance

Quick start

open AIGuiders.Platform.Modeling.IdeSession.GateCatalog

// What *.catalog.gdl "gates table" parses into (Gdl.Parse.IdeSession fills it):
let catalog =
    { SourcePath = "ide.catalog.gdl"
      Gates =
        [| { GateId = "solution-loaded"
             RejectWhen = "phase = unloaded"
             Code = "GATE_SOLUTION_NOT_LOADED" } |] }

Problem

  • Session-level preconditions ("don't run this while the solution is unloaded") are usually inline guards:
    • the condition and its message are private to the call site
    • there is no stable code to filter or test against
  • So tooling can't enumerate the gates it respects.

Solution

  • Gates become catalog rows: named, with a condition wire and a stable code — enumerable, diffable, testable.
  • Kept deliberately tiny: the parser (.Gdl.Parse.IdeSession) fills it, the evaluator consumes RejectWhen at execution time.
  • Battle-tested as the gates vocabulary of the Guiders ide-session stack — FSHARP ADR-0004.

When not to use

  • Evaluating RejectWhen conditions — this is the row IR; the session runtime decides.
  • Parsing *.catalog.gdl — that is AIGuiders.Platform.Modeling.Gdl.Parse.IdeSession (it produces this catalog).
  • Full catalog sections (channels, executors) — only the gates table lives here.

Learn more


MIT · Source & issues · part of the Guiders federation

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AIGuiders.Platform.Modeling.IdeSession.GateCatalog:

Package Downloads
AIGuiders.Platform.Modeling.Gdl.Parse.IdeSession

ide-session *.catalog.gdl gates table parser — F# SSOT mirror of Sat.IdeSession quarry.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 96 10/24/2026