trustWithdrawalWeakens
trustWithdrawalWeakens(
hint):boolean
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/grants.ts:379
§4.7.1/§4.7.4 — can WITHDRAWING trust in this hint weaken an effective set?
Withdrawing trust pushes a hint back to its MCP fail-closed default, and every weakening move
ends at that default, so the answer does not depend on what a server declared: it is exactly
whether the move (not-the-default → the default) is one of WEAKENING_MOVES. Three of the
four hints answer yes — readOnlyHint, openWorldHint and destructiveHint, whose fail-closed
default is true, so a server whose destructiveHint: false was believed becomes destructive
again the moment it is not. idempotentHint is the only one that answers no, because no
weakening move names it.
It asks annotationWeakenings rather than restating the table. A second statement of which moves weaken is how a warning comes to describe a rule the gate no longer has — which matters most here, since this decides whether the human is told their saved approvals are about to be withdrawn.
Parameters
Section titled “Parameters”"readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint"
Returns
Section titled “Returns”boolean