mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 05:39:52 +00:00
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:
@@ -7,7 +7,7 @@ Ansible-driven personal infrastructure repo for Fedora and Void desktops, Fedora
|
||||
- Inventory and layering inputs: `ansible/inventory/hosts.yml`, `ansible/inventory/group_vars/*.yml`, `ansible/inventory/host_vars/*.yml`
|
||||
- Dotfiles live under `dotfiles/`
|
||||
- AI agent instructions (bootstrap, dispatcher, knowledge, rules, patterns) are centralized in `dotfiles/common/.config/ai/` and shared between OpenCode, Codex, Gemini CLI, and Cline.
|
||||
- OpenCode loads its entrypoint configuration from `dotfiles/common/.config/opencode/opencode.json`; Codex global instructions deploy from `dotfiles/common/.codex/AGENTS.md`; Cline global instructions deploy from the cross-tool `dotfiles/common/.agents/AGENTS.md` (to `~/.agents/AGENTS.md`).
|
||||
- OpenCode loads its entrypoint configuration from `dotfiles/common/.config/opencode/opencode.json`; Codex global instructions deploy from `dotfiles/common/.codex/AGENTS.md`; Cline deploys both the cross-tool `dotfiles/common/.agents/AGENTS.md` pointer (to `~/.agents/AGENTS.md`) and the always-on global rule `dotfiles/common/.cline/rules/ai-context.md` (to `~/.cline/rules/`), which auto-binds the deployed `bootstrap.md`, dispatcher, safety directives, and distilled ChatGPT knowledge.
|
||||
- Codex config is rendered from `dotfiles/common/.codex/config.toml.j2` so `model_instructions_file` points to the deployed `~/.config/ai/bootstrap.md`.
|
||||
- ChatGPT conversation memory is stored in `dotfiles/common/.config/ai/memory/chatgpt/` and regenerated incrementally by `scripts/chatgpt_export_to_memory.py` from an official ChatGPT data export.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user