onboarding-merchant: live theme push with --allow-live and the catalog importer run without per-action confirmation
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 56/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- JavaScript
- スター
- 652
- フォーク
- 88
- 平均マージ
- 6分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Shopify/Shopify-AI-Toolkit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
-
Hermes install: join the download and run with && so a failed fetch cannot run a stale installerオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Shopify/Shopify-AI-Toolkit の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
TarteelAI/quranic-universal-library#1111 ·
メンテナーはふだん 1 日以内に返信
-
area:ryoku type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
google-ai-edge/LiteRT-LM#4783 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
security
難易度 1/5 1時間未満 初心者へのやさしさ 64/100
IBM/bob-oic-tutorials#34 ·
メンテナーはふだん 1 日以内に返信