faf-cli 7.2.0 → 7.3.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 +16 -6
- package/dist/cli.js +225 -224
- package/dist/cli.js.map +16 -15
- package/dist/core/tiers.d.ts +4 -2
- package/dist/detect/go.d.ts +25 -0
- package/dist/index.js +144 -143
- package/dist/index.js.map +9 -8
- package/package.json +1 -1
- package/project.faf +2 -2
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ detected from your real stack, scored, and versioned with your code. No drift. N
|
|
|
23
23
|
|
|
24
24
|
<br>
|
|
25
25
|
|
|
26
|
-
**
|
|
26
|
+
**Over 100k downloads** · see [faf.one/downloads](https://faf.one/downloads) for latest stats · **IANA-registered · Anthropic-merged (#2759)**
|
|
27
27
|
|
|
28
28
|
⭐ **A star helps other devs find faf-cli** — despite the downloads, ~3 of 4 devs check stars.
|
|
29
29
|
|
|
@@ -130,6 +130,16 @@ faf memory etch "a durable fact" --id my-fact
|
|
|
130
130
|
faf memory show
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
+
### What's New in v7.3.0 — The Go Edition
|
|
134
|
+
|
|
135
|
+
- **Content-aware Go** — `go.mod` alone is never “backend.” FAF classifies MCP · Gin/Echo/Fiber/Chi · Cobra/cmd CLI · pure library.
|
|
136
|
+
- **Same pattern as Dart** — one knowledge file, one classifier; composed across surfaces.
|
|
137
|
+
- **Work-surface Trophy glyph ✪** — 100% Proof Seal on CLI/docs (social still 🏆).
|
|
138
|
+
|
|
139
|
+
### Dart/Flutter — knowledge v2 in 7.2.1
|
|
140
|
+
|
|
141
|
+
Same content-aware detection as the [Dart Edition](https://faf.one/blog/claude-dart-edition) (Flutter ≠ every `pubspec`). **7.2.1** refreshes the single-source knowledge table: Riverpod annotation, Flutter Hooks, Beamer, Routemaster, Jaspr, Relic, and more MCP package names — still **one classifier**, composed by the MCPs.
|
|
142
|
+
|
|
133
143
|
---
|
|
134
144
|
|
|
135
145
|
## Custom instructions
|
|
@@ -142,20 +152,20 @@ Your own rules for the AI — *"use full words in identifiers," "use bun, not np
|
|
|
142
152
|
|
|
143
153
|
## Scoring
|
|
144
154
|
|
|
145
|
-
|
|
155
|
+
**✪ Trophy 100% — all or nothing.** From v6.6.0 onward, faf-cli recommends only Trophy. 100% on the FCL is what makes the layers above (MD instructions, Agents, AI tooling) work — sub-Trophy leaves gaps that AI guesses on. Sub-Trophy tiers (including Bronze 85) remain on the ladder as honest interim states — they are not deleted; we just no longer *aim* for 85 as the goal.
|
|
146
156
|
|
|
147
157
|
| Tier | Score | Status |
|
|
148
158
|
|------|-------|--------|
|
|
149
|
-
|
|
|
159
|
+
| ✪ **Trophy** | 100% | AI never has to guess — target |
|
|
150
160
|
| ★ **Gold** | 99%+ | 1 slot from Trophy |
|
|
151
161
|
| ◆ **Silver** | 95%+ | Close — keep going |
|
|
152
|
-
| ◇ **Bronze** | 85%+ |
|
|
162
|
+
| ◇ **Bronze** | 85%+ | On the ladder (was the old recommend-min; not the target) |
|
|
153
163
|
| ● **Green** | 70%+ | Interim — keep going |
|
|
154
164
|
| ● **Yellow** | 55%+ | AI flipping coins |
|
|
155
165
|
| ○ **Red** | <55% | AI working blind |
|
|
156
166
|
| ♡ **White** | 0% | No context at all |
|
|
157
167
|
|
|
158
|
-
|
|
168
|
+
**One score, three glyphs:** ✪ work (CLI · docs · receipts) · 🏆 social (X · blogs) · Trophy Mark PNG (brand). Source of truth: `src/core/tiers.ts`.
|
|
159
169
|
|
|
160
170
|
---
|
|
161
171
|
|
|
@@ -187,7 +197,7 @@ Pivotal releases — full history in [CHANGELOG.md](./CHANGELOG.md):
|
|
|
187
197
|
- **v7.0 — GIT** — context goes git-native: `faf diff` / `log` / `hooks`.
|
|
188
198
|
- **v6.16 — Know Your Stack** — every emitted file labels your stack identically.
|
|
189
199
|
- **v6.15 — Copilot** — `faf export --copilot` writes the file GitHub Copilot reads.
|
|
190
|
-
- **v6.14 — Loop** — `faf loop` drives any repo to
|
|
200
|
+
- **v6.14 — Loop** — `faf loop` drives any repo to ✪ 100% or the honest human wall.
|
|
191
201
|
- **v6.7 — HTML** — `faf show` renders a `.faf` to a browsable page. *(FAF defines. MD instructs. AI codes. HTML shows.)*
|
|
192
202
|
- **v6.6 — Trophy** — 100% or nothing.
|
|
193
203
|
- **v6.0 — Bun** — ground-up rewrite; single portable binary, four platforms.
|