Practical Guides · knowledge base from X

Salvor — making the repo remember what the agents learned (no more /clear)

After a ~900k-token /clear wiped out 3 days of knowledge (not code) on an HFT tool, Salvor was born: an engineering knowledge layer inside the repo (Markdown, human-gated, multi-vendor). Soft launch v1.0.0-beta MIT; null short-horizon benchmarks (the author's honesty).

✍️ BlockchainDan (Dan) · @BlockchainDan
🔗 Read the original on X · X Article · published 21 Sep 2026
📊 1,200 likes · 288 bookmarks · 7.6M views
Summary and adaptation in English; content and results belong to the author.

Part of the manual Automation with AI agents — the complete manual

Claimed result

  • Founding incident: on an HFT tool built with AI agents, a /clear suggested by Claude Code to save ~900,000 tokens of context wiped out ~3 days (probably more) of quantitative understanding — alpha, correlations, win rates, dead ends — while the code in git was intact. Rebuilding it: ~1.5 days of work already paid for once.
  • Product: Salvor v1.0.0-beta — a repo-native engineering knowledge layer + a governance protocol for coding agents. Install = one paste (a setup prompt that scaffolds the repo). No CLI, account, hosted service or telemetry.
  • Dogfooding: since mid-July the Salvor repo has run Salvor on itself. The launch was built across three AI surfaces with a single "brain": Claude Code (extraction + benchmark harness + release ceremonies), Codex (GitHub Pages + most of the contract/visual tests), ChatGPT (consistency review of the canonical docs). Zero re-briefing from scratch.
  • Pre-launch clean-room benchmark (6 arms, third-party scoring, tamper-evident cost ledger, published methodology): null short-horizon results — a frontier agent saturates single-agent tasks at 100% with or without memory; in multi-agent, with a verified brain, the agents didn't consult it under single-shot pressure. The author publishes the nulls and an RFC for a longitudinal harness where the thesis would be falsifiable.
  • Public soft launch; MIT; site salvorknows.dev; GitHub dwasyluk/salvor; product handle @SalvorKnows. Post impressions ~7.6M (a big spike; lower bookmark engagement → more "launch seen" than "playbook saved").

Proof: medium. The problem and the workaround can be retraced; improvement claims are about personal work; the benchmarks are honest but don't yet validate the longitudinal thesis. There's a $SALVOR token (a contributor-support mechanism, not the product) — treat the crypto part as optional/noise relative to the protocol.

The key idea

Git preserves what changed. It doesn't reliably preserve what the project learned.

Engineering knowledge (why it's done this way, which approaches failed, constraints discovered experimentally, code that's weird on purpose) lives in fragile places: the context window, chat logs, human heads. A session ends, the context compacts, a teammate rotates, an agent spawns another agent, the model changes → the understanding falls out of the workflow.

The bottleneck is no longer "the model writes code" (that keeps improving). It's: every new session restarts from the source state and has to be re-taught.

Salvor rejects the generic "AI memory" framing: it wants governed knowledge — facts with rationale, explicit supersession, human approval. The author calls it persistent engineering cognition.

Step-by-step playbook

1. Recognize the typical failure

  • Symptom: a new session confidently proposes the strategy you had already disproved two sessions ago (in the HFT case: signal sources / "red herring" strategies that cost real time and money).
  • Cause: the failures lived only in the chat, not in the repo.

2. Patterns that emerged in the author's projects (before extracting Salvor)

  1. Two-tier state file — the current working picture lives in the repo, not just in the context.
  2. Hub-and-spoke context layout — a Claude convention + token efficiency.
  3. Learned failures (the piece that mattered most on HFT) — failures written down with rationale in the repo → new sessions stop re-losing the same battles.
  4. Deferred findings — things noticed mid-task, recognized as true, explicitly parked (it becomes a core Salvor capture class).
  5. Shared multi-agent brain — V0 on the web surfaces + Claude Code on the rest: agents that land on a scaffolded brain start from a useful picture and need less re-teaching.

June: extraction from the host projects, reconciliation, anonymization → a standalone protocol. Name: Salvor (Hardin from Foundation + "salvor" = someone who recovers value from loss).

3. Salvor's mental model (in order of importance)

  1. Knowledge lives in the repo, as Markdown. Decisions+rationale, learned failures, domain learnings, deferred findings, session state. Plain text: reviewable in PRs, diffable, branchable, owned by you, not by the AI vendor.
  2. Human-gated capture. Agents do not silently write to the durable record. When something durable emerges, the agent asks with an exact question; you approve or not. The brain contains reviewed knowledge, not chat sediment. (There's an experimental agent-capture mode for overnight runs: off by default; output in a lower trust tier until you ratify it.)
  3. It survives boundaries. Sessions, branches, teammates, vendors. Artifacts with collision-free IDs + structured headers; a merge-time reconcile ceremony for duplicates/contradictions → a human decision (rather than silently shipping both).
  4. Vendor-portable. One canonical set of files; thin adapters to Claude Code, Codex, Gemini-compatible tools. Changing agents ≠ migrating memory.

4. How to use it (soft launch)

  1. Install it on a real project. Greenfield = where you feel the compounding first. A mature repo is fine: setup can offer to adopt existing docs into the brain — but Salvor is only as smart as what the brain contains.
  2. Tell the truth about friction (GitHub Discussions), not just testimonials.
  3. Contribute: grants/bounties from a treasury being defined; real contributions recognized/compensated where appropriate.
  4. Declared post-beta roadmap: longitudinal validation (RFC), stronger multi-agent, more adapters, a Claude Code plugin in v1.1 — but the near term should be shaped by what the community breaks first.

5. What dogfooding does not prove

It only proves: the workflow can preserve coherent project knowledge across model/tool boundaries. It does not prove that Salvor improves every workflow. The null short-horizon benchmarks are evidence against overclaiming — the author wants them to be attackable.

6. Anti-patterns Salvor tries to kill

Anti-pattern What happens Salvor pattern
Knowledge only in chat /clear or compact = amnesia Markdown in the repo
The agent silently writes memory sediment, fossilized hallucinations Human gate on every durable capture
One monolithic "NOTES.md" merge hell, no IDs Artifacts with IDs + headers + reconcile
Vendor-locked memory switching Claude→Codex = a migration Thin adapters, one canonical brain
Vanity benchmarks unfalsifiable claims Publish the nulls + a longitudinal RFC

7. Merge protocol (why it matters for teams/parallel agents)

Parallel branches capture different knowledge about the same domain. Without a ceremony: either you lose pieces at merge, or you ship contradictions. Salvor provides an explicit reconcile: duplicates and conflicts surface as human decisions, not as a silent union. For a one-person company with several agents on the same repo (e.g. research + writing + critic) it's the same problem in miniature.

8. On the token part (how to read it)

The soft launch includes $SALVOR as a rail to compensate open-source contributors, with published allocations (treasury, Streamflow vesting, founder 50M, MEOW claim 50M, mint verifiable on Solscan/Bags). The author explicitly separates them: token = supporting mechanism, not the product. For those who only want the engineering playbook: ignore the markets; use MIT + the Markdown brain. The MEOW/KittehCoin digression is the author's reputational context, not part of the protocol.

9. A 7-day adoption plan (without waiting for the plugin)

  1. Day 1: create knowledge/ (or .salvor/ if you install the product) with LEARNED_FAILURES.md, DECISIONS.md, DEFERRED.md, SESSION_STATE.md.
  2. Day 2: migrate 5 real failures you've already paid for (with rationale and date).
  3. Day 3: agent rule: before proposing a strategy, read LEARNED_FAILURES; if you propose something similar to a failure, stop and ask.
  4. Day 4: human gate — no durable writes without an exact question in chat.
  5. Day 5: try a Claude→other-model handoff on the same brain; measure how many times you re-explain from scratch (target: zero).
  6. Day 6: on a parallel branch capture 2 deferred findings; practice reconciling by hand.
  7. Day 7: review the brain's PR as if it were production code.

Tools and costs

Item Note
Salvor MIT, repo-native; install = one setup prompt
Hosting/telemetry None (by design)
Claude Code / Codex / ChatGPT / Gemini-compatible Thin adapters on the same brain
The /clear incident ~900k tokens "saved" → ~3 days of knowledge lost → ~1.5 days of rebuilding
Benchmark 6 arms, third-party scoring, cost ledger; short-horizon null
$SALVOR token Optional; mint/treasury published; contributor rail — not needed to use the protocol
Links github.com/dwasyluk/salvor · salvorknows.dev · @SalvorKnows

Limitations

  • Beta: it hasn't yet "survived contact" with hundreds of other people's repos.
  • Current benchmarks don't validate longitudinal compounding (the central thesis).
  • The token/MEOW/claimdrop part is noise relative to the engineering value; risk of reputational confusion.
  • Huge impressions vs low bookmarks: launch virality ≠ playbook adoption.
  • It requires human discipline on the gate: without review, the brain becomes chat sediment with a cooler name.
← More guides in “Automation with AI agents”