faf-cli 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 +14 -12
- package/dist/cli.js +332 -321
- package/dist/cli.js.map +1 -1
- package/dist/index.js +147 -147
- package/dist/index.js.map +1 -1
- package/dist/interop/agents.d.ts +7 -5
- package/dist/interop/claude.d.ts +1 -1
- package/dist/interop/copilot-instructions.d.ts +2 -2
- package/dist/interop/cursorrules.d.ts +2 -2
- package/dist/interop/faf.d.ts +16 -0
- package/dist/interop/gemini.d.ts +2 -2
- package/dist/interop/labels.d.ts +29 -0
- package/package.json +2 -2
- package/project.faf +1 -1
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
|
-
#
|
|
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
|

|
|
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
|
|
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`, `
|
|
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.
|
|
138
|
+
### What's New in v8.11.0 — The Project Facts Edition
|
|
139
139
|
|
|
140
|
-
**
|
|
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
|
-
- **
|
|
143
|
-
- **
|
|
144
|
-
- **
|
|
145
|
-
- **
|
|
146
|
-
-
|
|
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
|
|
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.
|