faf-cli 8.9.0 → 8.10.1

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
@@ -70,20 +70,20 @@ pnpm dlx faf auto # pnpm — zero install
70
70
  brew install wolfe-jam/faf/faf-cli && faf auto # Homebrew (auto-taps)
71
71
  ```
72
72
 
73
- > `faf` with no arguments shows your project's score; `faf auto` detects and fills.
73
+ > `faf` with no arguments shows your project's score. `faf auto` fills what it detects in the repo, and suggests the goal and six W's for you to confirm in `faf go`.
74
74
 
75
75
  ---
76
76
 
77
77
  ## Quick Start
78
78
 
79
79
  ```bash
80
- # ANY GitHub repo — one shallow clone, no install, 2 seconds
80
+ # Any public GitHub repo — one shallow clone, no install (fills the tech slots)
81
81
  bunx faf-cli git https://github.com/facebook/react
82
82
 
83
83
  # Your own project
84
84
  bunx faf-cli init # Create .faf
85
- bunx faf-cli auto # Fill every tech slot from the repo, then score
86
- bunx faf-cli go # Interactive interview to gold code
85
+ bunx faf-cli auto # Fill the tech slots from the repo, then score
86
+ bunx faf-cli go # Confirm the goal and six W's, suggested in gray
87
87
  ```
88
88
 
89
89
  ---
@@ -94,7 +94,7 @@ Run `faf` with no arguments:
94
94
 
95
95
  ![faf](./nelly.png)
96
96
 
97
- > **faf-cli dogfoods itself** — [project.faf](./project.faf) is source DNA; [CLAUDE.md](./CLAUDE.md) and [GEMINI.md](./GEMINI.md) are authored from it via `faf`. [AGENTS.md](./AGENTS.md) is the **BETTER** ops briefing (hand-kept for agents; `faf export --agents` still authors AGENTS.md for other repos).
97
+ > **faf-cli dogfoods itself** — [project.faf](./project.faf) is source DNA; [CLAUDE.md](./CLAUDE.md), [GEMINI.md](./GEMINI.md) and [AGENTS.md](./AGENTS.md) are authored from it via `faf export`; AGENTS.md keeps a hand-written section below faf's block.
98
98
 
99
99
  ---
100
100
 
@@ -102,17 +102,17 @@ Run `faf` with no arguments:
102
102
 
103
103
  | Command | What it does |
104
104
  |---------|--------------|
105
- | `faf init` | Create `project.faf` from your local project |
105
+ | `faf init` | Create `project.faf` from your local project; suggest the goal and six W's |
106
106
  | `faf git <url>` | Instant `.faf` from any GitHub repo (a shallow clone) |
107
- | `faf auto` | Detect stack, fill every slot it can, score |
108
- | `faf go` | Guided interview to fill the human-only slots |
107
+ | `faf auto` | Detect the stack, fill the slots it detects, score; suggest the goal and six W's |
108
+ | `faf go` | Fill the human slots: each suggestion in gray, Tab to edit, Enter to confirm |
109
109
  | `faf score` | Check AI-readiness (0–100%) |
110
110
  | `faf export` | Author `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, `.cursorrules` |
