Repository navigation
v8.12.0 — The One Source Edition
Every agent file keeps to its lane: project.faf holds the facts, AGENTS.md instructs, and CLAUDE.md imports it.
Added
faf-cli/fetch: the fetch step offaf git, for tools that author from a URL (#236).fetchRepo(url, { ref })normalizes the URL, shallow-clones it (no shell, links not followed) into a temp folder of faf's own and takes out link placeholders; it returns{ dir, repoUrl, cleanup() }. Author the folder withauthorFafFromRepofromfaf-cli. A failure is aFetchRepoErrorwithkindurlorclone.faf gituses the same function, so there is one copy of the clone. It is a separate entry: the mainfaf-cliimport still runs no git.- The GitHub description as a goal suggestion (#237).
faf go --githubmakes one GitHub API call for the description of the clone'soriginand offers it as the goal suggestion, sourceGitHub description, after the README and before the package.json description. It is a suggestion like the others: never written unless confirmed.GITHUB_TOKENorGH_TOKENis sent when set (private repos, rate limits). For tools:githubDescription(repo)infaf-cli/fetch(null on any failure, never throws) and a third argument tosuggestIntent(dir, faf, { githubDescription }). GitHub metadata (stars, forks, topics) is not added: it changes daily and is not a scored slot.
Changed
- AGENTS.md no longer has a Stack section. The stack is a fact in
project.faf, and AGENTS.md already points there (## Project facts); AGENTS.md keeps to instructions (setup, layout, conventions, guardrails, done, commits). This is the BEST rung of agents-md-facts: with project.faf present, nothing is copied. CLAUDE.md now imports AGENTS.md (#266), so the stack is no longer said twice to Claude Code. - The
whatquestion is now "What is it?" (was "What are they building?", which read as the users' work and did not fit apps). Same infaf go, the slot table andfaf bench.
Fixed
faf-cli/fetch: a clone never waits for a login.fetchReporuns git withGIT_TERMINAL_PROMPT=0, so a private or misspelled repo fails at once instead of asking for a username on the terminal, and stops aftertimeoutMs(default 120 s).faf gituses the same function.faf go --githubreads only a GitHub URL fromorigin. A barea/bthere is a local path, not a GitHub repo, so it gets no description. Without a terminal,--githubsays so in one line and fetches nothing; with the goal already filled it makes no API call.faf autowrites the birth certificate on a first setup (#261). Whenautocreatesproject.fafand there is no.faf-dna, it births one at that first score, asfaf initdoes (andfaf loop, which runsauto). Before, a first setup throughautohad no birth certificate. An existingproject.fafwithout a.faf-dnagets none (a later score is not a birth score), and a.faf-dnathat is there is never replaced.faf sync: CLAUDE.md imports AGENTS.md (#266). By default, Claude Code reads AGENTS.md only when there is no CLAUDE.md, so in a repo where faf writes both, the build, test and repo rules in AGENTS.md never reached Claude Code (measured with dokimirepo reach: Claude Code 2.1.330 loaded CLAUDE.md only, Codex 0.169.0 AGENTS.md only). When an AGENTS.md sits beside CLAUDE.md, faf's CLAUDE.md block now ends with a## Build, test and repo rulessection holding one line,@AGENTS.md. No AGENTS.md, or a CLAUDE.md that is a link to AGENTS.md: no import.
Full suite: 2,801 pass, 1 skip. Published to npm as faf-cli and faf (OIDC, with provenance).
FAF defines. AGENTS.md instructs. AI codes.