Add NEW_FEAT for filesystem resources
This commit is contained in:
48
NEW_FEAT.md
Normal file
48
NEW_FEAT.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# NEW_FEAT — Filesystem Resource Layout
|
||||
|
||||
## Summary
|
||||
Introduce filesystem-backed resource folders under `${openclaw dir}/yonexus` (data-only, no plugin code). These resources are created automatically when orgs/teams/identities are created.
|
||||
|
||||
## Root
|
||||
- `${openclaw dir}/yonexus/organizations/<org-name>/`
|
||||
|
||||
### Organization folders
|
||||
Create on **create_organization**:
|
||||
```
|
||||
teams/
|
||||
docs/
|
||||
notes/
|
||||
knowledge/
|
||||
rules/
|
||||
lessons/
|
||||
workflows/
|
||||
```
|
||||
|
||||
### Team folders
|
||||
Create on **create_team**:
|
||||
```
|
||||
${openclaw dir}/yonexus/organizations/<org-name>/teams/<team-name>/
|
||||
agents/
|
||||
docs/
|
||||
notes/
|
||||
knowledge/
|
||||
rules/
|
||||
lessons/
|
||||
workflows/
|
||||
```
|
||||
|
||||
### Agent folders
|
||||
Create on **assign_identity**:
|
||||
```
|
||||
${openclaw dir}/yonexus/organizations/<org-name>/teams/<team-name>/agents/<agent-id>/
|
||||
docs/
|
||||
notes/
|
||||
knowledge/
|
||||
rules/
|
||||
lessons/
|
||||
workflows/
|
||||
```
|
||||
|
||||
## Notes
|
||||
- The plugin must not store code in `${openclaw dir}/yonexus`, only data.
|
||||
- If folders already exist, creation should be idempotent.
|
||||
Reference in New Issue
Block a user