Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

enhance_with_llm rewrites created files outside the remediation executor and manifest

Aperta
#544 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
49/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by tracing remediate_audit_findings and the enhancement path in the Baseline orchestrator, then read the remediation executor and manifest handling on the 043 branch. Check how FileChange preview/apply behavior and the FR-011 user-changes check are implemented. Done when enhancement is represented as a planned change, appears in the preview or is marked as not exactly previewable, and is recorded and checked by the manifest flow.

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

Descrizione

module-baseline needs triage quality

With enhance_with_llm=True, remediate_audit_findings rewrites created documents (ARCHITECTURE.md, the threat model) after the deterministic remediation. The rewrite happens directly in the Baseline orchestrator, outside the remediation executor.

On the 043 branch the executor is the only writer and records every write in the run manifest. The enhanced file therefore no longer matches the manifest digest, and commit_remediation_changes reports a conflict and commits nothing for it. That is safe, but the feature does not work.

Fix: make the enhancement a planned FileChange that goes through the executor:

  • the preview shows the enhanced content, or labels it "cannot be previewed exactly" if it is generated at apply time;
  • the manifest records it;
  • FR-011, the user-changes check, applies to it.

Found while implementing feature 043 (remediation safety, branch 043-remediation-safety, not yet merged).

Lingua principale
Python
Stelle
22
Fork
27
Merge medio
1g 23h
PR unite (30g)
48

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 darnitdevorg/darnit

Tutte le issue di darnitdevorg/darnit

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.