feat(context): discover hierarchical AGENTS.md instructions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 1.2k
- Fork
- 218
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rasbt/mini-coding-agent
-
fix(list_files): report when directory entries are truncatedCó thể đã có người làm @Oscar-Williams đã nhận 12 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
rasbt/mini-coding-agent#17 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
rasbt/mini-coding-agent#15 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
rasbt/mini-coding-agent#14 · 2 reaction ·
Tất cả issue của rasbt/mini-coding-agent
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
UKGovernmentBEIS/inspect_ai#5802 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
no-human-ai/no_human#660 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add a Security Insights v2 fileĐang mởdocumentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation need help question
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 66/100
phonology024/babelscribe#26 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100