Feature request: .commandcode/rules/ always-on project rules (like grok)
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 冷清
研究方向
首先追蹤現有的 AGENTS.md 載入行為,以及目前如何按需載入巢狀規則。使用提議的 .commandcode/rules/ 版面配置和最近目錄優先順序作為驗收標準;完成意味著每個符合的 Markdown 規則都會在每個工作階段載入,同時 AGENTS.md 的行為維持不變。
由索引模型根據 Issue 內容生成。
描述
Problem
Command Code loads AGENTS.md memory files, but nested/directory rules are loaded only on demand (when a file under that directory is referenced). There is no always-on project-rules mechanism equivalent to grok rules loading (AGENTS.md / CLAUDE.md / .grok/rules/*.md from repo root down, every session).
This means conventions that must apply globally to every session (orchestration roles, code-style rules) cannot live in a directory the agent is not currently touching — they silently do not load.
Proposed feature
- Support a
.commandcode/rules/directory that loads every*.mdfile inside it on every session (like grok .grok/rules/), in addition to AGENTS.md. - Load these rules always, not on-demand — project conventions, not directory-scoped context.
- Scope by directory tree like grok: deeper directories take precedence on conflicts (nearest wins).
- Keep AGENTS.md behavior unchanged;
.commandcode/rules/is additive.
Why it matters
Right now the only way to make a nested rules file always-on is to manually @path-import it from the root AGENTS.md. A dedicated always-on rules directory makes the intent explicit and keeps multi-file conventions organized without editing the root file.
Example
repo/
AGENTS.md
.commandcode/rules/
orchestrator.md # always loaded
code-style.md # always loaded
Alternatives considered
- Using @path imports from the root AGENTS.md (works, but requires hand-editing the root file and does not scale).
- Nested AGENTS.md files (load only on-demand, not always).
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CommandCodeAI/command-code 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#855 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
CommandCodeAI/command-code#841 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#655 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#608 ·
-
難度 3/5 1-2 天 新手友好度 70/100
CommandCodeAI/command-code#893 ·
查看 CommandCodeAI/command-code 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
難度 2/5 1-3 小時 新手友好度 84/100
-
難度 2/5 1-3 小時 新手友好度 76/100
-
難度 2/5 1-3 小時 新手友好度 78/100
AvengeMedia/DankMaterialShell#3523 ·
-
comp/cli comp/cron P3 type/bug
難度 2/5 1-3 小時 新手友好度 76/100
NousResearch/hermes-agent#117433 · 2 則留言 ·