recall-os 0.2.1 → 0.3.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.
Files changed (33) hide show
  1. package/README.md +41 -32
  2. package/dist/cli.js +451 -81
  3. package/dist/cli.js.map +1 -1
  4. package/dist/index.js +451 -81
  5. package/dist/index.js.map +1 -1
  6. package/examples/generated-flutter/AGENTS.md +28 -0
  7. package/examples/generated-flutter/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  8. package/examples/generated-flutter/docs/ai/RECALL_COMMANDS.md +13 -1
  9. package/examples/generated-generic/AGENTS.md +28 -0
  10. package/examples/generated-generic/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  11. package/examples/generated-generic/docs/ai/RECALL_COMMANDS.md +13 -1
  12. package/examples/generated-ios-swift/AGENTS.md +28 -0
  13. package/examples/generated-ios-swift/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  14. package/examples/generated-ios-swift/docs/ai/RECALL_COMMANDS.md +13 -1
  15. package/examples/generated-kotlin-android/AGENTS.md +28 -0
  16. package/examples/generated-kotlin-android/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  17. package/examples/generated-kotlin-android/docs/ai/RECALL_COMMANDS.md +13 -1
  18. package/examples/generated-laravel-api/AGENTS.md +28 -0
  19. package/examples/generated-laravel-api/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  20. package/examples/generated-laravel-api/docs/ai/RECALL_COMMANDS.md +13 -1
  21. package/examples/generated-laravel-react/AGENTS.md +28 -0
  22. package/examples/generated-laravel-react/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  23. package/examples/generated-laravel-react/docs/ai/RECALL_COMMANDS.md +13 -1
  24. package/examples/generated-laravel-vue/AGENTS.md +28 -0
  25. package/examples/generated-laravel-vue/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  26. package/examples/generated-laravel-vue/docs/ai/RECALL_COMMANDS.md +13 -1
  27. package/examples/generated-nextjs/AGENTS.md +28 -0
  28. package/examples/generated-nextjs/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  29. package/examples/generated-nextjs/docs/ai/RECALL_COMMANDS.md +13 -1
  30. package/examples/generated-python-fastapi/AGENTS.md +28 -0
  31. package/examples/generated-python-fastapi/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  32. package/examples/generated-python-fastapi/docs/ai/RECALL_COMMANDS.md +13 -1
  33. package/package.json +2 -2
package/README.md CHANGED
@@ -15,9 +15,9 @@ decisions, module ownership, testing and security expectations, AI agent rules
15
15
  **validates** that memory with `recall doctor`. Architecture-neutral. No network, no telemetry, no
16
16
  code generation.
17
17
 
