recall-os 0.2.0 → 0.3.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.
Files changed (51) hide show
  1. package/README.md +44 -40
  2. package/dist/cli.js +805 -199
  3. package/dist/cli.js.map +1 -1
  4. package/dist/index.js +805 -199
  5. package/dist/index.js.map +1 -1
  6. package/examples/generated-flutter/AGENTS.md +13 -0
  7. package/examples/generated-flutter/docs/20-security/SECURITY_MODEL.md +25 -4
  8. package/examples/generated-flutter/docs/20-security/THREAT_MODEL.md +35 -3
  9. package/examples/generated-flutter/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  10. package/examples/generated-flutter/docs/ai/RECALL_COMMANDS.md +13 -1
  11. package/examples/generated-generic/AGENTS.md +13 -0
  12. package/examples/generated-generic/docs/20-security/SECURITY_MODEL.md +25 -4
  13. package/examples/generated-generic/docs/20-security/THREAT_MODEL.md +35 -3
  14. package/examples/generated-generic/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  15. package/examples/generated-generic/docs/ai/RECALL_COMMANDS.md +13 -1
  16. package/examples/generated-ios-swift/AGENTS.md +13 -0
  17. package/examples/generated-ios-swift/docs/20-security/SECURITY_MODEL.md +25 -4
  18. package/examples/generated-ios-swift/docs/20-security/THREAT_MODEL.md +35 -3
  19. package/examples/generated-ios-swift/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  20. package/examples/generated-ios-swift/docs/ai/RECALL_COMMANDS.md +13 -1
  21. package/examples/generated-kotlin-android/AGENTS.md +13 -0
  22. package/examples/generated-kotlin-android/docs/20-security/SECURITY_MODEL.md +25 -4
  23. package/examples/generated-kotlin-android/docs/20-security/THREAT_MODEL.md +35 -3
  24. package/examples/generated-kotlin-android/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  25. package/examples/generated-kotlin-android/docs/ai/RECALL_COMMANDS.md +13 -1
  26. package/examples/generated-laravel-api/AGENTS.md +13 -0
  27. package/examples/generated-laravel-api/docs/20-security/SECURITY_MODEL.md +25 -4
  28. package/examples/generated-laravel-api/docs/20-security/THREAT_MODEL.md +35 -3
  29. package/examples/generated-laravel-api/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  30. package/examples/generated-laravel-api/docs/ai/RECALL_COMMANDS.md +13 -1
  31. package/examples/generated-laravel-react/AGENTS.md +13 -0
  32. package/examples/generated-laravel-react/docs/20-security/SECURITY_MODEL.md +25 -4
  33. package/examples/generated-laravel-react/docs/20-security/THREAT_MODEL.md +35 -3
  34. package/examples/generated-laravel-react/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  35. package/examples/generated-laravel-react/docs/ai/RECALL_COMMANDS.md +13 -1
  36. package/examples/generated-laravel-vue/AGENTS.md +13 -0
  37. package/examples/generated-laravel-vue/docs/20-security/SECURITY_MODEL.md +25 -4
  38. package/examples/generated-laravel-vue/docs/20-security/THREAT_MODEL.md +35 -3
  39. package/examples/generated-laravel-vue/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  40. package/examples/generated-laravel-vue/docs/ai/RECALL_COMMANDS.md +13 -1
  41. package/examples/generated-nextjs/AGENTS.md +13 -0
  42. package/examples/generated-nextjs/docs/20-security/SECURITY_MODEL.md +25 -4
  43. package/examples/generated-nextjs/docs/20-security/THREAT_MODEL.md +35 -3
  44. package/examples/generated-nextjs/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  45. package/examples/generated-nextjs/docs/ai/RECALL_COMMANDS.md +13 -1
  46. package/examples/generated-python-fastapi/AGENTS.md +13 -0
  47. package/examples/generated-python-fastapi/docs/20-security/SECURITY_MODEL.md +25 -4
  48. package/examples/generated-python-fastapi/docs/20-security/THREAT_MODEL.md +35 -3
  49. package/examples/generated-python-fastapi/docs/60-engineering/AI_AGENT_RULES.md +9 -0
  50. package/examples/generated-python-fastapi/docs/ai/RECALL_COMMANDS.md +13 -1
  51. 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,6 +35,11 @@ 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
@@ -50,17 +55,19 @@ them.
50
55
 
51
56
  ## Install
52
57
 
53
- Install the CLI globally from npm:
58
+ Run it without installing — the quickest way to try it:
54
59
 
