product_id
uuid
The product the row pertains to. A variant id is added when the change is per variant.
p_88421
// decision log
The decision log records every catalog decision Magistry's agents make, with its trigger, its evidence and who applied it. In the last 30 days (measured 17 Oct 2026) that was 1,785 catalog writes applied to Shopify. Ad network changes and Brain actions are recorded the same way. Anatomy below.
#84193 DISCOUNT_TEST SKU-LIN-228 (-15%)
ACTIVE → ON_DISCOUNT ✓ APPLIED
#84194 DRAFT SKU-CER-019
ON_DISCOUNT → DRAFTED ✓ APPLIED
#84195 OPTIMIZE_LOSER SKU-WOO-441
ACTIVE → OPTIMIZING ✓ APPLIED
#84196 REVIVE_SEASONAL SKU-LIN-007
SEASONAL_VAULT → PUBLISHED ⏸ WAITING
trigger: SEASONAL_REVIVE
reason: kill switch on since 09:14
cycle 2026-05-25T09:00Z// anatomy
row_id : 84193
product_id : p_88421
sku : SKU-LIN-228-SND-L
from_state : ACTIVE
to_state : ON_DISCOUNT
trigger : OPTIMIZE_CYCLE_FAILED
evidence : {
action : discount_test
performance_tier : LOSER
optimize_attempts : 1
cost_tier : A (cost verified)
margin_pct : 41
reasoning : "loser, optimised once
already, margin OK →
last-chance discount"
}
revert : restore price to 89.00;
stamps reverted_at / reverted_by
applied_to_shopify: true
applied_at : 2026-05-25T08:02:14Z
approved_by : operator, with biometric
status : APPLIED
audit_chain : signal → plan → approve → execute → logproduct_id
uuid
The product the row pertains to. A variant id is added when the change is per variant.
p_88421
from_state
lifecycle_state
Where the product was before the change.
ACTIVE
to_state
lifecycle_state
Where it lands. A move outside the allowed lifecycle transitions is refused.
ON_DISCOUNT
trigger
Trigger enum
Why the change was proposed. One of a fixed list, never freeform text.
OPTIMIZE_CYCLE_FAILED
evidence
json
The move and the numbers behind it: performance tier, margin, cost tier, complaint signal, earlier attempts and the written reasoning.
{action: discount_test, cost_tier: A}
applied_to_shopify
bool
Whether the change reached Shopify. A call that changed nothing is not counted as a write.
true
applied_at
timestamptz
When the executor wrote the change.
2026-05-25T08:02Z
approved_by
user
Who approved it, and whether they confirmed with Face ID or fingerprint in the mobile app.
operator, with biometric
reverted_at
timestamptz
When the change was reverted, and by whom. The original row stays on record.
null
// triggers
Each pass classifies a product by performance tier, margin and complaint signal, and the result proposes a move.
A product rewritten once without lift goes to a discount test when its margin allows, and is drafted when it does not.
A product still losing after its discount test is drafted.
A tracked competitor sells the same product for less. A discount test is proposed above the store's margin floor.
A promotion started and set the product's sale price. When it ends, the price is put back and recorded as PROMOTION_REVERT.
Someone changed the product in Shopify directly. The change is recorded so the history matches the store.
A person made the change. Logged the same way as an agent's move, in the same shape.
// evidence
// the move
// the product
// the history
// the reasoning
{
"action": "discount_test",
"current_state": "ACTIVE",
"performance_tier": "LOSER",
"margin_pct": 41,
"cost_tier": "A",
"optimize_attempts": 1,
"complaint_signal": null,
"reasoning": [
"loser, optimised once already,
margin OK → last-chance discount"
]
}// reversal model
row #84193 action : discount_test delta : -15% before : 89.00 status : APPLIED applied_at : 2026-05-25T08:02Z
row #84193
action : discount_test
price : restored to 89.00
reverted_at : 2026-05-25T11:32Z
reverted_by : operator (jane@store.com)
the original row stays on record// why it is kept
One owner per change, and a price, status or copy change can be reverted. While an agent holds a field, no other agent can write over it.
Revert a change and the original row stays, stamped with when it was reverted and by whom.
When finance asks 'what did the agent do on the 14th', the answer is a SELECT. Not a reconstruction.
// how it works
// step 1
Each catalog decision is written as a row with the product, its state before and after, a trigger from a fixed list and the evidence behind the move.
// step 2
A move outside the allowed lifecycle transitions is refused before it becomes a change.
// step 3
A proposed row does nothing until someone approves it. Only an approved row reaches the executor and Shopify.
// step 4
When the executor writes the change, the row is marked as applied to Shopify with the time it happened.
// step 5
Marketing Brain proposals wait in the decisions inbox, where they are approved or turned down through the same actions as the Brain page.
// step 6
Reverting a row runs the inverse change in Shopify, then stamps the original row as reverted. The original stays on record.
// controls and limits
// faq
No. The original row stays and is stamped with when it was reverted and by whom, so the history shows both the change and its reversal.
No. The worker holds a per-store lock during a revert, so a second revert waits or is skipped.
A Google Ads change the Marketing Brain applied can be rolled back from its row, unless another writer has changed that setting since or no prior state was captured. A bol archive is final.
A decisive measured effect in the harmful direction for that change. Its own before-and-after difference is not enough.
Yes, as a recorded fact on the row. It grants nothing: who may approve is decided by store membership and role.
// decision log
Every catalog change is a row with its trigger and its evidence, and a price, status or copy change can be reverted from its row.
One owner per change · Price, status and copy changes reversible · Built to be read
We use cookies to run this site, to see which pages help, and to measure which ads bring people here. You choose per category; everything except the strictly necessary is off until you say otherwise. Cookie policy · Privacy