Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat(context): discover hierarchical AGENTS.md instructions

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
devtools

調査の方向性

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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

rasbt/mini-coding-agent のほかの issue

rasbt/mini-coding-agent の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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