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
ensure all information received or acquirable in the email notices can be acquired alternatively in the web console #2146
assuming all emails get turned off for all cronjobs for all run types for example. I'm getting a lot of emails right now, and want to try just monitoring my thirdshift fleet by the console
The reporter wants to turn off Run notification emails for every Command kind and watch the fleet from the Console instead. That only works if everything a Run notification says can also be read there.
Confirmed facts:
A Run notification is always saved locally, whether or not email is on. RunNotification::finish (src/notification.rs:246-316) writes <Command log stem>.notification.txt (line 296) before the optional Resend send, and NotificationAsk::Skip only leaves out the Resend client (src/notification.rs:152-163).
Nothing reads that file. The only mention of it under src/ is the write. docs/guide.md:3149 says: "These files are not included in thirdshift logs or the Console's log inventory." src/logs/reading/reader_tests.rs:83 asserts that the exact log reader refuses a .notification.txt path.
Command details (src/console/peek.rs, built from crate::logs::stop::inspect in src/logs/stop.rs:133, served at /peek and /api/v1/peek in src/console.rs:924-925, with Fleet remote reads at src/console.rs:1528) already shows the outcome, cause, issue and pull requests. Several notification sections are written only into the notification body (body() and finish() in src/notification.rs:388-606, 246-316): the Triage recommendation text (account.triage.notification and the publication lines), the Security audit line, reproduction status and finding sections, a Spec run's line per Ticket, the usage-limit notice (usage_limit), the Command quota waits line, the Session models section, Took, Base fix advice and the configured Harness/Model/Effort line. With email off, the Day shift cannot see these anywhere in the Console.
Inference: the cheapest way to make the Console complete is to show the saved notification text as is, rather than rebuilding each section from the Command record.
Agent Brief
Goal: every Command that saved a Run notification shows that notification's subject and body in its Command details, in the Console, in /api/v1/peek JSON, through Fleet remote details and in the CLI's details view, so emails can be turned off without losing information.
Do:
Look up Run notification, Command details, Console, Fleet and Command log in GLOSSARY.md and docs/code-navigation.md (rows: Run notification, Fleet Command details, Stop/inspect, Console API token / CLI parity).
In the shared details path (src/logs/stop.rsinspect / src/logs/status/inspect.rsdetails), read the owning Command log's sibling <stem>.notification.txt when it exists. Bound the read and keep the same Other-account confinement as accepted_log_directory. Expose it as a field, such as notification: { subject, body }, or null when the file is absent: still live, a skipped Pass, a dispatched child, or a failed write.
Render it on the Console Command details page (src/console/peek.rs, peek.html) as escaped preformatted text below the existing facts, with links treated as the page treats other links. Remote Fleet details must render it from the JSON value with no filesystem read (Peek::remote).
Keep ADR 0015 and the Security scope: when security_details is set and the viewer lacks Scope::Security, withhold the notification as other Security details are withheld (src/console.rs:1538).
Give the CLI the same text (thirdshift status <command> details text and JSON). Update the parity inventory in src/console/parity.rs if needed.
Docs: change docs/guide.md:3149 (and the Run notifications / Console sections) to say where the saved notification appears, then regenerate the site manual (npm run docs --prefix site). Search site/index.html, site/how-it-works/ and site/architecture/ for Run notification wording that says email is the only place to read it, and fix any you find.
Acceptance:
A finished Ticket run, Spec run, Triage run, Security run, Architect run and Pickup run each show their notification text in Command details, JSON and CLI output, with email off.
A Command with no saved notification shows nothing and does not error.
A viewer without the Security scope does not see a Security run's notification.
Fleet remote details show it.
The Logs inventory and thirdshift logs stay unchanged.
Tests: extend tests/console/* (peek/remote details/address scopes), tests/run_notification.rs and src/console/peek.rs inline tests. Final validation: scripts/affected-tests main.
Out of scope: Console sign-in code emails (part of signing in), and a new channel for being notified.
ready-for-agent was recommended; ready-for-human is applied until the Day shift permits readiness.
Activity
JacobStephens2 commentedon Nov 12, 2026
Investigation summary
The reporter wants to turn off Run notification emails for every Command kind and watch the fleet from the Console instead. That only works if everything a Run notification says can also be read there.
Confirmed facts:
RunNotification::finish(src/notification.rs:246-316) writes<Command log stem>.notification.txt(line 296) before the optional Resend send, andNotificationAsk::Skiponly leaves out the Resend client (src/notification.rs:152-163).src/is the write.docs/guide.md:3149says: "These files are not included inthirdshift logsor the Console's log inventory."src/logs/reading/reader_tests.rs:83asserts that the exact log reader refuses a.notification.txtpath.src/console/peek.rs, built fromcrate::logs::stop::inspectinsrc/logs/stop.rs:133, served at/peekand/api/v1/peekinsrc/console.rs:924-925, with Fleet remote reads atsrc/console.rs:1528) already shows the outcome, cause, issue and pull requests. Several notification sections are written only into the notification body (body()andfinish()insrc/notification.rs:388-606, 246-316): the Triage recommendation text (account.triage.notification and the publication lines), the Security audit line, reproduction status and finding sections, a Spec run's line per Ticket, the usage-limit notice (usage_limit), the Command quota waits line, the Session models section,Took, Base fix advice and the configured Harness/Model/Effort line. With email off, the Day shift cannot see these anywhere in the Console.Inference: the cheapest way to make the Console complete is to show the saved notification text as is, rather than rebuilding each section from the Command record.
Agent Brief
Goal: every Command that saved a Run notification shows that notification's subject and body in its Command details, in the Console, in
/api/v1/peekJSON, through Fleet remote details and in the CLI's details view, so emails can be turned off without losing information.Do:
docs/code-navigation.md(rows: Run notification, Fleet Command details, Stop/inspect, Console API token / CLI parity).src/logs/stop.rsinspect/src/logs/status/inspect.rsdetails), read the owning Command log's sibling<stem>.notification.txtwhen it exists. Bound the read and keep the same Other-account confinement asaccepted_log_directory. Expose it as a field, such asnotification: { subject, body }, or null when the file is absent: still live, a skipped Pass, a dispatched child, or a failed write.src/console/peek.rs,peek.html) as escaped preformatted text below the existing facts, with links treated as the page treats other links. Remote Fleet details must render it from the JSON value with no filesystem read (Peek::remote).security_detailsis set and the viewer lacksScope::Security, withhold the notification as other Security details are withheld (src/console.rs:1538).thirdshift status <command>details text and JSON). Update the parity inventory insrc/console/parity.rsif needed.docs/guide.md:3149(and the Run notifications / Console sections) to say where the saved notification appears, then regenerate the site manual (npm run docs --prefix site). Searchsite/index.html,site/how-it-works/andsite/architecture/for Run notification wording that says email is the only place to read it, and fix any you find.Acceptance:
thirdshift logsstay unchanged.Tests: extend
tests/console/*(peek/remote details/address scopes),tests/run_notification.rsandsrc/console/peek.rsinline tests. Final validation:scripts/affected-tests main.Out of scope: Console sign-in code emails (part of signing in), and a new channel for being notified.
ready-for-agent was recommended; ready-for-human is applied until the Day shift permits readiness.
Show saved Run notifications in Command details (JacobStephens2#2146)