Skip to content

Commit e3991f5

Browse files
authored
Merge pull request #5 from focaxisdev/codex/protocol-first-activation
Release v0.4.1 protocol-first activation
2 parents 69f8bbb + 58c9ac8 commit e3991f5

8 files changed

Lines changed: 89 additions & 30 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.4.1] - 2026-04-25
6+
7+
- Reaffirmed Deja Vu as an ultra-light protocol-first memory system rather than a required package, service, daemon, vector database, or engine.
8+
- Updated the README opening around the concrete adoption promise: stop re-explaining the repo to every new coding-agent chat.
9+
- Added a 2-minute start path centered on `AGENTS.md`, `memory/summary.md`, and `memory/impressions.jsonl`.
10+
- Clarified that scripts, recall feedback, detailed records, and the TypeScript engine are optional scale-up layers.
11+
- Added release notes for the 0.4.1 protocol-first activation patch.
12+
513
## [0.4.0] - 2026-04-24
614

715
- Reframed the README and package metadata around repo-local Markdown memory for AI coding agents.

README.md

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,32 @@
11
# Deja Vu
22

3-
**Persistent project memory for AI coding agents, stored in your repo as Markdown and JSONL.**
3+
**Stop re-explaining your repo to every new coding-agent chat.**
44

5-
Deja Vu helps Codex, Claude Code, Cursor, Windsurf, and other coding agents remember project decisions, architecture context, open loops, and team preferences across new chats.
5+
Deja Vu is an ultra-light, protocol-first memory system for Codex, Claude Code, Cursor, Windsurf, and other coding agents. Add three repo-local files so a new agent session can scan tiny cues, recall only relevant project memory, and write back durable context.
66

7-
It does not require a database, vector store, embedding model, hosted memory service, or npm package.
7+
It does not require a database, vector store, embedding model, hosted memory service, daemon, or npm package.
88

99
```text
1010
problem: every new agent session forgets why the project works the way it does
1111
result: the agent scans tiny repo-local cues, recalls only relevant memory, and writes back durable context
1212
```
1313

14-
Start with three files:
14+
## 2-Minute Start
15+
16+
Start by copying or creating only three files:
1517

1618
- `AGENTS.md`
1719
- `memory/summary.md`
1820
- `memory/impressions.jsonl`
1921

22+
Then tell the next coding-agent chat:
23+
24+
```text
25+
Follow the Deja Vu rules in AGENTS.md. Before substantial work, scan memory/impressions.jsonl, load memory/summary.md only for weak matches, and load at most one to three detailed records for strong matches.
26+
```
27+
28+
That is the base product. Add scripts, feedback, decisions, open loops, or the optional TypeScript engine only when the project grows enough to justify them.
29+
2030
Use Deja Vu if your team keeps repeating:
2131

2232
- "We already decided this."
@@ -38,7 +48,7 @@ It is packaged as three project-local assets:
3848
- workflow
3949
- tiny memory files
4050

41-
No server. No hidden state. No required npm package. The base protocol works with Markdown and JSONL files that live beside the code.
51+
No server. No hidden state. No required npm package. No memory platform. The base protocol works with Markdown and JSONL files that live beside the code.
4252

4353
If you found this on npm: the package is only the optional TypeScript engine and CLI tooling. The main product is the repo-local memory protocol you can copy into any project.
4454

@@ -48,7 +58,7 @@ Use Deja Vu when you want:
4858
- low-token recall before planning, coding, or answering
4959
- observable recall budget and recall outcome feedback
5060
- durable decisions, preferences, open loops, and architecture intent in plain files
51-
- an optional TypeScript semantic engine only when the project outgrows the file-first protocol
61+
- optional CLI or TypeScript helpers only when the project outgrows the file-first protocol
5262

5363
## What Deja Vu Is
5464

@@ -74,12 +84,12 @@ No npm package, embeddings, vector search, or database is required.
7484

7585
If you want to adopt Deja Vu in a project without extra infrastructure:
7686

77-
1. Read [docs/protocol.md](./docs/protocol.md).
78-
2. Read [docs/workflow.md](./docs/workflow.md).
79-
3. Read [docs/impression-layer.md](./docs/impression-layer.md).
80-
4. Read [docs/scripted-recall.md](./docs/scripted-recall.md).
81-
5. Copy the minimum templates from [docs/templates](./docs/templates).
82-
6. Add optional decision, open-loop, event, and context records only when the project needs them.
87+
1. Copy [docs/templates/AGENTS.template.md](./docs/templates/AGENTS.template.md) into your project rules file.
88+
2. Copy [docs/templates/memory/summary.md](./docs/templates/memory/summary.md).
89+
3. Copy [docs/templates/memory/impressions.jsonl](./docs/templates/memory/impressions.jsonl).
90+
4. Ask the next agent session to follow the rules before substantial work.
91+
5. Read [docs/protocol.md](./docs/protocol.md) only when you need the full normative behavior.
92+
6. Add optional decision, open-loop, feedback, event, and context records only when the project needs them.
8393

