Skip to content
CAI
Software that uses CAICheck a score

cantino/mcfly

47.2

Weak · 14 November 2026

5.2k

lines of production code

Rust

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

McFly is a shell history assistant that replaces default terminal history behavior with a fuzzy-search interface and neural-network-based suggestions. It integrates with Bash, Zsh, Fish, and PowerShell to track commands, rank results using features like age and directory context, and manage history synchronization. The system includes shell initialization scripts, cross-platform binary distribution, and configuration via TOML files.

Features

Initial release of McFly shell history assistant

Introduces McFly, a shell history search and suggestion tool that replaces the default terminal history behavior. The application provides a fuzzy-search interface with configurable key schemes (Emacs and Vim), result sorting (by rank or recency), and directory filtering. It supports Bash, Zsh, Fish, and PowerShell, automatically detecting shell-specific history formats and managing history file synchronization. The tool includes a neural-network-based suggestion engine that weights results by factors such as command age, length, and directory context, and offers commands to dump history in JSON or CSV formats, view usage statistics, and train the suggestion model.

src · high confidence

McFly v0.9.4 release notes and shell initialization scripts

This change introduces the McFly v0.9.4 changelog, which highlights case-sensitive input highlighting, Fish shell fixes, improved dark mode selection visibility, and an upgrade to the Rust 2024 edition. It also adds the core shell initialization scripts for Bash, Zsh, Fish, and PowerShell, which integrate McFly into the user's shell environment by handling history tracking, command search bindings (such as Ctrl+R), and session management.

(repo-wide) · high confidence

Behavioural changes

Homebrew formula deprecated in favor of core repository

The custom Homebrew tap formula for McFly (v0.9.4) is now deprecated and will display a warning directing users to uninstall the tap and install the package from the core Homebrew repository instead. This change ensures users migrate to the official Homebrew core distribution, simplifying maintenance and ensuring they receive updates through the standard Homebrew channel.

pkg · high confidence

Migrate CI infrastructure from Travis CI to GitHub Actions

The project has replaced its Travis CI-based build and deployment pipeline with a new set of shell scripts designed for GitHub Actions. This change introduces a custom \install.sh\ script for end-users to install the binary, which now supports x86 builds on Apple M1 hardware and fetches release tags without requiring \jq\. The CI scripts (\build.bash\, \test.bash\, \before\_deploy.sh\) utilize the \cross\ tool for cross-compilation and package the binary along with shell completions for Bash, Zsh, and Fish into release archives.

ci · high confidence

The history search mechanism now uses a neural network (via a custom SQLite scalar function \nn\_rank\) to rank results based on ten distinct features (such as age, length, exit code, and directory overlap) instead of previous heuristics. This change requires an automatic database schema migration (upgrading to version 3) which adds a \selected\_commands\ table to track user selections and a \selected\ column to the \commands\ table, ensuring backward compatibility for existing users.

src/history · high confidence

Dependencies

McFly v0.9.4 release with Rust 2024 edition and dependency updates

The product has been renamed to McFly and updated to version 0.9.4, migrating the codebase to the Rust 2024 edition. This release updates core dependencies including clap to v4, crossterm to v0.28, and rusqlite to v0.38, while adding support for configuration via TOML files and enabling the sqlite-bundled feature by default.

(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

Score

  • CAI 54 → 47 (-7.2)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 67 → 54 (-12.2)
  • Architecture 100 → 100 (+0.0)
  • Maturity 50 → 50 (+0.0)
  • Readiness 48 → 48 (+0.2)
  • Security 62 → 40 (-22.3)

Resolved (4)

  • Duplicated block (6 lines × 2) (src/settings.rs)
  • Duplicated block (6 lines × 7) (src/settings.rs)
  • Duplicated block (6 lines × 7) (src/settings.rs)
  • No ADRs found

New (28)

  • Duplicated block (23 lines × 3) (src/trainer.rs)
  • Duplicated block (4–9 lines × 3) (src/trainer.rs)
  • Duplicated block (5 lines × 15) (src/settings.rs)
  • Duplicated block (5 lines × 3) (src/settings.rs)
  • Edited copy of a member (14 corresponding lines) (src/history/history.rs)
  • Edited copy of a member (17 corresponding lines) (src/history/history.rs)
  • Low coverage: src/cli.rs (src/cli.rs)
  • Low coverage: src/command_input.rs (src/command_input.rs)
  • Low coverage: src/dumper.rs (src/dumper.rs)
  • Low coverage: src/fake_typer.rs (src/fake_typer.rs)
  • Low coverage: src/history/db_extensions.rs (src/history/db_extensions.rs)
  • Low coverage: src/history/history.rs (src/history/history.rs)
  • Low coverage: src/history/schema.rs (src/history/schema.rs)
  • Low coverage: src/history_cleaner.rs (src/history_cleaner.rs)
  • Low coverage: src/init.rs (src/init.rs)
  • Low coverage: src/interface.rs (src/interface.rs)
  • Low coverage: src/main.rs (src/main.rs)
  • Low coverage: src/network.rs (src/network.rs)
  • Low coverage: src/node.rs (src/node.rs)
  • Low coverage: src/settings.rs (src/settings.rs)
  • …and 8 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

cantino/mcfly 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 14 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 6eed8ebd879c257249f1f4e07b8515edb1e9e395 — 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-e1a3b69fc8ee.