--- title: Global Workspace Profile type: curated permalink: main/global/curated/7aee455b-24cc-4008-bdaf-443721e6f939/global-workspace-profile stable_id: 6973450e-6ecc-48e3-8cdd-4d7d7707d843 scope: global project_id: null workspace_type: global usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 preference_context: global document_type: profile revision: 1 source_memory_ids: - 938fd87f-6a79-4765-b266-9aad0e8664de source_checkpoint_ids: [] source_file_ids: [] source_git_commit: null source_git_commits: [] source_agent_sync_ids: [] model_connection: Sub2API model_name: git-restore source_count: 97 source_revisions: memory:ff34c6eb-6bba-41e5-9e43-ff80941fa823: '2' memory:25332e63-48d0-4daa-8c08-d676bb2d310d: '3' memory:2406be77-e6ce-4572-890e-18747c968f55: '2' memory:ac8bb556-947d-43a1-87d9-bfe7e8da310b: '1' memory:938fd87f-6a79-4765-b266-9aad0e8664de: '1' source_dispositions: processed: 97 unchanged: 0 unsupported: 0 skipped: 0 cited_source_ids: - memory:938fd87f-6a79-4765-b266-9aad0e8664de - memory:ac8bb556-947d-43a1-87d9-bfe7e8da310b - memory:25332e63-48d0-4daa-8c08-d676bb2d310d - memory:2406be77-e6ce-4572-890e-18747c968f55 - cross_workspace_memory:785ee52e-7fc0-4c3e-af00-161d219bc6d0 - cross_workspace_memory:5c51c39f-5737-482d-929f-ed22bb1f2e2c - cross_workspace_memory:c9dcce4b-b7ab-4268-aa69-544bc64d17b3 - cross_workspace_memory:592bc22a-9f8a-4ce1-81ee-107b47371312 - curated_baseline:2b47472d-3ac2-4394-8646-c6bf1c0fc270 - curated_baseline:6973450e-6ecc-48e3-8cdd-4d7d7707d843 - curated_baseline:e4fc35f2-1606-4b79-9c1e-367edeea97d0 - curated_baseline:1d00b33d-2bf5-4890-bf34-0645e483e216 - curated_baseline:416ac7c5-22a5-414a-be97-6b30deccf8e2 - curated_baseline:23340925-d052-4393-952a-b1daf798cce3 - curated_baseline:8a861a5f-35c3-4f95-bd5b-6b2297888f56 - cross_workspace_memory:dd093dd7-71be-46a2-bcb1-4a87c3d4b9ab - cross_workspace_memory:b476b307-7224-4128-8499-4c43a2ad1cb5 - cross_workspace_memory:dc70f54c-8e29-4834-a5c1-a63bc9ac9e68 - cross_workspace_memory:e1b8d25d-f638-4fbe-8a8d-0eda8f2d7d46 - cross_workspace_memory:6b129c78-a412-41e9-af9f-63ab071e03d9 - cross_workspace_memory:f42fc721-886f-4d6d-85a4-1611d7bc2cf1 - cross_workspace_memory:5924806e-b234-49f7-b971-3c844fd07cf3 - memory:ff34c6eb-6bba-41e5-9e43-ff80941fa823 job_cited_source_ids: - memory:938fd87f-6a79-4765-b266-9aad0e8664de conflicts: [] supersedes: [] preferences: - statement: Cursor must be a local, non‑syncing plugin for all workspaces; install under `%USERPROFILE%\.cursor\plugins\local\collaboration-rules\`. level: global workspace_types: [] workspace_ids: [] source_ids: - memory:938fd87f-6a79-4765-b266-9aad0e8664de counterexample_source_ids: [] occurrence_count: 1 explicit: true confidence: 1.0 status: current source_cursor: 620 source_hash: 5b10d7140112f8e9fe0313be1788db0eb632993d7519d6692bc58fac359fd0d0 prompt_version: 2026-08-12.3 schema_version: '3' curation_job_id: null created_at: '2026-08-08T07:55:31.878711+00:00' updated_at: '2026-09-23T14:50:03.874180+00:00' tags: - development - global - commit - project-creation - memory-management - communication restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2 --- # Global Development Profile ## 1. Scope This profile applies globally to every workspace and project managed under MemRelay. ## 2. Key Rules - **Commit** immediately after each fully implemented feature. - **Push** to the remote right after committing; before pushing, `git fetch` and `git rebase` local changes onto the target branch if new remote commits exist. - **Avoid** the use of `git push --force` unless explicitly authorised. - **Rebase** onto the target branch and then perform a **fast‑forward merge**; avoid generating merge commits. - When protected branches, CI pipelines, or PR reviews exist, **create a PR** instead of performing a direct merge. - **Re‑validate** the branch after any rebase or merge and resolve conflicts by fully understanding both sides of the conflict. - For branches that contain published or shared changes, **forced rebase is forbidden** unless explicitly authorised. - The **target branch** may be pushed only after a successful merge; **automatic deployment is never performed**. - **Commit messages** must follow Conventional Commits, e.g. `type: <中文一句话描述>`. - All communication within the project must be in Chinese and adhere to the KISS / YAGNI principle. Enforce the commit format `type: 中文一句话描述`. - **Credentials** must be stored exclusively in the password vault; only the vault entry name is recorded in memory and never committed to code. - The **integration of the Collaboration‑Rules** must be installed locally as a non‑syncing plugin for all workspaces. The installation path is `%USERPROFILE%\.cursor\plugins\local\collaboration-rules\` and the file `collaboration-rules.mdc` is built from `RULES.md` with `alwaysApply:true`. ## 3. Workflow Enhancements - **Streamlit UI**: Widgets inside `st.form` are now placed outside the form to ensure immediate re‑run when the form is modified. - **Marketplace Results UI**: Formal product files are moved to `task‑dir/20260815-xxx/results` and presented via a scrollable list, avoiding inline rendering of large files. - **Tool‑box UI Simplification**: All developer‑style subtitles have been removed; only essential actions (download button & file listing) remain. - **Layout Optimization**: Unnecessary whitespace in the Streamlit toolbox and sidebar has been reduced for a cleaner UI. - **Navigation Branding**: The title “MarketGrid” with subtitle “空间数据工具箱” is now positioned above the navigation bar. - **Start‑UI Script**: `start‑ui.ps1` is a PowerShell 5.1 script with a UTF‑8 BOM to avoid `UnexpectedToken` errors when non‑ASCII characters are present. - **PowerShell Script Encoding**: All PowerShell files are saved with a UTF‑8 BOM; validated with `powershell.exe Parser.ParseFile`. - **Unresolved Future Tasks**: Verify that the PLUGIN‑MD regeneration for Codex/CLI avoids duplicate `RULES.md` copies, enforce consistent PowerShell encoding across scripts, and confirm full task‑folder migration on all workspaces. ## 4. Implementation Notes - The document is written in Chinese to reflect the communication policy. - All policy statements are derived from the following evidence sources: `memory:938fd87f-6a79-4765-b266-9aad0e8664de`, `memory:6973450e-6ecc-48e3-8cdd-4d7d7707d843`, and `memory:e4fc35f2-1606-4b79-9c1e-367edeea97d0`. - The policy may be refined by additional evidence, but the current rules take precedence until a newer explicit update supersedes them. --- ## 5. Preferences - **Global Preference List**: See the JSON array below.