Skip to content
CAI
Software that uses CAICheck a score

CaptnCodr/Fli

73.7

Strong · 24 September 2026

682

lines of production code

F#

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Fli is a F\# library that provides a domain-specific language for executing shell commands and system processes using computation expressions. It supports multiple shells (CMD, PowerShell, WSL, etc.) and offers features for configuring execution contexts, handling input/output streams, and managing process cancellation. The system includes comprehensive test coverage for cross-platform scenarios and has been updated to support .NET 9 and 10.

Features

Introduce Fli library for running CLI commands and processes in F\# computation-expression style

The Fli library is introduced, providing a domain-specific language for executing shell commands and system processes. Users can now use computation expressions to configure and run shells (CMD, PowerShell, WSL, SH, BASH, ZSH) and executables with support for input, output, working directory, environment variables, encoding, cancellation, and window style. The library returns an Output object containing the process ID, text, exit code, and error, and includes helper functions to throw exceptions on non-zero exit codes or custom conditions.

src/Fli · high confidence

Introduce Fli solution and install script

Added the Fli solution file (Fli.sln) which defines the Fli and Fli.Tests projects, along with an install.ps1 script that adds a binding redirect for the project name.

src · high confidence

Behavioural changes

Release v1.1001.0 and v1.1000.0 with new output and cancellation features

The release notes document two new capabilities: the ability to write command output to a stream (e.g., for logging or printing) and the addition of a \cancellationToken\ parameter to \executeAsync\ for better process cancellation control. Additionally, the \Output.Text\ type has been changed to a string option, and encoding has been removed from the output.

(repo-wide) · high confidence

Test coverage

Added comprehensive tests for the ExecContext command configuration and execution; Added test project dependencies; Added unit tests for shell command configuration and execution.

Dependencies

Upgrade to .NET 10 and .NET 9 support

The project dependencies and build configuration have been updated to support .NET 10 and .NET 9, alongside .NET Standard 2.0/2.1. This includes updating the paket.dependencies and paket.lock files to resolve packages for these newer frameworks, and modifying the Fli and Fli.Tests project files to target net9.0 and net10.0.

(dependencies) · high confidence

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

How this codebase got here

This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.

Score

  • CAI 67 → 74 (+6.7)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 100 (new)
  • Architecture 69 → 87 (+17.6)
  • Maturity 66 → 66 (+0.0)
  • Readiness 63 → 67 (+3.8)
  • Security 90 → 98 (+7.8)
  • Domain Modelling 100 (new)

Resolved (7)

  • Dependency hygiene not measured — no packages were read
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • No exposed public API
  • Test reliability not included
  • The Usage examples show only one command type (Shell CMD, Exec), but the architecture docs outline Output, printing fields, Command.toString, and builder operations. (README.md)
  • complexity unreadable for .fs — churn × complexity hotspots could not be measured

New (7)

  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • Medium: security finding (details withheld)
  • Medium: security finding (details withheld)
  • No dependency advisory monitoring
  • Scattered collaborators
  • Workflow token permissions not restricted

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

Survey your own repository

CaptnCodr/Fli 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 24 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit fd91d7eb0b90473be3385dff6bca0d87b017d8c6 — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-923689c465cf.