Skip to content

Settings

Where a setting lives, who may change it, and how a change is proven. One rule covers all of it: a setting changes from the ForgeSync screen in your Shopify admin or from a command on the server, never by editing a file, and every change lands in one ledger with who, what, why, whether it took and whether it worked.

The Settings tab

Open your Shopify admin, then Apps, then ForgeSync, then Settings. The sections run across the top:

Section What is on it Who changes it
Contacts People and shared inboxes, the six roles, each role's backup your CS lead or administrator
Alerts Which lanes send mail, Slack mentions, the install fallback lists ops
Sender identity The From addresses ForgeSync sends with, and the company name IT
Switches and retention Whether web orders book in Sage yet; scheduled behaviour you may pause; how long records are kept ops, compliance
Store policy Product, price, filter and quote-request behaviour on the storefront ecommerce
Booking How orders book into Sage: read-only here finance, Sage admin, on the server
Install What this install is: read-only IT, in the env file
History Every change from any surface everyone can read

Every value shows where it comes from: changed here (an overlay row, with who and when), install value (what fe:onboard recorded) or shipped default. A value changed here takes effect within a minute, with no restart and no deploy. Reset to install value removes the overlay row.

Reading is open to every staff account on your store. Writing needs the ForgeSync administrator role, granted on the server per Shopify staff id:

php artisan fe:staff grant <staff id> --reason "ops lead"
php artisan fe:staff list
php artisan fe:staff revoke <staff id> --reason "left"

A staff member without it sees their own staff id and a note to ask the administrator for write access (the same grant covers linking shoppers to Sage accounts on the Customers page); no command is shown in the store. The direct admin (/admin/direct, behind its own secret) is always an administrator.

The same thing from the server

Every card has a command twin, for IT with a shell and for Keyway working on your box through the operating role (then with --actor keyway:<name> and the ticket reference in --reason, so your ledger and your CloudTrail both hold the change). Keyway changes a setting or a contact on your box only on your written request; the request's ticket reference is the reason you will read in the ledger. Nothing is changed during support without that request.

php artisan fe:settings                          # every surfaced key: value, source, who set it
php artisan fe:settings forgesync.alerts.cron.dedup_minutes  # one key, and where to change it
php artisan fe:settings:set forgesync.alerts.cron.dedup_minutes 15 --reason "page sooner"
php artisan fe:settings:unset forgesync.payouts.notify_to --reason "shadow mode"
php artisan fe:settings:history [key]
php artisan fe:settings:export --file settings.json
php artisan fe:settings:import settings.json --reason "rebuilt box"

fe:settings:set validates the value against the configuration schema and the install question's options, refuses secrets and install identity, writes the overlay row (or the install record for a key the tab does not surface), re-caches with the same recipe fe:update uses when a file was touched, reads the key back, and ledgers every step. A refused write changes nothing.

Booking policy: read back from Sage first

Warehouse, division, tax schedule, ship-via, terms and price level book orders into Sage. They change on the server only, and only after the value is read back from your own Sage records:

php artisan fe:settings:set forgesync.export.default_warehouse_code 010 --probe --reason "new warehouse"

Without --probe the command refuses. With it, a code your Sage mirror does not use is refused and the known codes are listed; an empty mirror is refused too (run the import first), because guessing on the money path is the one thing this product will not do. The Booking card shows the effective values and the exact command for each.

Trying ForgeSync before it books anything

Book web orders in Sage, on the Switches card, is the one setting that decides whether orders reach Sage at all. Off is the trial posture: ForgeSync reads from Sage and keeps the store current, and books nothing. You choose it at install ("Not yet") and turn it on at go-live. Orders placed while it was off are held, never booked on their own: Retry on a held order books that one, and the go-live cutover books many. Turning it off again later stops new bookings the same way; it is not the operator's kill switch, which lives in the env file for incidents.

What never changes here

Secrets (API tokens, keys), install identity (URLs, the Sage bridge, the beacon) and shipped engineering constants stay in the env file on the box and the Install card shows where each one changes. The settings loader refuses an overlay row for any of them whatever a request names, and fe:settings-parity fails the build if the schema ever surfaces one.

When a release adds a setting

fe:update adds the new leaves to your install record as "not configured" after the code is pinned (fe:config:migrate), so no hand merge is needed. When a release adds a REQUIRED setting you have not set, the update refuses before it touches anything and prints the fe:settings:set line for each.

Proof

  • php artisan fe:doctor compares the running configuration with the newest applied ledger row per key and names any that differ: a hand edit that bypassed the writer, or a change not yet applied.
  • php artisan fe:settings:baseline seeds the ledger with today's values once after the update, so history starts at the install rather than at the first change.
  • fe:export-tenant-data carries the overlay, the directory and the ledger; fe:settings:import and fe:roles:import put them back on a rebuilt box.