@zecalis/fael 0.12.0 → 0.13.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
@@ -37,8 +37,9 @@ fael gives the repo a memory that agents can't skip:
37
37
  `fael stats` shows exactly what fael has put into context.
38
38
  - **It follows the code.** Rename a file and its rows follow it (`git log -M`). Split one into
39
39
  several and `fael mv old new` points the rows at the new files.
40
- - **It lives in git.** Rows are plain JSONL in `.fael/`. Clone the repo and you get every decision,
41
- bug and note with it — for every agent and every person on the team. No server, no account.
40
+ - **It lives in your git, out of your branches.** Rows are plain JSONL in the clone's `.git/fael/`,
41
+ shared at once by every worktree, so PRs never carry log lines to conflict on. `fael sync` carries
42
+ them to teammates through your own remote (`refs/fael/*`). No server, no account.
42
43
 
43
44
  Works with **Claude Code, Codex and OpenCode**, and any MCP host. One small binary; hooks run in 2–3 ms.
44
45
 
@@ -51,7 +52,7 @@ Works with **Claude Code, Codex and OpenCode**, and any MCP host. One small bina
51
52
  | Agent notices a bug mid-task, then forgets it | It's filed on the spot, and shown to whoever touches that file next |
52
53
  | Two agents in parallel worktrees hit the same problem | The first files it; the second gets it when it opens the file — the same hour, before any commit |
53
54
  | A sub-agent finds something and its summary drops it | Its `fael issue: …` line is filed when it stops (Claude Code), and the parent gets it on that file |
54
- | Knowledge stays in one person's chat history | It's in the repo — teammates and their agents get it on `git pull` |
55
+ | Knowledge stays in one person's chat history | It's in the clone — teammates and their agents get it on `fael sync` |
55
56
  | A PM's requirement lives in a ticket the agent never opens | `fael add decision … --files src/pay.rs` — it's in front of the agent the moment it opens the file |
56
57
 
57
58
  ## Install
@@ -82,7 +83,16 @@ fael install --dry-run # show what would change, write nothing
82
83
  an old path. That's also why `npx @zecalis/fael install` is refused: npx keeps the binary in a
83
84
  throwaway cache. Install it globally first.
84
85
 
85
- **3. Work as usual.** The first row an agent writes creates `.fael/log/` in the repo — commit it like code.
86
+ **3. Work as usual.** Rows land in `.git/fael/` — nothing to commit. To share them or back them up:
87
+
88
+ ```bash
89
+ git config fael.remote <url> # any git remote you can push to — origin works, a private one if the repo is public
90
+ fael sync # push your rows, pull everyone else's (the Stop hook also runs it once per session)
91
+ ```
92
+
93
+ Rather review memory in PRs? `store = "tracked"` in `.fael/config.toml` also writes the rows to
94
+ `.fael/log/` in the tree, to commit like code. Repos that already have a `.fael/log/` keep that mode;
95
+ `fael migrate local` moves one over ([docs/integrate.md](docs/integrate.md#moving-a-tracked-repo-to-local)).
86
96
 
87
97
  ## How it works
88
98
 
@@ -90,7 +100,7 @@ throwaway cache. Install it globally first.
90
100
  agent reads src/pay.rs → fael attaches: "[bug] refund rounds down on JPY → src/pay.rs"
91
101
  agent fixes it, replies → "…done. fael decision: refunds round half-up, per finance [files: src/pay.rs]"
92
102
  fael → files that line as a row — no extra turn, nothing blocked
93
- git push → the next agent, on any machine, sees it when it opens src/pay.rs
103
+ fael sync → the next agent, on any machine, sees it when it opens src/pay.rs
94
104
  ```
95
105
 
96
106
  Agents use the `fael` MCP server (`find`, `add`, `close`). You can use the same log from the shell:
@@ -102,7 +112,7 @@ fael add bug "refund rounds down on JPY" --files src/pay.rs
102
112
  fael add issue "count from order date or ship date?" --to finance --files src/pay.rs
103
113
  fael close <id> "fixed in 4f2a91c"
104
114
  fael mv src/pay.rs src/pay/refund.rs # a split git can't see — rows follow
105
- fael doctor # check the setup (e.g. a gitignored .fael/log)
115
+ fael doctor # check the setup (e.g. no fael.remote to back rows up)
106
116
  ```
107
117
 
108
118
  `fael` with no arguments lists every command.
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "@zecalis/fael",
22
- "version": "0.12.0"
22
+ "version": "0.13.0"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.12.0"
51
+ "version": "0.13.0"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/zecalis/fael/releases/download/v0.12.0"
3
+ "https://github.com/zecalis/fael/releases/download/v0.13.0"
4
4
  ],
5
5
  "bin": {
6
6
  "fael": "run-fael.js"
@@ -81,7 +81,7 @@
81
81
  "zipExt": ".tar.xz"
82
82
  }
83
83
  },
84
- "version": "0.12.0",
84
+ "version": "0.13.0",
85
85
  "volta": {
86
86
  "node": "18.14.1",
87
87
  "npm": "9.5.0"