Skip to content

v8.9.0 — The Write-Once Edition

Choose a tag to compare

@Wolfe-Jam Wolfe-Jam released this 05 Nov 20:01
· 95 commits to main since this release
43cb5d2

A birth certificate that can't be reissued. faf dna --verify checks it against the commit that first saved it. Plus a lighter install, and every command documented.

Added

  • faf dna --verify checks the birth certificate in .faf-dna against the commit that first added it: certificate, born, birthDNA and projectDNA must be the same. Exit 0 the same, 1 changed (or .faf-dna gone), 2 cannot check (not a git repo, a shallow clone, or not committed yet). --json gives the result as data. A certificate deleted and born again is still checked against the first commit.
  • faf init and faf dna say when the birth certificate is not committed yet, with the exact command: git add .faf-dna && git commit -m "faf: birth certificate". faf never commits for you. Nothing is said for a gitignored .faf-dna (the gitignore warning covers it) or outside git.
  • faf taf receipts reads the skipped_tests block that faf-taf-git 2.5.0 writes: a receipt that names a newly skipped test shows +N newly skipped after its counts, and --json carries the names, hash, newly_skipped and no_longer_skipped. Older receipts read as before.

Security

  • Dev only: minimatch under @typescript-eslint/typescript-estree is overridden to ^11.0.1 (GHSA-g3hv-75wg-m249, a denial of service through glob patterns). eslint's own minimatch 3.x is outside the affected range and is unchanged. Nothing in the published package uses it.

Changed

  • faf taf setup pins faf-taf-git v2.5.0 (Named Skips Edition): receipts name the skipped tests, with a hash of the full set and what changed since the previous receipt. faf-cli's own CI uses the same pin.
  • The birth certificate is write-once. FafDNAManager.birth() writes .faf-dna only when there is none; with one there, in any shape, it refuses (SafePathError reason exists, a new reason) and writes nothing. Growth copies the birth block unchanged (tested).
  • Breaking: faf init --force no longer starts a new birth. It replaces project.faf as --new does and keeps .faf-dna byte for byte, with a one-line note. --new and --force together are no longer refused. Files that already hold earlier lives (priorLineage, from resets before this change) are still read, shown by faf dna and kept as they grow.
  • A lighter install. @anthropic-ai/sdk moves from optionalDependencies to devDependencies: the build already bundles it into dist/cli.js, so npm was installing a second, unused 6.4 MB copy for every user (faf ai analyze works as before). The build strips sourcesContent from the source maps, which still map stack traces to file:line. The package goes from 5.34 MB to 2.35 MB unpacked, and from 1.39 MB to 0.65 MB packed (8.8.0 as published against the 8.9.0 dry-run).
  • faf show loads open only when it opens a file. Before, every command loaded it at startup.
  • faf init --output sub/x.faf writes .faf-dna beside the file it belongs to (sub/.faf-dna), where faf edit and faf go look for it. It used to land in the folder faf ran from.
  • init --yolo and init --quick still work but are no longer in --help: init asks nothing anyway.
  • faf info always prints the version, kernel and media type.
  • project.faf's why no longer carries an unmeasured "91%".

Fixed

  • faf card init never writes over an agent.fafa that appeared while its questions were answered. It checked before asking and wrote without checking again. Without --force the write is now create-only (SafePathError changed, file kept).
  • faf wjttc sees the tier of tests inside modifier blocks: describe.skipIf(...), test.each(...), .only, .skip, .todo. Those tests read as untiered, or were not counted, so faf wjttc --strict failed on faf-cli's own suite. fixtures/ and __fixtures__/ folders are skipped as test data. faf-cli: 1980 tests, 0 untiered, and a test now fails if any is added without a tier.
  • faf ai analyze: a network or API failure is one line on stderr (exit 1), not the SDK's stack trace.
  • scripts/ANTHROPIC-DEMO.sh installed @faf/cli (no such package) and ran --quiet and bi-sync (neither exists).

Removed

  • Help flags that did nothing: check --fix, --doctor, --trust and info --faq, --index, --stacks were listed in --help but read by no code (check --fix fixed nothing; info --faq printed nothing). They are now refused as unknown options.
  • 33 unused files in scripts/, archived in the tag archive/scripts-2026-11 with notes (git show archive/scripts-2026-11:scripts/<file>).
  • 14 unused imports and parameters. jvm.ts uses the androidPlugins list from jvm-detection.json instead of repeating its ids.
  • "guarantee" from SECURITY.md and two test texts.

Tests: 2428 pass, 0 fail.

Install: npm i -g faf-cli@8.9.0 · bunx faf · brew upgrade faf-cli

FAF defines. AGENTS.md instructs. AI codes.