Skip to content
CAI
Software that uses CAICheck a score

Smaug123/WoofWare.Myriad

57.9

Adequate · 15 November 2026

102k

lines of production code

F#

primary language

3

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

ConsumePlugin adds argument negation, capturing mocks, and catamorphism generation

The ConsumePlugin now supports the \\[\<ArgumentNegateWithPrefix\>\]\ attribute, allowing boolean and flag arguments to be explicitly negated via a \--no-\ prefix. It also introduces the \\[\<GenerateCapturingMock\>\]\ attribute, which generates mock implementations that record all method calls for verification, and the \\[\<CreateCatamorphism\>\]\ attribute, which generates catamorphism functions for discriminated unions.

ConsumePlugin · high confidence

Initial release of WoofWare.Myriad.Plugins.Attributes with argument parsing, mocking, and HTTP client generators

This change introduces the WoofWare.Myriad.Plugins.Attributes package (version 3.11), which provides a suite of source-generation attributes for F\# projects. The package includes ArgParser attributes (such as ArgParser, PositionalArgs, ArgumentDefaultValue, and ArgumentHelpText) to generate command-line argument parsers from record types, and RestEase-compatible attributes (Get, Post, BasePath, etc.) to generate HTTP clients from interfaces. It also adds attributes for generating mocks (GenerateMock, GenerateCapturingMock), JSON serialization (JsonSerialize, JsonParse), and catamorphisms (CreateCatamorphism). The diff establishes the public API surface and includes tests to validate the assembly's API stability and versioning.

WoofWare.Myriad.Plugins.Attributes · high confidence

Introduce source generators for argument parsing, HTTP clients, mocks, and catamorphisms

This release adds a suite of new source generators to the WoofWare.Myriad.Plugins library. The ArgParserGenerator creates type-safe command-line argument parsers from F\# types, featuring a self-contained, embedded runtime kernel that ensures generated code is independent of external runtime dependencies and supports features like environment variable defaults, help text, and complex nested structures. The HttpClientGenerator produces RestEase-compatible HTTP client implementations, handling path/query parameters, body serialization, and header management. Additionally, the CapturingInterfaceMockGenerator creates mock objects that record method calls and arguments for testing, the CataGenerator generates catamorphisms for discriminated unions, and the SwaggerClientGenerator provides OpenAPI 3 client scaffolding.

WoofWare.Myriad.Plugins · high confidence

Removals

Removal of UsePlugin entry point

The main entry point file for the UsePlugin project has been removed, eliminating the sample code that demonstrated the usage of RecordType and its Short variant.

UsePlugin · high confidence

Removal of the RemoveOptionsGenerator plugin

The MyriadPlugin no longer includes the RemoveOptionsGenerator, which previously generated record types with optional fields stripped. This capability has been removed from the product.

MyriadPlugin · high confidence

Behavioural changes

Migration to .NET 9 and solution restructuring

The project has upgraded its target framework from .NET 7 to .NET 9, reflected in the updated \global.json\ SDK version (9.0.100) and the Nix flake configuration. The legacy \.sln\ file has been replaced with a new \.slnx\ solution file, and the project structure has been reorganized (e.g., \MyriadPlugin\ renamed to \WoofWare.Myriad.Plugins\). Additionally, the dependency on \Nerdbank.GitVersioning\ has been bumped to version 3.10.94.

(repo-wide) · high confidence

Test coverage

Added comprehensive test suite for the ArgParser plugin; Added property-based tests for JSON serialization roundtrips; Added test coverage for Swagger client generation and OpenAPI 3 parsing; Added test suite for Myriad.Plugins; Added tests for JSON parsing capabilities; Added tests for generated HTTP client behavior; Added tests for the TestCapturingMockGenerator; Added tests for the TestMockGenerator plugin; Added tests for the catamorphism generator; Added validation for plugin dependency closure in packaged builds.

Dependencies

Migrate Nix dependency management from shell script to JSON lockfile

