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

Aberta
#159 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
57/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
docker, github, node.js, typescript

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
TypeScript
Estrelas
125
Forks
23
Merge médio
2d 13h
PRs com merge (30d)
12

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de devarshishimpi/codra

Todas as issues de devarshishimpi/codra

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.