feat(lanes): a daily architecture scan with a scripted stop and an owner hold

Abierto
#18,862 7 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript, shell
Área
ci-cd, tooling

Línea de trabajo

Start by reading the existing lane definitions in docs/conventions/pr-pipeline.yaml and the unattended filing skill under plugins/improvement/skills/find/ to see how find_open_item_cap and source: labels are already applied. Then look at .github/scripts/intake-triage/admit.mjs and ADR 0111 to see how admission rules are expressed as settings. The work is a scheduled workflow whose first job is a no-model shell script that exits on off/cap/not-due/nothing-merged, plus a config entry for on/off and cadence; done when a blocked day spends no model run and the hold is changed by config alone. Note the issue says to build after the lane id list issue lands, so scope is not yet fixed.

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

Descripción

host-run

Context

Owner decisions Q2117, Q2136 and Q2141 (workshop 08 alignment pass, 2026-11-24): run the course's architecture-scan task here.

  • /architecture:improve --unattended writes candidates and /improvement:find files them with one source: label and a hard stop at find_open_item_cap (default 5) open filings (plugins/improvement/skills/find/ unattended filing). No workflow runs either today.
  • Main took 271 pushes on 2026-11-23, so a push trigger would start far more runs than it needs.

Proposed work

  1. A daily scheduled lane. Its first job is a script, with no model, that reads the lane's on/off and every-N-days settings and find_open_item_cap, counts open filings with the scan's source: label and the merges since the last scan, and exits when switched off, at the cap, not due, or with nothing merged.
  2. Only then a model job runs /architecture:improve --unattended and files through /improvement:find.
  3. The cap stays find_open_item_cap (one source); the lane's on/off and cadence sit under lanes: in docs/conventions/pr-pipeline.yaml beside the other lanes.
  4. Scan filings wait for the owner before any build: list the scan's source: label in the own-agent admission rules as one that holds for a person (.github/scripts/intake-triage/admit.mjs, ADR 0111). This is a setting, so admitting Small and Medium scan filings later is a configuration change.

Build it after the lane id list issue lands, so the lane takes its final id and stage.

Acceptance criteria

  • A day with the cap met, the lane switched off, or nothing merged spends no model run.
  • Each filing carries the scan's source: label and waits for a person.
  • Changing the cap, cadence, on/off or the hold is a configuration edit only.

References

  • Course: workshop 08 lesson 04.
  • session: Software Factory Part Two (workshop 08 alignment pass).
Lenguaje dominante
Shell
Estrellas
22
Forks
2
Merge medio
2 h
PR fusionados (30 d)
960

Preparar el entorno

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 melodic-software/claude-code-plugins

Todos los issues de melodic-software/claude-code-plugins

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.