AIGuiders.Platform.Modeling.Documentation.Correspondence
0.1.0
dotnet add package AIGuiders.Platform.Modeling.Documentation.Correspondence --version 0.1.0
NuGet\Install-Package AIGuiders.Platform.Modeling.Documentation.Correspondence -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.Documentation.Correspondence" 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.Documentation.Correspondence" Version="0.1.0" />
<PackageReference Include="AIGuiders.Platform.Modeling.Documentation.Correspondence" />
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.Documentation.Correspondence --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AIGuiders.Platform.Modeling.Documentation.Correspondence, 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.Documentation.Correspondence@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.Documentation.Correspondence&version=0.1.0
#tool nuget:?package=AIGuiders.Platform.Modeling.Documentation.Correspondence&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AIGuiders.Platform.Modeling.Documentation.Correspondence
Machine-readable doc-to-code correspondence — typed relation kinds, bracket-wire anchors, doc-to-code witnesses, and the ADR facts-block parser (golden ids, Hoare obligations, verified_by evidence).
What you get
- Relation vocabulary:
CorrespondenceRelationKind—Documents,ImplementsObligation,Related,Constrains,Normates,VerifiedBy— withtoWire/tryParse; wire literals inKind, provenance inProvenance, ADR lifecycle tags - Forward map shapes:
AdrReference,ForwardDoc,ForwardMapResult,ExplicitCodeAnchor BracketWire— bracket anchors inside doc prose:build/tryParseBracket— theF:/M:/L:profile (file, optional line span or member key), round-trippablebuildCodeEdit— canonical[Kind:CodeEdit; File:…; Member:…; Line:…]wire
- Doc-to-code witnesses:
DocToCodeWitness,CorrespondenceResult, andDocToCodeWitnessBridge.tryToRelationSpec(member-keyed witnesses → relation spec) - ADR facts (
AdrFacts):AdrFactsParser.tryParse/containsFactsBlockoverfacts: … end factsblocks —GoldenIds,HoareObligations (id, precondition, transform, postcondition), well-formedness ids,VerifiedByrows HoareObligationCatalog— fixed pilot catalog (OB-H1..H3,WF-OB1..OB2) withisRegistered/validateObligation/validateWellFormedness
Quick start
open AIGuiders.Platform.Modeling.Documentation.Correspondence
// Typed relation kinds <-> wire tokens
CorrespondenceRelationKind.toWire Normates // "normates"
CorrespondenceRelationKind.tryParse "verified_by" // Some VerifiedBy
// Bracket anchors for ADR prose: build once, round-trip later
let anchor = BracketWire.build "src/App.fs" (Some 10) (Some 24) None
BracketWire.tryParseBracket anchor // Some ("src/App.fs", Some 10, Some 24, None)
// Machine-facing ADR facts block
let adr =
"# GUIDERS-FSHARP-ADR-0007: title\n\nfacts:\n golden: GS-1\n hoare:\n - OB-H1: { pre } transform { post }\nend facts\n"
match AdrFactsParser.tryParse "docs/adr/GUIDERS-FSHARP-ADR-0007.md" adr with
| Some facts ->
printfn "%d golden id(s), %d obligation(s)" facts.GoldenIds.Length facts.HoareObligations.Length
| None -> printfn "no facts block"
Problem
- Docs drift from code silently: the ADR says one thing, the code does another, and nothing fails.
- Doc-to-code links live as free-text mentions, so tooling can neither navigate nor verify them — "this ADR is implemented" stays unproven prose.
Solution
- Correspondence becomes typed data: relation kinds, witness rows, and machine-parsable
facts:blocks (golden ids, Hoare obligations, evidence) — checks can fail builds instead of disappointing readers. - Pure model only: workspace scanning, resolve and reverse-scan IO are Execution-side consumers of these shapes.
- Correspondence SSOT of the Guiders federation — extraction per GUIDERS-FSHARP-ADR-0003 · family map ADR-0028; facts blocks per GUIDERS-FSHARP-ADR-0006; obligation catalog per GUIDERS-FSHARP-ADR-0007.
When not to use
- No workspace scanning or file IO here — records and pure parsers only; resolve/reverse scan live in Execution consumers.
tryParseBracketextractsF:/M:/L:keys only;S:/K:keys are recognized vocabulary but not returned.- The Hoare catalog is a fixed pilot list (five ids from GUIDERS-FSHARP-ADR-0007), not an extensible registry; the witness bridge maps member-keyed witnesses only — line-only anchors map to
None.
Learn more
- GUIDERS-FSHARP-ADR-0003 — Model extraction matrix
- GUIDERS-FSHARP-ADR-0006 — ADR lifecycle: verifiable facts
- GUIDERS-FSHARP-ADR-0007 — Open build SSOT: FTC + Correspondence
- ADR-0028 — Documentation guild: Correspondence family map
MIT · Source & issues · part of the Guiders federation
| Product | Versions 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.
-
net10.0
- AIGuiders.Platform.Modeling.LanguageIntelligence.Relations (>= 0.1.0)
- AIGuiders.Platform.Modeling.Paths (>= 0.1.0)
- FSharp.Core (>= 10.1.401)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AIGuiders.Platform.Modeling.Documentation.Correspondence:
| Package | Downloads |
|---|---|
|
AIGuiders.Platform.Modeling.Ide.Session
IDE solution session graph IR — projects, capabilities, lifecycle, validation (F# SSOT). |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 136 | 10/24/2026 |