chore: 完成旧记忆恢复并重建索引
This commit is contained in:
+5
-4
@@ -9,7 +9,7 @@ workspace_type: development
|
||||
usage_profile_id: null
|
||||
preference_context: development
|
||||
document_type: current_state
|
||||
revision: 4
|
||||
revision: 1
|
||||
source_memory_ids:
|
||||
- 27055182-7b0b-4db8-a95a-76bd28d1cf98
|
||||
source_checkpoint_ids:
|
||||
@@ -19,7 +19,7 @@ source_git_commit: null
|
||||
source_git_commits: []
|
||||
source_agent_sync_ids: []
|
||||
model_connection: Sub2API
|
||||
model_name: openai/gpt-oss-20b
|
||||
model_name: git-restore
|
||||
source_count: 22
|
||||
source_revisions:
|
||||
memory:27d64c67-c11f-4544-8d13-df1ebc9a7a34: '1'
|
||||
@@ -63,12 +63,13 @@ source_cursor: 709
|
||||
source_hash: 8e3b44b8ce51f954d19c8183cd4784963759cfeac42fd4e0cbca3ee197276f05
|
||||
prompt_version: 2026-08-12.3
|
||||
schema_version: '3'
|
||||
curation_job_id: 0c93e23d-8511-49dc-9106-2f9cdecf5f1b
|
||||
curation_job_id: null
|
||||
created_at: '2026-09-18T01:24:34.016856+00:00'
|
||||
updated_at: '2026-09-18T03:27:23.309003+00:00'
|
||||
updated_at: '2026-09-23T15:10:43.473175+00:00'
|
||||
tags:
|
||||
- commguard-next
|
||||
- development
|
||||
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
|
||||
---
|
||||
|
||||
Current current_state:\n\n项目 **commguard-next** 已在 2026‑09‑18 建立并进入开发阶段。以下为核心状态概要:\n\n- **基础设施**:依赖已通过 `pip install -e .[dev]` 成功安装。全部 **67 条 pytest** 都已通过,确保基础功能正常。\n- **关键修复**:\n - `monitor` 空扫描超时问题已修。\n - `remote` getattr 包装问题已调整。\n - `parser` 空 PRB 行已跳过且不中断。\n - `PATCH` 任务拒绝未知字段已处理。\n- **文档与日志**:已生成 `docs/project‑layout.md` 与 README 连接,并在 `.gitignore` 中添加 `logs/`。\n- **运行环境**:本机 8765 端口已有实例运行,`/health` 端点指向 `data/`。\n- **记忆与版本管理**:\n - 所有项目记忆统一放在 `aidocs/project_context.md`,该文件始终加入 `.gitignore` 并**不提交**。\n - MemRelay 为主记忆存储;若 MemRelay 不可访问,则直接写入 `aidocs/`,不产生本地复制。\n - 采用 **功能完成即提交并按远端状态推送** 的工作流;每次提交后若存在远端,则执行 `git fetch \u0026\u0026 git rebase` 再推送。\n- **凭证与安全**:\n - 所有凭证均通过 Vaultwarden 读取;若匹配唯一则自动使用,若无或多重匹配则提示用户。\n - 特色远端采集凭证已注入:\n - **条目名**: *commguard SFTPGo 采集(网优日常性能报表)*\n - **lookup_key**: `commguard‑sftpgo‑jmomcuser1`\n - **主机**: `188.5.127.115`\n - **端口**: FTP 15021, SFTP 15022\n - **账号**: `jmomcuser1`\n - **远端目录**: `/网优日常优化数据文档/日常性能报表/2026年/保障项目/`\n- **交付快照**:\n - 2026‑09‑18 01:04:04 UTC: 开发者提交 Checkpoint,完成环境搭建、依赖安装、单元测试、问题修复、文档生成与日志排除,标记为「完成」。\n- **未完成工作**:\n - 清理 `data/staging` 及同事残留文件。\n - 深度阅读 `monitor` 告警状态机代码。\n - 审查 `remote`、`parser`、`PATCH` 等模块的稳定性。\n - 检查 `sources` 的远端采集实现与 API 路由层次。\n - 确保 Vaultwarden 中所有凭证已正确配置,必要时自动调用。\n- **语言与交流**:项目所有文档、提交信息及用户交互文本均使用中文,符合全局沟通偏好。
|
||||
@@ -9,7 +9,7 @@ workspace_type: development
|
||||
usage_profile_id: null
|
||||
preference_context: development
|
||||
document_type: timeline
|
||||
revision: 3
|
||||
revision: 1
|
||||
source_memory_ids:
|
||||
- 27055182-7b0b-4db8-a95a-76bd28d1cf98
|
||||
source_checkpoint_ids:
|
||||
@@ -19,7 +19,7 @@ source_git_commit: null
|
||||
source_git_commits: []
|
||||
source_agent_sync_ids: []
|
||||
model_connection: Sub2API
|
||||
model_name: openai/gpt-oss-20b
|
||||
model_name: git-restore
|
||||
source_count: 22
|
||||
source_revisions:
|
||||
memory:27d64c67-c11f-4544-8d13-df1ebc9a7a34: '1'
|
||||
@@ -41,12 +41,13 @@ source_cursor: 709
|
||||
source_hash: 8e3b44b8ce51f954d19c8183cd4784963759cfeac42fd4e0cbca3ee197276f05
|
||||
prompt_version: 2026-08-12.3
|
||||
schema_version: '3'
|
||||
curation_job_id: 0c93e23d-8511-49dc-9106-2f9cdecf5f1b
|
||||
curation_job_id: null
|
||||
created_at: '2026-09-18T01:24:36.393442+00:00'
|
||||
updated_at: '2026-09-18T03:27:25.228191+00:00'
|
||||
updated_at: '2026-09-23T15:10:45.911649+00:00'
|
||||
tags:
|
||||
- commguard-next
|
||||
- development
|
||||
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
|
||||
---
|
||||
|
||||
Current timeline:\n\n- **2026‑09‑18 00:59:26 UTC** – 项目 `commguard-next` 在当前目录创建。\n- **2026‑09‑18 01:04:04 UTC** – 开发者提交 Checkpoint,完成虚拟环境、依赖安装、单元测试、问题修复、文档生成与日志目录排除,标记为「完成」。\n- **后续** – 进一步清理 `staging`、源码审查、监控状态机与 API 路由整理。
|
||||
@@ -9,7 +9,7 @@ workspace_type: development
|
||||
usage_profile_id: null
|
||||
preference_context: development
|
||||
document_type: tasks
|
||||
revision: 3
|
||||
revision: 1
|
||||
source_memory_ids:
|
||||
- 27055182-7b0b-4db8-a95a-76bd28d1cf98
|
||||
source_checkpoint_ids:
|
||||
@@ -19,7 +19,7 @@ source_git_commit: null
|
||||
source_git_commits: []
|
||||
source_agent_sync_ids: []
|
||||
model_connection: Sub2API
|
||||
model_name: openai/gpt-oss-20b
|
||||
model_name: git-restore
|
||||
source_count: 22
|
||||
source_revisions:
|
||||
memory:27d64c67-c11f-4544-8d13-df1ebc9a7a34: '1'
|
||||
@@ -40,12 +40,13 @@ source_cursor: 709
|
||||
source_hash: 8e3b44b8ce51f954d19c8183cd4784963759cfeac42fd4e0cbca3ee197276f05
|
||||
prompt_version: 2026-08-12.3
|
||||
schema_version: '3'
|
||||
curation_job_id: 0c93e23d-8511-49dc-9106-2f9cdecf5f1b
|
||||
curation_job_id: null
|
||||
created_at: '2026-09-18T01:24:39.708250+00:00'
|
||||
updated_at: '2026-09-18T03:27:27.685104+00:00'
|
||||
updated_at: '2026-09-23T15:10:48.585390+00:00'
|
||||
tags:
|
||||
- commguard-next
|
||||
- development
|
||||
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
|
||||
---
|
||||
|
||||
Current tasks:\n\n- **清理** `data/staging` 目录以及同事残留。\n- **监控**:深入阅读 `monitor` 告警状态机代码。\n- **远程采集**:检查 `sources` 的远端采集实现。\n- **API 单元**:审查 `api` 路由分层,验证安全与性能。\n- **推送**:在 `git push` 前执行 `git fetch \u0026\u0026 git rebase`,确保与远端保持同步。\n- **凭证**:确认 Vaultwarden 中所有凭证均已正确配置,并在需要时自动调用。
|
||||
@@ -9,7 +9,7 @@ workspace_type: development
|
||||
usage_profile_id: null
|
||||
preference_context: development
|
||||
document_type: decisions
|
||||
revision: 2
|
||||
revision: 1
|
||||
source_memory_ids:
|
||||
- 27055182-7b0b-4db8-a95a-76bd28d1cf98
|
||||
source_checkpoint_ids:
|
||||
@@ -19,7 +19,7 @@ source_git_commit: null
|
||||
source_git_commits: []
|
||||
source_agent_sync_ids: []
|
||||
model_connection: Sub2API
|
||||
model_name: openai/gpt-oss-20b
|
||||
model_name: git-restore
|
||||
source_count: 22
|
||||
source_revisions:
|
||||
memory:b43affa7-095b-4fba-a60a-dfc0df1d9611: '1'
|
||||
@@ -42,12 +42,13 @@ source_cursor: 709
|
||||
source_hash: 8e3b44b8ce51f954d19c8183cd4784963759cfeac42fd4e0cbca3ee197276f05
|
||||
prompt_version: 2026-08-12.3
|
||||
schema_version: '3'
|
||||
curation_job_id: 0c93e23d-8511-49dc-9106-2f9cdecf5f1b
|
||||
curation_job_id: null
|
||||
created_at: '2026-09-18T02:21:23.395226+00:00'
|
||||
updated_at: '2026-09-18T03:27:21.667188+00:00'
|
||||
updated_at: '2026-09-23T15:10:50.833604+00:00'
|
||||
tags:
|
||||
- commguard-next
|
||||
- development
|
||||
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
|
||||
---
|
||||
|
||||
Current decisions:\n\n在远端采集阶段,决定采用 **SFTP 15022** 端口作为默认传输协议,放弃旧版 FTP 15021。FTP 的被动模式会导致 WinError 10061 失效,虽然可以列出目录,但下载失败。\n\n目录识别方面,原先仅使用「[date]」模式来定位当天目录。由于服务器文件夹采用 **YYYY‑MM‑DD**(如 2026‑09‑18)的命名,导致误报为不存在。新的实现将同时尝试三种格式:\n- `{date}`\n- `[{date}]`\n- `({date})`\n一旦任一匹配即终止报错,提升了容错性。\n\n凭证使用已移入密码库(lookup_key = *commguard‑sftpgo‑jmomcuser1*),不在代码中硬编码。
|
||||
Reference in New Issue
Block a user