8494
Recommended first files:
8595

@@ -253,4 +263,5 @@ npm run lint:memory
253263
- [docs/project-rules-template.md](./docs/project-rules-template.md)
254264
- [docs/release-v0.3.1.md](./docs/release-v0.3.1.md)
255265
- [docs/release-v0.4.0.md](./docs/release-v0.4.0.md)
266+
- [docs/release-v0.4.1.md](./docs/release-v0.4.1.md)
256267
- [llms.txt](./llms.txt)

docs/bootstrap-instructions.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Give a project durable memory continuity using only:
1010
- minimum Markdown and JSONL memory files
1111
- the cue-first Deja Vu workflow
1212

13+
Keep the bootstrap ultra-light. The base product is the protocol, not a required package, service, daemon, vector store, or engine.
14+
1315
## Trigger conditions
1416

1517
Bootstrap when at least one of these is true:
@@ -49,19 +51,18 @@ Reuse and align existing structures when possible instead of creating a competin
4951

5052
### 4. Install the minimum protocol artifacts
5153

52-
Create or update:
54+
Create or update only the minimum first:
5355

5456
- `AGENTS.md`
5557
- `memory/summary.md`
5658
- `memory/impressions.jsonl`
57-
- `scripts/dejavu-scan-memory.mjs`
58-
- `memory/recall-feedback.jsonl` when feedback should tune future recall
5959

60-
Add only when useful:
60+
Then add helper artifacts only when they reduce repeated explanation or improve recall quality:
6161

62+
- `scripts/dejavu-scan-memory.mjs`
63+
- `memory/recall-feedback.jsonl`
6264
- `memory/decisions/`
6365
- `memory/open-loops/`
64-
- `memory/recall-feedback.jsonl`
6566
- `memory/events/`
6667
- `memory/context/project-context.md`
6768
- `memory/index.md`

docs/release-v0.4.1.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Deja Vu v0.4.1: Protocol-First Activation
2+
3+
Deja Vu remains an ultra-light, repo-local memory protocol for AI coding agents.
4+
5+
v0.4.1 sharpens the adoption path around the smallest useful product: three files, one workflow, and optional helper tooling only when a project grows enough to justify it.
6+
7+
## Why It Matters
8+
9+
The core problem is not that agents need another memory platform. The problem is that every new coding-agent chat starts without the project decisions, architecture intent, open loops, and stable preferences that already exist.
10+
11+
Deja Vu keeps the fix small: scan tiny repo-local cues, load the least memory that preserves continuity, and write back only durable context.
12+
13+
## Highlights
14+
15+
- README opening now leads with the concrete pain: stop re-explaining the repo to every new coding-agent chat.
16+
- Added a 2-minute start path centered on `AGENTS.md`, `memory/summary.md`, and `memory/impressions.jsonl`.
17+
- Reaffirmed that the base product is the protocol, not an npm package, service, daemon, vector database, or engine.
18+
- Clarified that scripts, recall feedback, detailed records, and the TypeScript engine are optional scale-up layers.
19+
20+
## Upgrade Notes
21+
22+
No protocol migration is required.
23+
24+
Existing v0.4.0 projects can keep using the same minimum files:
25+
26+
- `AGENTS.md`
27+
- `memory/summary.md`
28+
- `memory/impressions.jsonl`
29+
30+
Use `memory/recall-feedback.jsonl`, decision records, open loops, events, and engine helpers only when they reduce repeated explanation or improve recall quality.
31+
32+
## Suggested GitHub Release Title
33+
34+
Deja Vu v0.4.1: Protocol-First Activation
35+
36+
## Suggested Tagline
37+
38+
Stop re-explaining your repo to every new coding-agent chat.

