Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

create_security_policy fails on every call; its template parameter is ignored

Đang mở
#541 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 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
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
security, tooling

Hướng nghiên cứu

Start with tests/darnit_baseline/test_tools_signatures.py and inspect the create_security_policy tool and the control template it uses. The issue leaves a choice between implementing the standard, minimal, and enterprise TOML variants or removing the pinned parameter. Done means the parameter is honored or removed consistently, while the existing SECURITY.md behavior remains unchanged.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

interface-mcp module-baseline needs triage

On main (0581c0d), the create_security_policy MCP tool fails on every call. It passes an EffectiveConfig to FrameworkConfig(**...), which raises. When it did produce output, it also reported "Created" when SECURITY.md already existed.

Fixed on the 043 branch: the tool runs OSPS-VM-02.01 through the remediation executor and the run manifest, never overwrites an existing SECURITY.md (it reports unchanged / already_exists), and returns the structured run.

Still open on the branch: the template parameter (standard / minimal / enterprise) is accepted but ignored; every call renders the control's own template. Either implement the variants as TOML templates selected by the parameter, or remove the parameter (it is pinned by tests/darnit_baseline/test_tools_signatures.py).

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
2 ngày 18 giờ
Pull request đã merge (30 ngày)
51

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của darnitdevorg/darnit

Tất cả issue của darnitdevorg/darnit

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.