Use openclaw dir path notation

This commit is contained in:
nav
2026-03-07 15:42:41 +00:00
parent a5ba912dec
commit 285d4b9435

View File

@@ -13,8 +13,8 @@ Build an OpenClaw plugin that models organization hierarchy and agent identities
## 3) Storage Strategy
- **Structure & identity data**: in-memory + JSON persistence (no memory_store)
- **Shared memory**: memory_store keyed by scope (`org:{id}`, `dept:{id}`, `team:{id}`)
- **Filesystem resources** (OpenClaw install dir `~/.openclaw`):
- Create a data-only folder at `~/.openclaw/yonexus` (no plugin code here)
- **Filesystem resources** (OpenClaw install dir `${openclaw dir}`):
- Create a data-only folder at `${openclaw dir}/yonexus` (no plugin code here)
- `yonexus/organizations/<org-name>/` contains: `teams/`, `docs/`, `notes/`, `knowledge/`, `rules/`
- On **create_organization**: create `<org-name>` folder and its subfolders
- On **create_team**: create `organizations/<org-name>/teams/<team-name>/` with `agents/`, `docs/`, `notes/`, `knowledge/`, `rules/`