6.6 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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Global and Scenario Preferences | curated | main/global/curated/7aee455b-24cc-4008-bdaf-443721e6f939/global-and-scenario-preferences | 2b47472d-3ac2-4394-8646-c6bf1c0fc270 | global | null | global | 0c9feb46-d06e-43cd-9ef0-c5813c84a998 | global | preferences | 1 |
|
null | Sub2API | git-restore | 104 |
|
|
|
|
|
689 | dc4cbe063d006d6ae3edf966ab516b13c6177691ffc0e1abcc06f072267adc88 | 2026-08-12.3 | 3 | null | 2026-08-08T07:55:33.922490+00:00 | 2026-09-23T14:50:05.532350+00:00 |
|
6a6a895eaf |
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
--forcepushes 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.formto 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.