Skip to main content

More commands#

The rest of faf-cli: history, benchmarks, test audits, and small tools. Each one reads project.faf (found the way every command finds it) unless it says otherwise. What each one writes is in What each command writes.

log#

The project.faf score at every commit that changed it.

Three commits from faf-cli’s own history: the score, the change from the commit before, the date, the commit and the tier. It reads git history only. Nothing is written.

bench#

Measures how well an AI answers questions about your project without project.faf, then with it. The questions come from your populated slots, so project.faf is the answer key, and grading is mechanical: no judge.

Run it twice in fresh AI sessions, saving the answers as JSON ({"1": "...", "2": "..."}):

  1. Cold: the AI answers from the repository without reading project.faf, CLAUDE.md, AGENTS.md or any .faf file. faf bench grade cold.json --cold --tokens <used> --model <name>
  2. With faf: the AI reads project.faf first. faf bench grade faf.json --faf --tokens <used> --model <name>

With both runs graded, faf prints the pair: cold against with-faf, with the tokens each used. The runs are kept in .faf-bench.json. --submit sends the paired receipt to the public bench ledger (--endpoint to change where).

wjttc#

Audits a test suite by tier: Brake, Engine, Aero, Tyre and Pit. A test takes its tier from a marker in its own name or in a parent block’s name, such as describe('BRAKE: …'). It reads TypeScript and JavaScript, Python, Rust, Go and Zig tests.

Blocks with modifiers count too (describe.skipIf(…), test.each(…), it.only). fixtures/ and __fixtures__/ folders are test data and are skipped.

context#

The filled slots as slot: value lines, ready to paste into an AI prompt.

Empty and slotignored slots are left out.

convert#

Prints project.faf as YAML, or as JSON with --json. Nothing is written.

Finds slots and file formats by name.

share#

A faf.one/share link that carries your project.faf. The link is built on your machine, and nothing is sent anywhere.

conductor#

Moves context between project.faf and a Conductor config.

import takes name, description and language from a .json or .yaml file, or from the first files that have them in a folder. It merges them into an existing project.faf, or creates one.

clear#

Deletes the temporary clones faf git <url> leaves behind (faf-git-* folders in your system’s temp folder).

info#

The faf-cli version, the scoring kernel version and the IANA media type.

demo#

A walkthrough on a sample project in a temporary folder of its own, removed at the end. Your project is never touched.