Skip to content

v8.12.0 — The One Source Edition

Choose a tag to compare

@Wolfe-Jam Wolfe-Jam released this 24 Nov 06:27
88682eb

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 of faf 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 with authorFafFromRepo from faf-cli. A failure is a FetchRepoError with kind url or clone. faf git uses the same function, so there is one copy of the clone. It is a separate entry: the main faf-cli import still runs no git.
  • The GitHub description as a goal suggestion (#237). faf go --github makes one GitHub API call for the description of the clone's origin and offers it as the goal suggestion, source GitHub description, after the README and before the package.json description. It is a suggestion like the others: never written unless confirmed. GITHUB_TOKEN or GH_TOKEN is sent when set (private repos, rate limits). For tools: githubDescription(repo) in faf-cli/fetch (null on any failure, never throws) and a third argument to suggestIntent(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 what question is now "What is it?" (was "What are they building?", which read as the users' work and did not fit apps). Same in faf go, the slot table and faf bench.

Fixed

  • faf-cli/fetch: a clone never waits for a login. fetchRepo runs git with GIT_TERMINAL_PROMPT=0, so a private or misspelled repo fails at once instead of asking for a username on the terminal, and stops after timeoutMs (default 120 s). faf git uses the same function.
  • faf go --github reads only a GitHub URL from origin. A bare a/b there is a local path, not a GitHub repo, so it gets no description. Without a terminal, --github says so in one line and fetches nothing; with the goal already filled it makes no API call.
  • faf auto writes the birth certificate on a first setup (#261). When auto creates project.faf and there is no .faf-dna, it births one at that first score, as faf init does (and faf loop, which runs auto). Before, a first setup through auto had no birth certificate. An existing project.faf without a .faf-dna gets none (a later score is not a birth score), and a .faf-dna that 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 dokimi repo 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 rules section 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.