update: 编辑整理文档 current_state

MemRelay-Operation: curated-update:c5330f56-f9c7-447e-9dc9-dc46b101727e:2
MemRelay-Resource: c5330f56-f9c7-447e-9dc9-dc46b101727e
This commit is contained in:
2026-10-08 15:04:45 +08:00
parent 8f1b0ef5bf
commit b786e52cdf
2 changed files with 88 additions and 18 deletions
@@ -0,0 +1,71 @@
---
title: Metrix 已授权任务与待办边界
type: curated
permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/curated/metrix-已授权任务与待办边界
stable_id: 4f9233e4-3180-4133-ae70-faff5e7c58c7
scope: project
project_id: d5a7f581-c442-4554-87b9-ee723b8b0258
workspace_type: development
usage_profile_id: null
preference_context: development
document_type: tasks
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:
memory:cf3e85fe-dcf3-4af3-9a17-edfe63b2f56c: '1'
memory:2f6aa721-7bfa-4d49-9036-58bc37a262d5: '1'
memory:fb67062d-89fa-4f26-9ade-e620693277d8: '1'
memory:6d022bb5-053d-45b0-b091-0ca110358827: '1'
source_dispositions:
processed: 29
unchanged: 0
unsupported: 0
skipped: 0
cited_source_ids:
- curated_baseline:4f9233e4-3180-4133-ae70-faff5e7c58c7
- memory:2f6aa721-7bfa-4d49-9036-58bc37a262d5
- memory:fb67062d-89fa-4f26-9ade-e620693277d8
- memory:6d022bb5-053d-45b0-b091-0ca110358827
- curated_baseline:c5330f56-f9c7-447e-9dc9-dc46b101727e
- curated_baseline:1e1b9a7e-5897-4c82-b267-279a8c54b150
- memory:cf3e85fe-dcf3-4af3-9a17-edfe63b2f56c
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:11.663736+00:00'
updated_at: '2026-10-08T07:04:44.462906+00:00'
tags:
- curated
- manual
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
---
# Metrix 已授权维护任务
用户本轮明确目标:
1. 用实际源码纠正MemRelay中的不一致记录,并保持后续代码、文档、记忆同步。
2. 重建开发测试环境,验证真实可运行性。
3. 统一dev.py与使用文档/知识库,保留Metrix+可选CapacityReport默认协同启动行为。
4. 核对引用后清理冗余脚本、文档、旧缓存与重复失效环境,保留有效回归测试和业务数据。
5. 完成相关测试、记录结果并按项目Git约定提交推送。
维护进度与最终结果见最新检查点。
旧T-001至T-015清单撤下:没有充分证据表明缺索引、FULLTEXT、API Token新模型、cron编辑器、缓存TTL、列宽用户偏好API、CGI可配置策略等是用户已确认的需求;部分“已完成”引用实际指向CapacityReport搜索/健康检查,而非所述功能。不得把这些生成内容视为后续开发授权。
已从代码核实:Shiki主题监听已存在,api_enabled来自系统设置,pytest.ini已有有效测试路径,脚本记录清理为hours+count。历史问题不自动等于当前待修复项。
@@ -1,7 +1,7 @@
---
title: Metrix Current State – Issues, Experiences, and Open Items
title: Metrix 当前源码与验证状态
type: curated
permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/curated/metrix-current-state-issues-experiences-and-open-items
permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/curated/metrix-当前源码与验证状态
stable_id: c5330f56-f9c7-447e-9dc9-dc46b101727e
scope: project
project_id: d5a7f581-c442-4554-87b9-ee723b8b0258
@@ -9,7 +9,7 @@ workspace_type: development
usage_profile_id: null
preference_context: development
document_type: current_state
revision: 1
revision: 2
source_memory_ids: []
source_checkpoint_ids: []
source_file_ids: []
@@ -18,7 +18,7 @@ source_git_commits:
- e660bc7bb4fc5ccda47decb4d514874a148ed9b2
source_agent_sync_ids: []
model_connection: Sub2API
model_name: git-restore
model_name: manual
source_count: 29
source_revisions:
memory:0f19c98d-0d69-4702-af18-e75edae6370a: '1'
@@ -73,23 +73,22 @@ source_hash: e2fcea7c8a9e0df7a91925fb2a9beabd922058868310effc908f95df2d78b218
prompt_version: 2026-08-12.3
schema_version: '3'
curation_job_id: null
created_at: '2026-08-12T18:02:53.638428+00:00'
updated_at: '2026-09-23T15:09:07.042564+00:00'
created_at: '2026-09-23T15:09:09.209318+00:00'
updated_at: '2026-10-08T07:04:39.015714+00:00'
tags:
- Metrix
- development
- current_state
- curated
- manual
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
---
## Current State (as of 2026‑08‑26)
# Metrix 当前状态
| Area | Status |
|------|--------|
| **Backend** | FastAPI fully running; all core modules (`containers`, `database`, `scripts`, `storage`, internal PyPI) registered via `APP_MODULE`. Action‑based RBAC active; Vaultwarden used for credential lookup. |
| **Frontend** | Vue 3 SPA stable, Chinese/English toggle, dark/light theme sync (Shiki pending). New **DatabasePanel** supports keyword search (`POST /api/database/table/query`) with pagination & filter persistence. |
| **Deployment** | Second instance `capacityrepost‑web:113ff5c` live; health‑check (`/health`) returns 200; image SHA‑256 matches source tar. |
| **Validation** | Sample `sector` table: `CGI 122112` → 10 rows, `鹤山` → 8510 rows – pagination & clear/reset work. UI responsive at 1440 px & 720 px (no overlap). Online search returns 8 rows (data drift). |
| **Conclusion** | System **stable**; open high‑priority items: **Shiki theme synchronization** and **API‑Token fine‑grained permissions**. |
源码基线:主仓main@9a1fae5,CapacityReport@b6cf0e6,InterferenceETL@467b9a1;后续开发提交和验证结果以最新检查点为准。
All information taken from source `curated_baseline:c5330f56‑f9c7‑447e‑9dc9‑dc46b101727e`.
已确认实现:模块自动发现、action RBAC、Web/API Token区分、SQLite/MySQL安装、存储/数据库/容器/脚本/PyPI管理、单端口SPA和Docker离线构建。Shiki两个编辑器已实现主题切换监听,不能继续列为待实现。
CapacityReport DatabasePanel搜索是该子模块的功能,不是主平台Vue页面。CapacityReport独立源/仓库双模式,CellData仍有直连路径。InterferenceETL当前按自然15分钟最新组,缺源waiting不回退,数据库经平台API访问;历史小时直连实现已过时。
本轮维护前实际验证:前端smoke和vue-tsc通过;Python语法解析通过;后端pytest因失效.venv未执行,系统Python缺依赖。用户已授权重建开发测试环境、统一dev.py和文档、清理冗余文件,完成状态等待最新检查点更新。
本轮未验证任何线上实例,旧capacityrepost-web镜像版本、sector行数、旧健康检查及“系统稳定”判断属于历史记录,不作为当前状态。旧整理中的无来源待办/错误完成引用已撤下,不能据此擅自开发新功能。