The Nix build configuration has been simplified by replacing the manual \nix/deps.nix\ file and the \nix/fetchDeps.sh\ shell script with a new \nix/deps.json\ lockfile. This change consolidates the dependency definitions for packages such as ApiSurface (5.0.10), fantomas (7.0.6), and Microsoft.NET.Test.Sdk (18.9.0) into a single JSON structure, removing the previous shell-based restoration logic.

nix · high confidence

Upgrade to .NET 9 and update core dependencies

The project has been upgraded to target .NET 9.0, replacing the previous .NET 7.0 target. This change is accompanied by significant dependency updates, including upgrading the test framework from NUnit 3 to NUnit 4, updating the test SDK to version 18.9.0, and bumping FsCheck to 3.4.0 and FsUnit to 7.1.1. The main plugin library now relies on Myriad.Core 0.8.3 and WoofWare.Whippet.Fantomas 0.7.3, while the attributes package pins FSharp.Core to 4.3.4.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 58.

Lenses

  • Code Health 47
  • Architecture 89
  • Maturity 57
  • Readiness 68
  • Security 80
  • Performance 100

Changes since last survey

  • 300 commits — 291 feature/other, 9 fixes

By area

  • (root) — 139 commits
  • .github/workflows — 48 commits
  • WoofWare.Myriad.Plugins.Attributes/Test — 24 commits
  • .config/dotnet-tools.json — 23 commits
  • WoofWare.Myriad.Plugins.Test/WoofWare.Myriad.Plugins.Test.fsproj — 13 commits
  • WoofWare.Myriad.Plugins.Test/TestArgParser — 7 commits
  • ConsumePlugin/GeneratedArgParserNegationTests.fs — 5 commits
  • ConsumePlugin/ConsumePlugin.fsproj — 4 commits
  • WoofWare.Myriad.Plugins/ArgParserGenerator.fs — 4 commits
  • ConsumePlugin/Args.fs — 3 commits
  • ConsumePlugin/Generated2SwaggerGitea.fs — 3 commits
  • ConsumePlugin/GeneratedJson.fs — 3 commits
  • WoofWare.Myriad.Plugins.Test/TestSwagger — 3 commits
  • WoofWare.Myriad.Plugins/WoofWare.Myriad.Plugins.fsproj — 3 commits
  • ConsumePlugin/GeneratedRestClient.fs — 2 commits
  • WoofWare.Myriad.Plugins.Test/TestHttpClient — 2 commits
  • WoofWare.Myriad.Plugins/Swagger.fs — 2 commits
  • ConsumePlugin/DuArgs.fs — 1 commit
  • ConsumePlugin/GeneratedCapturingMock.fs — 1 commit
  • ConsumePlugin/GeneratedMock.fs — 1 commit

Notable commits

  • fix: Add characterization tests for known arg-parser bugs (#564)
  • fix: Fix NuGet packaging (#287)
  • fix: Fix README (#523)
  • fix: Fix flake update after recent nixpkgs bump (#318)
  • fix: Fix the dep-updating workflow (#502)
  • fix: Fix the incorrect rendering of the Patch attribute (#375)
  • fix: Fix treatment of Patch (#374)
  • fix: Revert "Some fixes to nullability (#365)" (#366)
  • fix: Some fixes to nullability (#365)
  • change: Add AGENTS.md file (#595)
  • change: Add IAsyncDisposable support in mock generators (#456)
  • change: Add JSON headers automatically to Body in HTTP client (#395)
  • change: Add --no- prefix for bools (#455)
  • change: Add exhaustive reference semantics for positional leaves (test-only) (#575)
  • change: Add flake bumper (#492)
  • change: Add no-attribute support for CreateCatamorphism (#461)
  • change: Add swagger v3 types and remove v2 types from surface (#390)
  • change: Add the structural resolver: case selection plus positional routing (#578)
  • change: Add the type-erased arg-parser runtime kernel with property tests (#566)
  • change: Add to envrc (#407)
  • …and 280 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

Smaug123/WoofWare.Myriad was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 9444d29cd18f80e7b76f55396d10610032b8dd7b — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.