faf-cli 6.11.0 → 6.12.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
@@ -4,7 +4,7 @@
4
4
  <div style="display: flex; align-items: center; gap: 12px;">
5
5
  <img src="https://www.faf.one/orange-smiley.svg" alt="FAF" width="40" />
6
6
  <div>
7
- <h1 style="margin: 0; color: #000000;">faf-cli — The Ledger Edition</h1>
7
+ <h1 style="margin: 0; color: #000000;">faf-cli — The Single-Source Edition</h1>
8
8
  <p style="margin: 2px 0 0 0; font-size: 0.85em; letter-spacing: 0.12em; opacity: 0.7; text-transform: uppercase;"><strong>Persistent AI Context Standard</strong></p>
9
9
  <p style="margin: 6px 0 0 0;"><strong>Persistent Project Context for AI.</strong></p>
10
10
  <p style="margin: 0;"><strong>Define once. Run anywhere.</strong></p>
@@ -63,6 +63,21 @@ Run `faf` with no arguments:
63
63
 
64
64
  ---
65
65
 
66
+ ## v6.12 — The Single-Source Edition
67
+
68
+ **faf-cli is now the single source for the registry `_meta`** — it emits the `one.faf/context` block every FAF MCP server composes: `registryMeta`/`registryName`/`fafContextBlock`, one deterministic projection, byte-identical, end-to-end across every surface, verifiable by sha, re-derivable instantly on-demand.
69
+
70
+ ```ts
71
+ import { registryMeta, registryName } from 'faf-cli';
72
+
73
+ serverJson.name = registryName(faf); // → one.faf/<name>, derived from project.homepage
74
+ serverJson._meta = registryMeta(faf); // nests one.faf/context under publisher-provided (4 KB cap)
75
+ ```
76
+
77
+ Honest-first: the block carries `{ faf, mediaType, iana, deterministic, generated }` — **no baked score**. One emitter, every door, byte-identical.
78
+
79
+ ---
80
+
66
81
  ## v6.11 — The Ledger Edition
67
82
 
68
83
  **`faf bench --submit` posts your cold-vs-grounded receipt to the public ledger — the context bench goes public, one command.** Run the grounding benchmark, then submit the full pair receipt:
@@ -164,9 +179,9 @@ v6 is a ground-up rewrite. All-in on Bun — same toolchain as Claude Code.
164
179
  | **Language** | TypeScript | TypeScript |
165
180
  | **Compile** | Bun bytecode | `bun build --compile` |
166
181
 
167
- 408 tests in ~13s. 296KB bundle in 2.4s. Single portable binary, 4 platforms. npx backward-compatible.
182
+ 880 tests in ~18s. 296KB bundle in 2.4s. Single portable binary, 4 platforms. npx backward-compatible.
168
183
 
169
- 26 commands. 408 tests. WJTTC-tested. 93% smaller than v5.
184
+ 32 commands. 880 tests. WJTTC-tested. 93% smaller than v5.
170
185
 
171
186
  ```
172
187
  commands → interop → core → wasm
@@ -286,7 +301,7 @@ src/
286
301
  > **Robust. Reliable. Next-level WJTTC tested.** — The Foundation Edition.
287
302
 
288
303
  ```bash
289
- bun test # 408 tests, 42 files, ~13s
304
+ bun test # 880 tests, 75 files, ~18s
290
305
  ```
291
306
 
292
307
  - **WJTTC Build Resilience** (13) — every regression class locked.