Find AGENTS.md and CODRA.md files and apply folder scope

未关闭
#159 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
57/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
docker, github, node.js, typescript

调研方向

Start by tracing Codra’s existing GitHub access and the code that gathers changed files for a review; the issue does not name specific files or tests. Determine how repository paths map to root and nested AGENTS.md and CODRA.md guidance, including parent guidance and a total size limit. Done means skipped guidance is recorded without stopping reviews, tests cover discovery, scope and skipped files, and the listed checks pass in Workers and Node/Docker.

由索引模型根据 Issue 内容生成。

描述

enhancement good first issue help wanted

Goal

Find the repository guidance files Codra should use during code review and determine which changed files each guide applies to. Review prompt integration is handled in #160.

Files to support

  • AGENTS.md
  • CODRA.md

Use repository contents available through Codra's existing GitHub access. Root level guidance applies to all reviewed files. Guidance in a subfolder applies to files in that folder and its descendants. Include relevant parent guidance as well as more specific guidance for a changed file.

Reliability

Set a reasonable limit for the total guidance Codra loads so a repository cannot make a review prompt unbounded. Document the supported file names and limit. If a file is absent, too large, or cannot be read, continue the review and record that guidance was skipped where useful.

Done when

  • Codra can find both supported guidance file names.
  • Root and nested guidance are matched to the correct changed files.
  • Missing, unreadable, and oversized files do not stop a review.
  • Tests cover file discovery, folder scope, and skipped files.
  • Any backend changes work in both Cloudflare Workers and Node/Docker.
  • npm run typecheck, npm test, and npm run lint all pass.
主要语言
TypeScript
星标
125
派生
23
平均合并
2 天 13 小时
30 天内合并 PR
12

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

devarshishimpi/codra 的其他 Issue

查看 devarshishimpi/codra 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。