55
60
  ```bash
56
- npm install -g recall-os
57
- recall --help
61
+ npx recall-os@latest init
58
62
  ```
59
63
 
60
- Or run it without installing:
64
+ Every command works the same way: `npx recall-os <command>` (e.g. `npx recall-os doctor`).
65
+
66
+ Or install the CLI globally:
61
67
 
62
68
  ```bash
63
- npx recall-os --help
69
+ npm install -g recall-os
70
+ recall --help
64
71
  ```
65
72
 
66
73
  (Requires Node.js >= 20. Published at
@@ -97,33 +104,35 @@ git config core.hooksPath .recall/hooks
97
104
 
98
105
  ## Commands
99
106
 
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. |
107
+ | Command | Purpose |
108
+ | ---------------------------------- | ----------------------------------------------------------------------------- |
109
+ | `recall init` | Create neutral repository memory (and a pre-commit hook). |
110
+ | `recall init --preset <id>` | Add an opinion pack: rich guidance and proposed ADRs. |
111
+ | `recall adopt` | Inspect an existing repo and propose reviewable memory. |
112
+ | `recall preset list` | List built-in presets. |
113
+ | `recall feature create <name>` | Scaffold feature memory (PRD, acceptance, tests, review). |
114
+ | `recall adr create <title>` | Create a proposed architecture decision record. |
115
+ | `recall adr accept <name>` | Promote a proposed ADR to accepted source-of-truth. |
116
+ | `recall adr supersede <old> <new>` | Record a changed decision: mark the old ADR superseded by a new accepted ADR. |
117
+ | `recall module create <name>` | Scaffold module memory (ownership, boundaries, tests). |
118
+ | `recall skill create <name>` | Generate a portable AI agent skill (Claude + Agent Skills). |
119
+ | `recall mcp add <server>` | Generate offline, proposed memory for an MCP server. |
120
+ | `recall doctor` | Validate memory health, evidence, and drift. |
113
121
 
114
122
  ## What Doctor Checks
115
123
 
116
124
  `recall doctor` is the part that makes Recall OS more than a template. Every check is deterministic,
117
125
  local, and read-only.
118
126
 
119
- | Category | Detects | Severity |
120
- | ------------------- | -------------------------------------------------------------------------- | ------------ |
121
- | Structure | Missing config, required docs, or feature / module / ADR sections | error |
122
- | Completion evidence | A feature marked complete with review pending or no test / result evidence | error |
123
- | ADR quality | An accepted ADR with no meaningful consequences | error / warn |
124
- | Security | A security-sensitive feature with no documented security impact | error / warn |
125
- | Drift | Memory that references a missing, or not-yet-accepted, ADR | error / warn |
126
- | Content | A feature PRD still left as an unfilled template | warning |
127
+ | Category | Detects | Severity |
128
+ | ------------------- | --------------------------------------------------------------------------------------- | ------------ |
129
+ | Structure | Missing config, required docs, or feature / module / ADR sections | error |
130
+ | Completion evidence | A feature marked complete with review pending or no test / result evidence | error |
131
+ | ADR quality | An accepted ADR with no meaningful consequences | error / warn |
132
+ | Security | A security-sensitive feature with no documented security impact | error / warn |
133
+ | Drift | Memory that references a missing, or not-yet-accepted, ADR | error / warn |
134
+ | Superseded | Memory still citing a decision that has been superseded by a newer ADR | warning |
135
+ | Content | A feature PRD, module, or (once work exists) the threat / security model left as a stub | warning |
127
136
 
128
137
  ```txt
129
138
  Exit codes: 0 = healthy 1 = warnings only 2 = errors
@@ -159,17 +168,7 @@ Adding a preset is a small contribution — see [CONTRIBUTING.md](CONTRIBUTING.m
159
168
 
160
169
  ## How It Works
161
170
 
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
- ```
171
+ ![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
172
 
174
173
  ## How agents load the memory
175
174
 
@@ -240,6 +239,11 @@ Run the gates above and `recall doctor` before claiming work is complete. See
240
239
  [CONTRIBUTING.md](CONTRIBUTING.md) for the full workflow and how to add a preset, and
241
240
  [SECURITY.md](SECURITY.md) for the security model.
242
241
 
242
+ ## Acknowledgments
243
+
244
+ The [landing page](https://recall-os.pages.dev) is deployed with
245
+ [Pagecast](https://github.com/Amal-David/pagecast) — thank you.
246
+
243
247
  ## License
244
248
 
245
249
  MIT — see [LICENSE](LICENSE).