enhance_with_llm rewrites created files outside the remediation executor and manifest
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 49/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- Python
- Star
- 22
- Fork
- 27
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 39
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của darnitdevorg/darnit
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
darnitdevorg/darnit#589 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
darnitdevorg/darnit#587 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
darnitdevorg/darnit#585 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
darnitdevorg/darnit#523 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
darnitdevorg/darnit#516 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của darnitdevorg/darnit
Issue tương tự
-
Broken links in the docsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
uniswap-python/uniswap-python#487 ·
-
[Bug]: agent_final_response still returns the abandoned branch's answer after navigate moves HEAD backCó thể đã có người làm @enyst đã nhận hôm nay. Đang mởbug priority:low ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
OpenHands/software-agent-sdk#5822 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
area: server enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
scs0209/laya-guard#52 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày