Bind Cline to the shared AI context through global rules

Add dotfiles/common/.cline/rules/ai-context.md as an always-on global rule that
Cline auto-loads from ~/.cline/rules/ and deploy it through ai_agents_dotfiles
behind cline_deploy_enabled. The rule points at the deployed bootstrap.md,
safety directives, task dispatcher, and the distilled ChatGPT knowledge under
memory/chatgpt/, keeping ~/.config/ai/ the single source of truth. Also add
cline to the AI common config agent list so the shared context is deployed
for Cline-only hosts as well.

Co-Authored-By: Cline <noreply@anthropic.com>
This commit is contained in:
2026-11-12 23:05:53 +01:00
parent 94eb555ff3
commit 4df3067c38
4 changed files with 37 additions and 3 deletions

View File

@@ -170,6 +170,7 @@ ai_agents_dotfiles:
- opencode
- codex
- gemini_cli
- cline
- name: Gemini CLI config
src: .gemini/
dest: .gemini/
@@ -200,6 +201,12 @@ ai_agents_dotfiles:
mode: "0644"
agents:
- cline
- name: Cline global rules
src: .cline/rules/
dest: .cline/rules/
mode: preserve
agents:
- cline
ai_agents_templates:
- name: Codex config