chore: 导入旧记忆备份供恢复

This commit is contained in:
2026-09-23 22:38:40 +08:00
parent 5313fcee7a
commit 6a6a895eaf
638 changed files with 29816 additions and 1 deletions
@@ -0,0 +1,155 @@
---
title: Global and Scenario Preferences
type: curated
permalink: main/global/curated/7aee455b-24cc-4008-bdaf-443721e6f939/global-and-scenario-preferences
stable_id: 2b47472d-3ac2-4394-8646-c6bf1c0fc270
scope: global
project_id: null
workspace_type: global
usage_profile_id: 7aee455b-24cc-4008-bdaf-443721e6f939
preference_context: global
document_type: preferences
revision: 13
source_memory_ids:
- 9988effa-80c9-4062-97a2-8a5f40e3856a
source_checkpoint_ids: []
source_file_ids: []
source_git_commit: null
source_git_commits: []
source_agent_sync_ids: []
model_connection: Sub2API
model_name: openai/gpt-oss-20b
source_count: 104
source_revisions:
memory:bf88c265-4749-4c50-85bc-4bae25298cd5: '4'
memory:5ed86f53-b53e-4534-8e51-d3a010069d5e: '2'
memory:105b328f-4bda-4641-90a7-7282ef156316: '2'
memory:3f91189b-11a1-45bb-8357-4f413dc1609d: '1'
memory:1194be51-ee29-47e1-8957-ec2888007db6: '1'
memory:7429c22e-50ff-458a-97c0-423c679904c7: '2'
memory:9988effa-80c9-4062-97a2-8a5f40e3856a: '1'
source_dispositions:
processed: 104
unchanged: 0
unsupported: 0
skipped: 0
cited_source_ids:
- memory:9988effa-80c9-4062-97a2-8a5f40e3856a
- curated_baseline:2b47472d-3ac2-4394-8646-c6bf1c0fc270
- curated_baseline:6973450e-6ecc-48e3-8cdd-4d7d7707d843
- curated_baseline:e4fc35f2-1606-4b79-9c1e-367edeea97d0
- curated_baseline:416ac7c5-22a5-414a-be97-6b30deccf8e2
- memory:7429c22e-50ff-458a-97c0-423c679904c7
- curated_baseline:8a861a5f-35c3-4f95-bd5b-6b2297888f56
- curated_baseline:1d00b33d-2bf5-4890-bf34-0645e483e216
- memory:1194be51-ee29-47e1-8957-ec2888007db6
- curated_baseline:7b5a1fcd-adea-4418-ac8e-2f6275b5ada6
- memory:bf88c265-4749-4c50-85bc-4bae25298cd5
- memory:5ed86f53-b53e-4534-8e51-d3a010069d5e
- memory:105b328f-4bda-4641-90a7-7282ef156316
- memory:3f91189b-11a1-45bb-8357-4f413dc1609d
- cross_workspace_memory:23bcc4c0-4992-41d6-b70e-210937a76a0f
- cross_workspace_memory:db92ba17-fcee-4f1d-9593-6b325105e482
- cross_workspace_memory:b70c1a22-6834-4e59-936c-1945b04273b7
job_cited_source_ids:
- memory:9988effa-80c9-4062-97a2-8a5f40e3856a
- curated_baseline:2b47472d-3ac2-4394-8646-c6bf1c0fc270
- curated_baseline:6973450e-6ecc-48e3-8cdd-4d7d7707d843
- curated_baseline:e4fc35f2-1606-4b79-9c1e-367edeea97d0
conflicts: []
supersedes: []
preferences:
- statement: 答题时首选已知答案
level: scenario
workspace_types:
- development
workspace_ids: []
source_ids:
- memory:9988effa-80c9-4062-97a2-8a5f40e3856a
counterexample_source_ids: []
occurrence_count: 1
explicit: true
confidence: 1.0
status: current
- statement: 保持KISS/YAGNI原则,Vault优先,中文沟通
level: scenario
workspace_types:
- development
workspace_ids: []
source_ids:
- curated_baseline:2b47472d-3ac2-4394-8646-c6bf1c0fc270
- curated_baseline:6973450e-6ecc-48e3-8cdd-4d7d7707d843
- curated_baseline:e4fc35f2-1606-4b79-9c1e-367edeea97d0
counterexample_source_ids: []
occurrence_count: 1
explicit: true
confidence: 1.0
status: current
- statement: '提交信息采用“type: <中文描述>”的约定式提交格式'
level: scenario
workspace_types:
- development
workspace_ids: []
source_ids:
- curated_baseline:2b47472d-3ac2-4394-8646-c6bf1c0fc270
- curated_baseline:6973450e-6ecc-48e3-8cdd-4d7d7707d843
counterexample_source_ids: []
occurrence_count: 1
explicit: true
confidence: 1.0
status: current
- statement: 提交后立即推送,重基后推送;禁止--force,优先快进合并;受保护分支需 PR 并在合并后重新验证
level: scenario
workspace_types:
- development
workspace_ids: []
source_ids:
- curated_baseline:2b47472d-3ac2-4394-8646-c6bf1c0fc270
- curated_baseline:6973450e-6ecc-48e3-8cdd-4d7d7707d843
counterexample_source_ids: []
occurrence_count: 1
explicit: true
confidence: 1.0
status: current
- statement: 凭据从 vault 获取,单一匹配自动使用,多重没有或多重需手动提示
level: scenario
workspace_types:
- development
workspace_ids: []
source_ids:
- curated_baseline:e4fc35f2-1606-4b79-9c1e-367edeea97d0
counterexample_source_ids: []
occurrence_count: 1
explicit: true
confidence: 1.0
status: current
source_cursor: 689
source_hash: dc4cbe063d006d6ae3edf966ab516b13c6177691ffc0e1abcc06f072267adc88
prompt_version: 2026-08-12.3
schema_version: '3'
curation_job_id: f55f2513-17b7-43db-a55a-9ebeea813022
created_at: '2026-08-08T07:55:33.922490+00:00'
updated_at: '2026-09-17T07:37:01.980798+00:00'
tags:
- preferences
---
# Global Preferences
- **Answering Strategy**: Prefer to give known answers immediately. When encountering uncertain or ambiguous queries, append known answers first and clarify later if needed. (来源:memory:9988effa-80c9-4062-97a2-8a5f40e3856a)
- **KISS/YAGNI Principle & Vault‑First**: Reuse existing frameworks and libraries. Do not add needless dependencies; keep the codebase simple. All credentials must be retrieved from a vault before usage; only one match is auto‑used, otherwise a manual prompt is presented. (来源:curated_baseline:2b47472d-3ac2-4394-8646-c6bf1c0fc270、curated_baseline:6973450e-6ecc-48e3-8cdd-4d7d7707d843、curated_baseline:e4fc35f2-1606-4b79-9c1e-367edeea97d0)
- **Chinese Language for All Communication**: All documentation, commit messages, and user‑facing text should be in Chinese unless otherwise required. (来源:同一 curated baselines)
- **Conventional Commit Format**: Commit messages should follow the pattern `type: <简短中文描述>` – e.g., `feat: 新增用户登录`. (来源:同一 curated baselines)
- **Git Workflow**: Commit immediately after writing. Push only after a successful rebase. Avoid `--force` pushes and favor fast‑forward merges. Protected branches require a pull request for changes and must be re‑validated after merging. (来源:同一 curated baselines)
- **Credential Storage & Retrieval**: All credentials are stored in a vault. Prior to each operation, query the vault; if exactly one matching credential is found, use it automatically. If none or multiple are found, prompt the user. (来源:curated_baseline:e4fc35f2-1606-4b79-9c1e-367edeea97d0)
- **Technical Notes & Performance**: Avoid blocking I/O in async functions; use `jsonable_encoder`, add indexes for large tables, enforce UTF‑8 BOM on PowerShell scripts, and standardize CSV encoding detection (UTF‑8‑sig then GBK). (来源:同一 curated baselines)
- **UI Guidelines**: In Streamlit, place form controls outside of `st.form` to ensure re‑triggers; minimize spacing; keep only essential UI elements. (来源:同一 curated baselines)
These preferences apply globally across all workspaces in the project and are considered current and stable.