Feature request: .commandcode/rules/ always-on project rules (like grok)

オープン
#617 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か

調査の方向性

まず、既存の AGENTS.md の読み込み動作と、現在ネストされたルールが必要に応じてどのように読み込まれているかを追跡します。提案された .commandcode/rules/ レイアウトと最も近いディレクトリを優先する動作を受け入れ基準として使用します。完了とは、AGENTS.md の動作を変更せず、該当するすべての Markdown ルールが各セッションで読み込まれることです。

索引モデルが 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

  1. Support a .commandcode/rules/ directory that loads every *.md file inside it on every session (like grok .grok/rules/), in addition to AGENTS.md.
  2. Load these rules always, not on-demand — project conventions, not directory-scoped context.
  3. Scope by directory tree like grok: deeper directories take precedence on conflicts (nearest wins).
  4. 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 はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommandCodeAI/command-code のほかの issue

CommandCodeAI/command-code の issue をすべて見る

似ている issue

CLI の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。