faf 8.8.0 → 8.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -121,7 +121,7 @@ Run `faf` with no arguments:
121
121
 
122
122
  Run `faf --help` for the full command set and options.
123
123
 
124
- ### Memory (`.fafm`) — new in 7.2.0
124
+ ### Memory (`.fafm`)
125
125
 
126
126
  Portable agent memory in the IANA-registered [`.fafm`](https://www.iana.org/assignments/media-types/application/vnd.fafm+yaml) format. Same INTEROP as [claude-fafm-sdk 1.0](https://pypi.org/project/claude-fafm-sdk/).
127
127
 
@@ -135,160 +135,18 @@ faf memory etch "a durable fact" --id my-fact
135
135
  faf memory show
136
136
  ```
137
137
 
138
- ### What's New in v8.8.0 — The Polyglot Edition
138
+ ### What's New in v8.9.0 — The Write-Once Edition
139
139
 
140
- **`faf taf setup` writes the Test Receipt workflow for Rust, Java (Maven, Gradle) and .NET too: each run joins its reports into one JUnit file, and faf-taf-git counts it.**
140
+ **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.**
141
141
 
142
- - **Rust** (`Cargo.toml`): `cargo nextest run`, every test (`--no-fail-fast`), across the workspace. The workflow adds nextest's JUnit profile only when your repo has no nextest config.
143
- - **Java**: Maven (`pom.xml`) and Gradle (`build.gradle`, `settings.gradle`), with the wrapper when you have one. A failing module doesn't stop the others, and the per-class reports are joined into one file.
144
- - **.NET** (`.sln`, `.slnx`, `.csproj`, `.fsproj`): the JUnit logger is added in CI only, so your project files don't change. It installs the SDKs your projects target, and names the solution when there's more than one at the top.
145
- - **Proved in faf-cli's own CI**: for each language, a fixture with passing, failing and skipped tests runs the written recipe, and the receipt must match the runner's own counts.
142
+ - **Write-once.** `.faf-dna`, your project's birth certificate, is written once. Nothing in faf replaces it, and `faf init --force` now works like `--new`: a fresh `project.faf`, the certificate kept.
143
+ - **`faf dna --verify`** compares the certificate with the commit that first added `.faf-dna`. Exit 0 if they match, 1 if they differ, 2 if there is nothing to check against yet. `faf init` and `faf dna` tell you when it isn't committed yet, with the command to run. faf never commits for you.
144
+ - **A lighter install.** The package is under half its old size (2.35 MB unpacked, was 5.34 MB), and npm no longer installs an unused 6.4 MB copy of the Anthropic SDK.
145
+ - **Every command documented**: the ones the README doesn't cover are on [docs.faf.one/more-commands](https://docs.faf.one/more-commands).
146
+ - **Named skips.** `faf taf receipts` shows `+N newly skipped` when a receipt names a test that wasn't skipped before (faf-taf-git 2.5.0).
147
+ - **Cleaned up.** Help flags that did nothing are gone, `init --output` keeps `.faf-dna` beside its file, `card init` won't overwrite a card written during its questions, and `faf wjttc` sees tiers on `.skipIf` / `.each` blocks.
146
148
 
147
- ### The Receipts Edition (8.7)
148
-
149
- **Your Test Receipts, in your terminal: `faf taf receipts` shows them, `taf setup` writes the recipe for JavaScript (Jest, Vitest, Bun), Python and Go, and every test run on your default branch gets one, red ones too.**
150
-
151
- A Test Receipt is one line of proof that your tests ran: when, the result, passed/total. [faf-taf-git](https://github.com/Wolfe-Jam/faf-taf-git) appends one to `.taf` on a `taf-receipts` branch for every CI run, so the record stays in git after the CI logs expire.
152
-
153
- - **`faf taf receipts`** shows them in your terminal, newest first, with a tally. `--limit`, `--json` and `--ref`. It reads git and never fetches or writes.
154
- - **`faf taf setup`** writes the workflow: JavaScript with Jest, Vitest or Bun, Python with pytest, and Go with gotestsum. Any other repo gets a placeholder to fill in.
155
- - **Red runs get a receipt too**, and the job still goes red. Only your default branch is recorded; pull requests run the tests and print none.
156
- - **Plain text when piped.** Colour shows only in a terminal; `NO_COLOR` and `FORCE_COLOR` are respected.
157
-
158
- ### The Birth Certificate Edition (8.6)
159
-
160
- **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.**
161
-
162
- `.faf-dna` is the project's birth certificate: its first score, recorded once, the way a baby's birth weight is. A project gets one. faf keeps it, and records what happens after.
163
-
164
- - **`faf init --new`** replaces a stale project.faf with a fresh one from the repo. `.faf-dna` stays exactly as it is.
165
- - **`faf go` and `faf edit` record every climb** on the DNA, alongside `faf auto` and `faf refresh`. `faf dna` shows the whole journey.
166
- - **`faf dna --json`** gives the lineage as data: birth, certificate, current score, growth, peak, every version, and any earlier lives.
167
- - **Gitignored? faf says so.** If `.faf-dna` is gitignored, a fresh clone loses it. `faf init` and `faf dna` name the rule. Put the reason in a `#` comment above it, and faf stays quiet.
168
- - **Protected, never reissued.** A `.faf-dna` faf didn't write is read and left as it is. faf no longer suggests replacing it.
169
-
170
- ### The Agent Skills Edition (8.5)
171
-
172
- **faf knows a skills repo when it sees one, and the skills types name their framework: `skills` is 10 slots, `skills-plugin` is 14.**
173
-
174
- - **`faf init` detects skills repos**: `SKILL.md` folders make a repo `skills`; add a Claude Code plugin manifest and it's `skills-plugin`. A CLI or library that ships a skill keeps its type.
175
- - **`skills`**: project + human, plus the framework (the skills format, such as Agent Skills or a Claude Code plugin).
176
- - **`skills-plugin`**: project + human + universal, plus the framework and the runtime.
177
- - **`faf auto` fills a slot the type adds**, even where an older file says `slotignored`.
178
- - **Check the skills themselves with [skills-ladder](https://www.npmjs.com/package/skills-ladder):** it rates each `SKILL.md` GOOD, BETTER or BEST. `npx skills-ladder .`
179
-
180
- ### The Skills Edition (8.4)
181
-
182
- FAF has known Skills for a while; we both speak YAML. Now it's official: FAF adds Skills to the CLI.
183
-
184
- **faf knows skills: a SKILL.md repo is `skills` (9 slots), one shipped as a plugin is `skills-plugin` (12).**
185
-
186
- ```yaml
187
- project:
188
- type: skills-plugin # or: skills
189
- ```
190
-
191
- - **`skills`**: plain-English instructions for AI, `SKILL.md` folders with no pipeline. Project + human context: 9 slots.
192
- - **`skills-plugin`**: skills published as a plugin, with a build and CI. Adds hosting, build and CI/CD: 12 slots.
193
- - **App-types are types of projects, not types of file.** Write the type's own name (`cli`, not `cli-tool`); see [What goes in a slot](docs/GUIDE.md).
194
- - **A .faf whose aliases expand too far** is now one line, not a stack trace.
195
-
196
- ### The Business Card Edition (8.3)
197
-
198
- **Business cards say what the repo is: a package can be a CLI or a library, from npm, PyPI or crates.io, and only an MCP server gets MCP cards.**
199
-
200
- ```bash
201
- npx faf-cli@latest card init --package pypi:my-lib --kind library
202
- ```
203
-
204
- - **`--kind mcp|cli|library`** says what `--package` is. `mcp` stays the default.
205
- - **`npm:`, `pypi:` and `crates:`** name the registry. A bare name is still npm.
206
- - **`--homepage <url>`** sets the business card's homepage.
207
- - **`faf cards` writes MCP cards only for an MCP server.** A CLI or a library gets its plain cards and a one-line reason.
208
- - **`faf init` offers the business card** when the repo has none: `next: 'faf card init'`. It writes nothing for it.
209
-
210
- ### The Ladder Edition (8.2)
211
-
212
- **One ladder for every card: agent.fafa builds the plain cards, and project.faf adds FAF's context.**
213
-
214
- | You have | `faf cards` gives you |
215
- |---|---|
216
- | `agent.fafa` (BETTER) | the plain cards its endpoints allow: A2A card, MCP Server Card, registry entry, AI Catalog and ARD rows |
217
- | + `project.faf` (BEST) | the same cards, with FAF's context in each |
218
-
219
- - **A card's identity comes from the `.fafa`.** An existing `server.json` keeps the name it was published under; renaming it takes `--force`.
220
- - **The pack projector writes the same cards as `faf cards`** (`projectPack`, `buildPack`).
221
- - **The full test suite runs on Windows** before every merge, alongside Ubuntu and macOS.
222
-
223
- ### The Always33+ Edition (8.1)
224
-
225
- **From nothing to listed in one command: `faf card init` asks seven questions and writes your agent.fafa, your AI Catalog entry and your ARD entry.**
226
-
227
- The same always-33 engine, plus cards.
228
-
229
- ```bash
230
- npx faf-cli@latest card init # seven questions → agent.fafa → A2A card, AI Catalog, ARD
231
- ```
232
-
233
- | You have | `faf cards` gives you | Rung |
234
- |---|---|---|
235
- | `agent.fafa` | A2A card, MCP Server Card, registry, AI Catalog, ARD (as its endpoints allow) | BETTER |
236
- | + `project.faf` | the same cards, with FAF context | BEST |
237
-
238
- - **Scripts ask nothing:** every answer is a flag (`--name`, `--domain`, `--url` or `--package`, `--skill`, `--example`, `--set-version`).
239
- - **Help says what each command touches,** with a "What touches what" footer and [docs.faf.one/side-effects](https://docs.faf.one/side-effects).
240
-
241
- ### The Always33 Edition (8.0)
242
-
243
- **One engine, one number: faf-cli v8 scores with the always-33 kernel — the same score faf-kernel, faf-rust-sdk and rust-faf-mcp give.**
244
-
245
- - **The always-33 engine.** Every `.faf` is scored against all 33 Mk4 slots by one Rust kernel (`faf-scoring-kernel` 3.0.0, WASM). Verified identical to the reference always-33 scorer on the `project.faf` of all 80 FAF repos.
246
- - **Your 21 slots, and the 12 enterprise slots in view.** faf-cli fills the 21 base slots. The 12 enterprise slots — infra, app, ops — are marked `slotignored` unless your app-type uses them, and `faf score` shows all 33.
247
- - **Upgrading from 7.x:** a `.faf` without the 12 enterprise markers now scores against 33, so its number can drop (21 filled = 64%). **Run `faf auto`** — it writes the markers and your score returns.
248
-
249
- ```text
250
- ✪ TROPHY 100% 21/21 slots — project.faf
251
- ● project.name
252
- …
253
- ● stack.cicd
254
- — stack.monorepo_tool: slotignored
255
- …
256
- — monorepo.remote_cache: slotignored
257
- ```
258
-
259
- **Recent sprint**
260
-
261
- - ✪ [8.8.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.8.0) The Polyglot Edition — `taf setup` for Rust, Java (Maven, Gradle) and .NET
262
- - ✪ [8.7.1](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.7.1) `taf setup` for node:test and mocha; Python test extras; colour follows `FORCE_COLOR` and stderr
263
- - ✪ [8.7.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.7.0) The Receipts Edition — `faf taf receipts`; `taf setup` for JavaScript, Python and Go; red runs get a receipt
264
- - ✪ [8.6.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.6.0) The Birth Certificate Edition — `init --new` keeps `.faf-dna`; `go`/`edit` record growth; `faf dna --json`
265
- - ✪ [8.5.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.5.0) The Agent Skills Edition — faf detects skills repos; `skills` (10) and `skills-plugin` (14) name their framework
266
- - ✪ [8.4.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.4.0) The Skills Edition — `skills` (9) and `skills-plugin` (12) app-types
267
- - ✪ [8.3.2](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.3.2) `faf check` warns when a key_files path no longer exists
268
- - ✪ [8.3.1](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.3.1) `faf cards` gives MCP cards to a project.faf alone only when its type is mcp
269
- - ✪ [8.3.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.3.0) The Business Card Edition — CLI, library or MCP server, from npm, PyPI or crates.io
270
- - ✪ [8.2.2](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.2.2) Markdown never writes project.faf — `sync` is one way, `recover` is gone
271
- - ✪ [8.2.1](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.2.1) Cards stay honest — `updatedAt` moves only on a change; whole http(s) URLs
272
- - ✪ [8.2.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.2.0) The Ladder Edition — one ladder for every card
273
- - ✪ [8.1.1](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.1.1) SvelteKit 3 read in full — kit, adapter, Vite 8
274
- - ✪ [8.1.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.1.0) The Always33+ Edition — from nothing to listed in one command
275
- - ✪ [8.0.1](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.0.1) pnpm installs work — faf-scoring-kernel from npm
276
- - ✪ [8.0.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v8.0.0) The Always33 Edition — one engine, one number
277
- - 🧱 [7.16.2](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.16.2) `faf compile` emits FAFb wire v2 — same bytes as the faf-fafb golden
278
- - 🧭 [7.16.1](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.16.1) `faf` back in step with `faf-cli`
279
- - 🧭 [7.16.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.16.0) The Discoverable Edition
280
- - 🎴 [7.15.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.15.0) The Pack Edition
281
- - 🛂 [7.14.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.14.0) The Passport Edition
282
- - 🛡️ [7.13.1](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.13.1) security: detection reads stay inside the project
283
- - 🤝 [7.13.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.13.0) The Co-Author Edition
284
- - 🧩 [7.12.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.12.0) The Open Renderers Edition
285
- - 🖥️ [7.11.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.11.0) The VS Code Edition
286
- - 📚 [7.10.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.10.0) The Full-Facts Edition
287
- - 🌱 [7.9.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.9.0) The Git-Flow Edition
288
- - 🎬 [7.8.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.8.0) The Projector Edition
289
- - 🐦 [7.7.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.7.0) The Swift Edition
290
- - 💎 [7.6.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.6.0) The Ruby Edition
291
- - ☕ [7.5.1](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.5.1) The JVM Edition
149
+ Earlier editions: [CHANGELOG.md](./CHANGELOG.md) · [Releases](https://github.com/Wolfe-Jam/faf-cli/releases)
292
150
 
293
151
  ---
294
152
 
@@ -346,6 +204,7 @@ For a specific agent: [Grok, xAI & Cursor 👀](docs/faf-cli-for-agents.md) · [
346
204
 
347
205
  Pivotal releases — full history in [CHANGELOG.md](./CHANGELOG.md):
348
206
 
207
+ - **v8.9 — Write-Once** — a birth certificate that can't be reissued, checked against its birth commit.
349
208
  - **v8.0 — Always33** — one engine, one number: the same score everywhere.
350
209
  - **v7.1 — AGENTS.md** — `faf export --agents` authors a complete, non-destructive `AGENTS.md`.
351
210
  - **v7.0 — GIT** — context goes git-native: `faf diff` / `log` / `hooks`.