111
- | `faf sync` | `.faf` → `CLAUDE.md` (pull: Trophy-gated backfill) |
111
+ | `faf sync` | `.faf` → `CLAUDE.md`, one way (faf's block only) |
112
112
  | `faf memory` | `.fafm` soul ops — convert Claude memory, etch, recall, ls, show |
113
113
  | `faf diff` / `log` | Semantic context diff + score timeline across git history |
114
114
  | `faf hooks --install` | Pre-commit guard against context regression |
115
- | `faf taf setup` | Write the CI workflow that prints a Test Receipt for every run (JavaScript with Jest, Vitest or Bun; Python; Go) |
115
+ | `faf taf setup` | Write the CI workflow that prints a Test Receipt for every run (JavaScript with Jest, Vitest or Bun; Python; Go; Rust; Java with Maven or Gradle; .NET) |
116
116
  | `faf taf receipts` | Your Test Receipts in the terminal, newest first |
117
117
  | `faf compile` / `decompile` | `.faf` → `.fafb` **v2** sealed brick; `decompile` shows sections as JSON |
118
118
  | `faf check` | Validate a `.faf` file |
@@ -135,16 +135,15 @@ faf memory etch "a durable fact" --id my-fact
135
135
  faf memory show
136
136
  ```
137
137
 
138
- ### What's New in v8.9.0 — The Write-Once Edition
138
+ ### What's New in v8.10.0 — The Human Slots Edition
139
139
 
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.**
140
+ **AI suggests, you confirm. faf no longer writes your project's goal or six W's: it suggests them, and you confirm each one in `faf go`.**
141
141
 
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.
142
+ - **Suggestions in gray.** `faf go` shows each suggestion with where it came from (`README.md § Why`, `package.json description`). Tab to edit, Enter to confirm, type to replace, `skip` to leave it empty. `faf init`, `faf auto` and `faf git` say how many are waiting.
143
+ - **Only facts are suggested.** Markup, link and label rows, greetings, install lines and fragments are rejected; a notice or callout (deprecated, sponsored by, `Warning:`…) is never the goal; a long first paragraph gives its first sentence, whole. The README leads the goal.
144
+ - **faf-facts.** The six W's ask for one line where every word earns its place. `how` is how it works; `when` is the stage it is at, and since when.
145
+ - **Breaking for library users:** `assembleFreshFaf`, `updateExistingFaf` and `authorFafFromRepo` return the goal and six W's empty. Files you already have are not changed.
146
+ - **`faf go` input.** Backspace removes a whole character (emoji, CJK), other questions use readline again, and piped answers are read in order.
148
147
 
149
148
  Earlier editions: [CHANGELOG.md](./CHANGELOG.md) · [Releases](https://github.com/Wolfe-Jam/faf-cli/releases)
150
149
 
@@ -182,8 +181,8 @@ Your own rules for the AI — *"use full words in identifiers," "use bun, not np
182
181
  ## Sync
183
182
 
184
183
  ```
185
- sync: .faf ──── 8ms ───→ CLAUDE.md (pull: Trophy-gated backfill)
186
- tri-sync: .faf ──── 8ms ───→ CLAUDE.md + Claude Code's MEMORY.md (Pro: faf's block only; Claude's notes kept)
184
+ sync: .faf ───→ CLAUDE.md (one way: faf's block only)
185
+ tri-sync: .faf ───→ CLAUDE.md + Claude Code's MEMORY.md (Pro: faf's block only; Claude's notes kept)
187
186
  ```
188
187
 
189
188
  ---
@@ -195,6 +194,7 @@ The full manual lives at **[docs.faf.one](https://docs.faf.one)** — facts for
195
194
  - [Getting started](https://docs.faf.one/getting-started) — install · run · use
196
195
  - [Cards](https://docs.faf.one/cards) — one `.fafa` → A2A · Server Card · registry · AI Catalog · ARD
197
196
  - [Custom rules](https://docs.faf.one/custom-rules) — pin instructions your AI must follow
197
+ - [Every command](docs/COMMANDS.md) — one section per command, with real output
198
198
 
199
199
  For a specific agent: [Grok, xAI & Cursor 👀](docs/faf-cli-for-agents.md) · [Claude Code 👀](docs/faf-cli-for-claude.md) · [Bun 👀](docs/faf-cli-for-bun.md)
200
200
 
@@ -204,6 +204,7 @@ For a specific agent: [Grok, xAI & Cursor 👀](docs/faf-cli-for-agents.md) · [
204
204
 
205
205
  Pivotal releases — full history in [CHANGELOG.md](./CHANGELOG.md):
206
206
 
207
+ - **v8.10 — Human Slots** — AI suggests the goal and six W's; you confirm each one in `faf go`.
207
208
  - **v8.9 — Write-Once** — a birth certificate that can't be reissued, checked against its birth commit.
208
209
  - **v8.0 — Always33** — one engine, one number: the same score everywhere.
209
210
  - **v7.1 — AGENTS.md** — `faf export --agents` authors a complete, non-destructive `AGENTS.md`.
@@ -252,7 +253,7 @@ src/
252
253
  > **Robust. Reliable. Next-level WJTTC tested.** — The Foundation Edition.
253
254
 
254
255
  ```bash
255
- bun test # extensive WJTTC + e2e suite
256
+ npm test # extensive WJTTC + e2e suite
256
257
  ```
257
258
 
258
259
  - **WJTTC Build Resilience** — regression classes locked.