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

Offen
#18,862 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
javascript, shell
Bereich
ci-cd, tooling

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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).
Vorherrschende Sprache
Shell
Sterne
22
Forks
2
Ø Merge
2 Std.
Gemergte PRs (30 T.)
960

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus melodic-software/claude-code-plugins

Alle Issues in melodic-software/claude-code-plugins

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.