18
- [Install](#install) · [Quickstart](#quickstart) · [Commands](#commands) ·
19
- [What Doctor Checks](#what-doctor-checks) · [Presets](#presets) · [Why I built this](PHILOSOPHY.md)
20
- · [Contributing](CONTRIBUTING.md)
18
+ [Website](https://recall-os.pages.dev) · [Install](#install) · [Quickstart](#quickstart) ·
19
+ [Commands](#commands) · [What Doctor Checks](#what-doctor-checks) · [Presets](#presets) ·
20
+ [Why I built this](PHILOSOPHY.md) · [Contributing](CONTRIBUTING.md)
21
21
 
22
22
  ![Recall OS — guided memory creation, ADR acceptance, and the doctor gate](https://raw.githubusercontent.com/Karthick-Ramachandran/recall-os/main/docs/media/recall-demo.gif)
23
23
 
@@ -35,12 +35,21 @@ What must not drift? What evidence proves this work is complete?
35
35
  When these questions live in the repository instead of a chat window, the repository can answer
36
36
  them.
37
37
 
38
+ > **Not a vector memory engine.** Tools like supermemory or mem0 _retrieve_ information with
39
+ > embeddings; Recall OS writes the **decisions** themselves — reviewable files, not vectors — and
40
+ > checks they stay consistent. They're complementary, not competitors. →
41
+ > [Why I built this](PHILOSOPHY.md)
42
+
38
43
  ## Why Recall OS
39
44
 
40
45
  - **Memory that outlives the conversation.** Decisions, constraints, and ownership are committed to
41
46
  the repo, not trapped in an agent's context window.
42
47
  - **A gate, not just docs.** `recall doctor` is deterministic and returns an exit code, so "is this
43
48
  work actually finished and consistent?" becomes a check you can run in a hook or CI.
49
+ - **Decisions change safely.** When a decision changes, `recall adr supersede` records it (the old
50
+ ADR is marked superseded, the new one links back) and Doctor flags any memory still citing the old
51
+ one — so the trail stays auditable instead of silently contradicted. The generated agent rules
52
+ even carry the CLI commands inline, so your AI tool uses them itself.
44
53
  - **Architecture-neutral by design.** Recall OS records and protects _your_ decisions. It never
45
54
  silently picks a framework, database, or pattern for you.
46
55
  - **Local-first and private.** No network calls, no telemetry, no AI API calls, no remote templates.
@@ -50,17 +59,19 @@ them.
50
59
 
51
60
  ## Install
52
61
 
53
- Install the CLI globally from npm:
62
+ Run it without installing — the quickest way to try it:
54
63
 
55
64
  ```bash
56
- npm install -g recall-os
57
- recall --help
65
+ npx recall-os@latest init
58
66
  ```
59
67
 
60
- Or run it without installing:
68
+ Every command works the same way: `npx recall-os <command>` (e.g. `npx recall-os doctor`).
69
+
70
+ Or install the CLI globally:
61
71
 
62
72
  ```bash
63
- npx recall-os --help
73
+ npm install -g recall-os
74
+ recall --help
64
75
  ```
65
76
 
66
77
  (Requires Node.js >= 20. Published at
@@ -97,19 +108,21 @@ git config core.hooksPath .recall/hooks
97
108
 
98
109
  ## Commands
99
110
 
100
- | Command | Purpose |
101
- | ------------------------------ | ----------------------------------------------------------- |
102
- | `recall init` | Create neutral repository memory (and a pre-commit hook). |
103
- | `recall init --preset <id>` | Add an opinion pack: rich guidance and proposed ADRs. |
104
- | `recall adopt` | Inspect an existing repo and propose reviewable memory. |
105
- | `recall preset list` | List built-in presets. |
106
- | `recall feature create <name>` | Scaffold feature memory (PRD, acceptance, tests, review). |
107
- | `recall adr create <title>` | Create a proposed architecture decision record. |
108
- | `recall adr accept <name>` | Promote a proposed ADR to accepted source-of-truth. |
109
- | `recall module create <name>` | Scaffold module memory (ownership, boundaries, tests). |
110
- | `recall skill create <name>` | Generate a portable AI agent skill (Claude + Agent Skills). |
111
- | `recall mcp add <server>` | Generate offline, proposed memory for an MCP server. |
112
- | `recall doctor` | Validate memory health, evidence, and drift. |
111
+ | Command | Purpose |
112
+ | ---------------------------------- | ----------------------------------------------------------------------------- |
113
+ | `recall init` | Create neutral repository memory (and a pre-commit hook). |
114
+ | `recall init --preset <id>` | Add an opinion pack: rich guidance and proposed ADRs. |
115
+ | `recall adopt` | Inspect an existing repo and propose reviewable memory. |
116
+ | `recall preset list` | List built-in presets. |
117
+ | `recall feature create <name>` | Scaffold feature memory (PRD, acceptance, tests, review). |
118
+ | `recall adr create <title>` | Create a proposed architecture decision record. |
119
+ | `recall adr accept <name>` | Promote a proposed ADR to accepted source-of-truth. |
120
+ | `recall adr supersede <old> <new>` | Record a changed decision: mark the old ADR superseded by a new accepted ADR. |
121
+ | `recall module create <name>` | Scaffold module memory (ownership, boundaries, tests). |
122
+ | `recall skill create <name>` | Generate a portable AI agent skill (Claude + Agent Skills). |
123
+ | `recall skill list` | List the built-in agent skill catalog. |
124
+ | `recall mcp add <server>` | Generate offline, proposed memory for an MCP server. |
125
+ | `recall doctor` | Validate memory health, evidence, and drift. |
113
126
 
114
127
  ## What Doctor Checks
115
128
 
@@ -123,6 +136,7 @@ local, and read-only.
123
136
  | ADR quality | An accepted ADR with no meaningful consequences | error / warn |
124
137
  | Security | A security-sensitive feature with no documented security impact | error / warn |
125
138
  | Drift | Memory that references a missing, or not-yet-accepted, ADR | error / warn |
139
+ | Superseded | Memory still citing a decision that has been superseded by a newer ADR | warning |
126
140
  | Content | A feature PRD, module, or (once work exists) the threat / security model left as a stub | warning |
127
141
 
128
142
  ```txt
@@ -159,17 +173,7 @@ Adding a preset is a small contribution — see [CONTRIBUTING.md](CONTRIBUTING.m
159
173
 
160
174
  ## How It Works
161
175
 
162
- ```txt
163
- Recall OS creates and validates memory under docs/ and .recall/
164
-
165
- intent ─┐
166
- decisions ─┤ recall init / feature / adr / module ┌─ humans review
167
- ownership ─┼──────────────────────────────────────────────────►│
168
- standards ─┤ docs/ + .recall/config.json └─ agents re-read
169
- security ─┘ │
170
-
171
- recall doctor ──► 0 / 1 / 2 ──► hook or CI gate
172
- ```
176
+ ![How Recall OS works: you capture intent, decisions, ownership, standards, and security with recall init / feature / adr / module; it writes durable, reviewable memory under docs/ and .recall/config.json that humans review in pull requests and agents re-read every session; recall doctor validates it deterministically, returning exit code 0, 1, or 2 for a pre-commit hook or CI gate.](https://raw.githubusercontent.com/Karthick-Ramachandran/recall-os/main/docs/media/how-it-works.png)
173
177
 
174
178
  ## How agents load the memory
175
179
 
@@ -240,6 +244,11 @@ Run the gates above and `recall doctor` before claiming work is complete. See
240
244
  [CONTRIBUTING.md](CONTRIBUTING.md) for the full workflow and how to add a preset, and
241
245
  [SECURITY.md](SECURITY.md) for the security model.
242
246
 
247
+ ## Acknowledgments
248
+
249
+ The [landing page](https://recall-os.pages.dev) is deployed with
250
+ [Pagecast](https://github.com/Amal-David/pagecast) — thank you.
251
+
243
252
  ## License
244
253
 
245
254
  MIT — see [LICENSE](LICENSE).