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

Ouverte
#18,862 7 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

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

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
25/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
javascript, shell
Domaine
ci-cd, tooling

Piste de recherche

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.

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

Description

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).
Langage dominant
Shell
Étoiles
22
Forks
2
Merge moyen
2 h
PR mergées (30 j)
960

Préparer son environnement

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

Toutes les issues de melodic-software/claude-code-plugins

Issues similaires

Plus d'issues Shell/Bash

Recevez les nouvelles issues par e-mail

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