Files
MemRelay/projects/dfbf674f-e25b-4b7d-b64d-83d1a133c3bc/curated/决策记录:远端采集协议与目录识别.md

2.2 KiB
Raw Permalink Blame History

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
决策记录:远端采集协议与目录识别 curated main/projects/dfbf674f-e25b-4b7d-b64d-83d1a133c3bc/curated/决策记录远端采集协议与目录识别 c8676bcb-775b-4fa1-bcfd-9d48fb33216c project dfbf674f-e25b-4b7d-b64d-83d1a133c3bc development null development decisions 1
27055182-7b0b-4db8-a95a-76bd28d1cf98
20c56050-403a-4440-b88f-dba7b0d17625
null
Sub2API git-restore 22
memory:b43affa7-095b-4fba-a60a-dfc0df1d9611 memory:e014ec8b-372e-44b9-b45e-d905b666743b
1 1
processed unchanged unsupported skipped
22 0 0 0
curated_baseline:c8676bcb-775b-4fa1-bcfd-9d48fb33216c
memory:b43affa7-095b-4fba-a60a-dfc0df1d9611
memory:e014ec8b-372e-44b9-b45e-d905b666743b
curated_baseline:c8676bcb-775b-4fa1-bcfd-9d48fb33216c
709 8e3b44b8ce51f954d19c8183cd4784963759cfeac42fd4e0cbca3ee197276f05 2026-08-12.3 3 null 2026-09-18T02:21:23.395226+00:00 2026-09-23T15:10:50.833604+00:00
commguard-next
development
6a6a895eaf

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),不在代码中硬编码。