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

Ouverte
#159 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
57/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
Active
Stack technique
docker, github, node.js, typescript

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
TypeScript
Étoiles
125
Forks
23
Merge moyen
2 j 13 h
PR mergées (30 j)
12

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de devarshishimpi/codra

Toutes les issues de devarshishimpi/codra

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.