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

未关闭
#18,862 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript, shell
领域
ci-cd, tooling

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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).
主要语言
Shell
星标
22
派生
2
平均合并
2 小时
30 天内合并 PR
960

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。