Repository navigation
feat: discover authorized directories through Portal - #46
Merged
Merged
Conversation
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.
Agents can now discover authorized directory roots through
sai storage directories, using the same Portal file-access facts as Pilot. JSON includes directory references and current action permissions; table output shows names, access and paths, with a usable next-page command even when a filtered page is empty.The command uses normal Identity directory-metadata consent and the paired Portal API. It performs no filesystem scan or SSH eligibility check, and leaves later file, funding and execution decisions with their original services. The response schema and example match the Portal producer.
Validation: 1,574 tests passed, final display/boundary checks passed, and the installed wheel completed both local HTTP recovery and the actual Portal/JWKS fixture flow with pagination and wrong-scope rejection. Build, artifact contents, public-surface scan and independent necessity/implementation review passed. Production adoption and real user consent remain separate. The frozen public a3 candidate is unchanged.