--- title: Metrix 源码一致的术语表 type: curated permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/curated/metrix-源码一致的术语表 stable_id: 6c3351ae-506f-4059-a23d-6937503b9b73 scope: project project_id: d5a7f581-c442-4554-87b9-ee723b8b0258 workspace_type: development usage_profile_id: null preference_context: development document_type: glossary revision: 2 source_memory_ids: [] source_checkpoint_ids: [] source_file_ids: [] source_git_commit: e660bc7bb4fc5ccda47decb4d514874a148ed9b2 source_git_commits: - e660bc7bb4fc5ccda47decb4d514874a148ed9b2 source_agent_sync_ids: [] model_connection: Sub2API model_name: manual source_count: 29 source_revisions: {} source_dispositions: processed: 29 unchanged: 0 unsupported: 0 skipped: 0 cited_source_ids: - git:server/app/core/permissions.py - git:server/app/core/security.py - git:server/app/main.py - git:packaging/README.md - git:packaging/pypiserver/Dockerfile job_cited_source_ids: [] conflicts: [] supersedes: [] preferences: [] source_cursor: 162 source_hash: e2fcea7c8a9e0df7a91925fb2a9beabd922058868310effc908f95df2d78b218 prompt_version: 2026-08-12.3 schema_version: '3' curation_job_id: null created_at: '2026-09-23T15:09:21.161919+00:00' updated_at: '2026-10-08T07:05:12.202546+00:00' tags: - curated - manual restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2 --- # Metrix 术语 APP_MODULE:后端模块元数据,声明router、model、权限、迁移和生命周期;前端对应index.ts模块声明页面菜单,两边分别自动发现。 action RBAC:权限格式action::,资源read作为页面入口,manage_others用于跨用户数据操作。不是container:start这种省略前缀的权限码。 API Token:持久化哈希Token,复用所属用户角色权限;与Web登录会话区分,部分管理接口仅Web可用。 Shiki:本地TextMate高亮,配合Monaco;当前脚本和SQL编辑器均监听明暗主题变化。 CapacityReport:plugins/下独立FastAPI/Vue容量报表项目,源和仓库分别直连或使用Metrix API,有Tauri桌面壳;CellData仍含直连路径。 InterferenceETL:plugins/下独立Python批处理,通过平台API读写数据;当前按自然15分钟最新组,缺源等待,由通用脚本调度执行,无专属cron编辑器。 脚本计划:主平台scripts模块使用APScheduler的interval/cron计划。 数据任务:database模块导入导出后台任务,使用线程池,与APScheduler脚本计划不同。 运行记录保留:script_run_retention_hours与script_run_retention_count,后者为每项目数量上限。 MemRelay:当前规则、事实、检查点和密码库工具入口;普通记忆不存凭据。 内网PyPI:pypiserver离线wheel服务及平台管理模块。 FULLTEXT索引、缓存TTL等不是目前已确认的项目需求,不能由旧术语表推导待办。