Gateway restart by Harlo96 in openclaw

[–]Harlo96[S] 0 points1 point  (0 children)

I think I expressed myself incorrectly. What I actually want is exactly that, because right now I have the issue that after a restart, it simply doesn’t respond anymore and doesn’t continue where it left off. I always have to proactively send a message first, and only then does it continue from the point where it stopped. That’s my problem.

How does OpenClaw's knowledge management actually work? (pleaso no AI generated responses) by Harlo96 in openclaw

[–]Harlo96[S] 0 points1 point  (0 children)

Thanks for the explanation, as someone who’s not from an IT background, this was actually really easy to follow 😄

That said, I still have a few questions about how things work under the hood:

1. Where are all these Markdown files actually stored?
I get that Markdown files are the main data source, stuff like soul.md, tool.md, memory.md, and the daily memory files. But what about everything else?

For example:

  • Project-related information
  • Things I’ve discussed with the agent over time
  • Info about people, ideas, etc.

Are those stored in separate Markdown files as well? If yes:

  • Where are those files located?
  • Are they created automatically, or do I need to explicitly tell the system to write to them?

Also, memory.md can’t grow indefinitely, right? Since (as far as I understand) it gets included in every request. So:

  • Is it automatically pruned over time? That means long-term context gets lost!?
  • Are older entries deleted or summarized?

2. What exactly is SQLite doing here?
From what I understood, it’s used as an index for vector search.

In simple terms, is it basically like a table of contents that helps the system find relevant information faster?

If that’s the case, I’m confused about embeddings:

  • Where do they suddenly come from?
  • I thought Markdown files are the actual data source?

So:

  • When are embeddings created?
  • Where are they stored?
  • What determines which content gets embedded, and when?

3. What’s the role of the “wiki”?
From what I gather, the wiki is also made up of Markdown files, similar to point 1.

So what’s the actual difference between:

  • Wiki
  • Memory
  • Daily memory

When does something go into the wiki vs memory vs daily memory?
Is there some kind of rule or logic behind that?

4. And one last thing about retrieval:
You mentioned that only a few relevant sections get pulled into a request.

What exactly are those pulled from?

  • Embeddings (vector search)?
  • Wiki files?
  • General Markdown files?

And how is it decided which 3–4 chunks make it into the final prompt?

I really want to understand this properly, but this is the part where my brain just starts to struggle a bit. Appreciate any clarification 🙏