4.1 KiB
4.1 KiB
title, type, permalink, stable_id, scope, project_id, workspace_type, usage_profile_id, preference_context, document_type, revision, source_memory_ids, source_checkpoint_ids, source_file_ids, source_git_commit, source_git_commits, source_agent_sync_ids, model_connection, model_name, source_count, source_revisions, source_dispositions, cited_source_ids, job_cited_source_ids, conflicts, supersedes, preferences, source_cursor, source_hash, prompt_version, schema_version, curation_job_id, created_at, updated_at, tags, restored_from_commit
| title | type | permalink | stable_id | scope | project_id | workspace_type | usage_profile_id | preference_context | document_type | revision | source_memory_ids | source_checkpoint_ids | source_file_ids | source_git_commit | source_git_commits | source_agent_sync_ids | model_connection | model_name | source_count | source_revisions | source_dispositions | cited_source_ids | job_cited_source_ids | conflicts | supersedes | preferences | source_cursor | source_hash | prompt_version | schema_version | curation_job_id | created_at | updated_at | tags | restored_from_commit | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MROTemp 项目运维与进展记录 | curated | main/projects/991bd0b4-6f60-47c0-8e47-1bb256c04653/curated/development/mrotemp-项目运维与进展记录 | d4e55d86-693c-4f7a-ad4f-1cb1f7deb253 | project | 991bd0b4-6f60-47c0-8e47-1bb256c04653 | development | null | development | maintenance | 1 | null | Sub2API | git-restore | 20 |
|
|
53 | cd96d5b27b5d1ef34ff30350e40c12b9d9b7e389c5813755521578d1f2597d9c | 2026-08-12.3 | 3 | null | 2026-08-13T18:33:59.907953+00:00 | 2026-09-23T15:02:54.380973+00:00 |
|
6a6a895eaf |
当前状态
- 脚本
mro_to_csv.py已完成,实现仅提取第一个measurement,去除MR.前缀,生成 GBK 编码 CSV(参考决策memory:2e140573-4a5f-4c14-8a79-08dd33b55585)【source_ids: ["memory:2e140573-4a5f-4c14-8a79-08dd33b55585"]】。 - 性能:约 34k 行 XML,处理时间约 1 秒,内存占用 < 100 MB(符合 KISS & YAGNI)【source_ids: ["memory:bf88c265-4749-4c50-85bc-4bae25298cd5"]】。
- 已知问题:Windows 控制台直接输出 CSV 可能出现乱码,但文件本身编码正确;可通过
chcp 65001或使用记事本打开解决【source_ids: ["memory:e7b53c05-668f-4e03-bf26-2ce743e1bdf0"]】。 - 上下文列:已在 CSV 表头加入
FileName, eNB, id, MmeUeS1apId, MmeCode, MmeGroupId, TimeStamp,便于后续追溯【source_ids: ["memory:e7b53c05-668f-4e03-bf26-2ce743e1bdf0"]】。
待办任务
| 编号 | 描述 | 前置条件 | 完成标准 |
|---|---|---|---|
| 1 | 将更多业务 XML 放入 source/ 并运行脚本 |
虚拟环境已配置,lxml 已安装 |
在 output/ 生成符合命名规则的 GBK CSV |
| 2 | 验证 Windows 控制台中文显示不产生误报 | 任务 1 成功 | 无报错、无中文乱码警告 |
| 3 | 为每个输入文件生成日志 (.log) 记录处理时间与行数 |
任务 1 成功 | output/ 旁生成同名 .log,内容包含 FileName, StartTime, EndTime, RowCount |
| 4 | 如用户明确要求,实现 --all-measurements 参数以导出全部 measurement |
当前需求锁定为仅第一个 measurement | 参数生效后能遍历全部 measurement 并生成相同列的 CSV |
运维要点
- 凭证管理:所有登录、SSH、数据库或 API 调用前必须先查询 Vaultwarden,唯一匹配时自动使用(全局凭证边界)【source_ids: ["memory:105b328f-4bda-4641-90a7-7282ef156316"]】。
- 记忆更新:每次任务完成后,编辑
aidocs/project_context.md,在顶部静态说明下追加时间戳条目,记录“做了什么、为何、验证方式、问题与后续”。该文件已加入.gitignore,不提交至 Git【source_ids: ["memory:5ed86f53-b53e-4534-8e51-d3a010069d5e"]】。 - 代码提交:使用
type: 中文说明格式提交有意义的改动,确保不泄露敏感信息【source_ids: ["memory:5ed86f53-b53e-4534-8e51-d3a010069d5e"]】。 - 依赖审查:仅保留
lxml==6.1.1,如需新增库必须满足 KISS & YAGNI 原则【source_ids: ["memory:bf88c265-4749-4c50-85bc-4bae25298cd5"]】。
标签: 运维 进展 决策 任务 时间线