faf-cli 7.1.4 → 7.2.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 +24 -5
- package/dist/cli.js +264 -252
- package/dist/cli.js.map +50 -46
- package/dist/core/tiers.d.ts +5 -2
- package/dist/fafm/from-claude-dir.d.ts +14 -0
- package/dist/fafm/index.d.ts +4 -0
- package/dist/fafm/soul.d.ts +71 -0
- package/dist/fafm/types.d.ts +41 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +140 -140
- package/dist/index.js.map +21 -18
- package/package.json +6 -3
- package/project.faf +6 -3
package/README.md
CHANGED
|
@@ -105,6 +105,7 @@ Run `faf` with no arguments:
|
|
|
105
105
|
| `faf score` | Check AI-readiness (0–100%) |
|
|
106
106
|
| `faf export` | Author `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, `.cursorrules` |
|
|
107
107
|
| `faf sync` | Bi-directional `.faf` ↔ `CLAUDE.md` |
|
|
108
|
+
| `faf memory` | `.fafm` soul ops — convert Claude memory, etch, recall, ls, show |
|
|
108
109
|
| `faf diff` / `log` | Semantic context diff + score timeline across git history |
|
|
109
110
|
| `faf hooks --install` | Pre-commit guard against context regression |
|
|
110
111
|
| `faf compile` / `decompile` | `.faf` ↔ `.fafb` sealed binary |
|
|
@@ -115,6 +116,24 @@ Run `faf` with no arguments:
|
|
|
115
116
|
|
|
116
117
|
Run `faf --help` for the full command set and options.
|
|
117
118
|
|
|
119
|
+
### Memory (`.fafm`) — new in 7.2.0
|
|
120
|
+
|
|
121
|
+
Portable agent memory in the IANA-registered [`.fafm`](https://www.iana.org/assignments/media-types/application/vnd.fafm+yaml) format. Same INTEROP as [claude-fafm-sdk 1.0](https://pypi.org/project/claude-fafm-sdk/).
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
# Claude Code memory dir → soul.fafm
|
|
125
|
+
faf memory convert ~/.claude/projects/.../memory -o soul.fafm
|
|
126
|
+
|
|
127
|
+
faf memory ls # ranked facts
|
|
128
|
+
faf memory recall "your query" # deterministic filter + rank
|
|
129
|
+
faf memory etch "a durable fact" --id my-fact
|
|
130
|
+
faf memory show
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Dart/Flutter — knowledge v2 in 7.2.1
|
|
134
|
+
|
|
135
|
+
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.
|
|
136
|
+
|
|
118
137
|
---
|
|
119
138
|
|
|
120
139
|
## Custom instructions
|
|
@@ -127,20 +146,20 @@ Your own rules for the AI — *"use full words in identifiers," "use bun, not np
|
|
|
127
146
|
|
|
128
147
|
## Scoring
|
|
129
148
|
|
|
130
|
-
|
|
149
|
+
**✪ 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.
|
|
131
150
|
|
|
132
151
|
| Tier | Score | Status |
|
|
133
152
|
|------|-------|--------|
|
|
134
|
-
|
|
|
153
|
+
| ✪ **Trophy** | 100% | AI never has to guess — target |
|
|
135
154
|
| ★ **Gold** | 99%+ | 1 slot from Trophy |
|
|
136
155
|
| ◆ **Silver** | 95%+ | Close — keep going |
|
|
137
|
-
| ◇ **Bronze** | 85%+ |
|
|
156
|
+
| ◇ **Bronze** | 85%+ | On the ladder (was the old recommend-min; not the target) |
|
|
138
157
|
| ● **Green** | 70%+ | Interim — keep going |
|
|
139
158
|
| ● **Yellow** | 55%+ | AI flipping coins |
|
|
140
159
|
| ○ **Red** | <55% | AI working blind |
|
|
141
160
|
| ♡ **White** | 0% | No context at all |
|
|
142
161
|
|
|
143
|
-
|
|
162
|
+
**One score, three glyphs:** ✪ work (CLI · docs · receipts) · 🏆 social (X · blogs) · Trophy Mark PNG (brand). Source of truth: `src/core/tiers.ts`.
|
|
144
163
|
|
|
145
164
|
---
|
|
146
165
|
|
|
@@ -172,7 +191,7 @@ Pivotal releases — full history in [CHANGELOG.md](./CHANGELOG.md):
|
|
|
172
191
|
- **v7.0 — GIT** — context goes git-native: `faf diff` / `log` / `hooks`.
|
|
173
192
|
- **v6.16 — Know Your Stack** — every emitted file labels your stack identically.
|
|
174
193
|
- **v6.15 — Copilot** — `faf export --copilot` writes the file GitHub Copilot reads.
|
|
175
|
-
- **v6.14 — Loop** — `faf loop` drives any repo to
|
|
194
|
+
- **v6.14 — Loop** — `faf loop` drives any repo to ✪ 100% or the honest human wall.
|
|
176
195
|
- **v6.7 — HTML** — `faf show` renders a `.faf` to a browsable page. *(FAF defines. MD instructs. AI codes. HTML shows.)*
|
|
177
196
|
- **v6.6 — Trophy** — 100% or nothing.
|
|
178
197
|
- **v6.0 — Bun** — ground-up rewrite; single portable binary, four platforms.
|