auth local-writer register: --dry-run is documented in the help but rejected by the auth dispatcher
Author: armandovargashCreated Sep 17, 2026Updated Sep 17, 2026
LOCAL_WRITER_HELP documents a dry run:
gbrain auth local-writer register <cli|stdio> [--source-ids <csv>] [--scopes read,write]
[--allowed-operations <csv>] [--slug-prefixes <csv>] [--replace] [--dry-run] [--json]but the flag is rejected:
$ gbrain auth local-writer register stdio --scopes read --source-ids <id> --dry-run --json
{"status":"error","reason":"invalid_flag","message":"unknown flag --dry-run for 'gbrain auth'"}parsePersistenceAdminArgs accepts --dry-run, but the gbrain auth dispatcher rejects it before that. Grants are a security surface, so previewing one before applying it is exactly the case where an operator follows the help literally.
Environment: 0.51.0.0.
Source: garrytan/gbrain