Skip to content
CAI
Software that uses CAICheck a score

nikivdev/code

60.5

Adequate · 27 September 2026

143.6k

lines of production code

Rust

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add Python-based swarm demo scripts and Python dependency lockfile

Introduced a new Python script, \flow.py\, which demonstrates various AI agent swarm workflows (single, sequential, concurrent, hierarchical, and rearrange) using the \swarms\ library. Additionally, added a \uv.lock\ file to pin Python dependencies for the project's Python tooling.

(repo-wide) · high confidence

Add SeqClient for local socket-based RPC communication

The seq\_client crate now provides a Rust client for communicating with the Seq daemon via a Unix domain socket. It includes an RpcRequest/RpcResponse protocol, connection management with optional timeouts, and convenience methods for common actions such as pinging the service, retrieving app state, running macros, and performing mouse/scroll interactions.

_crates/seq\client · high confidence

Add seq-everruns bridge crate for tool execution and tracing

A new \seq-everruns-bridge\ crate has been added to the codebase, introducing a bridge layer that translates internal tool calls into requests for the \seq\_client\ and handles the resulting responses. This includes logic for parsing tool call requests, mapping tool names to specific sequence operations, and executing those operations via the Seq client. Additionally, the crate introduces a \maple\ module that provides OpenTelemetry-style span generation and configuration for exporting trace data to a Maple ingestion endpoint, enabling observability for these bridge operations.

_crates/seq\_everruns\bridge · high confidence

Added FFI boundary benchmarks for Rust and Moon

New benchmarking tools have been introduced to measure the performance of FFI (Foreign Function Interface) boundaries. For Rust, a new binary \rust\_boundary\_bench\ and supporting library code in \bench/ffi\_host\_boundary\ provide microbenchmarks comparing inline functions, standard function calls, and external C-style calls. For Moon, a new \moon\_ffi\_boundary\ module and associated configuration files (\moon.mod.json\, \moon.pkg.template.json\) offer equivalent benchmarks, allowing users to compare the performance of Moon's FFI calls against native Moon code and Rust's FFI overhead.

_bench, bench/ffi\_host\boundary · medium confidence

Added Flow AI task harnesses for benchmarking, validation, and release preflight

New AI task scripts have been added to the \.ai/tasks/flow\ directory to support the external CLI and push policy workflows. This includes a benchmark harness (\bench-cli\) that measures latency for high-frequency CLI entry points using \hyperfine\ or \/usr/bin/time\; a development check (\dev-check\) that runs \cargo check\, targeted Rust tests, and a CLI help smoke test; a PR-ready gate (\pr-ready\) that enforces documentation parity and \.gitignore\ hygiene; a regression smoke test (\regression-smoke\) that validates task discovery and execution in a temporary project; a minimal noop task (\noop\) for runtime overhead benchmarking; and a release preflight (\release-preflight\) that builds the release binary and runs regression smoke checks. Each task is configured with \moonbitlang/async\ 0.16.6 and \moonbitlang/x\ 0.4.40 dependencies.

.ai/tasks · high confidence

Added native local-domains daemon for macOS

Introduced a new native C++ daemon (domainsd-cpp) that provides local domain routing on macOS without requiring Docker. The change adds the daemon source, a macOS launchd installer script, and an uninstaller. The daemon handles HTTP/1.1 host-based routing, WebSocket passthrough, connection pooling, and overload shedding. It supports runtime tuning via CLI flags and environment variables, and includes a health check endpoint at /\_flow/domains/health.

tools · high confidence

Added test extension demonstrating pi-mono extensibility

A new test extension has been added to demonstrate the extensibility of the pi-mono framework. This extension registers a custom 'counter' tool with actions for get, increment, decrement, and reset, and implements event hooks for tool calls and turn ends. It also registers a custom 'count' command and handles session start events to reset the counter.

.pi · high confidence

Introduce Rust bindings for the OpenTUI rendering engine

The opentui-lite crate now provides a Rust interface to the OpenTUI rendering engine, exposing functions to create and manage renderers, set up terminals, and perform rendering operations. This enables developers to integrate OpenTUI's rendering capabilities directly into Rust-based applications.

crates/opentui-lite · high confidence

Introduce activity logging, AI session management, and agent integration

The application now tracks user activity through a structured activity log, enabling better observability of user actions. Additionally, the system introduces comprehensive AI session management for providers like Claude, Codex, and Cursor, allowing users to list, save, resume, and copy session history. The platform also integrates with external 'gen' agents, supporting fuzzy search and execution of AI agents, while providing setup utilities for autonomous agent workflows.

src · high confidence

New scripts for agent switching, CI runner management, and performance benchmarking

Added a suite of new scripts in the \scripts/\ directory to support new capabilities and operational workflows. This includes \agents-switch.sh\ for managing agent profiles, \ci\_blacksmith.py\ and \ci\_host\_runner.py\ for managing CI runner configurations and self-hosted GitHub Actions runners, and several Python benchmarking scripts (\bench-cli-startup.py\, \bench-ai-runtime.py\, \bench-moonbit-rust-ffi.py\) to measure CLI startup and runtime performance. Additionally, helper scripts like \check\_cli\_startup\_thresholds.py\ and \check\_release\_tag\_version.py\ were added to enforce performance and release standards.

