faf-cli 8.10.1 → 8.11.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 +15 -12
- package/dist/cli.js +334 -323
- 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 +13 -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
|
@@ -34,7 +34,7 @@ detected from your real stack, scored, and versioned with your code. No drift. N
|
|
|
34
34
|
[](https://doi.org/10.5281/zenodo.18251362)
|
|
35
35
|
[](https://doi.org/10.5281/zenodo.20348942)
|
|
36
36
|
[](https://github.com/Wolfe-Jam/faf)
|
|
37
|
-
[](https://github.com/Wolfe-Jam/
|
|
37
|
+
[](https://github.com/Wolfe-Jam/taf-git)
|
|
38
38
|
[](https://github.com/Wolfe-Jam/faf-cli/actions/workflows/ci.yml)
|
|
39
39
|
|
|
40
40
|
FAF defines. AGENTS.md instructs. AI codes.
|
|
@@ -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,17 @@ 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
|
+
**8.11.1:** `faf taf setup` writes taf-git 3.0.0 (faf-taf-git was renamed). A workflow written by 8.11.0 stops starting after the rename: run `faf taf setup` again.
|
|
143
|
+
|
|
144
|
+
- **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.
|
|
145
|
+
- **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.
|
|
146
|
+
- **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.
|
|
147
|
+
- **`faf taf setup` writes two jobs** (taf-git 3.0.0 since 8.11.1): 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.
|
|
148
|
+
- **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
149
|
|
|
148
150
|
Earlier editions: [CHANGELOG.md](./CHANGELOG.md) · [Releases](https://github.com/Wolfe-Jam/faf-cli/releases)
|
|
149
151
|
|
|
@@ -151,7 +153,7 @@ Earlier editions: [CHANGELOG.md](./CHANGELOG.md) · [Releases](https://github.co
|
|
|
151
153
|
|
|
152
154
|
## Custom instructions
|
|
153
155
|
|
|
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
|
|
156
|
+
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
157
|
|
|
156
158
|
**→ [How to add custom rules](https://docs.faf.one/custom-rules)** · [docs.faf.one](https://docs.faf.one)
|
|
157
159
|
|
|
@@ -204,6 +206,7 @@ For a specific agent: [Grok, xAI & Cursor 👀](docs/faf-cli-for-agents.md) · [
|
|
|
204
206
|
|
|
205
207
|
Pivotal releases — full history in [CHANGELOG.md](./CHANGELOG.md):
|
|
206
208
|
|
|
209
|
+
- **v8.11 — Project Facts** — the six W's reach every agent file; AGENTS.md points to project.faf.
|
|
207
210
|
- **v8.10 — Human Slots** — AI suggests the goal and six W's; you confirm each one in `faf go`.
|
|
208
211
|
- **v8.9 — Write-Once** — a birth certificate that can't be reissued, checked against its birth commit.
|
|
209
212
|
- **v8.0 — Always33** — one engine, one number: the same score everywhere.
|