Add portable GitHub session resources#52
Merged
Conversation
Change-Id: I439a2ea39bfc85d8d8a1e8d9ee9bc44327156ce7
heimanba
marked this pull request as ready for review
July 21, 2026 09:53
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.
What changed
/data/workspace/<repo>for Qoder and/workspace/<repo>for Claude whenmount_pathis omitted/data), Claude (/workspace), Bailian (/mnt), and Ark (/mnt)always_allow, with case/separator-insensitive explicit permission overridesWhy
Managed Session repository resources previously had no portable declaration or shared provider mapping. Tool permission defaults and mount paths were also implemented inconsistently across adapters, which could silently drop resources or produce paths that the target runtime could not materialize.
Impact
Users can declare a private GitHub repository once on an Agent and run it through Qoder or Claude. Provider-specific constraints remain explicit: Qoder paths live under
/data, Claude paths under/workspace, and unsupported providers fail validation rather than degrading silently.Validation
/data/workspace/heimanba.github.ioin the resource response after adapter mapping.gitURL normalizationgit diff --checkpassedFollow-up observation
The tested Qoder self-hosted/BYOC environment accepted and returned the corrected
/data/workspace/...resource metadata, but the repository was not visible inside that container. The client-side wire contract is covered here; the remaining BYOC materialization behavior requires provider-environment confirmation.