Repository navigation
Tell in a Run notification's body everything its subject does - #890
Merged
Merged
Conversation
The body now carries the issue's title beside its URL, and an Architect or Security run's command and repository, so copying the body alone is enough to troubleshoot. Closes #878 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd describe the new lines in the guide Review follow-up: the subject's [thirdshift] tag now has a "Sent by:" line in the body, Subject::command gives the subject and body the same command name and repository, and the guide describes the Title:, Command:, Repository: and Sent by: lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rom the guide Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 Run notification's body now carries everything its subject says, so copying the body alone is enough to troubleshoot.
Subject::command()gives the subject and the body the same command name and repository, so the two can't drift apart. The GLOSSARY's Run notification entry anddocs/guide.mddescribe the new lines.Evidence
the_body_tells_everything_the_subject_doestest failed with"Add" of "[thirdshift] acme/widgets#123 Add export button: merged" not in: Result: … Issue: …. The Spec reviewer'sthe_body_names_thirdshift_as_the_subject_doesfailed at 392aa0d withsrc/notification.rs:635.After: both pass. They check every subject variant (an issue with and without a title, an Architect run and a Security run with and without a repository). The exact-body tests in
src/notification.rs,tests/architect_run.rsandtests/pickup_run.rsnow expect the new lines.cargo clippy --all-targetsandcargo fmt --checkare clean.Merge Danger
Door: two-way
Blast Radius: email-text
Anything that parses a notification body by line position will see new
Title:,Command:,Repository:andSent by:lines.Result:stays the first line, andIssue:still comes right after it.Unaddressed findings
Standards
tests/architect_run.rs(~1446, 1479, 1509, 1733): some single-line expected strings got longer, while other hunks use the\-continued form. Declined: each edit keeps the form that assertion already had, and it is cosmetic.the_body_tells_everything_the_subject_doesmatches words anywhere in the body: Declined. The exact-body tests (a_runs_notification_tells_how_the_run_ended,an_interrupted_runs_notification_says_so_and_leaves_out_the_cause, the three Architect run tests,a_security_runs_body_names_the_command_and_repository) pin each new line in place.Spec
Security review outcome
No unaddressed introduced findings.
Review coverage
Both reviewers read every changed file at 392aa0d. The follow-up commit a202060 came after the review and was not re-reviewed: it covers the
Sent by:line,Subject::commandand thedocs/guide.mdedits insrc/notification.rs,tests/pickup_run.rsanddocs/guide.md. The Spec axis never readdocs/guide.md. The Standards axis read only its lines 577, 840 and 1099, before they were edited.Closes #878
🤖 Generated with Claude Code
Built with claude · claude-opus-5-5 · medium