feat: enhance OAuth scopes and UI for agent-driven approval process (#544)

* feat: enhance OAuth scopes and UI for agent-driven approval process

* refactor: update OAuth scopes to enforce explicit user consent for write and approval actions
This commit is contained in:
Mattsson
2026-05-20 13:39:02 +02:00
committed by GitHub
parent 239261a0be
commit e4d4d8e4dc
5 changed files with 73 additions and 32 deletions
+1 -1
View File
@@ -6258,7 +6258,7 @@ export const tools: McpTool[] = [
{
name: 'gnubok_approve_pending_operation',
description: 'Approve a staged pending_operation. Runs the same commit path as web-UI approval — atomic claim → executor → status update. High-risk operations require confirmed=true. Returns status=committed on success, or status=rejected/failed with error details.',
description: 'Commit a pending_operation. Caller must hold the pending_operations:approve scope and pass confirmed=true for risk_level=high ops (BFL 5 kap 5§ irreversible postings). Call only after the user has affirmatively confirmed the specific operation_id.',
inputSchema: {
type: 'object',
additionalProperties: false,