GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Home
  • Blog
  • GitHub
  • Docs
  • Links
  • Sponsor
  • Privacy
  • Terms

This view

  • Original page
  • New address

GeezerVison is showing faf.one — The One Source Edition - faf-cli v8.12.0

TL;DR: Every agent file keeps to its lane: project.faf holds the facts, AGENTS.md instructs, and CLAUDE.md imports it. AGENTS.md drops its copy of the stack, CLAUDE.md pulls AGENTS.md in with one line, and tools get faf-cli/fetch to build a project.faf from a repo URL.

In Plain English

The problem. A repo can hold three files for AI: project.faf, AGENTS.md and CLAUDE.md. When they repeat each other, they drift apart, and you can't tell which one is right. And by default Claude Code doesn't read AGENTS.md at all when a CLAUDE.md is there, so the build and test rules in it never reached Claude.

The fix. Each file does one job. The facts live in one place, project.faf. AGENTS.md holds the instructions: how to build, test and commit. CLAUDE.md imports AGENTS.md, so Claude Code gets the instructions too.

What changes for you. Run faf export --agents and faf sync as before. The files they write now stay in their lanes, and every agent gets the same facts and the same rules.

1 The three lanes

One source for the facts, one file for the instructions, and one line that connects Claude Code to both. Here is what faf auto, faf export --agents and faf sync wrote for a small Express API with 8.12.0:

Facts

project.faf

  • language, framework, runtime
  • the goal and the six W's
  • scored: 24%, 4 of 17 slots

The one source. IANA-registered YAML.

Instructions

AGENTS.md

  • Setup & build · Run the tests
  • Where things live · Guardrails
  • Definition of Done · When stuck · Commit & PR
  • Project facts → project.faf

No Stack section: it points to the facts.

Claude Code

CLAUDE.md

  • Stack, from project.faf
  • Build, test and repo rules
  • @AGENTS.md

Imports the instructions. Doesn't copy them.

Only faf's own block is written in each file. Anything you wrote outside it stays as it is.

2 Why AGENTS.md lost its Stack

The stack is a fact, and facts belong in project.faf. Until 8.12.0, AGENTS.md carried a copy of it. A copy is a second source: change one, forget the other, and two agents read two different stacks.

agents-md-facts describes four rungs for an AGENTS.md. 8.12.0 writes the top one:

NONENo facts. The agent reads the repo to guess them.
GOODSome facts, written into AGENTS.md.
BETTERAll the facts, written into AGENTS.md.
BESTproject.faf holds the facts; AGENTS.md points to it. Nothing is copied. 8.12.0 writes this.

The pointer, as 8.12.0 writes it:

## Project facts   The six W's (who, what, why, where, when, how) and the project's other facts are in `project.faf`.

3 Why CLAUDE.md imports AGENTS.md

By default, Claude Code reads AGENTS.md only when there is no CLAUDE.md. faf writes both, so in a faf repo the build, test and repo rules in AGENTS.md never reached Claude Code. We measured it with dokimi's repo reach:

Claude Code 2.1.330

loaded CLAUDE.md only

Codex 0.169.0

loaded AGENTS.md only

8.12.0: when an AGENTS.md sits beside CLAUDE.md, faf sync ends faf's CLAUDE.md block with one section, one line:

## Build, test and repo rules   @AGENTS.md

Claude Code follows the import. Each agent now gets the same rules from the same file.

No AGENTS.md, no import. If your CLAUDE.md is a link to AGENTS.md, faf adds nothing: Claude already reads it.

4 "What is it?"

The what slot is one of the six W's. Its question read as the users' work, which didn't fit an app or a library. Now it asks about the project itself, in faf go, the slot table and faf bench:

Before

What are they building?

→

8.12.0

What is it?

Every project has an answer to it.

5 A goal from GitHub

faf go suggests answers for the goal from what the repo already says, shows where each came from, and writes only what you confirm. faf go --github adds one more source: the repo's description on GitHub, from one API call.

1README.md
2GitHub description (with --github)
3package.json description
✓You confirm, edit or skip
  • It reads only a github.com URL from origin.
  • With the goal already filled, it makes no call.
  • Without a terminal, it says so in one line and fetches nothing.
  • GITHUB_TOKEN or GH_TOKEN is sent when set, for private repos and rate limits.

6 faf-cli/fetch, for tools

faf git <url> builds a project.faf from any public repo. 8.12.0 opens its fetch step to other tools, so an MCP server can do the same without its own copy of the clone. It's a separate entry: the main faf-cli import still runs no git.

fetchRepo(url)

Normalizes the URL, shallow-clones into a temp folder. No shell, links not followed.

→

authorFafFromRepo

Returns the project.faf as data, as faf git builds it. Nothing is written.

→

cleanup()

Removes the folder.

import { fetchRepo } from 'faf-cli/fetch';   const repo = await fetchRepo('https://github.com/sindresorhus/ky'); // repo.dir, repo.repoUrl, repo.cleanup()

A clone never waits for a login: git runs with GIT_TERMINAL_PROMPT=0, so a private or misspelled repo fails at once, as a FetchRepoError with kind url or clone. A clone stops after timeoutMs (120 s by default). From the npm package, sindresorhus/ky cloned and was filled in 0.8 seconds.

7 The birth certificate

.faf-dna records a project's first score: where it started, written once, never replaced. faf init always wrote it. faf auto runs init if there is no project.faf, and from 8.12.0 the birth certificate comes with it:

$ faf auto created project.faf ○ RED 24% 4/17 slots 🧬 Birth DNA 24% — your journey starts here (faf dna)

A red score on a new repo is normal: the goal and the six W's are still yours to fill. faf go asks for them.

8 How we got it right

Independent review

A separate review of everything since 8.11.1 found eight things. We checked each against the code and fixed the ones for this release before shipping: the login wait and timeout in fetchRepo, GitHub URLs only for --github, and its no-terminal line.

Release review

Mergeable, nothing blocking. Its lockfile and wording notes were fixed in the release PR; a bun.lock note is its own issue.

Tests

2,802 tests: 2,801 pass, 1 skip, 0 fail. Windows checked on Node 22 and 24 on the release commit.

Cold install

After publishing, installed from npm as a new user would, and the headline features run by hand. Every one held.

Published from GitHub Actions with npm provenance, as both faf-cli and faf.

Try it

npx --yes faf-cli@8.12.0 --version cd your-project npx --yes faf-cli@8.12.0 auto npx --yes faf-cli@8.12.0 export --agents npx --yes faf-cli@8.12.0 sync # or: npm i -g faf, then faf auto

Then open project.faf: # found: says why the project was classified the way it was.

Technical details

  • Version: 8.12.0 (November 24, 2026)
  • Packages: faf-cli and faf on npm; Homebrew
  • New entry: faf-cli/fetch (fetchRepo, githubDescription)
  • Tests: 2,802
  • Docs: docs.faf.one
  • Notes: v8.12.0

Feedback welcome

Questions, nits, suggestions — guide the next version. Tell us what you want to see.

Post on X Tell us on GitHub

Built with .faf ☑️ FAF defines. AGENTS.md instructs. AI codes. 🏎️

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.