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

Ouverte
#1,214 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@d-oit y travaille déjà.

Depuis le 28/11/2026.

  • #1220 par @d-oit — ouverte

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
68/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
github, github-actions, python, typescript

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
TypeScript
Étoiles
3
Forks
2
Merge moyen
11 h 49 min
PR mergées (30 j)
102

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de d-oit/do-knowledge-studio

Toutes les issues de d-oit/do-knowledge-studio

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.