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

@@ -609,8 +609,12 @@ context), `AGENTS.md` (task-specific file dispatcher), plus `knowledge/`,
`instructions` array in `opencode.json`, Codex through `model_instructions_file`
plus the global `~/.codex/AGENTS.md`, Gemini CLI through its settings context
files, Claude Code through the `@` imports in `~/.claude/CLAUDE.md`, and Cline
through the cross-tool `~/.agents/AGENTS.md` pointer (deployed with
`cline_deploy_enabled: true`).
through both the cross-tool `~/.agents/AGENTS.md` pointer and the always-on
global rule `~/.cline/rules/ai-context.md`, which binds `bootstrap.md`, the
dispatcher, the safety directives, and the distilled ChatGPT knowledge under
`memory/chatgpt/` (both deployed with `cline_deploy_enabled: true`). Cline
shows the rule in its Rules panel as `global:ai-context`, where it can be
toggled per project.
ChatGPT conversation memory lives in
`dotfiles/common/.config/ai/memory/chatgpt/`: one Markdown transcript per