encoding-status.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
| --- | --- | --- |
55
| `encoding-status.md` | 編碼正常(新建,UTF-8) | Project-local registry created by agent. |
66
| `.gitignore` | 編碼正常(新建,UTF-8) | New text file. |
7-
| `package.json` | 編碼正常(已檢查) | Updated in UTF-8; version bumped to 0.3.1 with cue-quality package description and keywords. |
8-
| `package-lock.json` | 編碼正常(已檢查) | Updated in UTF-8; package version metadata now matches the 0.3.1 release. |
7+
| `package.json` | 編碼正常(已檢查) | Updated in UTF-8; version bumped to 0.4.1 with ultra-light protocol-first package description. |
8+
| `package-lock.json` | 編碼正常(已檢查) | Updated in UTF-8; package version metadata now matches the 0.4.1 release. |
99
| `tsconfig.json` | 編碼正常(新建,UTF-8) | New text file. |
1010
| `LICENSE` | 編碼正常(新建,UTF-8) | New text file. |
11-
| `README.md` | 編碼正常(已檢查) | Updated in UTF-8; GitHub-facing opening now emphasizes agent context loss, no database/vector dependency, and before/after value. |
12-
| `CHANGELOG.md` | 編碼正常(已檢查) | Updated in UTF-8; now includes the 0.3.1 recall-quality patch release notes. |
13-
| `llms.txt` | 編碼正常(已檢查) | Updated in UTF-8; AI-readable index now includes cue quality linting, gist summaries, and boundary-aware chunking. |
11+
| `README.md` | 編碼正常(已檢查) | Updated in UTF-8; opening now emphasizes ultra-light protocol-first activation and the 2-minute three-file start. |
12+
| `CHANGELOG.md` | 編碼正常(已檢查) | Updated in UTF-8; now includes the 0.4.1 protocol-first activation patch release notes. |
13+
| `llms.txt` | 編碼正常(已檢查) | Updated in UTF-8; AI-readable index now emphasizes the three-file ultra-light adoption path. |
1414
| `docs/architecture.md` | 編碼正常(已檢查) | Rewritten in UTF-8; architecture doc now describes the engine as the optional layer inside a protocol-first product. |
1515
| `docs/agent-handshake.md` | 編碼正常(已檢查) | Rewritten in UTF-8; handshake now starts from cue-first adoption and recall-budget discipline. |
1616
| `docs/project-rules-template.md` | 編碼正常(已檢查) | Rewritten in UTF-8; points to canonical AGENTS and memory templates. |
17-
| `docs/bootstrap-instructions.md` | 編碼正常(已檢查) | Rewritten in UTF-8; bootstrap now installs only minimum cue-first memory artifacts before optional scale-up. |
17+
| `docs/bootstrap-instructions.md` | 編碼正常(已檢查) | Updated in UTF-8; bootstrap now reinforces the ultra-light protocol-first minimum before optional helper artifacts. |
1818
| `docs/release-v0.1.0.md` | 編碼正常(已檢查) | Rewritten in UTF-8; release framing now centers repo-first protocol adoption for the earlier release note. |
1919
| `docs/release-v0.2.0.md` | 編碼正常(新建,UTF-8) | New release note for the protocol-first reboot version. |
2020
| `docs/protocol.md` | 編碼正常(已檢查) | Rewritten in UTF-8; protocol now defines cue-first v0.3, minimum artifacts, and recall budget. |
@@ -72,5 +72,6 @@
7272
| `scripts/dejavu-lint-memory.mjs` | 編碼正常(已檢查) | Updated in UTF-8; linter now warns on low-quality impression cues and duplicate keyword sets. |
7373
| `tests/memory-cli.test.ts` | 編碼正常(已檢查) | Updated in UTF-8; CLI tests now cover low-quality cue warnings. |
7474
| `docs/release-v0.4.0.md` | 編碼正常(新建,UTF-8) | New release note for feedback-aware recall budgets and recall outcomes. |
75+
| `docs/release-v0.4.1.md` | 編碼正常(新建,UTF-8) | New release note for protocol-first activation and the ultra-light three-file adoption path. |
7576
| `docs/templates/memory/recall-feedback.jsonl` | 編碼正常(新建,UTF-8) | New recall feedback template. |
7677
| `examples/protocol-project/memory/recall-feedback.jsonl` | 編碼正常(新建,UTF-8) | New example recall feedback ledger. |

llms.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Deja Vu
22

3-
> Repo-local Markdown memory for AI coding agents.
3+
> Ultra-light repo-local memory protocol for AI coding agents.
44

5-
Deja Vu helps agents preserve useful project memory through:
5+
Deja Vu helps agents stop re-explaining the same repository context across new coding-agent chats through:
66

77
- explicit project rules
88
- a repeatable cue-scan, minimal-recall, and writeback workflow
99
- tiny Markdown and JSONL memory files inside the repository
1010
- cue quality checks that keep the first recall step sparse and specific
1111
- recall budget and outcome feedback that show whether memory helped, missed, or overloaded the task
1212

13-
The minimum adoption path does not require npm, embeddings, vector search, or a dedicated memory service.
13+
The minimum adoption path is three files: `AGENTS.md`, `memory/summary.md`, and `memory/impressions.jsonl`. It does not require npm, embeddings, vector search, a daemon, or a dedicated memory service.
1414

1515
## Best starting points
1616

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@focaxisdev/deja-vu",
3-
"version": "0.4.0",
4-
"description": "Repo-local Markdown memory for AI coding agents: persistent project context without a database, vector store, or hosted memory service.",
3+
"version": "0.4.1",
4+
"description": "Ultra-light repo-local memory protocol for AI coding agents: stop re-explaining your repo to every new chat.",
55
"type": "module",
66
"main": "./dist/src/index.js",
77
"types": "./dist/src/index.d.ts",

0 commit comments

Comments
 (0)