faf 8.10.0 → 8.11.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
@@ -77,7 +77,7 @@ brew install wolfe-jam/faf/faf-cli && faf auto # Homebrew (auto-taps)
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
@@ -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), [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.
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 (`faf export`, and `faf sync` for CLAUDE.md); AGENTS.md keeps a hand-written section below faf's block.
98
98
 
99
99
  ---
100
100
 
@@ -107,12 +107,12 @@ Run `faf` with no arguments:
107
107
  | `faf auto` | Detect the stack, fill the slots it detects, score; suggest the goal and six W's |
108
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
- | `faf export` | Author `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, `.cursorrules` |
110
+ | `faf export` | Author `AGENTS.md`, `GEMINI.md`, `.cursorrules` and the Copilot instructions |
111
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; Rust; Java with Maven or Gradle; .NET) |
115
+ | `faf taf setup` | Write the CI workflow that prints a Test Receipt for every run: a test job with a read-only token, then a receipt job (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,15 +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.10.0 — The Human Slots Edition
138
+ ### What's New in v8.11.0 — The Project Facts Edition
139
139
 
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`.**
140
+ **The six W's now reach every agent: AGENTS.md points to project.faf, and CLAUDE.md, GEMINI.md, .cursorrules, Copilot and llms.txt carry them, one rule, one line each.**
141
141
 
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.
142
+ - **AGENTS.md points to the facts.** A `## Project facts` section names `project.faf`, by its real path from AGENTS.md (a legacy `.faf`, a file one folder up, `--output`). The only pointer before was an HTML comment, which agents skip. AGENTS.md still doesn't copy the six W's.
143
+ - **The six W's in every context file.** GEMINI.md and .cursorrules gain a Context section, as CLAUDE.md and the Copilot instructions have. `llms.txt` and Claude Code's MEMORY.md block (Pro) show the same values.
144
+ - **One rule, the score's.** A slot the score counts as empty (empty, `slotignored`, TBD, N/A) is left out; numbers show as written in project.faf, dates and lists as text; each fact is one line. CLAUDE.md no longer shows `slotignored` or placeholders.
145
+ - **`faf taf setup` writes two jobs** (faf-taf-git 2.7.0): the tests run with a read-only token, only the receipt job can write, and a red run on the default branch is recorded as a `FAILED` receipt.
146
+ - **Why:** [the evidence](https://github.com/Wolfe-Jam/context7-faf-receipt#round-4-what-agentsmd-carries-opencode-and-codex). On tasks whose deciding fact was only in the six W's, Codex and OpenCode found the team's decision 4/22 times with the old AGENTS.md, 12/21 with the pointer, 19/20 with the six W's in the file.
147
147
 
148
148
  Earlier editions: [CHANGELOG.md](./CHANGELOG.md) · [Releases](https://github.com/Wolfe-Jam/faf-cli/releases)
149
149
 
@@ -151,7 +151,7 @@ Earlier editions: [CHANGELOG.md](./CHANGELOG.md) · [Releases](https://github.co
151
151
 
152
152
  ## Custom instructions
153
153
 
154
- Your own rules for the AI — *"use full words in identifiers," "use bun, not npm"* — go in `project.faf` under `ai_instructions.warnings`. They land at the top of every `AGENTS.md` faf writes, verbatim and non-destructive.
154
+ Your own rules for the AI — *"use full words in identifiers," "use bun, not npm"* — go in `project.faf` under `ai_instructions.warnings`. They lead the Guardrails section of every `AGENTS.md` faf writes, verbatim and non-destructive.
155
155
 
156
156
  **→ [How to add custom rules](https://docs.faf.one/custom-rules)** · [docs.faf.one](https://docs.faf.one)
157
157
 
@@ -194,6 +194,7 @@ The full manual lives at **[docs.faf.one](https://docs.faf.one)** — facts for
194
194
  - [Getting started](https://docs.faf.one/getting-started) — install · run · use
195
195
  - [Cards](https://docs.faf.one/cards) — one `.fafa` → A2A · Server Card · registry · AI Catalog · ARD
196
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
197
198
 
198
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)
199
200
 
@@ -203,6 +204,7 @@ For a specific agent: [Grok, xAI & Cursor 👀](docs/faf-cli-for-agents.md) · [
203
204
 
204
205
  Pivotal releases — full history in [CHANGELOG.md](./CHANGELOG.md):
205
206
 
207
+ - **v8.11 — Project Facts** — the six W's reach every agent file; AGENTS.md points to project.faf.
206
208
  - **v8.10 — Human Slots** — AI suggests the goal and six W's; you confirm each one in `faf go`.
207
209
  - **v8.9 — Write-Once** — a birth certificate that can't be reissued, checked against its birth commit.
208
210
  - **v8.0 — Always33** — one engine, one number: the same score everywhere.