Skip to content
CAI
Software that uses CAICheck a score

mandel-macaque/memento

60.5

Adequate · 23 September 2026

3k

lines of production code

F#

with TypeScript

3

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Git Memento is a Git extension and CLI tool designed to maintain AI-assisted development audit trails by automatically attaching session summaries to commits. It provides commands for managing, auditing, and synchronizing these notes, while also offering a shell interface for managing local coding sessions. The system includes a TypeScript-based renderer for GitHub comments and PowerShell scripts for release validation.

Features

Introduce core CLI commands and validation tools for Git Memento

Users can now run the \doctor\ command to validate their Git Memento configuration, including checks for provider settings, remote notes, and rewrite rules. The \audit\ command scans commits to identify missing or malformed session notes. A new \AiProvider\ module enables the CLI to interact with external AI services to summarize sessions, while \ProcessRunner\ provides a robust way to execute external commands. These changes add the foundational tooling for managing and verifying the state of session notes in Git.

git-memento · high confidence

Introduce git-memento for AI-assisted development audit trails

The repository now includes the core components for git-memento, a Git extension that records AI coding sessions as commit notes. This includes the TypeScript-based note comment renderer (src/note-comment-renderer.ts), a reusable GitHub Action (action.yml) for posting commit comments and enforcing note coverage in CI, and a cross-platform installer script (install.sh) that downloads and installs the CLI. The project is configured with a TypeScript build (tsconfig.json) and a solution file (GitMemento.slnx) that groups the CLI and test projects.

(repo-wide) · high confidence

Introduce memento commands for commit, amend, audit, and notes management

The GitMemento CLI now supports a comprehensive set of commands for managing session notes and audit trails. Users can attach session summaries to new commits with \git memento commit\, or update existing commits with \git memento amend\ (including support for \--summary-skill\ and multiple \-m\ messages). An \audit\ command has been added to scan for missing or invalid notes, and \doctor\ is available for general repository health checks. The tool also introduces \push\ and \notes-sync\ commands to handle remote synchronization of notes, alongside \notes-carry\ to preserve notes across history rewrites. Configuration is managed via \git memento init\ to select an AI provider.

src/GitMemento.Cli · high confidence

Behavioural changes

Added codex-cli-adapter.sh for session management

A new shell script, tools/codex-cli-adapter.sh, has been added to provide a command-line interface for managing Codex sessions. The script supports 'sessions get' to retrieve a specific session's data (including title and messages) and 'sessions list' to display the 50 most recent sessions. This introduces a behavioral change by adding new CLI capabilities for interacting with local session files.

tools · high confidence

Extract release publish checks into tested PowerShell scripts

Release validation and packaging logic has been extracted into a set of PowerShell scripts and a shared module. The new \ReleaseArtifacts.psm1\ module provides functions to validate NativeAOT output, create release archives (zip or tar.gz), and verify archive contents. Specific entry-point scripts (\compute-release-metadata.ps1\, \package-artifact.ps1\, \validate-archive-contents.ps1\, \validate-nativeaot-output.ps1\) now handle distinct release steps, improving maintainability and testability of the release process.

scripts · high confidence

Migrate note-comment-renderer to TypeScript

The note-comment-renderer module has been migrated from JavaScript to TypeScript, introducing explicit type definitions for parsed notes, headings, and line ranges. This change improves type safety and maintainability for the component responsible for rendering note comments and extracting session data from markdown content.

dist, src · high confidence

Test coverage

Added automated tests for the install script's PATH handling; Added test coverage for GitMemento CLI argument parsing and integration scenarios; Added tests for release artifact validation; Added unit tests for the note-comment renderer.

Dependencies

Initial project setup with .NET 10 and TypeScript tooling

The repository is initialized with build configurations for both a .NET 10.0 CLI application and a TypeScript-based GitHub Action. The .NET project references Serilog for logging, while the Node.js side manages dependencies for markdown-it and TypeScript compilation. Test coverage is established using xUnit and the .NET Test SDK.

(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 58 → 60 (+2.9)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 77 → 64 (-12.5)
  • Architecture 100 → 96 (-4.1)
  • Maturity 55 → 59 (+4.1)
  • Readiness 50 → 56 (+5.9)
  • Security 66 → 69 (+3.5)

Resolved (43)

  • Duplicated block (10 lines × 2) (src/GitMemento.Cli/GitService.fs)
  • Duplicated block (12 lines × 2) (src/GitMemento.Cli/AmendWorkflow.fs)
  • Duplicated block (12 lines × 2) (src/GitMemento.Cli/CliArgs.fs)
  • Duplicated block (12 lines × 2) (src/GitMemento.Cli/CommitWorkflow.fs)
  • Duplicated block (12 lines × 2) (src/GitMemento.Cli/CommitWorkflow.fs)
  • Duplicated block (12 lines × 2) (src/GitMemento.Cli/GitService.fs)
  • Duplicated block (12 lines × 2) (src/GitMemento.Cli/Program.fs)
  • Duplicated block (12 lines × 2) (src/GitMemento.Cli/Program.fs)
  • Duplicated block (7 lines × 3) (src/GitMemento.Cli/GitService.fs)
  • Duplicated block (9 lines × 2) (src/GitMemento.Cli/CommitWorkflow.fs)
  • Duplicated block (9 lines × 2) (src/GitMemento.Cli/GitService.fs)
  • High CVE: [GHSA redacted] (package-lock.json)
  • 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 23 more

New (69)

  • Duplicated block (10 lines × 2) (src/GitMemento.Cli/GitService.fs)
  • Duplicated block (10–12 lines × 2) (src/GitMemento.Cli/AmendWorkflow.fs)
  • Duplicated block (11 lines × 2) (src/GitMemento.Cli/AmendWorkflow.fs)
  • Duplicated block (11 lines × 2) (src/GitMemento.Cli/Program.fs)
  • Duplicated block (11 lines × 2) (src/GitMemento.Cli/Program.fs)
  • Duplicated block (21–22 lines × 2) (src/GitMemento.Cli/AmendWorkflow.fs)
  • Duplicated block (23 lines × 2) (src/GitMemento.Cli/AmendWorkflow.fs)
  • Duplicated block (53 lines × 2) (src/GitMemento.Cli/CliArgs.fs)
  • Duplicated block (7 lines × 2) (src/GitMemento.Cli/AmendWorkflow.fs)
  • Duplicated block (7 lines × 2) (src/GitMemento.Cli/PushWorkflow.fs)
  • Duplicated block (7 lines × 3) (src/GitMemento.Cli/GitService.fs)
  • Duplicated block (8 lines × 2) (src/GitMemento.Cli/GitService.fs)
  • Duplicated block (9 lines × 2) (src/GitMemento.Cli/GitService.fs)
  • High CVE: [GHSA redacted] (package-lock.json)
  • 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 49 more

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 edges

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

Survey your own repository

mandel-macaque/memento 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 23 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 8543d652e3decb332a02f7566a1cad2bf4f16461 — 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-955b9cee9818.