onboarding-merchant: live theme push with --allow-live and the catalog importer run without per-action confirmation
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 56/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- javascript
Rechercherichtung
Start with skills/shopify/references/onboarding-merchant.md lines 57, 66–70, and 185–186, then inspect scripts/import_mock_shop_catalog.mjs and how shopify store info --json identifies preview stores. Define how confirmation of the store domain and theme id is tracked, and how the importer rejects non-preview stores unless explicitly overridden. Done means live pushes require the described confirmation and the importer enforces the preview-store check.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
At a3d20f8, the merchant-onboarding design loop writes to a live theme and runs a bulk store import without a per-action confirmation.
Live theme push. skills/shopify/references/onboarding-merchant.md:185 applies every edit with:
shopify theme push --store <store-domain> --live --allow-live --path <theme-dir> --nodelete --strict
Line 186 then reloads the preview automatically after each push. --allow-live is the CLI's own gate for writing to a live theme ("Required in non-interactive environments when targeting the live theme"), and here the agent supplies it itself. The only safeguard is the agent's belief that the domain is the preview store created in this conversation. If the agent has the wrong domain in context (a second store, a store from earlier in the session, or a claimed store that is now selling), the same command overwrites a real storefront's live theme.
Catalog import. onboarding-merchant.md:66-70 runs scripts/import_mock_shop_catalog.mjs, a minified script that calls shopify store execute --allow-mutations for product imports, collection creation, publishing every product and collection, file uploads, menus, pages, blog articles and theme file upserts. The only confirmation is the catalog choice at line 57.
Suggested fix.
- Before the first live push in a session, confirm the exact store domain and theme id with the user, and confirm again if either changes.
- Have
import_mock_shop_catalog.mjscheck that the target is a preview store (for example fromshopify store info --json) and refuse otherwise, unless an explicit flag is passed. - State in the skill that
--allow-liveis passed only after that confirmation.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 652
- Forks
- 88
- Ø Merge
- 6 Min.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Shopify/Shopify-AI-Toolkit
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
-
Hermes install: join the download and run with && so a failed fetch cannot run a stale installerOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Alle Issues in Shopify/Shopify-AI-Toolkit
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
TarteelAI/quranic-universal-library#1111 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:ryoku type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
google-ai-edge/LiteRT-LM#4783 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
security
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 64/100
IBM/bob-oic-tutorials#34 ·
Maintainer antworten meist innerhalb von 1 Tag