feat: add the /principal/invalidate command - #70
Open
pyropy wants to merge 1 commit into
Open
Conversation
pyropy
added this pull request to stack #71
September 10, 2026 16:10
Hilt tells Swarf that the proofs gateways cached for a principal's access keys are void, and it does so before it commits the change that voided them. The command carries the tenant DID and the principal identifier and returns a unit result. No delegation names a principal, so the invocation is self-signed and Swarf authorizes it from a publisher list rather than a proof chain. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
pyropy
force-pushed
the
srdjan/feat/iam-principal-invalidate
branch
from
September 11, 2026 09:03
ecc3a1c to
654f2ea
Compare
pyropy
marked this pull request as ready for review
September 11, 2026 12:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the
/principal/invalidatecommand Hilt invokes on Swarf before committing a change to a principal's access. Hilt self-signs it with its own DID as subject, the shape/ucan/revokeuses; Swarf authorizes it from a publisher list. Part of the Forge S3 tenant IAM work (RFC).Change log
commands/principal:InvalidateArguments{Tenant, Principal},Invalidatebinding, unit result馃 Generated with Claude Code