feat(context): discover hierarchical AGENTS.md instructions
まだ誰も着手していません。
評価
調査の方向性
Start at WorkspaceContext.build(), which currently loads AGENTS.md from the repository root and requested working directory. Trace how workspace instructions are represented, then cover the repository-root and nested src/AGENTS.md cases without scanning the entire repository. Done means applicable instructions are associated with their directory scope and both root-only and nested behavior have tests.
索引モデルが issue の本文から書いたものです。
説明
Problem
"WorkspaceContext.build()" only loads "AGENTS.md" from the repository root and the requested working directory.
Coding-agent repositories commonly use hierarchical instruction files where more specific directories contain additional rules for the code below them.
For example:
repo/
├── AGENTS.md
├── src/
│ ├── AGENTS.md
│ └── feature.py
When the agent edits "src/feature.py", the instructions in "src/AGENTS.md" are currently not included in the workspace context.
Expected behavior
Discover applicable "AGENTS.md" files along the path from the repository root to the active workspace/file location and include them according to their directory scope.
More-specific instructions should be distinguishable from repository-wide instructions.
Acceptance criteria
- Root-level "AGENTS.md" continues to work.
- Nested "AGENTS.md" files are discovered.
- Instructions are associated with their directory scope.
- The implementation avoids recursively scanning the entire repository.
- Tests cover root-only and nested instruction files.
- 主要言語
- Python
- スター
- 1.2k
- フォーク
- 218
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rasbt/mini-coding-agent のほかの issue
-
fix(list_files): report when directory entries are truncated対応中かも @Oscar-Williams が 21 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
rasbt/mini-coding-agent#17 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
rasbt/mini-coding-agent#15 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
rasbt/mini-coding-agent#14 · リアクション 2 件 ·
rasbt/mini-coding-agent の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
google-ai-edge/litert-torch#1346 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
geneontology/gocam-py#272 ·
-
pushed_authorization_request sends list authorization_details as a Python repr対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
auth0/auth0-python#903 ·
メンテナーはふだん 1 日以内に返信