Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

adopt the defect-class guard method: generalize kamerplanter's workflow-gate-integrity hook

Abierto
#11 1 comentario 0 reacciones 0 asignados Ver en GitHub

Ya se ha fusionado un pull request relacionado.

  • #13 de @nolte — fusionado

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
git, github, python
Área
ci-cd, devops, tooling

Línea de trabajo

Empieza leyendo la definición del método en nolte/claude-shared#573, el candidato workflow-gate-integrity de kamerplanter#1313 y spec/hook-authoring. Evalúa si el hook funciona en un repositorio distinto de kamerplanter sin configuración específica del repositorio; si se adopta, verifica que falle para los defectos restaurados #1235 y #1302 y que haga referencia a #573 en spec/hook-authoring.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

cicd enhancement

Depends on nolte/claude-shared#573, which defines the method these hooks implement.

Why here

nolte/kamerplanter runs 20 pre-commit hooks that each lock in one closed defect class, named after its issue. This repository ships two generic hooks. Most of kamerplanter's are domain-bound (tenant keys, seed schemas, plant phases) and stay there. A few are not.

Candidate, and it is a candidate, not a given

workflow-gate-integrity (kamerplanter#1313): no CI gate that cannot fail, or cannot run on the change it is meant to check.

It is the strongest candidate because it mechanises the failure class on the CI side, and every repository with GitHub Actions has that surface. The defects it was built from, all real and all invisible while green:

  • kamerplanter#1235 — a freshness check whose grace window is anchored on the newest build rather than on the pin, so it can never alert
  • kamerplanter#1302 — a pin assertion whose path filter excludes the very file whose pin it asserts, so it cannot fire on the PR that changes it
  • kamerplanter#1228 — a pre-publish gate requiring a check that structurally cannot report at the point it is demanded
  • kamerplanter#1308 — a clean scan and a scan that never ran, indistinguishable downstream

Adoption is conditional: the hook must be configurable without kamerplanter's path assumptions. If it cannot be, say so and close — a hook that only works in one repository belongs in that repository.

A second, weaker candidate is a generic form of layer-imports. Assess it after the first lands, or not at all.

Acceptance criteria

  • The hook runs against a repository other than kamerplanter with no kamerplanter-specific configuration
  • Falsification, per adopted hook: restore the pre-fix state of kamerplanter#1235 and of #1302 and run the hook. Red both times. A hook that is green in its origin repository and has never been red in the new one is not verified, it is installed.
  • spec/hook-authoring references nolte/claude-shared#573 as the method the hook implements

References

  • kamerplanter spec/analysis/development-process-improvement-plan-2026-09-11.md §M3
  • kamerplanter#1313, #1235, #1302, #1228, #1308
Lenguaje dominante
Python
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nolte/pre-commit-hooks

Todos los issues de nolte/pre-commit-hooks

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.