faf-cli 7.1.3 → 7.1.4
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 +77 -266
- package/dist/cli.js +205 -205
- package/dist/cli.js.map +7 -7
- package/dist/index.js +70 -70
- package/dist/index.js.map +5 -5
- package/package.json +3 -2
- package/project.faf +44 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "faf-cli",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.4",
|
|
4
4
|
"description": "Persistent AI Context Standard — project DNA for AI. IANA-registered. Anthropic-merged.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"icon": "https://faf.one/orange-smiley.svg",
|
|
@@ -76,10 +76,11 @@
|
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@faf/specification": "github:Wolfe-Jam/faf",
|
|
79
|
-
"
|
|
79
|
+
"@types/bun": "^1.3.14",
|
|
80
80
|
"@types/node": "^22.15.0",
|
|
81
81
|
"@typescript-eslint/eslint-plugin": "^8.41.0",
|
|
82
82
|
"@typescript-eslint/parser": "^8.41.0",
|
|
83
|
+
"ajv": "^8.17.1",
|
|
83
84
|
"eslint": "^9.39.2",
|
|
84
85
|
"prettier": "^3.2.5",
|
|
85
86
|
"typescript": "^5.3.3",
|
package/project.faf
CHANGED
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
faf_version: "3.0"
|
|
2
2
|
project:
|
|
3
|
-
name: faf-cli
|
|
4
|
-
|
|
3
|
+
name: faf-cli
|
|
4
|
+
version: "7.1.4"
|
|
5
|
+
goal: "CLI for the IANA-registered `.faf` format (`application/vnd.faf+yaml`) — TypeScript, Bun-native since v6. package faf-cli v7.1.4."
|
|
5
6
|
main_language: TypeScript
|
|
6
7
|
type: cli # found: package.json bin
|
|
8
|
+
# Commands + key_files feed `faf export --agents` (hand values win over detection).
|
|
9
|
+
commands:
|
|
10
|
+
install: bun install
|
|
11
|
+
build: bun run build
|
|
12
|
+
dev: bun run dev
|
|
13
|
+
test: bun run test
|
|
14
|
+
lint: bun run lint
|
|
15
|
+
key_files:
|
|
16
|
+
- src/cli.ts
|
|
17
|
+
- src/index.ts
|
|
18
|
+
- src/commands/
|
|
19
|
+
- src/core/
|
|
20
|
+
- src/detect/
|
|
21
|
+
- src/interop/
|
|
22
|
+
- src/wasm/
|
|
23
|
+
- package.json
|
|
24
|
+
- project.faf
|
|
25
|
+
instant_context:
|
|
26
|
+
what_building: CLI for IANA-registered .faf project DNA
|
|
27
|
+
tech_stack: TypeScript · Bun-native since v6
|
|
28
|
+
key_files:
|
|
29
|
+
- src/cli.ts
|
|
30
|
+
- src/commands/
|
|
31
|
+
- src/core/
|
|
32
|
+
- src/interop/agents.ts
|
|
7
33
|
stack:
|
|
8
34
|
frontend: slotignored
|
|
9
35
|
css_framework: slotignored
|
|
@@ -29,7 +55,7 @@ human_context:
|
|
|
29
55
|
what: Persistent AI Context Standard — project DNA for AI. IANA-registered. Anthropic-merged.
|
|
30
56
|
why: Eliminates 91% context re-discovery tax — define once, AI remembers forever
|
|
31
57
|
where: npm registry, Homebrew, GitHub
|
|
32
|
-
when: Production since September 2025;
|
|
58
|
+
when: Production since September 2025; Bun-native since v6; current package 7.1.4
|
|
33
59
|
how: bunx faf-cli auto, then project.faf versions with your code — faf show renders it human-visible
|
|
34
60
|
monorepo:
|
|
35
61
|
packages_count: slotignored
|
|
@@ -45,3 +71,18 @@ surfaces:
|
|
|
45
71
|
declared: # hand-authored: surfaces the manifests don't carry + targets
|
|
46
72
|
- { type: npm, id: faf, status: live } # dual-publish alias (faf-cli ⇄ faf)
|
|
47
73
|
- { type: homebrew, id: faf-cli, status: live }
|
|
74
|
+
ai_instructions:
|
|
75
|
+
# faf-cli's own custom rules — dogfooding ai_instructions.warnings.
|
|
76
|
+
# These land at the top of AGENTS.md Guardrails on `faf export --agents`.
|
|
77
|
+
warnings:
|
|
78
|
+
- "Use bun, not npm — this repo is Bun-native since v6."
|
|
79
|
+
- "TypeScript strict; zero type errors, zero test failures — always."
|
|
80
|
+
- "Scoring is a Rust→WASM kernel — compose it, never reimplement scoring in TS."
|
|
81
|
+
- "FAF authors — never 'generates'. And 'never guessed', not 'not guessed'."
|
|
82
|
+
- "Never write 'Guaranteed' (any form) — it's banned; it's free software."
|
|
83
|
+
- "Publish only via /pubpro — never hand-run npm publish."
|
|
84
|
+
working_style:
|
|
85
|
+
architecture: Domain-model first; single-source engines composed, never reimplemented.
|
|
86
|
+
testing: WJTTC — zero errors always; bun test green before any ship.
|
|
87
|
+
runtime: Bun-native since v6, TypeScript strict, Rust→WASM scoring kernel.
|
|
88
|
+
releases: Atomic via /pubpro — bump, verify, tag, publish in one motion.
|