feat: scaffold yonexus MVP core with storage, auth, query, and scope memory
This commit is contained in:
@@ -3,39 +3,39 @@
|
||||
> 目标:将插件拆解为可执行任务(按阶段/优先级)。
|
||||
|
||||
## Phase 0 — 基础准备(P0)
|
||||
- [ ] 明确插件运行环境/依赖(OpenClaw 版本、Node 版本)
|
||||
- [ ] 定义最终配置文件格式(schema + permissions + registrars)
|
||||
- [ ] 统一 ID 规则(org/dept/team/agent)
|
||||
- [x] 明确插件运行环境/依赖(OpenClaw 版本、Node 版本)
|
||||
- [x] 定义最终配置文件格式(schema + permissions + registrars)
|
||||
- [x] 统一 ID 规则(org/dept/team/agent)
|
||||
|
||||
## Phase 1 — MVP 核心(P0)
|
||||
### 数据与存储
|
||||
- [ ] 设计数据模型(Org/Dept/Team/Agent/Identity/Supervisor)
|
||||
- [ ] 实现 in-memory store + JSON 持久化
|
||||
- [ ] 定义 CRUD API
|
||||
- [x] 设计数据模型(Org/Dept/Team/Agent/Identity/Supervisor)
|
||||
- [x] 实现 in-memory store + JSON 持久化
|
||||
- [x] 定义 CRUD API
|
||||
|
||||
### 权限系统
|
||||
- [ ] 实现权限角色(Org Admin / Dept Admin / Team Lead / Agent)
|
||||
- [ ] 实现权限校验函数 authorize(action, actor, scope)
|
||||
- [ ] 实现 registrars 白名单(禁止自注册)
|
||||
- [x] 实现权限角色(Org Admin / Dept Admin / Team Lead / Agent)
|
||||
- [x] 实现权限校验函数 authorize(action, actor, scope)
|
||||
- [x] 实现 registrars 白名单(禁止自注册)
|
||||
|
||||
### 工具/API
|
||||
- [ ] create_department
|
||||
- [ ] create_team
|
||||
- [ ] register_agent
|
||||
- [ ] assign_identity
|
||||
- [ ] set_supervisor
|
||||
- [ ] whoami
|
||||
- [ ] query_agents
|
||||
- [x] create_department
|
||||
- [x] create_team
|
||||
- [x] register_agent
|
||||
- [x] assign_identity
|
||||
- [x] set_supervisor
|
||||
- [x] whoami
|
||||
- [x] query_agents
|
||||
|
||||
### Query DSL
|
||||
- [ ] filters/op 解析(eq / contains / regex)
|
||||
- [ ] schema queryable 字段约束
|
||||
- [ ] pagination(limit/offset)
|
||||
- [x] filters/op 解析(eq / contains / regex)
|
||||
- [x] schema queryable 字段约束
|
||||
- [x] pagination(limit/offset)
|
||||
|
||||
### Scope Memory
|
||||
- [ ] scope_memory.put(scopeId, text, metadata)
|
||||
- [ ] scope_memory.search(scopeId, query, limit)
|
||||
- [ ] 兼容 memory-lancedb-pro
|
||||
- [x] scope_memory.put(scopeId, text, metadata)
|
||||
- [x] scope_memory.search(scopeId, query, limit)
|
||||
- [x] 兼容 memory-lancedb-pro
|
||||
|
||||
## Phase 2 — v1 增强(P1)
|
||||
- [ ] 模糊/正则性能优化(索引/缓存)
|
||||
|
||||
Reference in New Issue
Block a user