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

Aperta
#18,862 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, shell
Ambito
ci-cd, tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).
Lingua principale
Shell
Stelle
22
Fork
2
Merge medio
2h
PR unite (30g)
960

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di melodic-software/claude-code-plugins

Tutte le issue di melodic-software/claude-code-plugins

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.