enhance_with_llm rewrites created files outside the remediation executor and manifest
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
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
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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di darnitdevorg/darnit
-
ci needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
darnitdevorg/darnit#607 ·
I maintainer di solito rispondono entro 2 giorni
-
dependencies module-baseline needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
darnitdevorg/darnit#606 ·
I maintainer di solito rispondono entro 2 giorni
-
A test starts real Sigstore signing (interactive OIDC login) when the attestation extra is installedForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertamodule-baseline needs triage testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
darnitdevorg/darnit#604 ·
I maintainer di solito rispondono entro 2 giorni
-
`darnit validate` crashes on openssf-baseline.toml summarising levelsForse già presa @i-am-paradox l’ha presa 4 giorni fa. Apertainterface-cli module-core
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
darnitdevorg/darnit#589 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
good first issue maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
darnitdevorg/darnit#587 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di darnitdevorg/darnit
Issue simili
-
documentation good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
drevendev/HungryCrab#273 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
drevendev/BeautifulRepo#19 ·
I maintainer di solito rispondono entro 2 giorni
-
Moonshot: Kimi K3 always sends `reasoning_effort="max"`, though the API now accepts `low` and `high`Apertaaccepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
UKGovernmentBEIS/inspect_ai#5939 ·
I maintainer di solito rispondono entro 1 giorno
-
bug linux
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Fill paper for Screen2WordsApertaarea:data data-quality
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
reacher-z/Awesome-CUA#1468 ·
I maintainer di solito rispondono entro 1 giorno