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
Commit 14dd8b7
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(kernel): scope the refusal-reason map to what it declares
PRE_DISPATCH_REFUSAL_REASONS states the kernel-owned subset whose refusals always
disclose dispatched:no, instead of a name that implies it holds every published reason
(the WebDriver and other producer reasons live beside their own disclosures). The map's
own doc names the versioned docs as the wire vocabulary and the disclosure table as the
producer registry.
The session-or-selector refusal gains its daemon.route row in
contracts/fixtures/dispatch-disclosure.json, driven through the real router with an
unopened session. That command declares no recording effect, so the dispatched:no the row
asserts can only come from the producer rather than the read-only seam.
The e2e cleanup fixture builds its refusal from sessionAppRequiredDetails() instead of
re-typing the details shape, and the permission bullet stops implying a request can name
an app for settings permission while #3179 is open.
Copy file name to clipboardExpand all lines: contracts/fixtures/dispatch-disclosure.json
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,12 @@
89
89
"trigger": "get through the request router: the router, not only the interaction route, discloses no for a command the registry declares observes-app",
90
90
"dispatched": "no"
91
91
},
92
+
{
93
+
"id": "daemon.route.session-or-selector-refusal",
94
+
"producer": "daemon",
95
+
"trigger": "a device-bound command with no active session and no device selector: requireSessionOrExplicitSelector refuses before any target resolves, carrying details.reason session_or_device_selector_required",
0 commit comments