You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(lanes): a daily architecture scan with a scripted stop and an owner hold #18862
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
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.
Only then a model job runs /architecture:improve --unattended and files through /improvement:find.
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.
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).
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: a new scheduled workflow and its gate script, the lanes: block in docs/conventions/pr-pipeline.yaml, and the own-agent admission rules and admit.mjs; read by the maintainers and by the admission and scheduling lanes.
Reversible: yes; revert the change, or switch the lane off or empty the hold list in config.
Claims checked:
A lanes: block exists in pr-pipeline.yaml: held, docs/conventions/pr-pipeline.yaml:835.
Own-agent admission rules hold only identities and source-cap: held, .github/actions/resolve-config/admission-rules.json:3.
admit.mjs has the own-agent refusal pattern (NO_SOURCE, source cap): held, .github/scripts/intake-triage/admit.mjs:244.
No workflow runs the architecture scan today: not checked in detail.
Open questions: none
I understood this as a daily scheduled architecture-scan lane. A no-model gate script stops it when it is off, at the cap, not due, or has nothing merged. Only then does the model job run /architecture:improve --unattended and file through /improvement:find. Scan filings are held for a person through a configurable admission list. The issue already fixes the design and the done-when, so no owner decision is open. It says to build after the lane id issue refactor(lanes): one lane id list keyed by workflow stem, and one stage vocabulary #18860, which is not in the open-issues list, so I list no blocker. The earlier admission comment asked for confirmed acceptance criteria. The refinement comment supplies them, and they cover the issue. I found no duplicate or merged fix.
Not admitted to the issue lane yet: no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; intake's refinement of this body is due and may supply them.
melodic-automation-lanes commented on Nov 25, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Add a daily scheduled architecture-scan lane whose first job is a no-model gate script that stops when switched off, at find_open_item_cap, not due, or with nothing merged, then runs the model job for /architecture:improve --unattended filed through /improvement:find, with on/off and cadence under lanes: in pr-pipeline.yaml and a configurable admission hold that keeps source: architecture-improve filings for a person.
Acceptance criteria
A new scheduled workflow runs daily and its first job runs a script with no model step, and the model job declares needs on that gate job and runs only when the gate outputs run=true.
The gate script reads the lane's on/off and every-N-days settings from the lanes: block of docs/conventions/pr-pipeline.yaml and find_open_item_cap from the improvement config cascade (default 5), with no value hard-coded in the workflow.
The gate script counts open issues labelled source: architecture-improve and the merges to main since the last scan, and outputs run=false with a named reason when the lane is off, the count is at or above the cap, fewer than N days passed since the last scan, or zero merges happened.
A node test for the gate script passes and covers each of the four stop reasons plus the run case, and in every stop case the workflow's model job is skipped.
The model job runs /architecture:improve --unattended and files through /improvement:find, and every filing carries exactly one source: architecture-improve label.
The lane entry in docs/conventions/pr-pipeline.yaml under lanes: uses the id and stage that issue #18860 settles, and the repo's lane-list checks pass with it.
The own-agent admission rules in .github/actions/resolve-config/admission-rules.json gain a list of source labels that hold for a person, containing source: architecture-improve, and its description string documents the key.
admit.mjs reads that list so an own-agent filing with a listed source label is refused for a person with a stated reason, an unlisted source such as source: improvement-find is still admitted at Size small or medium, and admit.test.mjs covers both cases and a missing key reading as an empty list.
Changing the cap, cadence, on/off or the hold list needs an edit only to config files (pr-pipeline.yaml, the improvement config, admission-rules.json) and no edit to a workflow or script, shown by a test that changes each value and sees the gate or admission result change.
The workflow has no push trigger and uses only schedule and workflow_dispatch triggers.
External state: none
Dependencies
#18860 (lane id list): the lane waits for it so the lane takes its final id and stage.
plugins/improvement/README.md:95: find files under source: architecture-improve for verified Strong architecture candidates and source: improvement-find otherwise, stops at find_open_item_cap (default 5) per label, and never creates the label.
.github/actions/resolve-config/admission-rules.json:3: own-agents holds only identities and source-cap; no list of sources that hold for a person exists yet.
.github/scripts/intake-triage/admit.mjs:244: NO_SOURCE and the own-agent refusals are the existing hold-for-a-person pattern to extend.
docs/conventions/pr-pipeline.yaml:835: the lanes: block, where each lane has a stage and slots, and the new lane's on/off and cadence go beside them.
Automated refinement by the lanes App. Intake triages the issue again with it.
This records a re-fire of an earlier stop, not a new one. The start gate stopped run 45635495054, the work-resolve-issue run that agent-ready started, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-25T14:55:24Z. work-unblock has now removed and added agent-ready back to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or the kill-switch wait.
Activity
github-actions commentedon Nov 25, 2026
The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).
github-actions commentedon Nov 25, 2026
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: a new scheduled workflow and its gate script, the lanes: block in docs/conventions/pr-pipeline.yaml, and the own-agent admission rules and admit.mjs; read by the maintainers and by the admission and scheduling lanes.
Reversible: yes; revert the change, or switch the lane off or empty the hold list in config.
Claims checked:
docs/conventions/pr-pipeline.yaml:835..github/actions/resolve-config/admission-rules.json:3..github/scripts/intake-triage/admit.mjs:244.Open questions: none
I understood this as a daily scheduled architecture-scan lane. A no-model gate script stops it when it is off, at the cap, not due, or has nothing merged. Only then does the model job run
/architecture:improve --unattendedand file through/improvement:find. Scan filings are held for a person through a configurable admission list. The issue already fixes the design and the done-when, so no owner decision is open. It says to build after the lane id issue refactor(lanes): one lane id list keyed by workflow stem, and one stage vocabulary #18860, which is not in the open-issues list, so I list no blocker. The earlier admission comment asked for confirmed acceptance criteria. The refinement comment supplies them, and they cover the issue. I found no duplicate or merged fix.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 25, 2026
Not admitted to the issue lane yet: no trusted-human acceptance criteria: a listed human must put the confirmed
- [ ]criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; intake's refinement of this body is due and may supply them.melodic-automation-lanes commentedon Nov 25, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Add a daily scheduled architecture-scan lane whose first job is a no-model gate script that stops when switched off, at find_open_item_cap, not due, or with nothing merged, then runs the model job for /architecture:improve --unattended filed through /improvement:find, with on/off and cadence under lanes: in pr-pipeline.yaml and a configurable admission hold that keeps
source: architecture-improvefilings for a person.Acceptance criteria
source: architecture-improveand the merges to main since the last scan, and outputs run=false with a named reason when the lane is off, the count is at or above the cap, fewer than N days passed since the last scan, or zero merges happened./architecture:improve --unattendedand files through/improvement:find, and every filing carries exactly onesource: architecture-improvelabel.source: architecture-improve, and its description string documents the key.source: improvement-findis still admitted at Size small or medium, and admit.test.mjs covers both cases and a missing key reading as an empty list.External state: none
Dependencies
Related work
Sources read
source: architecture-improvefor verified Strong architecture candidates andsource: improvement-findotherwise, stops at find_open_item_cap (default 5) per label, and never creates the label.Automated refinement by the lanes App. Intake triages the issue again with it.
melodic-automation-lanes commentedon Nov 25, 2026
{"v":1,"actor_id":337595936,"title_sha256":"0c2c0d6cae700120bb5794b596a2b41076bd21beda71b2e734f03d42daa7b26d","body_sha256":"3fdff097070a363b005ac0cbc1dc32f7ef251d3c93e0bae5dd92bfeacb0898a6"}
melodic-automation-lanes commentedon Nov 25, 2026
This records a re-fire of an earlier stop, not a new one. The start gate stopped run 45635495054, the work-resolve-issue run that
agent-readystarted, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-25T14:55:24Z. work-unblock has now removed and addedagent-readyback to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or thekill-switchwait.github-actions commentedon Nov 25, 2026