rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:LoveDoLove/Veyra
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Persistent engineering memory for coding agents. Veyra learns the lessons your agent already paid for, remembers the ones that held up, and puts them back in front of it the next time the same problem appears.
Local SQLite. Per-workspace isolation. No daemon. No API keys. No manual bookmarking. No re-deriving the same root cause next week.
A plugin for DeepSeek Harness. Local SQLite storage. No daemon. No API keys. 273.1 kB packed. Pure ESM.
A coding agent's context window is a working set, not a store. Every session it relearns the same things.
Conversation history does not survive the session. Docs drift away from the code. A folder of markdown notes has no lifecycle, no authority model, and no way to tell you it went stale.
Veyra turns the work an agent already did into durable, evidence-backed memory, and injects the relevant parts automatically.
| It captures without being asked | Veyra watches session events and distills each turn into an observation. A governed gate decides whether it earned a place in memory. A turn that produced nothing durable is dropped, not stored. |
| It recalls without being asked | At the start of a turn, the most relevant records are injected into context, each labelled with its trust state. The injected policy also makes one targeted veyra_recall call the agent's required first action on any non-trivial task, so keyword-matched injection is backed by an on-demand search. |
| It refuses to invent evidence | A path mentioned in prose is not a changed file. A symbol name in a sentence is not a symbol. Only real, resolved anchors ground a record. |
| It knows when it might be wrong | Every recalled record is re-checked against the current repository and classified trusted, review_required, stale, contradicted, or insufficient_evidence. |
| It never becomes the source of truth | The repository always wins. canonical authority is reachable only through an explicit human action. Nothing is written into your repo. |
| It keeps workspaces apart | Memory is partitioned into rooms keyed by the DSH workspace identity, never by filesystem path. Two workspaces on one repo never see each other's memory. |
dsh plugin --profile web add @lovedolove/veyra
Restart DSH. That is the whole setup.
If DSH installs an older version than the one shown on the npm badge above, your package manager may be holding back a release that is still inside its supply-chain age window. Install the current version explicitly:
dsh plugin --profile web add @lovedolove/veyra@0.3.1
Then just work. At the end of a turn that produced something durable, Veyra stores it. At the start of the next turn in the same workspace, it comes back.
Check it:
/veyra status for this workspace
/veyra recent what was stored, including candidates
/veyra recall sqlite wal
/veyra inspect vey_…
Open /veyra in the DSH Web address bar to see the same memory as a graph.
work happens
│
▼
observe ──► observation ──► write gate ──► derived memory
(what changed, (accept / (recall-eligible)
what passed, merge /
what was tried) drop / defer)
│ │
│ ▼
│ SQLite + FTS5
│ one room per workspace
▼ │
next turn ◄── trust check ◄─────┘
(fresh? contradicted? checkable?)
Four things make the loop honest:
| Layer | Answers | Source of truth |
|---|---|---|
| Veyra Memory | What did we learn the hard way? | Accumulated evidence, per workspace |
| Code Intelligence | What is the code right now? | The live repository AST |
Code Intelligence is optional and lives in a separate plugin. It can mark a memory stale. It can never overwrite one.
The rule in both directions: repository truth wins. A memory that says the code does something is a claim to verify, not a fact to act on.
| What | Authority | Auto-recalled |
|---|---|---|
| Auto-captured observation | candidate |
no |
| Learned or explicitly remembered lesson | derived |
yes |
| Explicitly promoted truth | canonical |
yes |
Similarity is not identity, so overlapping memories are linked, not merged. Similarity is not authority, so a good match never promotes a record.
| Document | What it covers |
|---|---|
| Documentation index | Every document, grouped by audience |
| Whitepaper · 简体中文 | Vision, design principles, architecture, core concepts, technical design, future direction |
| Memory model | Authority, validation, kinds, causal facets, lifecycle, trust, rooms and promotion |
| Tools | All eleven tools, their parameters, and the three bundled skills |
| Commands | Every /veyra command, including the Observatory |
| Configuration | Settings, environment variables, storage layout, reset |
| Code Intelligence | The optional structural layer, install, degradation, freshness |
| Troubleshooting | Symptom, cause, fix |
| Benchmark | The measured 45-dimension harness and what each number means |
| Architecture graph | Contracts, rejections, and the standing design boundary |
| CHANGELOG.md | Every released version and what changed in it |
| Retrieval effectiveness | The goal, the experiment, and the record of what the retrieval work proved |
| Contributing | How to report, propose, verify, and land a change |
| Security policy | Supported versions, what is stored, what is redacted, the threat model |
| AGENTS.md | Entry point for agents working on Veyra itself |
| Node | >=22.12.0 <25.0.0 (node:sqlite, plus the unflagged require(esm) the bridge uses) |
| DSH | >=0.1.2-rc.1 <0.3.0-0 |
| Storage | node:sqlite + FTS5, under $DSH_HOME/veyra/ or $VEYRA_HOME |
| Runtime dependency | None required. Codebase Memory is an optional peer |
Installed per profile (web, tui, …). The Network Graph needs the web
surface.
Measured: the memory loop closes. A recall dispatch is observable, repeated recall is bounded, a restated root cause merges, and capture stops inventing evidence. The suite is 1173 tests, and the benchmark harness re-asserts its own table on every run.
Not measured: whether an agent with Veyra completes real tasks faster or better than one without. That needs a paired experiment, and the repo says so instead of implying otherwise. The whitepaper keeps design goals, implemented behaviour, verified behaviour, and unproven claims in separate sections.
npm test # node --test test/*.test.mjs
npm run pack:check # what would be published
CI runs both on Node 22 and 24. See AGENTS.md for the rules that apply to changes here.
MIT. See LICENSE and THIRD_PARTY.md.
Veyra is pre-1.0. The command surface and APIs may still change between minor versions.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、llm-memory、deepseek-harness。