Repository navigation
A skipped Architect run sends no Run notification - #331
Merged
Merged
Conversation
Either skip, already running or an open Architect plan, now sends none when asked, so a crontab line can start an Architect run every few minutes for Weeding. The notification's checks still come first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… skip, README wording (#325) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the Architect idea skip (#326). README conflicts resolved to keep #325's rule, that a skipped Architect run sends no Run notification, for the new skip reason too: the skipped-email subject and body lines from origin/issue-311 are dropped, and the schedule paragraph lists the waiting Architect idea among the skip reasons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 3, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A skipped Architect run sends no Run notification, for either skip and whether
emailoremail.alwaysasked for one. A crontab line can now fire every few minutes for Weeding without flooding the inbox.ArchitectNotification::sendnow takesResult<&Reviewed, &FailedRun>, so a skipped run can't be passed to it. The dead code that went with the skip email is gone:Outcome::name,ArchitectLines::Skipped(ArchitectLinesis now a struct) and its body test. The skip still exits0and prints its lines as before. The README,helpand ADR 0009's Consequences now say a skipped run sends nothing and the scheduler's log file holds its line.Evidence
Before: the rewritten tests failed against the old code:
a_skipped_architect_run_sends_no_notification_asked_for_by_email_or_by_email_always: one email sentan_architect_run_skipped_for_open_plans_sends_no_notification_and_still_prints_each_url:assertion failed: resend.requests().is_empty()After:
cargo testpasses in full. These tests cover the new behaviour:--emailand withemail.always→ exit 0, no Resend request--emailand withemail.always→ exit 0, each plan URL on stdout, no Resend requestthe_notifications_checks_come_before_the_skip_so_a_broken_setup_fails_a_pass_that_would_be_skipped→ exit 1 onno email address, no skip lineMerge Danger
Door: two-way
Reverting brings the skip email back. No data or state changes.
Blast Radius: notifications
Anyone who relied on a nightly email to confirm a scheduled Architect run happened no longer gets one on a skipped night. The README's "On a schedule" section now tells them to check the log file.
Unaddressed findings
Standards
main::architect, not inArchitectNotification: skipped. The reviewer called it fine as is. It matches the Pickup run, which also decides upstream whether to send, andsend's type now rules out a skipped run.{args:?}on failure, andarchitect_run.rsalready uses this table-of-cases style (for examplean_open_architect_plan_skips_the_architect_run_before_any_review_whatever_its_flags).Spec
architect::runregardless of skip reason, so the already-running test covers that ordering.CI notes
architect_run::a_plan_with_tickets_starts_a_spec_run_on_it_and_ends_as_that_spec_run_does: flaky, not caused by this branch. CI watching, CI-fix Repair and the Repair cap #9'sgit fetchraced Progress lines on stderr #10's concurrent worktree removal (failed to read .git/worktrees/widgets-issue-10/commondir). This branch doesn't touch that test or the worktree code, and the test passed 5 out of 5 times locally.Closes #325
🤖 Generated with Claude Code