Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
dev
oG-Memory
/
tests
/
unit
/
fs
下载当前目录
Setname
feat(memory): refine compact mechanism runtime state
316eb5c6
创建于
11 天前
历史提交
文件
最后提交记录
最后更新时间
__init__.py
feat(fs): implement URI to AGFS path mapping - Add uri_to_path() to convert ContextEngine URIs to AGFS physical paths - Add parse_uri() to extract components from URIs - Add build_uri() to construct URIs from components - Implement _is_accessible() and _ensure_accessible() for access control - Support three URI patterns: * Profile: ctx://{account}/users/{user}/memories/profile * Memories: ctx://{account}/{owner_type}/{owner_id}/memories/{category}/{slug} * Skills: ctx://{account}/agents/{agent}/skills/{skill_name} Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 个月前
test_access_control.py
feat(fs): unify owner_space access control with visible_owner_spaces support Extract check_uri_access() helper into fs/access_control.py to fix the read/write behavior split where ContextReader accepted shared-agent URIs via visible_owner_spaces but SQLContextFS/AGFSContextFS still enforced strict owner_id equality. - SQL mode (strict_mode=False): checks visible_owner_spaces first, falls back to strict owner_id check when empty - AGFS mode (strict_mode=True): always uses strict owner_id check, ignores visible_owner_spaces - Unknown owner_type denied by default in all branches - Explicit _OWNER_TYPE_TO_KIND mapping replaces fragile rstrip("s") Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
14 天前
test_agfs_context_fs.py
feat(memory): refine compact mechanism runtime state
11 天前
test_parse_uri_session.py
feat(memory): refine compact mechanism runtime state
11 天前
test_sql_context_fs.py
feat(memory): refine compact mechanism runtime state
11 天前