Repository navigation
Description
Overview
The full workspace sweep runs weekly, and library PR CI runs no workspace script. Shift merges will carry only a targeted smoke, so the sweep has to run nightly to find a break within a day, and accept pinned SHAs so a red run can be bisected. Human ruling S4, 2026-11-19.
Plan
-
Nightly schedule on workspace-smoke.yml, skipped quickly when no library or workspace main moved since the last successful run.
-
A commit_shas dispatch input passed through to workspace-validation.yml.
-
Every run records the SHAs it tested.
-
A skipped night must not age Heart's evidence into STALE.
-
Say whether run 43034177136 (2026-11-11) was a real failure or a flake.
-
effective level: supervised; merge mode: human /prm
Detailed implementation plan
Affected Repositories
- PyAutoHeart (primary)
Suggested branch: feature/workspace-smoke-nightly
Implementation steps, key files and the witness are in the prompt below ("Shape", "Witness:").
Original Prompt
Click to expand starting prompt
M3.7d Workspace Smoke runs nightly when a main moved, and accepts pinned SHAs
Type: feature
Target: PyAutoHeart
Repos:
- PyAutoHeart
Difficulty: small
Autonomy: supervised
Priority: high
Status: draft
Filed: 2026-11-19
Epic: autonomous-orchestrators
Phase: 10
Consequence: judge
Witness: (1).github/workflows/workspace-smoke.ymlhas a nightlyschedule:and aworkflow_dispatchinputcommit_shasthat it passes toworkspace-validation.yml; (2) a scheduled run on a night when no library or workspacemainSHA differs from the last successful run's ends in under 2 minutes with the summary line "no main moved since run " and conclusion success; (3)gh workflow run workspace-smoke.yml -f commit_shas='{"PyAutoGalaxy":"<sha>"}'runs the workspaces against that SHA and records it in the run'scommit_shas.json; (4) every run writes the SHAs it tested to its summary and to an artifact, in a formgh run view --jsonorgh run downloadcan read; (5) Heart'stest_runleg still reads the latest completed run as before, and a skipped night does not make it STALE
Lane: any
Unattended: ready
Request (verbatim)
Human, 2026-11-19, in chat, on the cloud verification lane of the orchestrator speed review: "approved, all rulings yes".
Why
workspace-smoke.yml is the only run of every workspace against the libraries' main. It runs on Mondays at 03:00 UTC and takes 26 to 36 minutes. Library PR CI runs no workspace script. After M3.7b a shift's merges carry only a targeted smoke, and the human's /prm merges already carry no sweep, so main can hold a workspace break for up to a week. The sweep moves after the merge and has to run often enough to find a break within a day.
commit_shas is an input of workspace-validation.yml and release-integrate.yml but not of workspace-smoke.yml, whose workflow_dispatch takes no inputs. Bisecting a red run needs it.
Ruling (human, 2026-11-19)
- S4 (Heart half). The nightly CI minutes are accepted.
Shape
workspace-smoke.yml: add a nightly cron (keep Monday's as the same schedule); a first job that compares the currentmainSHAs of the libraries and workspaces with those recorded by the last successful run and skips the body when none moved; thecommit_shasinput passed through toworkspace-validation.yml.- Record the tested SHAs per run so M3.7e can print "workspaces verified through
<sha>" and name the suspect PRs between two runs. - Check how Heart's readiness reads this workflow (
gh run list --workflow workspace-smoke.yml) and keep a skipped night from ageing the evidence into STALE. - Look at run 43034177136 (2026-11-11, dispatched by hand, failed) and say in the PR whether it was a real failure or a flake, because M3.7e blocks merges on a red run.
Order
Independent of M3.7a to M3.7c; may be built in parallel. M3.7e needs it.
Activity
fix(smoke): pinned runs get their own entry; red latest run is re-swe…
fix(smoke): gate reads covered repos from the body, no instance facts…
Jammy2211 commentedon Nov 19, 2026
Shipped
Merged in #355 (8ab527d) by the human's
/prm, 2026-11-19. M3.7d of the autonomous-orchestrators epic.workspace-smoke.ymlwith a SHA gate: it skips when no workspace main moved and the latest run was green, runs a full sweep at least every 7 days, and takes aforceinput.workspace-smoke-pinned.ymlfor bisect runs.test_runreads only runs on main and re-attests a skipped night.workspace-validation.yml(fixes the tenant-firewall CI red).Review (Fable 5.2): round 1 FINDINGS (1 high, 1 medium, 2 low), fixed. Run 43034177136 (2026-11-11) was a real failure on a feature branch.
Outstanding verification: witness items 2 (a skipped night), 3 (a pinned dispatch) and 4 (the SHA record on a real run) need runs on main and are not yet verified.