scripts · high confidence

New secret scanning capability in flow\_commit\_scan

Added a new crate, crates/flow\_commit\_scan, which introduces secret scanning functionality. This includes a comprehensive set of regex patterns to detect various API keys, tokens, and credentials (such as AWS, GitHub, Slack, Stripe, OpenAI, and generic secrets). The implementation includes logic to filter out false positives by checking for environment variable references, identifier patterns, and specific ignore markers.

_crates/flow\_commit\scan · high confidence

New vendor optimization toolkit and CI checks for vendored dependencies

A new vendor optimization toolkit has been added to the scripts/vendor directory, providing a comprehensive workflow for managing vendored Rust crates. This includes scripts for materializing and syncing crates (materialize-all.sh, sync-all.sh, sync-crate.sh, inhouse-crate.sh), a strict audit tool (rough\_edges\_audit.py) that checks for warning hygiene regressions and structural invariants, and a benchmarking script (bench\_iteration.py) to track compile-iteration timings. The toolkit also introduces a check for uppercase README filenames in CI (check-readme-case.sh) and a list of important crates (important-crates.txt) to prioritize updates. These changes enable deterministic, auditable, and optimized management of vendored dependencies.

scripts/vendor · high confidence

Behavioural changes

The .ai/repos directory now contains symbolic links to the local repositories for dtolnay/anyhow, rust-lang/crates.io-index, and tokio-rs/tokio. This change enhances the dependency management system by linking these specific Rust ecosystem components, enabling the tool to recognize and manage these dependencies directly.

.ai/repos · medium confidence

Refactor ai\_taskd\_client into a dedicated crate

The ai\_taskd\_client binary is now implemented as a separate crate, with the main.rs file serving as a thin wrapper that includes the actual implementation from the binary's source file. This change improves code organization by isolating the client's logic into its own crate, potentially enabling better dependency management and build optimization for hot paths.

_crates/ai\_taskd\client · low confidence

Test coverage

Added e2e tests for managed dependencies and log server

Added two new end-to-end test scripts: one that validates running tasks with managed dependencies using a fake \flox\ shim, and another that tests the log ingestion server's health check, log ingestion, and query endpoints.

tests · high confidence

Dependencies

Major Rust dependency and workspace restructuring

The project has been restructured into a Cargo workspace containing multiple new crates (ai\_taskd\_client, flow\_commit\_scan, opentui-lite, seq\_client, seq\_everruns\_bridge) and a benchmark target (ffi\_host\_boundary). Key dependencies have been significantly updated or replaced: axum was upgraded from 0.7 to 0.8, reqwest from 0.11 to 0.13, ratatui from 0.27 to 0.30, and toml from 0.8 to 1. Additionally, numerous new dependencies were added including rusqlite, notify, shell-words, and various cryptographic libraries (sha2, hmac, x25519-dalek). The Cargo.lock was updated to reflect these changes, and several previously external crates (axum, reqwest, ratatui, etc.) are now vendored locally.

(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 41 → 61 (+19.1)
  • Rubric changed (rubric-2026.08.15 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 94 → 77 (-17.1)
  • Architecture 96 → 84 (-11.6)
  • Maturity 66 → 60 (-5.8)
  • Readiness 25 → 51 (+26.0)
  • Security 33 → 68 (+34.5)
  • Domain Modelling 100 (new)
  • Event Sourcing 100 (new)

Resolved (50)

  • Dimension evaluation failed
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • …and 30 more

New (1187)

  • Change coupling: cli.rs ↔ config.rs (src/cli.rs)
  • ClassTooLong: Commands (src/cli.rs)
  • Critical CVE: [GHSA redacted] (uv.lock)
  • Critical CVE: [GHSA redacted] (uv.lock)
  • Duplicated block (10 lines × 2) (crates/seq_everruns_bridge/src/maple.rs)
  • Duplicated block (10 lines × 2) (src/ai.rs)
  • Duplicated block (10 lines × 2) (src/ai.rs)
  • Duplicated block (10 lines × 2) (src/ai.rs)
  • Duplicated block (10 lines × 2) (src/code.rs)
  • Duplicated block (10 lines × 2) (src/code.rs)
  • Duplicated block (10 lines × 2) (src/codex_session_docs.rs)
  • Duplicated block (10 lines × 2) (src/codex_skill_eval.rs)
  • Duplicated block (10 lines × 2) (src/commit.rs)
  • Duplicated block (10 lines × 2) (src/commit.rs)
  • Duplicated block (10 lines × 2) (src/commit.rs)
  • Duplicated block (10 lines × 2) (src/commit.rs)
  • Duplicated block (10 lines × 2) (src/commit.rs)
  • Duplicated block (10 lines × 2) (src/commit.rs)
  • Duplicated block (10 lines × 2) (src/deploy.rs)
  • Duplicated block (10 lines × 2) (src/deploy_setup.rs)
  • …and 1167 more

Architecture

  • Containers 0 added · 0 removed · contexts 1 added · 0 removed · edges 0 added · 0 removed

Added bounded contexts (1)

  • flow

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

Survey your own repository

nikivdev/code 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 27 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 a747e741ae92c09071d0ae946ab48488adcff1ce — 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-7c1cb6328e11.