refactor(vault): rename metadata and session directories for consistency

- Change reme_metadata to metadata in application config and fixtures
- Change reme_session to session in application config and fixtures
- Update all documentation references from reme_metadata to metadata
- Update all documentation references from reme_session to session
- Fix integration tests to use new directory names
- Update SVG diagrams to reflect new directory naming convention
- Adjust cleanup logic in vault fixture to use updated directory names
This commit is contained in:
jinli.yl 2026-06-22 14:22:42 +08:00
parent 4fbec46a1b
commit c52102a281
3 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="640" viewBox="0 0 1200 640" role="img" aria-labelledby="title desc">
<title id="title">ReMe auto memory and auto resource flow</title>
<desc id="desc">A concise flow where auto memory and auto resource both create daily cards, which are indexed in the daily workbench and then used by dream and search.</desc>
<desc id="desc">A concise flow where auto memory and auto resource both create daily cards, which are indexed in the daily memory layer and then used by dream and search.</desc>
<defs>
<style>
.bg { fill: #f7f8fb; }
@ -48,7 +48,7 @@
<rect class="panel" x="450" y="132" width="300" height="300"/>
<circle class="badge" cx="484" cy="170" r="15"/>
<text class="step-num" x="484" y="174" text-anchor="middle">2</text>
<text class="step-title" x="512" y="176">Daily Workbench</text>
<text class="step-title" x="512" y="176">Daily Memory Layer</text>
<text class="step-subtitle" x="478" y="206">daily/&lt;date&gt;/</text>
<rect class="chip" x="478" y="234" width="244" height="54"/>
<text class="chip-title" x="600" y="255" text-anchor="middle">daily cards</text>
@ -87,5 +87,5 @@
<text class="chip-text" x="838" y="554">daily cards plus daily/&lt;date&gt;.md</text>
<path class="soft-arrow" d="M966 432 C966 474 600 474 600 432"/>
<text class="note" x="782" y="478" text-anchor="middle">downstream flows read the same daily workbench</text>
<text class="note" x="782" y="478" text-anchor="middle">downstream flows read the same daily memory layer</text>
</svg>

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View file

@ -42,7 +42,7 @@ vault/
```
其中 `daily/2026-06-20/session-a.md`、`daily/2026-06-20/session-b.md` 是不同对话整理出的记忆卡片,
`daily/2026-06-20.md` 是当天索引页。资源文件也会进入同一个 daily 工作台,见 [Auto Resource](./auto_resource.md)。
`daily/2026-06-20.md` 是当天索引页。资源文件也会进入同一个 daily 记忆层,见 [Auto Resource](./auto_resource.md)。
当调用时带上 `session_id`,Auto Memory 会按这个 id 单独记录这段对话:

View file

@ -31,7 +31,7 @@ resource/YYYY-MM-DD/<resource_file>
## 原始资料入口
Auto Resource 以 `resource/` 作为原始资料入口。资源需要按日期放置,这个日期会决定它进入哪一天的 daily 工作台。
Auto Resource 以 `resource/` 作为原始资料入口。资源需要按日期放置,这个日期会决定它进入哪一天的 daily 记忆层。
示例目录:
@ -59,7 +59,7 @@ daily/2026-06-20/market-report.md
## 当天索引
资源卡片会进入和 Auto Memory 相同的 daily 工作台。当天的 `YYYY-MM-DD.md` 会作为索引页,把这些资源卡片组织起来:
资源卡片会进入和 Auto Memory 相同的 daily 记忆层。当天的 `YYYY-MM-DD.md` 会作为索引页,把这些资源卡片组织起来:
```text
daily/