Skip to content

v8.6.0 — The Birth Certificate Edition

Choose a tag to compare

@Wolfe-Jam Wolfe-Jam released this 30 Oct 22:51
· 127 commits to main since this release
c84f72b

One birth certificate per project, protected: init --new rebuilds project.faf without touching it, go and edit record every climb, and faf dna --json shows the lineage. 2272 tests.

Added

  • faf init --new: replaces project.faf with a fresh one from the repo and leaves .faf-dna exactly as it is. Use it to rebuild a stale or bloated project.faf without touching the birth certificate. --force still means start over: a new birth, with the old one kept in priorLineage. A project with no .faf-dna gets its first birth either way. --new and --force together are refused, and the "already exists" message now names both. tests/commands/init-new.test.ts.
  • faf dna --json: the lineage as data: birth, certificate, current score, growth, peak, the journey line, every version with its changes, and the earlier lives a reset ended. faf_written and note flag a .faf-dna faf did not write. The same file gives the same JSON
  • .faf-dna gitignored? faf says so. faf init writes one line to stderr and faf dna shows it, naming the rule (.gitignore:2: .faf-dna): a fresh clone loses the birth certificate. A # comment on the line above the rule is the named reason, and faf stays quiet. A tracked .faf-dna is never flagged. faf dna --json carries gitignored

Fixed

  • faf go and faf edit record growth in .faf-dna. Only faf auto and faf refresh did, so the guided interview (the biggest climb to ✪ Trophy) never showed in faf dna. Each now adds a version when the score moves; no version when it doesn't, and neither ever creates a .faf-dna

Changed

  • faf no longer offers to reissue a birth certificate. A birth certificate is one per project: never changed or reissued. faf dna on a .faf-dna faf did not write now says "Your birth certificate is protected: faf never changes it." instead of suggesting faf init --force. faf init on an existing project.faf names --new only. --force still works in 8.x and is removed in 9.0

Install: npm i -g faf-cli · npx faf-cli · brew install wolfe-jam/faf/faf-cli

Tests: 2272 / 2272.

FAF defines. AGENTS.md instructs. AI codes.