Repository navigation
TOOLS-152: add resource configuration CLI import and export - #187
Merged
averycrespi merged 1 commit intoNov 14, 2026
Merged
averycrespi merged 1 commit into
averycrespi merged 1 commit into
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.
Context
TOOLS-152 is PR 4/7 in the ordered TOOLS-149..155 stack, based on #186 (
avery/tools-151-online-config-import, creation baseae849366b9eeb3e096d00c4dc68dea94fcbb9b61), not main. This adds resource-specific CLI surfaces to the existing version-two backend; bundle CLI and frontend work remain separate successors.Changes
import/exportbeneath agent, MCP server/grant, HTTP credential/grant, and Git credential/repository/grant namespaces. Import accepts exactly one matching definition, resolves only existing dependencies, requires--confirm, and provides backend read-only--dry-runcreation/binding/credential/activation previews. File and--file -input use the public control client only.ExportResourceservice, without a second format or private CLI domain access.Review Notes
Create-only transfer is not synchronization: no updates, skip-identical, key remapping, dependency traversal, implicit resources/grants or grouped exports. Exports retain authored strings, so keep files private and inspect accidental secrets before sharing. A failed stdout write can leave a partial file; an uncertain mutation acknowledgment is not rollback evidence or permission to replay.
Independent review covered the full 39-file incremental diff and AC1–6: complete, no material findings or blocking gaps. Exact-head target-applicable hosted CI, including real Docker qualification and stable Required, gates promotion. No merge, deployment, installed-service/client adoption, automatic restack or successor implementation is included.
Test Plan
make -C agent-gateway verify, normal commit hooks, repository CI guards/formatting, full incremental Git history and actual commit-metadata secret scans passed. Full unsuppressed Go vulnerability scan: zero affected symbols/imported packages; two unused x/net/html module advisories remain disclosed without suppression or broad upgrade.Fresh exact-head CI run 42384049049, attempt 1, passed all 19 required target-applicable owners, including real Docker qualification, Linux/macOS integration and stable Required, for
0cacc61ad23be42d17dc7fffdd4ba1768cb4132c. No CI repair, diagnostic rerun or assertion weakening was needed.