Whitelist B-class surface actions for help and intent #167

Merged
weichen merged 2 commits from feature/genui-bclass-help-intent into main 2026-10-12 03:23:57 +00:00
Owner

Summary

  • Add builtin.help and system.intent to AllowedActions / ValidateActionIDs
  • Harden system.intent: Entrance=button matches only (no nested write dispatch)
  • Red tests for allowlist and button-only match

Why: First B-class allowlist entries per U5 r2 independent review.
Evidence: go test ./internal/genui/ ./internal/surfacesvc/ ./internal/server/
Impact: Surface buttons may bind help/intent safely.
Refs: Documents proposal 2026-10-12-generative-ui-bclass-help-intent

## Summary - Add `builtin.help` and `system.intent` to AllowedActions / ValidateActionIDs - Harden system.intent: Entrance=button matches only (no nested write dispatch) - Red tests for allowlist and button-only match Why: First B-class allowlist entries per U5 r2 independent review. Evidence: go test ./internal/genui/ ./internal/surfacesvc/ ./internal/server/ Impact: Surface buttons may bind help/intent safely. Refs: Documents proposal 2026-10-12-generative-ui-bclass-help-intent
weichen added 1 commit 2026-10-12 03:19:30 +00:00
Whitelist B-class surface actions for help and intent
ci / vet-and-test (pull_request) Successful in 48s
5e0077dc11
Why: Generative UI U5 left the B-class action allowlist empty; owner
authorized first entries builtin.help and system.intent.
Evidence: go test ./internal/genui/ ./internal/surfacesvc/ ./internal/server/
Impact: Surface buttons may bind help/intent; button-entrance intent
matches only and does not nest-dispatch write commands.
Refs: docs/proposals/2026-10-12-generative-ui-bclass-help-intent.md

Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-12 03:23:44 +00:00
Merge authoritative main into the B-class branch
ci / vet-and-test (pull_request) Successful in 1m12s
ba619747c5
weichen merged commit d1b5a94d15 into main 2026-10-12 03:23:57 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Backend#167