Repository navigation
v8.9.0 — The Write-Once Edition
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 --verifychecks the birth certificate in.faf-dnaagainst the commit that first added it:certificate,born,birthDNAandprojectDNAmust be the same. Exit 0 the same, 1 changed (or.faf-dnagone), 2 cannot check (not a git repo, a shallow clone, or not committed yet).--jsongives the result as data. A certificate deleted and born again is still checked against the first commit.faf initandfaf dnasay 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 receiptsreads theskipped_testsblock that faf-taf-git 2.5.0 writes: a receipt that names a newly skipped test shows+N newly skippedafter its counts, and--jsoncarries the names, hash,newly_skippedandno_longer_skipped. Older receipts read as before.
Security
- Dev only:
minimatchunder@typescript-eslint/typescript-estreeis overridden to^11.0.1(GHSA-g3hv-75wg-m249, a denial of service through glob patterns). eslint's ownminimatch3.x is outside the affected range and is unchanged. Nothing in the published package uses it.
Changed
faf taf setuppins 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-dnaonly when there is none; with one there, in any shape, it refuses (SafePathErrorreasonexists, a new reason) and writes nothing. Growth copies the birth block unchanged (tested). - Breaking:
faf init --forceno longer starts a new birth. It replacesproject.fafas--newdoes and keeps.faf-dnabyte for byte, with a one-line note.--newand--forcetogether are no longer refused. Files that already hold earlier lives (priorLineage, from resets before this change) are still read, shown byfaf dnaand kept as they grow. - A lighter install.
@anthropic-ai/sdkmoves fromoptionalDependenciestodevDependencies: the build already bundles it intodist/cli.js, so npm was installing a second, unused 6.4 MB copy for every user (faf ai analyzeworks as before). The build stripssourcesContentfrom 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 showloadsopenonly when it opens a file. Before, every command loaded it at startup.faf init --output sub/x.fafwrites.faf-dnabeside the file it belongs to (sub/.faf-dna), wherefaf editandfaf golook for it. It used to land in the folder faf ran from.init --yoloandinit --quickstill work but are no longer in--help:initasks nothing anyway.faf infoalways prints the version, kernel and media type.- project.faf's
whyno longer carries an unmeasured "91%".
Fixed
faf card initnever writes over anagent.fafathat appeared while its questions were answered. It checked before asking and wrote without checking again. Without--forcethe write is now create-only (SafePathErrorchanged, file kept).faf wjttcsees the tier of tests inside modifier blocks:describe.skipIf(...),test.each(...),.only,.skip,.todo. Those tests read as untiered, or were not counted, sofaf wjttc --strictfailed 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.shinstalled@faf/cli(no such package) and ran--quietandbi-sync(neither exists).
Removed
- Help flags that did nothing:
check --fix,--doctor,--trustandinfo --faq,--index,--stackswere listed in--helpbut read by no code (check --fixfixed nothing;info --faqprinted nothing). They are now refused as unknown options. - 33 unused files in
scripts/, archived in the tagarchive/scripts-2026-11with notes (git show archive/scripts-2026-11:scripts/<file>). - 14 unused imports and parameters.
jvm.tsuses theandroidPluginslist fromjvm-detection.jsoninstead of repeating its ids. - "guarantee" from
SECURITY.mdand 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.