Add a CODEOWNERS file (workflows, packages, agents surface)

Đang mở
#1,214 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 1 ngày

@d-oit đang làm issue này rồi.

Từ ngày 28/11/2026.

  • #1220 của @d-oit — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, github-actions, python, typescript

Hướng nghiên cứu

Start with AGENTS.md, .github/Main Branch Protection.json, and scripts/agent-surface.py, then inspect the referenced workflows, packages, and lint configs. Add .github/CODEOWNERS for the listed paths, wire it into branch protection, and update agents-docs/GIT-WORKFLOW.md and CONTRIBUTING.md. Confirm that each required path is routed for review and that the documentation describes the new requirement.

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

Mô tả

chore ci good first issue priority: low

Summary

The repository has no .github/CODEOWNERS. It has strong review discipline in prose (mandatory code-review-assistant review after CI, PR verification checklists, branch protection JSON), but no machine-enforced review routing.

Evidence

  • ls .github/CODEOWNERS — absent (checked).
  • High-trust areas that deserve owner review per repo rules: .github/workflows/** (guard-enforced hygiene rules), AGENTS.md + .agents/ (agent surface, scripts/agent-surface.py), biome.json/ESLint configs (AGENTS.md: "never modify without explicit approval"), packages/dks-core (single business-logic implementation), public/sw.js (offline correctness).

Impact

  • Security: code-owner review on workflow files is one of the top-8 CI supply-chain controls — every documented Actions compromise 2024–2026 ran through a gap in controls including this one.
  • Process: turns AGENTS.md's "explicit approval" rules for lint/biome config into an automatic GitHub requirement instead of a convention agents must remember.
  • Onboarding: help wanted / good first issue routing gets an actual owner.

Proposed approach

  1. Add .github/CODEOWNERS with entries for: .github/workflows/, .agents/ + AGENTS.md + CLAUDE.md/GEMINI.md/QWEN.md (generated — changes must go through scripts/agent-surface.py), packages/dks-core/, public/sw.js, biome.json, eslint.config.mjs, scripts/.
  2. Wire into the existing branch protection config (.github/Main Branch Protection.json).
  3. Update agents-docs/GIT-WORKFLOW.md and CONTRIBUTING.md to reference it.

References

Ngôn ngữ chính
TypeScript
Star
3
Fork
2
Merge trung bình
11 giờ 49 phút
Pull request đã merge (30 ngày)
102

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 d-oit/do-knowledge-studio

Tất cả issue của d-oit/do-knowledge-studio

Issue tương tự

Thêm issue về TypeScript

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.