Skip to content

Restore desktop notifications for safety-access stops #98

Description

@ipo

Outcome

Use the current notification abstraction to emit desktop alerts for cyber/biology safety-access stops still missed upstream, without duplicate notification on already-covered terminal paths.

Governing evidence

Closed issue #17, commit bad1711718, and upstream 0.153.4 terminal-stop notification behavior.

The issue and this evidence define required behavior. Port functional intent onto the current upstream architecture; patch identity is irrelevant.

Non-goals

Do not change safety decisions, require a live desktop in automated tests, or add notification configuration.

Acceptance criteria and verification

Event-level tests prove exactly one notification for each missing safety-stop branch and no duplicate on upstream-covered paths. Include snapshots only if visible TUI text changes. Run the smallest focused just test -p <crate> checks that cover the changed crates under the repository reduced-priority wrapper. Regenerate schemas or snapshots only when this ticket changes them. For a large Rust change run scoped just fix -p <crate>, then just fmt; do not rerun tests after fix/format. Remove disposable build artifacts afterward.

Likely areas

TUI safety-stop event handling and notification abstraction tests.

Dependencies

Fully blocked by #81.

Do not begin ticket-owned mutation until every dependency is integrated; their landed contracts are authoritative.

Blocks #104.

Delivery

The accepted result must integrate as exactly one issue-linked commit with subject feat(tui): notify on safety-access stops. Tests, snapshots, generated files, and fixes belong in that commit; adaptation or test-only follow-up commits are not permitted.

Agent routing

agent_level: 2

Agent signature

gpt-5.6-sol@high:01a07441-98af-75c1-9950-8af46deb76de

Compile concurrency

Codex compilation is permitted and required where acceptance needs it. Every build, Rust test, Clippy/fix, or other compiling command must acquire the ticket's coordinator-assigned compile-slot lock. No more than three such commands may run concurrently across the coordinated ticket set.

Audit order

Freeze the implementation before compilation and run the normal fresh independent auditor step first. Only a candidate with an ACCEPT verdict may request a compile slot. A compile failure returns the ticket to repair and invalidates the affected audit evidence; re-audit the repair before another compile. Do not create a separate pre-compile review status.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlocal-ticket/enhancementAdds or improves behavior in the local Codex fork

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions