Repository navigation
docs(threat-model): describe the agent-stopped push - #204
Merged
gregpriday merged 1 commit intoNov 19, 2026
Merged
Conversation
- Add rows for who may ask for it, what the request and the push reveal, which phones receive it, how it is rate limited and dropped, and what the relay and a push service learn from it
gregpriday
deleted the
feature/issue-190-describe-the-agent-stopped-push-in-the
branch
November 19, 2026 13:52
This was referenced Nov 19, 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.
Adds the owner-desktop-only agent-stopped push (
POST /push/agent-stopped,agent-stopped-push-v1) todocs/threat-model.md, which until now covered push only as "Compromised push endpoint". Each row names the threat, the control, and the tests that cover it, and followsdocs/protocol.mdsection 11 anddocs/security-claims.md.Resolves #190
Changes
Six rows after "Compromised push endpoint":
403for a phone, tablet or Remote Host), a strict body of the protocol version alone, no route from a pane's bearer, and a Remote Host's bridge refusing before it sends. Which stops count and whether the person is away stay with the host app.PushPayload; the service worker fixes the lock-screen text.Topic: agent-stoppedtells it the kind, while the payload stays encrypted.Each cell stays within the table's existing column widths, so the other rows are untouched.
Testing
Docs-only; no source or test file changed.
prettier --check docs/threat-model.mdpasses.DELETE FROM rate_limits WHERE window_start < ?inworker/src/jobs/alarm.ts) has no test. The row says so in its Test cell.docs/security-claims.mdsays what the relay learns but not what a push service sees; that file is unchanged here.