CLI agent platform: content API alignment, theme assets, draft resume, diff#6
Draft
mikel wants to merge 1 commit into
Draft
CLI agent platform: content API alignment, theme assets, draft resume, diff#6mikel wants to merge 1 commit into
mikel wants to merge 1 commit into
Conversation
Collapses the CLI stack (previously #3 content-api-alignment -> #4 theme-assets-and-changes -> #5 theme-diff) into one change off develop. - Aligns the CLI with the gem Content API (/content endpoints, data envelopes) and adds 'sc theme submit'. - 'sc theme pull' downloads asset binaries; 'sc theme push' hash-diffs and uploads changed binaries via the media flow; 'sc change list' lists/resumes content changes from any machine. - 'sc theme diff' shows local-vs-server changes with --exit-code for CI. make fmt && make test && make build all green.
This was referenced Jun 22, 2026
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.
Summary
The StoreConnect CLI's side of the agent platform, collapsed into one PR (previously #3 → #4 → #5), off develop.
Contents
/contentendpoints and{data: […]}envelopes; serializer field names (Path,Template, …);sc theme submit(push a draft for Salesforce review).sc theme pulldownloads assets intoassets/;sc theme pushSHA-256 hash-diffs local assets against the server and uploads only changed binaries via the media upload flow, registering them on the draft.sc change list [--status]lists the store's content changes so drafts can be resumed from any machine.sc theme diff: shows local-vs-server template/asset changes;--exit-codeexits 9 on drift (CI gate).Verification
make fmt && make test && make buildgreen (includinggo test -race). Tested against the live full-stack Heroku environment during E2E.Dependencies
Consumes the core-gem Store Management REST API — see the collapsed agent-platform PR core-gem #8160 (on [WEB-8858] #8159). No in-repo dependency.