Skip to content

fix(tui): the shell form runs an authoring op with the token's authority - #105

Merged
rodrigoteamx merged 1 commit into
mainfrom
fix/shell-form-token-authority
Oct 13, 2026
Merged

rodrigoteamx merged 1 commit into
mainfrom
fix/shell-form-token-authority

Conversation

@rodrigoteamx

Copy link
Copy Markdown
Contributor

The coa shell form ran an operation with no authority, so the plugin-authoring policy fell to the local wildcard (ToolContext::cli()) and a finite token's authoring op (e.g. test) ran IN THE HOUSE, unconfined. The form now runs with the session's presented-token ToolContext, exactly as the terminal does: OperationScreen/OperationsScreen take an optional authority and forward it to OperationRunner::run; the app-runtime side (Application::pantallaDelShell) builds it from the presented token. With a token the authoring op is confined to the token's finite scopes; with no token it stays the operator wildcard, unchanged. Strictly narrowing. Pairs with getmilpa/app-runtime#807.

@rodrigoteamx
rodrigoteamx merged commit ad03d85 into main Oct 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant