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

Aperta
#159 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
57/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, github, node.js, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
125
Fork
23
Merge medio
2g 13h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di devarshishimpi/codra

Tutte le issue di devarshishimpi/codra

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.