SessionSetPermissionProfileResult
Experimental
session/setPermissionProfile result. The
transaction, per-action authority combination, and blocked-state/recovery
semantics are the native controller’s, not the adapter’s (ADR 42197
D2/D6). A failure after a durable permission commit keeps the native
controller’s existing blocked-state surface; the adapter fabricates no
rollback.
Fields and variants
Section titled “Fields and variants”applyOutcome— ExperimentalcommandId— ExperimentalpermissionState— Experimentalstatus— Experimental
Source
schema/msp/experimental/msp.schema.json#/types/SessionSetPermissionProfileResult
{ "description": "`session/setPermissionProfile` result. The\ntransaction, per-action authority combination, and blocked-state/recovery\nsemantics are the native controller's, not the adapter's (ADR 42197\nD2/D6). A failure after a durable permission commit keeps the native\ncontroller's existing blocked-state surface; the adapter fabricates no\nrollback.", "properties": { "applyOutcome": { "$ref": "#/$defs/PermissionProfileApplyOutcome", "description": "Whether the change did anything." }, "commandId": { "description": "Echoes the client's `commandId` — the ack id and the\n join key (amendment 42624 § session/setPermissionProfile\nresult, line 203; the `session/setApprovalMode` precedent).", "type": "string" }, "permissionState": { "$ref": "#/$defs/EffectivePermissionState", "description": "The committed permission snapshot after the change — the same object\nthe `Session` carries as `permissionState`." }, "status": { "$ref": "#/$defs/CommandStatus", "description": "Admission status — `accepted` for every admitted command,\nexactly as `SessionSetApprovalModeResult` carries it." } }, "required": [ "applyOutcome", "commandId", "permissionState", "status" ], "type": "object", "x-msp-descriptor": "session/setPermissionProfile", "x-msp-stability": "experimental"}