⌂ Hub

Programmatic Rules

Every rule the automation uses to make or recommend a media buying decision, with the numbers the code is using right now

Baked 11-11-2026 09:02 CT. The words come from the registry in the vault (Work/Clients/Sky House/Programmatic Rules/, one file per rule). The Live numbers under each rule are read from the code and data files at bake time, so they can not drift from what the machine uses. If a source can not be read, it says so in red. It never shows an old guess. The page re-bakes with every hub refresh (about every 2 hours). To change a rule: change the code, then add a dated line to the rule's file and to CHANGELOG.md. See the README in that folder.

26 rules · Live, acts on its own 11 · Live, list only 3 · Manual / on request 7 · shadow 3 · live-list-only (clips LIVE from 11-11-2026 via sh-clip-live, see CHANGELOG 11-10-2026) 1 · live for rungs 1/4/4P; list-only for the rest 1
Some numbers could not be read on this bake. Those rules show the error in red instead of a number.

All rules

#RuleStatusScheduleLast changed
1Day-1 test budgetLive, acts on its owncom.matt.sh-mb-notes-drafter (every 2 min) and com.matt.sh-mb-pipeline (every 1 min), on every new test build note10-30-2026
2Day-1 test kill check (intraday kill)Live, acts on its owncom.matt.sh-intraday-kill: intraday_kill.py --yes hourly at :05, 24/7 (live-auto effective when the job is loaded). com.matt.sh-intraday-kill-heartbeat every 30 min. Plists in the skill folder and ~/Library/LaunchAgents/.10-20-2026 (settled data)
3Budget surfing / double the winnersunknown status: shadowOn request (/sh-double-winners), plus com.matt.sh-auto-surf at 8:15, 9:15, 10:15, 11:15, 12:15, 13:15 ET (SHADOW 10-21 and 10-22; Matt flips it live by hand). Dry run by default. Writes only with --yes.11-03-2026
3Offer raise blocks (no automated raises)Live, acts on its ownChecked on every run of the auto surf (hourly + 23:15 ET nightly), the Friday scale executor and the sh-double-winners engine. NOT the buyer sh-surf (11-07).11-07-2026
4Underfunded winners (EOD)Manual / on requestOn request, Step 3c of every /sh-eod run. Read only.10-20-2026
5Night shutoff and [ON] reviveLive, acts on its ownMeta rules 23:30 ET off, 04:00 ET revive (SCR FM1-new 06:00 ET). Backstop com.matt.sh-night-shutoff 22:45 CT (= 23:45 ET).09-29-2026
6Kill vs pause vocabularyManual / on requestAlways. Applies to every kill or pause anyone makes.10-02-2026
7Lander split auto-weightsLive, acts on its ownRuns after the split read: com.matt.sh-lander-split-daily 05:40 CT and com.matt.sh-lander-split-intraday every 2h 10:05-20:05 CT. Writes only 06:00-21:00 CT.10-20-2026
8Lander task disposition (scale or fail)Live, acts on its ownEnd of every full killnote run, com.matt.sh-killnote 22:00 CT.10-05-2026
9Offer split callsLive, list onlycom.matt.sh-offer-split-daily 05:40 CT. Read by morning audit leg G. Recommend only.10-08-2026
10Scale queue bar (10 sales at target)Live, list onlycom.matt.sh-scale-queue 05:30 CT. Writes the hub Scale Queue page. Morning audit leg C reads it.10-20-2026
11Scale candidates bar (angle graduation)Manual / on requestOn request (/sh-scale-candidates), about weekly.10-20-2026
12Graveyard to scale barManual / on requestOn request.10-06-2026
13Kill order: IC, then sales, then ROASManual / on requestBuyers: every kill call. Grading: com.matt.sh-morning-audit 06:00 CT runs mb_audit.py TPS SCR.10-09-2026
14Day-1 kill gate: 2 ICsManual / on requestDay-1 reads on test cells.09-15-2026
15Rejected ad ladder (hopper)Live, acts on its owncom.matt.sh-auto-vanilla hourly at :40.11-06-2026
16All ads rejected = killLive, acts on its owncom.matt.sh-auto-vanilla hourly at :40 (--camp-kill-yes).11-10-2026
17Test task disposition (killnote)Live, acts on its owncom.matt.sh-killnote 22:00 CT nightly, with --recheck-fails.10-13-2026
18Combined Test (Evolve-style) = hands offLive, acts on its ownEvery run of each guarded job11-10-2026
18Offer targetsLive, acts on its owncom.matt.sh-hub-targets about every 2h (05:00-22:05 CT) and com.matt.sh-hub-all 06:30 and 14:30 CT.10-30-2026
19Scale-lane benchmarksManual / on requestOn request. Refresh weekly or when a target changes. mb_audit.py flags it at 7 days old.10-08-2026
20Intraday shadow calls (clip, kill, raise, cut)unknown status: live-list-only (clips LIVE from 11-11-2026 via sh-clip-live, see CHANGELOG 11-10-2026)com.matt.sh-shadow-run hourly 09:00-21:00 CT. Grade: com.matt.sh-shadow-grade 07:00 CT. No writes.10-12-2026
21Clip: scale noon sweepunknown status: shadowcom.matt.sh-shadow-run11-04-2026
21Day 2+ test kill ladder (live for rungs 1/4/4P, list only for the rest)unknown status: live for rungs 1/4/4P; list-only for the restcom.matt.sh-day2-nightly 22:50 CT (day2_nightly.sh, --nightly --variant v3C --yes) + morning audit Leg L run (sh-morning-audit/run_morning.sh, DAY2_LADDER_LIST=1, v3C, --yes). Writes only rungs 1/4/4P.11-04-2026 (rungs 0/2 need IC not on target; LIVE writes for rungs 1/4/4P)
22Clip: bad offer day and weekunknown status: shadowcom.matt.sh-shadow-run11-04-2026
23Morning ISSUES (every potential problem in one table)Live, list onlyMorning audit 06:00 CT (com.matt.sh-morning-audit), reply 1 of the chat walk-through, and by hand.11-05-2026
Live, acts on its own runs on a schedule and writes (Meta, RedTrack, ClickUp, or a build number). Live, list only runs on a schedule and only recommends. Manual / on request runs when someone asks. Built, not scheduled code exists, no schedule loaded. Next to each schedule, every launchd job named is checked against launchctl list at bake time.

1. Day-1 test budget

Live, acts on its own
Owner~/.local/share/sh-mb-notes/day1_budget.py (used by drafter.py, lint.py, buyerdiff.py)
Schedulecom.matt.sh-mb-notes-drafter (every 2 min) and com.matt.sh-mb-pipeline (every 1 min), on every new test build note com.matt.sh-mb-notes-drafter: not loaded com.matt.sh-mb-pipeline: not loaded
ApprovedMatt, 10-20-2026 · Last changed10-30-2026 · Registry fileProgrammatic Rules/day1-test-budget.md
What it decides

The daily budget per ad set on the FIRST day of every new test build (net new and iteration).

Rule
  • Each offer has a budget CPA. That is the 1x number notes shipped at before 10-20-2026.
  • TPS starts at 2x its budget CPA per ad set.
  • Every other offer starts at 1.5x its budget CPA per ad set.
  • Round to whole dollars, half up ($127.50 becomes $128).
  • SCR and Akka are ROAS offers. They use a budget CPA (SCR $160, Akka $125), not the ROAS-implied CPA.
  • The drafter writes this budget into the build note. lint.py and buyerdiff.py check the posted note against it.
Guards
  • A task override budget (task_overrides.json budget_per_adset) wins over this rule.
  • The $25 audience test standard wins over this rule.
  • The drafter is told never to copy the budget from older builds. Those launched at 1x.
  • Day-2 raises (double a winner, hold a net new) start from this new day-1 number.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Day-1 budget per ad set, per offer
OfferBudget CPAMultiplierDay-1 budget
TPS$842x$168
RJV$921.5x$138
REA$1101.5x$165
SCR$1601.5x$240
TFC$851.5x$128
SSC—1.5x— (no base)
TESTOGREENS$1701.5x$255
AKKA$1701.5x$255
OLAVITA$701.5x$105
PRODENTA$1201.5x$180
CLOUD9$1001x$100
EARTHLING$701x$70
Read from ~/.local/share/sh-mb-notes/day1_budget.py (BUDGET_CPA, DAY1_MULT, default 1.5x) by importing it, the same way drafter.py does. File changed 11-09-2026 18:22.
Change log
  • 10-30-2026: TPS budget CPA $90 to $84 (Matt moved the TPS target; client official $80, ceiling ~$85), so TPS day 1 = $168.
  • 10-27-2026: TPS budget CPA $85 back to $90 (Matt moved the TPS target back), so TPS day 1 = $180.
  • 10-26-2026: TPS budget CPA $90 to $85 (Matt moved the TPS target), so TPS day 1 = $170.
  • 10-20-2026: Matt: "first day start at 1.5x tCPA instead of 1x. and on TPS let's start at 2x tCPA." TPS budget CPA moved $93 to $90 the same day, so TPS day 1 = $180.
  • 09-12-2026: Matt set day 1 at 1x target CPA per ad set. Superseded 10-20-2026.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

2. Day-1 test kill check (intraday kill)

Live, acts on its own
Owner~/.claude/skills/sh-intraday-kill/scripts/intraday_kill.py + common.py
Schedulecom.matt.sh-intraday-kill: intraday_kill.py --yes hourly at :05, 24/7 (live-auto effective when the job is loaded). com.matt.sh-intraday-kill-heartbeat every 30 min. Plists in the skill folder and ~/Library/LaunchAgents/. com.matt.sh-intraday-kill: loaded com.matt.sh-intraday-kill-heartbeat: loaded
ApprovedMatt (rule pieces, in chat; auto-kill go-live 10-20-2026 ~14:50 ET), 10-20-2026 · Last changed10-20-2026 (settled data) · Registry fileProgrammatic Rules/day1-intraday-kill.md
What it decides

Which live [ON] TEST ABO ad sets on their first spend day should be killed during the day, on IC and link CPC. LIVE AUTO-KILL from 10-20-2026 (effective when the job is loaded): the hourly job kills every KILL row. No kill cap.

Rule
  • Scope: [ON] test campaigns (Test, NN or Iteration; not Scale, not Graveyard). ACTIVE ABO ad sets on their first day with spend.
  • E_IC (expected IC cost) step 1: the scale_hit lane IC CPA from benchmarks.json.
  • E_IC step 2: the test_hit lane IC CPA, only if that lane has 5 or more sales and $500 or more spend.
  • E_IC step 3: target CPA divided by 3.
  • Break-even CPC = target CPA x purchase CVR. CVR = RT purchases / RT clicks for the offer, last 7 full days, pulled live each run.
  • CPC kill line = break-even CPC x 1.20 (was 1.10 until 10-21-2026). If the offer has a scale_hit lane, the line is the lower of that and 1.5x the scale-lane link CPC.
  • SETTLED DATA ONLY (Matt 10-20-2026): the kill test uses complete ET hours that ended at least 90 minutes before the run (SETTLE_MINUTES in common.py). Run at 10:05 ET = data through 08:00 ET. Spend, IC and link CPC in the test are settled values.
  • No kill unless SETTLED spend is 2x E_IC or more.
  • At 2x E_IC settled spend: KILL if 0 IC AND link CPC is over the line.
  • At 3x E_IC settled spend: KILL if 0 IC, or if exactly 1 IC AND link CPC is over the line.
  • Fresh data can save an ad set, never kill it. If all data up to now shows a sale at target (or ROAS at target for SCR), or enough ICs that the rule no longer says kill, the call is KEEP.
  • Any RT sale at or under target CPA on both cost bases = KEEP. For SCR a sale with ROAS at or above the SCR target (1.50 from 10-22-2026) also = KEEP.
  • Kill means pause and strip [ON] from the ad set name. One Graph POST (status=PAUSED + new name), Matt API token. Re-read before, read back after.
Guards
  • No kill cap (Matt 10-20-2026: more than 10 kills is fine if it works off our thresholds and RedTrack data).
  • Re-read before each write: skip if no longer ACTIVE, [ON] gone, name or budget changed, or the campaign lost [ON].
  • Stop writing after 2 failures in one run. The rest are logged NOT WRITTEN.
  • No kills on an account whose Meta or RT read failed this run.
  • Every kill call is logged to ~/.local/share/sh-intraday-kill/kills.jsonl. No Mac notification per kill: kill_report.py lists them by offer in the morning audit (last 24h) and the EOD read (today).
  • Fail closed: if the 7-day CVR pull fails, no CPC-based kill calls run. 0-IC calls at 3x still list.
  • CVR floor 1%. Under 10 sales or under 1,000 clicks in 7 days = use 1%.
  • Sanity range: raw CVR under 0.2% or over 6% = bad data. CPC calls for that offer are held.
  • Jump check: CVR moved more than 40% vs 7 days ago = flagged (still used).
  • benchmarks.json older than 8 days = flagged on top, and CPC-based kill calls are held for every offer.
  • Heartbeat check alerts if no run in 2h15m, at any hour (24/7), or if a run had a token error or crashed. Never on kills.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Constants in the code
SettingValue
Settled-data lag (SETTLE_MINUTES)90 min. Kill test uses only complete ET hours that ended 90+ min before the run (run 10:05 ET = data through 08:00 ET). Fresh data can save an ad set, never kill it.
Checkpoints (x E_IC spend)2x and 3x (on SETTLED spend)
CPC margin over break-even20% (line = break-even x 1.20)
Scale-lane CPC cap1.5 x scale link CPC
E_IC step 2 needs5+ sales and $500+ spend in test_hit
Thin CVR dataunder 10 sales or 1,000 clicks = use 1%
CVR floor1%
CVR sanity range0.2% to 6% (outside = CPC calls held)
CVR jump flagover 40% move vs 7 days ago
Read from ~/.claude/skills/sh-intraday-kill/scripts/intraday_kill.py (argparse defaults) and ~/.claude/skills/sh-intraday-kill/scripts/common.py.
Per offer, today
OfferTargetE_IC2x checkpoint3x checkpointLast 7-day CVRCPC kill line
TPSCPA $84$30.00step 1 scale_hit$60$901.46% raw, 1.46% used2026-11-11 09:05, window 2026-11-04 to 2026-11-10$1.441.5 x scale CPC $0.96
RJVCPA $92$32.00step 1 scale_hit$64$960.30% raw, 1.00% used2026-11-11 09:05, window 2026-11-04 to 2026-11-10$1.10BE $0.92 x1.20 (< 1.5 x scale $1.20)
SCRROAS 1.50CPA $147 from benchmarks.json$18.00step 1 scale_hit$36$540.73% raw, 1.00% used2026-11-11 09:05, window 2026-11-04 to 2026-11-10$1.721.5 x scale CPC $1.15
TFCCPA $85$28.33step 3 target/3$57$850.71% raw, 1.00% used2026-11-11 09:05, window 2026-11-04 to 2026-11-10$1.02BE $0.85 x1.20
REACPA $110$36.67step 3 target/3$73$1101.26% raw, 1.26% used2026-11-11 09:05, window 2026-11-04 to 2026-11-10$1.66BE $1.39 x1.20
SSCCPA $85$28.33step 3 target/3$57$850.97% raw, 1.00% used2026-11-11 09:05, window 2026-11-04 to 2026-11-10$1.02BE $0.85 x1.20
BRT— (no target on sheet)
OSTEOCPA $150$30.00step 0 fixed (Matt)$60$900.69% raw, 1.00% used2026-11-11 09:05, window 2026-11-04 to 2026-11-10$1.80BE $1.50 x1.20
OLAVITACPA $70$23.33step 3 target/3$47$700.60% raw, 1.00% used2026-11-11 09:05, window 2026-11-04 to 2026-11-10$0.84BE $0.70 x1.20
CLOUD9— (no target on sheet)
PRODENTAROAS 1.35CPA $120 from benchmarks.json$40.00step 3 target/3$80$1200.73% raw, 1.00% used2026-11-11 09:05, window 2026-11-04 to 2026-11-10$1.44BE $1.20 x1.20
E_IC and the kill line are computed with the skill's own e_ic() and kill_line() from common.py. CVR is the last row per offer in ~/.local/share/sh-intraday-kill/cvr_history.jsonl (each live run appends one). Offers with no logged CVR have not been run yet, so no kill line can be shown. Last run heartbeat: 2026-11-11T09:05:06.083671-05:00, status ok, 20 rows, 0 kills.
Change log
  • 10-20-2026: SETTLED DATA rule (Matt, ~15:20 ET). Kill test on hours that ended 90+ min before the run; no kill under 2x E_IC settled spend; fresh data can only save. Hourly jobs stopped 15:21 ET for the change; main chat reloads them.
  • 10-20-2026: LIVE AUTO-KILL (Matt, ~14:50 ET). Hourly 24/7, no kill cap, no per-kill notification; kills listed by offer in the morning audit and EOD. Effective when com.matt.sh-intraday-kill is loaded.
  • 10-21-2026: CPC margin 10% to 20% (Matt). TPS IMG3532-3535 was killed at CPC $1.14 vs a $1.13 line, basically on point. Backtest 10-06..10-19: 20% saves $27.3k vs $28.6k at 10%, same 3 false kills. TPS line ~$1.13 to ~$1.24.
  • 10-22-2026: SCR target ROAS 1.70 to 1.50 (Matt). SCR CPA $129 to $147 (benchmarks.json), kill line ~$1.55 to ~$1.76 (1% CVR x 1.20; capped at 1.5x scale-lane link CPC).
  • 10-20-2026: SCR target ROAS 1.40 to 1.70 (Matt). SCR CPA $157 to $129 (benchmarks.json), kill line $1.73 to $1.42.
  • 10-20-2026: Built. Matt approved each piece of the rule in chat. List only. No schedule loaded.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

3. Budget surfing / double the winners

unknown status: shadow
Owner~/.claude/skills/sh-double-winners/scripts/double_winners.py
ScheduleOn request (/sh-double-winners), plus com.matt.sh-auto-surf at 8:15, 9:15, 10:15, 11:15, 12:15, 13:15 ET (SHADOW 10-21 and 10-22; Matt flips it live by hand). Dry run by default. Writes only with --yes. com.matt.sh-auto-surf: loaded
ApprovedMatt, 10-03-2026 · Last changed11-03-2026 · Registry fileProgrammatic Rules/budget-surfing-double-winners.md
What it decides

Which test ad sets and scale campaigns get a budget raise during the day, and by how much.

Rule
  • Tests are graded per AD SET on their own results. A winning parent campaign does not qualify its ad sets.
  • Scale (--scope scale) is graded on the CAMPAIGN total.
  • Gate: at least the minimum RT purchases, and CPA strictly under the cap on BOTH Meta-spend and RT-cost basis.
  • ROAS offers (SCR): RT total revenue / spend at or above the floor on BOTH bases.
  • Passes on one basis only = BORDERLINE. Listed, never written.
  • Default cap = the offer target from the Offer Targets sheet.
  • Tests: double when CPA is well under target on about 3-10 sales AND IC CPA is at or under the IC bar.
  • Scale pacing floor (code, 10-21-2026): raise a qualifying scale campaign only when spend so far / daily budget is at or above the floor for the ET run hour. 8:15 and 9:15 ET = 15%. 10:15 and 11:15 ET = 20%. 12:15 ET = 25%. 13:15 ET = 30%. Under the floor = "No raise, budget is not the limit".
  • Why (Matt): morning hours are the best for VSL offers. Most scale camps are cost-capped, so budget above spend does no harm. We never want to be budget-constrained. Meta takes about 2 hours to ramp, so raise early.
  • Tests show % of budget spent as info only. No floor on tests.
  • HV campaigns (no cost cap) are listed as "HV, needs Matt's OK". The automation never writes them.
  • No repeat-double limit: a raise yesterday never blocks a raise today. Grade on today's data only.
  • Budget goes on every row of the report. Never a dash.
  • DECISIVE SIZE (11-03-2026, hourly runs): one raise sized for the rest of the day, not a flat x2. New budget = the bigger of the normal step (x2; +50% over $10k) and (spend so far / share of a winner's day done by now) x 1.5 for budgets of $200 or less, x1.125 over $200 (11-10-2026; was 1.5 for all), rounded up. Cap 3x in one step (was 4x until 11-10-2026) (2x over $10k). HV keeps its own step. The 23:15 nightly raise keeps the flat step. Share-of-day table: 09:00 20%, 10:00 22%, 12:00 30%, 14:00 42%, 16:00 58%, 18:00 74%, 20:00 88% (fit on 14 days of raised winners; account spend curves read 1.5-2x too high because budgets cap out by noon).
  • NO BACK-TO-BACK (11-03-2026): a 2nd raise the same day (tests and HV: max 2 a day; SCALE: no daily max since 11-03-2026, same rule for every further raise plus the pacing floor) needs ALL of: 3+ hours since the last raise by anyone (auto surf, buyers via sh-surf, Matt, other /activities actors), ON PACE TO CAP (spend so far / share of a winner's day done by now >= 90% of the current budget; PACE TRIGGER 11-03-2026, was a flat 80% spent), and every gate passing on fresh settled data. Sized the same decisive way (projection x1.5 / x1.125 over $200, min x2, max 3x). It is logged as SECOND RAISE. Replaces the 50% / STRONG 30% 2nd-raise lines.
Guards
  • Same-day raise guard (SCALE REPEAT 11-03-2026: scale is no longer 1 a day): any budget RAISE today by anyone blocks the next raise for 3h; after that, scale needs the 90% pace check + pacing floor + gates, with no daily max. Tests/HV: a 2nd raise only after the 3h gap + 90% pace check above (11-03-2026). A cut today does not block.
  • If the activity log can not be read, that account's rows are not written.
  • Max new budget ceiling. Anything above it is listed, not written. The auto-surf job uses $20,000 on scale and $5,000 on tests.
  • Multiplier must be above 1 and at most 3.
  • Re-read the budget just before writing. If it moved, do not write.
  • Never decrease or roll back a fresh increase without Matt's explicit word (10-18-2026).
  • Stop writing after 2 write failures. Stop after 3 failed reads.
  • Akka is not supported (revenue is in PostHog, not RT).
  • RAISE BLOCKS (11-03-2026): an offer listed in ~/.claude/skills/sh-double-winners/scripts/raise_blocks.json gets no raise from any automation. TPS is listed with no end date (Matt 11-03). See offer-raise-blocks.
Live numbers (read from the code at 11-11-2026 09:02 CT)
could not read the live numbers for this rule (TypeError: unsupported format string passed to NoneType.__format__)
Change log
  • 11-03-2026 (4th): TPS OUT. Matt: "Take TPS out of the scaling automations going forward." TPS removed from auto-surf offers (hourly + nightly), hold_offers TPS = 9999-12-31, and the engine refuses any TPS raise through raise_blocks.json. Cuts still run. Backups *.bak-1103-tpsout.
  • 11-03-2026 (3rd): SCALE REPEAT. Matt: "I don't think scale campaigns need to be limited to one raise a day. On good days, we often do three or more raises if something's really hot." Scale (non-HV) has no daily max; each further raise = 3h gap + 90% pace + pacing floor + gates, decisive size, big-budget limits kept. Tests/HV stay max 2. Scale backtest 10-20..11-02 (46 scale objects): raises 46 -> 51, 5 got a 2nd raise, 0 got a 3rd; capped out 1 -> 0; +$752 spend (a floor: history only shows spend under the budgets that were set). All 5 ended the day at or under target on RT (10-31 TPS Rubber Head closest: CPA $83.47 vs $84). Tests max 2: a 3rd raise added $0 in the backtest, so tests stay at 2.
  • 11-10-2026: AUTO SURF PULLED BACK (Matt: "we might be pushing a little bit too hard on some of these auto surfs"). Decisive cap 4x -> 3x. Headroom split by current budget: $200 or less keeps x1.5; over $200 = x1.125 (25% less). Floor (x2, +50% over $10k) and 2x-over-$10k cap unchanged. Trigger: Akka IMG236-238 11-10 $255 -> $920 (3.6x); under the new rule $690. Last 10 days: 18 of 158 hourly raises were over 3x. Backups *.bak-1110-cap3x.
  • 11-03-2026 (2nd): PACE TRIGGER (Matt: "80% is quite a lot. That means it's already getting throttled if there's only 20% of budget left when there are 8 hours left in the day."). 2nd raise fires when projected full-day spend >= 90% of the current budget, not at 80% spent. Headroom 1.3 -> 1.5. Gap stays 3h. Grid backtest 10-20..11-02 (gap 3h): 80%/1.3 = 158 raises, 9 twice, 3 capped out; 90%/1.5 = 162 raises, 13 twice, 2 capped out, +$1,972 spend; 0 back-to-back in all mixes. Backups *.bak-1103-pace.
  • 11-03-2026: DECISIVE SURF (Matt: "make one decisive surf, of enough magnitude we won't have to do back to back"). Size once for the rest of the day (pace / winner-day share x1.3, floor = normal step, cap 4x; 2x over $10k). 2nd raise same day = 3h+ since the last raise by anyone + 80%+ of budget spent + gates pass. Backtest 10-20..11-02: auto raises 182 -> 157, objects with 2+ raises 33 -> 8, back-to-back 13 -> 0; all 8 replayed 2nd raises were spent past the 1st budget. Akka HL2_AT1 11-02: $100 -> $360 at 10:28 (was $200, then $400 at 11:28). Trigger: that case. Backups *.bak-1103-decisive.
  • 11-01-2026: STRONG rows. A row that passes the gate on ALL data so far (newest hours included) is STRONG. Tests: 2nd raise at 30% spent (not 50%). Scale: x2 even over $10k (not x1.5), pacing floor cut in half. A full-day pass qualifies on its own; rows that pass only on settled hours keep the normal rules. All offers.
  • 10-21-2026 (later): Repeat-double limit REMOVED. Grade on today's data only.
  • 10-21-2026: 13:15 ET run added to the auto-surf job, floor 30% (12:15 stays 25%).
  • 10-21-2026: Scale pacing floor in code (15% / 20% / 25% by run hour), HV hold, repeat-double limit (80% spent + gate yesterday), auto-surf job in shadow, SURFED YESTERDAY morning leg.
  • 10-20-2026: Budget required on every row. Default surf covers all 7 offers. TPS cap $93 to $90.
  • 10-18-2026: Never use an immediate decrease as a correction to a fresh increase.
  • 10-07-2026: Tests vs scale raise rule and the scale pacing check.
  • 10-06-2026: --scope scale added.
  • 10-03-2026: Built from a live RJV run.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

3. Offer raise blocks (no automated raises)

Live, acts on its own
Owner~/.claude/skills/sh-double-winners/scripts/raise_blocks.json
ScheduleChecked on every run of the auto surf (hourly + 23:15 ET nightly), the Friday scale executor and the sh-double-winners engine. NOT the buyer sh-surf (11-07).
ApprovedMatt, 11-03-2026 · Last changed11-07-2026 · Registry fileProgrammatic Rules/offer-raise-blocks.md
What it decides

Which offers get NO automated budget raise and NO automated bid-cap raise (BC up or ROAS floor down).

Rule
  • 11-07-2026 (Matt): blocks apply to AUTOMATIONS only. Media buyers and Matt are never blocked ("When I tell you to pause auto stuff, that does not include MediaBuyers"). sh-surf no longer reads this file.
  • 11-07-2026 (Matt): TPS block is weekdays only ("days": "weekdays"). Auto surf raises TPS on Sat-Sun. The nightly run is graded on the day it sets: Fri night = allowed, Sun night = blocked. TPS is back in the auto-surf offers list.
  • An offer listed in raise_blocks.json gets no raise from any automation until Matt removes it.
  • TPS is listed from 11-03-2026 with no end date. Matt: "Take TPS out of the scaling automations going forward." TPS spend is being limited.
  • Builds still run (new campaigns get their normal build budget). Cuts, pullbacks, pauses and kills still run.
  • Only Matt lifts a block. To lift it, delete the offer's entry from raise_blocks.json and put the offer back in offers in ~/.local/share/sh-auto-surf/config.json.
Guards
Live numbers (read from the code at 11-11-2026 09:02 CT)
This rule has no numeric thresholds to read. The words above are the rule.
Change log
  • 11-03-2026: Created. TPS blocked, no end date. Matt.

4. Underfunded winners (EOD)

Manual / on request
Owner~/.claude/skills/sh-mb-audit/underfunded_winners.py
ScheduleOn request, Step 3c of every /sh-eod run. Read only.
ApprovedMatt, 10-20-2026 · Last changed10-20-2026 · Registry fileProgrammatic Rules/underfunded-winners.md
What it decides

Which live test ad sets look great on lifetime numbers but have not had their budget raised.

Rule
  • The ad set has been live at least the minimum number of calendar days (ET) since it was created.
  • CPA offers: lifetime RT sales at or above the minimum, CPA under target on BOTH bases, and IC CPA at or under the IC bar.
  • IC bar: TPS and RJV $32, SCR $24, other offers 1/3 of target CPA.
  • SCR: sales at or above the minimum and ROAS at or above the sheet target (1.50 from 10-22-2026) on BOTH bases.
  • Budget check: daily budget under the floor, OR under half the top sibling ad set budget in the campaign.
Guards
  • Read only. It never writes. A person raises the budget.
  • Meta code 17 on an account: switch to the meta-ads MCP. No burst retries.
  • An account stops after 3 failed reads.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Defaults in the code
SettingValue
Min days live3
Min lifetime sales5
Budget floor$600/day
Sibling checkunder half the top sibling ad set budget
Read from ~/.claude/skills/sh-mb-audit/underfunded_winners.py.
IC bar per offer
OfferTargetIC bar
TPSCPA $84$32IC_BARS
RJVCPA $92$32IC_BARS
SCRROAS 1.50$24IC_BARS
TFCCPA $85$28.33target / 3
REACPA $110$36.67target / 3
SSCCPA $85$28.33target / 3
BRT——
OSTEOCPA $150$50.00target / 3
OLAVITACPA $70$23.33target / 3
CLOUD9——
PRODENTAROAS 1.35$40IC_BARS
Change log
  • 10-22-2026: SCR ROAS bar 1.70 to 1.50, following the target (Matt).
  • 10-20-2026: SCR ROAS bar 1.40 to 1.70, following the target (Matt).
  • 10-20-2026: Built. Matt: "This should have been at 600-1200 budget like the other ad set by now."

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

5. Night shutoff and [ON] revive

Live, acts on its own
OwnerMeta ad rules on each account + ~/.local/share/sh-night-shutoff/verify_shutoff.py (backstop)
ScheduleMeta rules 23:30 ET off, 04:00 ET revive (SCR FM1-new 06:00 ET). Backstop com.matt.sh-night-shutoff 22:45 CT (= 23:45 ET). com.matt.sh-night-shutoff: loaded
ApprovedMatt, 08-29-2026 · Last changed09-29-2026 · Registry fileProgrammatic Rules/night-shutoff-on-revive.md
What it decides

What is off overnight and what comes back on in the morning.

Rule
  • Every night at 23:30 ET a Meta rule on each account pauses all ACTIVE campaigns.
  • At 23:45 ET the backstop script force-pauses any campaign still ACTIVE on the covered accounts and sends a Telegram.
  • At 04:00 ET the [ON] rules turn on every [ON]-tagged campaign and ad set that is off. It does not matter why it is off.
  • SCR FM1-new revives at 06:00 ET, not 04:00. Check the account's own rule start_minute before calling a missed revive.
  • ReActivate runs on Pacific time. Its rule minutes are set to match ET.
  • So PAUSED + [ON] = live tomorrow. Only stripping [ON] keeps a cell off.
  • A campaign with no tag never comes back after its first night.
Guards
  • A new ad account has ZERO ad rules. [ON] does nothing there until the rules are added.
  • A disabled off-rule is silent. After any all-night override, confirm the off rules are ENABLED.
  • RJV INTL campaigns on the exempt accounts are skipped by the backstop (per-country daypart, Matt 09-18-2026).
  • Never run verify_shutoff.py by hand in the day. It pauses everything at once.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Backstop, read from the script and its log
SettingValue
Backstop accounts covered37
Exempt accounts (INTL daypart)4, campaigns matching /INTL/
Backstop jobcom.matt.sh-night-shutoff: 22:45 CT, loaded
Last backstop result[2026-11-09T22:46:08] 🌙 Night shutoff backstop: 1 campaigns were still ACTIVE at the first check (Meta rules missed them). Force-paused 1; all dark now.
Read from ~/.local/share/sh-night-shutoff/verify_shutoff.py and ~/.local/share/sh-night-shutoff/shutoff.log. The 23:30 off and 04:00 / 06:00 revive rules live on Meta, one set per account. They are not read at bake time (this page makes no API calls). New accounts are not in the backstop list until someone adds them.
Change log
  • 09-29-2026: Verified SCR FM1-new revives at 06:00 ET.
  • 09-21-2026: Backstop roster grew to 31 accounts.
  • 09-18-2026: RJV INTL exemption approved.
  • 08-29-2026: Matt: "every night, all 16 accounts."

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

  • 11-09-2026: "Combined Test" campaigns (Evolve-style, run 24/7) are exempt from the backstop force-pause on every account. TPS20 rule 3116800831845789 'Nightly ALL campaigns OFF 11:30pm ET (Matt)' got filter campaign.name NOT_CONTAIN "Combined Test" (backup ~/.local/share/sh-night-shutoff/rule-backups/). See combined-test-exempt. Matt.

6. Kill vs pause vocabulary

Manual / on request
OwnerAll kill and budget skills (memory feedback_kill_vs_pause_vocabulary.md)
ScheduleAlways. Applies to every kill or pause anyone makes.
ApprovedMatt, 10-02-2026 · Last changed10-02-2026 · Registry fileProgrammatic Rules/kill-vs-pause.md
What it decides

What the words KILL and PAUSE mean when Matt approves an action.

Rule
  • KILL = pause AND strip [ON] from the name. It stays off.
  • PAUSE, cut, trim, turn off = set PAUSED only. Leave [ON]. It comes back at 04:00 (06:00 on SCR).
  • Label rows Kill or Pause in tables, never Cut.
Guards
  • If it is not clear whether an action is for today or for good, ask "kill or pause?" before any rename.
  • A paused cell that came back at 04:00 with [ON] is a clip, not a failed kill.
Live numbers (read from the code at 11-11-2026 09:02 CT)
No code numbers for this rule. It is followed by hand; the words above are the rule.
Change log
  • 10-02-2026: Matt: "we'll use the word 'kill' so that we're on the same page."

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

7. Lander split auto-weights

Live, acts on its own
Owner~/.local/share/sh-lander-split/autoweight.py (decides + writes) on top of monitor.py / monitor_core.py (the read)
ScheduleRuns after the split read: com.matt.sh-lander-split-daily 05:40 CT and com.matt.sh-lander-split-intraday every 2h 10:05-20:05 CT. Writes only 06:00-21:00 CT. com.matt.sh-lander-split-daily: loaded com.matt.sh-lander-split-intraday: loaded
ApprovedMatt, 10-20-2026 · Last changed10-20-2026 · Registry fileProgrammatic Rules/lander-split-calls.md
What it decides

When a new lander in a RedTrack split is ended, raised, or made the new control. END changes weights on its own. RAISE and REPLACE only report (shadow) until Matt flips them.

Rule
  • The read is Bayes chance-to-beat (P) on revenue per click, sales per click second, same hours only.
  • Minimum before any call: 24 hours OR 1,500 new-lander clicks OR 10 new-lander sales, AND 500+ new-lander clicks.
  • END: P(new beats control) at or under 20%. Or the whole run at or under 20% with 30+ sales. Or 3+ arms and P(new is best) at or under 15%. Or the engine says STOP / EARLY STOP / END. Or 50+ sales a side and P under 50%. Must hold on two runs in a row. The new lander goes to 0 and its weight goes to the control.
  • RAISE: P at or over 80%, 15+ sales, top arm, no change on it today. One step: 10 to 30 to 50.
  • REPLACE: P(revenue) at or over 95% AND P(sales) at or over 90%, 40+ sales, top arm, true on the last read of the day before and now. New 90 / old control 10 for 48 hours, then the old control goes to 0 unless it is ahead again.
  • Never automatic: re-adds, adding a lander, tests whose arms started together, raises where two new arms are close. Those go to Matt.
  • The engine calls (STOP, EARLY STOP, END) still come from monitor_core.py thresholds, shown below.
Guards
  • Each call type has its own mode: live, shadow (report only) or off. The modes in force are read live below.
  • At most 3 writes per run and 8 per day.
  • Writes go through the sh-rt-splits worker as user "auto": preview, check the current weights match, apply, read back, log.
  • Any failed write switches auto off. Kill switch: autoweight.py --off. Put one change back: undo.py <change id>.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Auto-weights (autoweight.py)
SettingValue
Modes in force nowEND: shadow RAISE: shadow REPLACE: shadowdata/auto_config.json, changed 10-20-2026 13:27
Minimum new-lander clicks500
ENDP at or under 20%; whole run at or under 20% with 30+ sales; 3+ arms and P(best) at or under 15%; 50+ sales a side and P under 50%
RAISEP at or over 80%, 15+ sales
REPLACEP(rev) at or over 95% AND P(sales) at or over 90%, 40+ sales
After REPLACEold control kept at 10% for 48h; back to Matt if it is ahead again (P 80%+)
Write limits3 per run, 8 per day, only 06:00-21:00 CT
Auto actions logged so far9
Read from ~/.local/share/sh-lander-split/autoweight.py and ~/.local/share/sh-lander-split/data/auto_config.json.
Engine calls (monitor_core.py, also used by the offer split job)
SettingValue
Minimum data (any one)24h OR 1,500 clicks OR 10 sales
Early IC stopfrom 200 views, IC ratio under 0.6, p under 0.1, 5+ expected IC
STOPratio under 0.75, p under 0.1, 10+ expected sales
RAISEratio over 1.15, p under 0.2, 10+ expected sales
REPLACEratio 1.1+ (10%+ better), p under 0.05, 30+ sales
Tie gate (END / RAISE50)both arms 50+ sales, new lander not 1.1x better; CI check off
Days in a row per callEARLY STOP 1, STOP 2, RAISE 3, REPLACE 3, END 2, RAISE50 2
Start % for new testsTPS 10%, SCR 10%, RJV 10%, REA 30%, Akka 30%, TFC 30%
Read from ~/.local/share/sh-lander-split/monitor_core.py. Ratio = new lander / control, sales per $ (ROAS for SCR). An engine STOP / EARLY STOP / END also counts as an auto-weights END.
Change log
  • 10-20-2026: Matt: "let's now execute it" on the 10-19 replay plan. Auto-weights live. END live, RAISE and REPLACE in shadow.
  • 10-10-2026: Tie rule changed. New lander ahead at the 50-sale gate = raise to 50%, not end (old monitor rule).
  • 10-05-2026: Minimums set: 24h OR 1,500 clicks OR 10 sales. Low-spend offers split at 30%.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

8. Lander task disposition (scale or fail)

Live, acts on its own
Owner~/.local/share/sh-killnote/lander_disposition.py
ScheduleEnd of every full killnote run, com.matt.sh-killnote 22:00 CT. com.matt.sh-killnote: loaded
ApprovedMatt, 10-05-2026 · Last changed10-05-2026 · Registry fileProgrammatic Rules/lander-task-disposition.md
What it decides

Whether a finished lander test task in ClickUp moves to scale or fail, and the note it gets.

Rule
  • Matt: "a lander wins if it can beat the control. And replace it."
  • SCALE = beat the control on purchase CR (p under 0.05) AND replaced it (control at weight 0 or gone, variant still carrying traffic).
  • FAIL = the variant is out of the split and did not win and replace. The note says why (lost, tied, too thin, or won but pulled).
  • HOLD = anything else. Nothing is written.
  • Out of the split = weight 0 or absent in every live stream it ran in, AND under 50 views on each of the last 2 days.
Guards
  • The ClickUp title must EXACTLY match one RedTrack lander title. 0 or 2+ matches = unmatched, left alone.
  • RedTrack is read only. Stops after 3 failed RT calls.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Thresholds in the code
SettingValue
Win needs p under0.05
Run day / still has traffic50+ views
Shared campaign-dayboth landers 20+ views
Edge-day hour counts when each arm has5%+ of the hour's views
Look back45 days
Judged on ROAS (not CR) forAKKA, PRODENTA, SCR
Read from ~/.local/share/sh-killnote/lander_disposition.py.
Change log
  • 11-10-2026: Ended lander task with no control in its campaign-days now gets a variant-only data note and goes to fail (was held for Matt). A lander with 50+ views TODAY is never "out of the split" (day-1 landers read as out before). Matt: "Any that are ended, we need to put in data."
  • 10-05-2026: Built and first live run.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

  • 11-10-2026 — a lander that took the control spot on a tie = scale (Matt: "They should keep the control spot if we set it that way and they earned it previously"). Note heading "Now the control" (a significant win keeps "Won - now the control"). TFC New Top 5 and SCR Foods Newspaper Design posted + moved to scale.

9. Offer split calls

Live, list only
Owner~/.local/share/sh-offer-split/offer_split.py (uses the lander thresholds in monitor_core.py)
Schedulecom.matt.sh-offer-split-daily 05:40 CT. Read by morning audit leg G. Recommend only. com.matt.sh-offer-split-daily: loaded
ApprovedMatt, 10-08-2026 · Last changed10-08-2026 · Registry fileProgrammatic Rules/offer-split-calls.md
What it decides

When a test offer arm in a RedTrack offer split should be stopped, raised, made the control, or ended.

Rule
  • Same thresholds as the lander split rules, judged on ROAS (total revenue / cost), because offer arms can have different prices.
  • The control is found from traffic (the arm that served first), never from offer names.
  • Same hours only: a campaign-hour counts only if both arms served in it (2%+ of that hour's clicks).
  • The newest 2 hours are skipped.
Guards
  • Read only. It never changes a weight. Matt approves each change.
  • The ROAS p-value is widened for order-size spread.
  • A gap of 96+ hours restarts a test.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Settings in the code
SettingValue
Arm counts as serving an hour at2%+ of that campaign-hour's clicks
Gap that restarts a test96h
Weighted but quietunder 50 clicks in 48h
ROAS p-value wideningx1.08
Call thresholdsthe lander split thresholds (rule above), applied to ROAS
Last report written11-11-2026 05:40 (3h ago)
Read from ~/.local/share/sh-offer-split/offer_split.py.
Change log
  • 10-08-2026: Daily job live, feeds morning audit leg G.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

10. Scale queue bar (10 sales at target)

Live, list only
Owner~/.local/share/sh-killnote/scale_queue.py (bar from killnote.py SCALE_MIN_SALES + BM)
Schedulecom.matt.sh-scale-queue 05:30 CT. Writes the hub Scale Queue page. Morning audit leg C reads it. com.matt.sh-scale-queue: loaded
ApprovedMatt, 09-25-2026 · Last changed10-20-2026 · Registry fileProgrammatic Rules/scale-queue-bar.md
What it decides

Which ads and ad sets from test campaigns go on the running list of things that earned a scale campaign.

Rule
  • An AD or an AD SET in a test campaign with 10+ sales that hits the offer's own target. CPA for most offers, ROAS for SCR.
  • The ad set level counts on its own. A creative spread across many cells can clear the bar as a set.
  • The list accumulates. A row stays open with its first-seen date until it is pushed into a scale campaign or dropped.
  • A row closes on its own once the creative shows up in a live dedicated scale campaign.
Guards
  • Already-scaled creatives are excluded (RedTrack scale rows first, then a Meta sweep that also sees paused scale campaigns).
  • List only. A person builds the scale campaign.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Bar in the code
SettingValue
Min sales (ad or ad set)10
Targetthe offer target in killnote BM (table below)
Queue file right nowdropped 27, pushed 88, queued 1 (queued = open). Scan generated 2026-11-11 05:39.
Read from ~/.local/share/sh-killnote/killnote.py (SCALE_MIN_SALES, BM).
killnote BM table (target per offer)
OfferTargetCPC benchIC benchLabel
TPSCPA $84$1.15$35.71scale average
RJVCPA $92$0.89$31.32scale average
TFCCPA $85$1.17$31.20scale average
SCRROAS 1.50$0.93$18.60scale average
SSCCPA $85$1.00$30.00benchmark
BRTCPA $90$1.00$30.00benchmark
TESTOGREENSCPA $170$1.00$56.67benchmark (DEAD - client paused 09-22-2026)
REACTIVATECPA $110$1.00$36.67benchmark
AKKACPA $170$1.00$56.67benchmark
OLAVITACPA $70$1.00$23.33benchmark
OSTEOSHIELDCPA $150$1.00$50.00benchmark
PRODENTAROAS 1.35$1.00$40.00benchmark
CLOUD9ROAS 1.30$1.00$32.00benchmark
EARTHLINGCPA $47$2.06$39.00benchmark
Change log
  • 10-20-2026: TPS target $90 in killnote BM (was set 10-07, Matt OK'd 10-13).
  • 09-25-2026: Matt: "make a scale list throughout the week."

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

11. Scale candidates bar (angle graduation)

Manual / on request
Owner~/.claude/skills/sh-scale-candidates/scripts/scale_candidates.py + creative_rollup.py
ScheduleOn request (/sh-scale-candidates), about weekly.
ApprovedMatt, 09-08-2026 · Last changed10-20-2026 · Registry fileProgrammatic Rules/scale-candidates-bar.md
What it decides

Which ANGLES have earned a scale campaign and do not have one yet.

Rule
  • At least one AD in the angle hits the offer target (CPA, or ROAS for SCR).
  • That ad has 10 or more sales.
  • IC CPA is about 1/3 of the target purchase CPA or better.
  • The angle is gaining momentum.
  • Neither the angle nor the ad is already in any scale campaign in the offer's accounts.
Guards
  • Refresh the Meta scale index on every run unless it was made today. It goes stale in about 48 hours.
  • Judged at ad level, never campaign level.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Defaults in the code
SettingValue
Min sales on one ad10
IC CPA bartarget CPA / 3, passes up to 1.15x that line
Window14 days
Min ad spend$100
Read from ~/.claude/skills/sh-scale-candidates/scripts/scale_candidates.py.
Target and IC bar per offer
OfferTarget (OVERRIDE)IC CPA bar
TPSCPA $84$28.00
RJVCPA $92$30.67
SCRROAS 1.50$56.00
SSCCPA $85$28.33
TFCCPA $85$28.33
BRTCPA $90$30.00
REACPA $110$36.67
AKKACPA $170$56.67
PRODENTACPA $120$40.00
OSTEOCPA $150$50.00
OLAVITACPA $70$23.33
CLOUD9ROAS 1.30—
ROAS offers use IMPLIED_CPA for the IC bar.
Change log
  • 10-20-2026: TPS target $93 to $90.
  • 09-08-2026: Matt set the bar.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

12. Graveyard to scale bar

Manual / on request
OwnerHand pass (killnote.py never promotes graveyard winners). Memory feedback_graveyard_scale_bar_10_sales_90_cpa.md
ScheduleOn request.
ApprovedMatt, 10-06-2026 · Last changed10-06-2026 · Registry fileProgrammatic Rules/graveyard-to-scale.md
What it decides

When a creative winning in a Graveyard campaign moves its test task to scale.

Rule
  • Matt: "Anything under double digits sales or over $90 CPA is not getting scaled."
  • Needs BOTH 10+ sales AND CPA at or under $90 (RedTrack, since the creative entered the graveyard).
  • Check at ad level too. A group can clear on one tiny ad.
Guards
  • The bar is a guide, not a hard gate. Propose with the bar, then Matt's ad-level list decides.
  • The $90 was set on TPS when its target was $93. The TPS target is now $90.
Live numbers (read from the code at 11-11-2026 09:02 CT)
No code numbers for this rule. It is followed by hand; the words above are the rule.
Change log
  • 10-06-2026: Set by Matt on TPS graveyard tasks.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

13. Kill order: IC, then sales, then ROAS

Manual / on request
OwnerBuyers by hand. Graded by ~/.claude/skills/sh-mb-audit/mb_audit.py in the morning audit (leg D).
ScheduleBuyers: every kill call. Grading: com.matt.sh-morning-audit 06:00 CT runs mb_audit.py TPS SCR. com.matt.sh-morning-audit: loaded
ApprovedMatt, 10-09-2026 · Last changed10-09-2026 · Registry fileProgrammatic Rules/kill-order.md
What it decides

The order of evidence for killing a test cell, and how the buyers' kill calls are graded.

Rule
  • Read IC first (IC volume and IC CPA), then sales and purchase CPA, then ROAS.
  • Spend with no sales can still be a kill. There is no minimum sales count before a kill.
  • A good early ROAS on a few sales does not save a cell with bad IC CPA and bad purchase CPA.
  • Purchase CPA at target earns more run time even when IC is out of range. IC is a kill reason only when purchase CPA is ALSO over target.
  • Grade per ad set, never on campaign totals.
Guards
  • mb_audit grades IC and CPC as multiples of the scale-lane benchmark (bands below).
  • A cell within 5% of target is not failing.
  • At 10+ sales a cell at purchase target is protected even with bad IC.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Grading constants (mb_audit.py, morning audit leg D)
SettingValue
Bands (x scale-lane benchmark)up to 1x scales, up to 1.3x probably not, up to 1.74x very likely not, above = no way
IC CPA backstop (thin lane)35% of target CPA
Within this of target = not failing5%
Protected at purchase target from10 sales
Benchmark loosen limit per refresh10%
Benchmark stale after7 days
Grading CPA per offerTPS $84, SCR $147, RJV $92, TFC $85, SSC $85, REA $110, OSTEO $150, OLAVITA $70, PRODENTA $120, CLOUD9 $96
IC decides onTPS, TFC, RJV, SSC, REA, SCR, OSTEO, OLAVITA, PRODENTA
Read from ~/.claude/skills/sh-mb-audit/mb_audit.py and ~/.claude/skills/sh-mb-audit/shared.py.
Change log
  • 10-28-2026: Leg D output adds a "KILLED, MAYBE WRONG - DAILY TREND" block under LEG D FINDINGS for every kill WRONG / WRONG CELL / kill THIN finding: daily rows per ad set (killed + kept) and a call from the last 1-2 full days before the kill. Grading rule unchanged. (Matt)
  • 10-09-2026: Set by Matt and fixed in mb_audit.py the same day.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

14. Day-1 kill gate: 2 ICs

Manual / on request
OwnerBuyers by hand (memory sh_day1_kill_gate_two_ics.md)
ScheduleDay-1 reads on test cells.
ApprovedMatt, 09-15-2026 · Last changed09-15-2026 · Registry fileProgrammatic Rules/day1-kill-gate-two-ics.md
What it decides

Whether a test cell is still alive at the end of day 1.

Rule
  • 2 or more ICs on day 1 = alive. 3-4 is the healthy signature.
  • 0-1 IC on day 1 = not coming back.
  • A lone or novel cell can get a second day.
  • When the ad sets are all iterations of the same angle, they back each other up. One day is enough to call it.
Guards
  • The programmatic version of this is the intraday kill check (rule 2), which is list only.
Live numbers (read from the code at 11-11-2026 09:02 CT)
No code numbers for this rule. It is followed by hand; the words above are the rule.
Change log
  • 09-15-2026: Matt to Emiliano: "We need at least two in those cases, ideally three or more."

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

15. Rejected ad ladder (hopper)

Live, acts on its own
Owner~/.local/share/sh-auto-vanilla/hopper.py + auto_vanilla.py
Schedulecom.matt.sh-auto-vanilla hourly at :40. com.matt.sh-auto-vanilla: loaded
ApprovedMatt, 10-14-2026 · Last changed11-06-2026 · Registry fileProgrammatic Rules/rejected-ad-ladder.md
What it decides

What happens, step by step, to a rejected ad in a live [ON] scale or test campaign.

Rule
  • Every rejected ad, test or scale, is vanilla'd in place right away (clears the strike).
  • Then one AdRefresh Light try per rejection: a new ad on a new post, with a small copy edit and a Light AdRefresh of the creative.
  • AdRefresh Medium is built only if the Light try is rejected (next run). The rejected Light ad is vanilla'd too.
  • Account limit: 20 rejections in 48h on a seasoned account, 3 on a new account. At the limit the try waits. The vanilla does not wait.
  • SPILLOVER (11-06, redesigned 11-06 PM): TPS has two test accounts, TPS14 and TPS20. A retry runs in its home test account. If that account is at its limit and the other TPS test account is under its limit, the retry is built in the other account. It goes into a MIRROR of its home test campaign: the same name with the account code swapped and " - ReTest" added at the end (e.g. "[ON] 11.06.26 - TPS - TPS20 - HG - Top 5 - Day 1 Day 2 - VID 859 - Visual Hook Iteration - Test - ABO - ReTest"), same objective and ABO settings. One mirror per home campaign; it is reused. Inside it, a mirror of the rejected ad's home ad set: same name, budget, bid, pixel event, targeting, 7-day click. Only ad sets that had a rejection. Only the rejected ad's retry goes in, with the original ad name. Ads that were not rejected are not rebuilt. The home buyer list is mapped to the other account's own buyer list (TPS20: "Skin - TPS - Combined Buyers - 249.7k"). The probe goes in PAUSED and is switched ACTIVE when approved. Both accounts at the limit = the retry waits. The spillover counts toward the account it is built in. auto_vanilla never kills a ReTest campaign and never registers its ads as new ladders. RedTrack: the retry keeps the original RT link, so it lands in the same RT campaign; split it by sub3 (FB campaign id) or sub6 (FB campaign name, ends "- ReTest").
  • No duplicate / same-post tier. The old SAME, EXACT and COPY tiers and the live-test duplicate-first hold are gone (retired 10-29 / hold removed 11-05).
  • Graveyard is a test lane. It does not get ladder tries.
  • Approved = done and a Mac ping. All tries rejected = gave up, ping, hand off with /sh-rejected-ad-handoff.
Guards
  • No spend floor for scale ads.
  • 3 build failures on one ad = needs a human.
  • Every new ad: short url_tags, all AI features off, no Shop destination, read back.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Ladder tiers in the code
TierTriesLane
COPY1scale and tests
REFRESH2scale and tests
Read from ~/.local/share/sh-auto-vanilla/hopper.py. A ladder stops after 3 build failures (needs a human). Ledger right now: closed 235, done 295, gave_up 24, merged 3, open 57.
Change log
  • 11-06-2026: TPS20 = second TPS test account. Spillover: a retry whose home test account (TPS14 or TPS20) is at its limit is built in the other one's Ladder Spillover campaign, when that one is under its limit. auto_vanilla never kills that campaign or registers its ads as new ladders. Code hopper.py + auto_vanilla.py, baks *.bak-1106-spillover.
  • 11-06-2026 PM: the generic "Ladder Spillover" campaign was killed by Matt ($0 spent). Spillover now MIRRORS the home campaign (name with code swapped + " - ReTest") and only the rejected ad sets / ads. Baks *.bak-1106-mirror.
  • 11-05-2026: Live-test duplicate-first vanilla hold removed from auto_vanilla.py + hopper.py. Every rejected ad is vanilla'd right away; only the try waits on the account limit.
  • 11-04-2026: AdRefresh Light first. Medium only if Light is rejected.
  • 10-29-2026: Ladder v2. SAME, EXACT and COPY tiers retired. AdRefresh with a small copy edit. Per-account limit 20 / 48h seasoned, 3 new.
  • 10-19-2026: Live tests: duplicate first, before vanilla or kill. (retired 10-29 / hold removed 11-05)
  • 10-19-2026: Extended to test campaigns (not Graveyard).
  • 10-14-2026: SAME x2 added before the rest (SAME tier retired 10-29). $5k floor removed for scale ads.
  • 10-12-2026: Hopper built.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

16. All ads rejected = kill

Live, acts on its own
Owner~/.local/share/sh-auto-vanilla/auto_vanilla.py (kill_all_rejected_campaigns)
Schedulecom.matt.sh-auto-vanilla hourly at :40 (--camp-kill-yes). com.matt.sh-auto-vanilla: loaded
ApprovedMatt, 10-06-2026 · Last changed11-10-2026 · Registry fileProgrammatic Rules/all-rejected-kill.md
What it decides

When a whole campaign or ad set is killed because every ad in it is off for rejection.

Rule
  • Matt: "when all ads are off in a camp for rejections kill the campaign level."
  • Every ad off for rejection (DISAPPROVED, or vanilla-swapped and paused) = KILL the campaign: pause and strip [ON].
  • Same at the ad set level (10-13-2026).
  • An ad set where every ad is [VNL] is killed even when no ad is DISAPPROVED. An ACTIVE [VNL] ad is a puppy warm-up post and counts as off (11-10-2026). Test campaigns only, incl. "Combined Tests" (plural). In a scale campaign it is listed for the morning audit, never killed.
Guards
  • An ad with an open rejected-ad ladder entry (open, merged, or a try in review) keeps its ad set and campaign from the kill. Matched by ad id, so it holds after the in-place vanilla (11-05-2026).
  • Unseen rejected ads are registered with the ladder before kills are graded.
  • Ad sets a person killed are skipped.
  • Any non-[VNL] ad that is ACTIVE, plain paused, or in review keeps the ad set. A [VNL] ad in review (PENDING_REVIEW / IN_PROCESS) also keeps it.
Live numbers (read from the code at 11-11-2026 09:02 CT)
This rule has no numeric thresholds to read. The words above are the rule.
Change log
  • 11-10-2026: All-[VNL] ad sets are killed, not only ones with a rejected ad. Trigger: SCR5 Combined Tests, Okinawa Village VID692 ad set stayed [ON] with one ACTIVE [VNL] puppy ad, because an ACTIVE [VNL] ad was counted as live. Kill write also drops a dead shared audience (Meta subcode 1870065) that blocks every ad set write.
  • 11-05-2026: Duplicate-first hold removed. Live-test rejects are vanilla'd right away; open ladder entries still block the kill.
  • 10-19-2026: Duplicate-first hold for live tests. (retired 10-29 / hold removed 11-05)
  • 10-13-2026: Live hourly. Ad set level added.
  • 10-06-2026: Set by Matt.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

17. Test task disposition (killnote)

Live, acts on its own
Owner~/.local/share/sh-killnote/killnote.py
Schedulecom.matt.sh-killnote 22:00 CT nightly, with --recheck-fails. com.matt.sh-killnote: loaded
ApprovedMatt, 09-08-2026 · Last changed10-13-2026 · Registry fileProgrammatic Rules/test-task-disposition.md
What it decides

When a dead test's ClickUp task gets its performance note and moves to fail or scale.

Rule
  • Dead = [ON] or [WKD] stripped from the campaign name, or the campaign PAUSED with no later revive.
  • It must read dead on two runs some hours apart before anything is written.
  • Missed target = FAIL, unless one of its creatives is live in a dedicated scale campaign. Then it is SCALE.
  • Hit target = the note is posted, the status is left alone, and Matt gets a Telegram.
  • The nightly run re-checks tasks already in fail and moves graduates to scale.
Guards
  • PAUSED is ignored in the night window (23:00-04:30 ET), when everything reads paused.
  • Nothing is written while any ad set under the task still carries [ON] and reads ACTIVE.
  • Skipped while any live campaign carries the same angle (unless another task owns it or it is a scale camp).
Live numbers (read from the code at 11-11-2026 09:02 CT)
Settings in the code
SettingValue
Dead on two runs at least this far apart20h
Scale bar (ad or ad set)10 sales at target
Held task alert after7 days
Read from ~/.local/share/sh-killnote/killnote.py. Targets come from its BM table (shown under the scale queue rule).
Change log
  • 10-13-2026: TPS $90 in the benchmark table OK'd by Matt.
  • 09-25-2026: Ad-set arm gate and scale-home check.
  • 09-08-2026: Kill signal and sibling bar set by Matt.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

  • 11-10-2026: A hit-target test whose creative is in a scale campaign (live scale index, then RedTrack 45d) moves to scale with "Scaled: ..." added to the note. Was left in launched for Matt. Earthling added (CPA $47, IC $39, CPC $2.06).
  • 11-10-2026 — RT match uses the campaign that spent (Matt: "of course, we need to use the campaigns that actually had spend"). rtmatch.match(spend=) now picks: same-date paid exact > same-date paid initials-insensitive > same-date paid name that extends the task name (RT "... - ABO - Broad") > paid twin on another date > one same-date same-offer paid name at >=0.6 similarity. A $0 twin never wins over a paid one. IMG/VID/ABO/CBO etc. are no longer dropped as "initials" (that made an IMG test match its VID sibling). RT window reaches back to the oldest task being noted. 40 tasks wrongly skipped as "no RedTrack spend" were reopened 11-10; 34 matched real spend, 6 truly never spent ($0 on Meta too).
  • 11-10-2026 — hit needs 5 sales. HIT_MIN_SALES = 5 in killnote render(). Under 5 sales a test is graded as a miss, never "hit target — left for Matt". Same day: 5 stale hit-target tasks closed to fail (graded vs today's target), RJV Client Went Missing VID 614 -> scale (Matt approved the scale build). ProDenta Hook Cards Fix task linked to the 11.09 Hook Cards campaign (its fixed videos run there).
  • 11-10-2026 — ad-set level, always (Matt: "we base it off the ad set level... if even one ad set hits target and looks good, we count that as scaled"). Hit-target tests with no scale home now also run gate 3 (an ad or ad set at target on 10+ sales = scale). The RT ad-set read now reaches back to the oldest test being noted (was a fixed 45 days, so gate 3 was blind on older tests). Audit of the 42 tasks failed 11-10: TestoGreens Honest Story + RJV B/A VID 367 moved to scale.

18. Combined Test (Evolve-style) = hands off

Live, acts on its own
Owner~/.claude/skills/sh-shared/combined_test.py (is_combined_test) + a guard in each job below
ScheduleEvery run of each guarded job
ApprovedMatt, 11-09-2026 · Last changed11-10-2026 · Registry fileProgrammatic Rules/combined-test-exempt.md
What it decides

Which automations may act on a "Combined Test" campaign. First one: 11.10.26 - TPS - TPS20 - RC - Top 5 - Combined Test - CBO - HV (TPS20), first spend 11-10-2026 00:00 ET.

Rule

Matt 11-09-2026: the campaign runs 24/7 (no [ON] tag). Buyers do not touch it. It is judged Evolve-style: 7 days, share of spend at target, ad-set turn-offs by hand.

Match = the words "Combined Test" in the campaign name (whole word). "Combined TESTS" (the SCR5 shared test campaign) is a normal test campaign. It does NOT match.

SKIP (never acts on it):

  • Day-1 auto-kill (intraday_kill.py) and the day-2 ladder (day2_ladder.py: not graded, not written).
  • Auto surf hourly + nightly raise, and buyer sh-surf (double_winners.in_scope).
  • Graveyard (logic.is_test_abo).
  • Rejection ladder: hopper consider(), sweep_test_winners(), live-test ladder, test slots, spillover (hopper.ladder_test_camp).
  • auto_vanilla all-rejected campaign / ad-set kill.
  • Tracking auto-pause (server). The tracking alerts still post.
  • Night shutoff backstop (verify_shutoff.py) and the TPS20 Meta rule "Nightly ALL campaigns OFF 11:30pm ET (Matt)" (filter campaign.name NOT_CONTAIN "Combined Test").
  • sh-engine decide loop (hold exempt_combined_test, sales cap rule runs through) and the sh-clip shadow list.
  • LANDER CHECK mixed-RT-campaign HIGH (lander_match.py; also alerts.py ISSUES and the refresh_now --glance table). The ads keep their source tests' RT links by design. Matt 11-10: "That's normal. I don't need to know about that."

KEEP (still acts on it):

  • Sales cap (/sh-sales-cap): when the TPS cap hits, it is paused like every TPS campaign.
  • auto_vanilla swap of rejected ads (account health).
  • ai_off sweep.
  • LANDER CHECK real checks on every RT campaign the ads use: offer domain, page loads, offer split, and each lander must be the offer's control (template arms) or a lander the source test's task names.
Guards
Live numbers (read from the code at 11-11-2026 09:02 CT)
This rule has no numeric thresholds to read. The words above are the rule.
Change log
  • 11-09-2026: created (Matt).
  • 11-10-2026: lander_match.py skips the mixed-RT-campaign HIGH on Combined Test camps (false HIGH on TPS20 120249911507500625, 18 RT links). Other lander checks kept; new control/source-task lander check added. alerts.py drops stale saved mixed-RT rows. Backups *.bak-1110-combinedtest (Matt).

18. Offer targets

Live, acts on its own
Ownermedia-buying-hub-scripts/update_offer_targets.py (OVERRIDES + RedTrack offer names)
Schedulecom.matt.sh-hub-targets about every 2h (05:00-22:05 CT) and com.matt.sh-hub-all 06:30 and 14:30 CT. com.matt.sh-hub-all: loaded com.matt.sh-hub-targets: loaded
ApprovedMatt / client, 10-20-2026 · Last changed10-30-2026 · Registry fileProgrammatic Rules/offer-targets.md
What it decides

The CPA or ROAS target every other rule grades against.

Rule
  • The target is read from the RedTrack offer object name (for example "FB - CPA - $96").
  • An override that Matt or the client set directly wins over the name until RedTrack is renamed to match.
  • The Offer Targets sheet is the source. double_winners, sh-intraday-kill and others read it.
  • Some scripts also keep their own copy of the targets. The table below shows them side by side so drift shows up.
Guards
  • On a conflict between offer objects the resolver takes the lowest target. TPS is pinned by override for that reason.
  • Offers under 10 purchases in 7 days are marked Low volume, not judged.
Live numbers (read from the code at 11-11-2026 09:02 CT)
Target per offer, and every copy of it in code
OfferOffer Targets sheetOverridedouble_winners fallbackscale_candidateskillnote BMmb_auditDay-1 budget CPAbenchmarks.json CPA
TPSCPA $84CPA $84Matt, 10-30-2026$84$84$84$84$84$84
RJVCPA $92CPA $92Client (via Matt), 09-21-2026$92$92$92$92$92$92
SCRROAS 1.50ROAS 1.50Matt, 10-22-20261.501.501.50$147$160$147
TFCCPA $85—$85$85$85$85$85$85
REACPA $110CPA $110Client (via Matt), 11-06-2026$110$110$110$110$110$110
SSCCPA $85—$85$85$85$85——
BRTnot live on sheet—$90$90$90———
OSTEOCPA $150—$150$150$150$150—$150
OLAVITACPA $70—$70$70$70$70$70$70
CLOUD9not live on sheetROAS 1.30Matt, 11-05-20261.301.301.30$96$100—
PRODENTAROAS 1.35—$120$1201.35$120$120$120
The sheet column is what the hub shows and what double_winners and sh-intraday-kill use. A yellow cell is a copy in code that does not match the sheet. Some are on purpose: SCR is a ROAS offer, so mb_audit, benchmarks.json and the day-1 budget use a CPA for it (budget CPA $160, grading CPA $147 = $220 AOV / ROAS 1.50 from 10-22-2026). Read from the baked sheets/offer-targets.html, update_offer_targets.py OVERRIDES, and each script's own table.
Change log
  • 10-30-2026: TPS $90 to $84 (Matt: client official target is $80, could land ~$85; $84 keeps us under $85). Day-1 TPS budget 2x = $168. IC line ~$28. Bid caps, ROAS floors and the graveyard $90 bar did not move.
  • 10-27-2026: TPS $85 back to $90 (Matt). Day-1 TPS budget back to 2x = $180. IC line ~$30. Bid caps, ROAS floors and the graveyard $90 bar did not move.
  • 10-26-2026: TPS $90 to $85 (Matt). Day-1 TPS budget follows (2x = $170). Bid caps, ROAS floors and the graveyard $90 bar did not move with it.
  • 10-22-2026: SCR ROAS 1.70 to 1.50 (Matt). Implied CPA $129 to $147. Bid caps and floors are separate and did not move with it.
  • 10-20-2026: SCR ROAS 1.40 to 1.70 (Matt: "SCR target is now 1.7 ROAS"). Bid caps and floors are separate and did not move with it.
  • 10-20-2026: TPS $93 to $90 (Matt).
  • 09-23-2026: SCR ROAS 1.40 and REA CPA $128 (client via Matt).
  • 09-21-2026: RJV $92 (client via Matt).

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

19. Scale-lane benchmarks

Manual / on request
Owner~/.claude/skills/sh-mb-audit/benchmarks.py -> ~/.local/share/sh-mb-audit/benchmarks.json
ScheduleOn request. Refresh weekly or when a target changes. mb_audit.py flags it at 7 days old.
ApprovedMatt, 09-29-2026 · Last changed10-08-2026 · Registry fileProgrammatic Rules/scale-lane-benchmarks.md
What it decides

The yardstick (IC CPA, link CPC) that tests are graded against, per offer.

Rule
  • Matt: "use the scale averages as the benchmark for CPC."
  • The benchmark is the spend-weighted average of SCALE campaigns that HIT the offer's own target, over the last 14 days.
  • Campaigns under $500 spend or under 5 sales are ignored.
  • If no scale campaign hit target in the window, the scale_miss lane is used and marked as such.
Guards
  • Ratchet: a refresh may tighten the benchmark freely but may loosen it by at most 10% vs the last one.
  • A rebuild that comes back empty (code 17) never overwrites the file.
  • sh-intraday-kill and mb_audit read this file.
Live numbers (read from the code at 11-11-2026 09:02 CT)
benchmarks.json right now
OfferTarget CPASourceScale-hit IC CPAScale-hit link CPCScale-hit spendTest-hit IC CPABench IC CPABench link CPC
TPS$84scale_hit$30$0.96$547,911$37$30$0.96
SCR$147scale_hit$18$1.15$50,963$23$18$1.15
RJV$92scale_hit$32$0.80$77,493$30$32$0.80
TFC$85scale_miss (no at-target scale camp in window)————$55$1.29
REA$110scale_miss (no at-target scale camp in window)——————
OSTEO$150scale_hit$42$1.30$587—$42$1.30
PRODENTA$120scale_miss (no at-target scale camp in window)————$54$1.95
OLAVITA$70scale_miss (no at-target scale camp in window)——————
Window 2026-10-27 to 2026-11-09. File written 11-10-2026 06:04 (27h ago). Read from ~/.local/share/sh-mb-audit/benchmarks.json. Offers not listed have no benchmark yet.
Change log
  • 10-22-2026: SCR target CPA $129 to $147 (ROAS 1.50 on $220 AOV; Matt's target change). benchmarks.json target_cpa edited by hand; lanes not re-run.
  • 10-20-2026: SCR target CPA $157 to $129 (ROAS 1.70 on $220 AOV); benchmarks re-run (Matt's target change).
  • 10-08-2026: Ratchet added.
  • 09-29-2026: Built.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

20. Intraday shadow calls (clip, kill, raise, cut)

unknown status: live-list-only (clips LIVE from 11-11-2026 via sh-clip-live, see CHANGELOG 11-10-2026)
Owner~/.local/share/sh-shadow/rules.py (decisions) + shadow_run.py; graded by grade.sh / grade_report.py
Schedulecom.matt.sh-shadow-run hourly 09:00-21:00 CT. Grade: com.matt.sh-shadow-grade 07:00 CT. No writes. com.matt.sh-shadow-grade: loaded com.matt.sh-shadow-run: loaded
ApprovedMatt, 10-12-2026 · Last changed10-12-2026 · Registry fileProgrammatic Rules/intraday-shadow-calls.md
What it decides

What the bot WOULD do during the day (clip, kill, raise, cut, lander split, offer split), so it can be graded against what Matt and the buyers really did.

Rule
  • The bot makes its calls each hour and logs them. It never writes.
  • Each morning the calls are graded against what Matt and the buyers did. Match = same action on the same cell the same day; budget size within 25%.
  • Where written rules conflict, both versions (A and B) are computed and logged, and the data shows which matches Matt.
  • Test kill gates are not written twice. They call mb_audit's own kill gates (rule 13).
  • Proposed go-live bar: a rule writes live only after 2 weeks at 95%+ match with every miss explained. One rule at a time.
Guards
  • Read only. Nothing here changes a budget, a status or a name.
  • SSC and BRT are left out (maintenance offers).
Live numbers (read from the code at 11-11-2026 09:02 CT)
Targets the shadow rules use
OfferTarget in shadow_lib.pyIC line
TPSCPA $84benchmarks.json, else target / 3
RJVCPA $92benchmarks.json, else target / 3
SCRROAS 1.50 (CPA = 7-day AOV / ROAS)$24
REACPA $110benchmarks.json, else target / 3
TFCCPA $85benchmarks.json, else target / 3
AkkaROAS 1.40 (CPA $107)$45
OSTEOCPA $150benchmarks.json, else target / 3
OLAVITACPA $70benchmarks.json, else target / 3
PRODENTAROAS 1.35 (CPA $120)$40
CLOUD9ROAS 1.30 (CPA = 7-day AOV / ROAS)benchmarks.json, else target / 3
Read from ~/.local/share/sh-shadow/shadow_lib.py.
Last grade: 2026-11-09
Rule | call | variantCellsMatchBothBot onlyHuman only
clip|clip_bad_offer|-1016%4059
clip|clip_noon_scale|-3917%3015
clip|clip|A10157%441419
clip|clip|B10142%30833
cut|bad_day|A3335%682
cut|bad_day|B3350%440
cut|cut_hard_miss|-10125%475
kill|day1_0ic|A260%002
kill|day1_0ic|B260%0112
kill|kill_scale_young|-40%020
kill|scr_kill|A50%005
kill|scr_kill|B560%302
kill|test_kill|-3150%927
raise|raise|doubling:A10116%5617
raise|raise|doubling:B10126%8617
Last row of ~/.local/share/sh-shadow/data/grade_history.jsonl. The proposed go-live bar is 95%+ match for 2 weeks.
Change log
  • 10-12-2026: Shadow mode set up (Matt). Matt only for week 1, then the buyers.

Live numbers for this rule are read from the code at bake time and shown on the hub page, not here.

21. Clip: scale noon sweep

unknown status: shadow
Owner~/.local/share/sh-shadow/rules.py (new_clip_rules) + shadow_run.py; graded by shadow_grade.py / grade_report.py
Schedulecom.matt.sh-shadow-run com.matt.sh-shadow-run: loaded
ApprovedMatt, 11-04-2026 · Last changed11-04-2026 · Registry fileProgrammatic Rules/clip-noon-scale-sweep.md
What it decides

Whether to CLIP a scale cell at midday on a bad offer day. CLIP = pause, keep [ON]. The 04:00 ET revive brings it back tomorrow.

It copies the one edge the buyers had in the 22-day clip study (10-12 to 11-02): they sweep scale campaigns at 12:00-13:00 ET on bad offer days, before the shadow's 0.75x target spend line.

Rule

All must be true:

1. The cell is an ad set (ABO) or a CBO campaign in a live [ON] SCALE campaign (BC / ROAS / HV / All Winners). Not a test. Not Graveyard.

2. Run time is 12:00-14:59 ET (runs at 12, 13 and 14 ET).

3. The offer is over target today. RedTrack, settled (newest 2 hours dropped). CPA offers: CPA > target. SCR: ROAS < 1.50.

4. The cell today is over target, or has 0 sales.

5. Cell spend today >= 0.3x target (TPS $25, RJV $28, REA $38, TFC $26, SCR ~0.3x its AOV/1.50 CPA).

Then: CLIP (pause, keep [ON]).

Guards
  • Proven cell (10+ lifetime sales, lifetime at or under target): clip only when today is over target on a real read (1+ sale, or 0 sales on 1x target spend).
  • Offer in a Sunday hold or a sales-cap hold: skip (holds.json + sh-sales-cap history.jsonl).
  • One clip per cell per day (data/newclips-YYYY-MM-DD.json).
  • Never a cell already paused or clipped on Meta at the run, or killed today by the day-1 auto-kill (sh-intraday-kill/kills.jsonl).
  • CBO campaigns are clipped as one cell. The shadow reads CBOs at campaign level, not per ad set.
  • SHADOW: list only. No Meta, RedTrack or ClickUp writes. Goes live on the server at the Friday cutover.
Live numbers (read from the code at 11-11-2026 09:02 CT)
no reader named "false" in update_programmatic_rules.py
Change log
  • 11-04-2026: Added in shadow (Matt). From the 11-03 clip study. Rule id clip_noon_scale, family clip, variant '-'.
  • 11-04-2026: Replay 10-12..11-02 (Akka left out of outcomes; RT undercounts it): 299 clips (SCR 115, TPS 67, Akka 55, RJV 30, TFC 18, OSTEO 11, REA 3). Outcome: 95 right, 41 wrong, 108 unclear (cell stopped spending). 134 on cells clip A never clipped, 34 earlier than clip A. Fixed-grader match 20% (buyers clip many more scale cells than the rule's window covers).

Related: clip-bad-offer · intraday-shadow-calls · Intraday System Design 11-03-2026

21. Day 2+ test kill ladder (live for rungs 1/4/4P, list only for the rest)

unknown status: live for rungs 1/4/4P; list-only for the rest
Owner~/.claude/skills/sh-intraday-kill/scripts/day2_ladder.py + day2_backtest.py + test_day2_ladder.py (imports common.py read-only)
Schedulecom.matt.sh-day2-nightly 22:50 CT (day2_nightly.sh, --nightly --variant v3C --yes) + morning audit Leg L run (sh-morning-audit/run_morning.sh, DAY2_LADDER_LIST=1, v3C, --yes). Writes only rungs 1/4/4P. com.matt.sh-day2-nightly: loaded
ApprovedMatt (rungs and guards, chat 10-21-2026), 10-21-2026 · Last changed11-04-2026 (rungs 0/2 need IC not on target; LIVE writes for rungs 1/4/4P) · Registry fileProgrammatic Rules/day2-test-kill-ladder.md
What it decides

For every live [ON] TEST ABO ad set past its first spend day: KILL, CUT 50%, HOLD, WATCH or KEEP. From 11-04-2026 a KILL on rung 1, 4 or 4P is written to Meta (ad set paused + [ON] stripped, one Graph POST, logged to kills.jsonl). Every other KILL prints "KILL (list only)" and is not written. Nothing goes to RedTrack or ClickUp. Full rules as coded, today's list and the backtest: ~/.claude/skills/sh-intraday-kill/DAY2_LADDER.md.

Rule

T = offer target CPA (SCR: ROAS 1.50, CPA $147 for spend gates, from 10-22-2026; was 1.70 / $129). E_IC and the CPC kill line come from common.py (20% margin). "IC not on target" = under 2 ICs, or IC CPA over 1.3x E_IC. Lifetime, settled data. First KILL wins.

Rungs 1-3 are one-time checkpoints (v2): each is judged once, on the run where settled spend first reaches its line.

0. (v3C) At the 1x T checkpoint, 0 sales AND IC not on target: kill (list only). IC on target = WATCH "IC on target, held" (11-04-2026).

1. At the 1x T checkpoint, IC not on target: kill. LIVE.

2. At the 2x T checkpoint, under 2 sales AND IC not on target: kill (list only). IC on target = WATCH "IC on target, held" (11-04-2026).

3. At the 3x T checkpoint, CPA over T: kill.

4. Past 3x T, CPA over 1.05x T: kill. 10+ sales = "proven: graveyard candidate" label (rung 4P). LIVE (4 and 4P).

5. Bad day = full day, spend 0.75x T or more, 0 sales or CPA over 1.5x T. Clipped days and offer bad days skipped. 1 bad day = CUT 50% (list only). 2 in a row = kill.

6. IC blow-up 2 full days in a row (each 2x E_IC spend, day IC CPA over the larger of 1.5x its own 7 days and 1.75x E_IC): kill, unless the 2-day CPA is at target.

7. Link CPC over the kill line and IC not on target, lifetime and the last full day, 50+ clicks: kill.

8. Day 3+: its VID / IMG already runs in a live scale campaign, and CPA over 1.05x T (SCR ROAS under 1.43; was 1.62 at the 1.70 target): kill.

9. Day 5+: CPA over T and never a full day at target: kill.

Rungs 3, 5, 6, 7, 8, 9 and the lucky-sale limit (1L / 2L / 7L) are list only.

Live subset (11-04-2026): --yes writes only rungs in LIVE_RUNGS (1, 4, 4P; env SH_DAY2_LIVE_RUNGS or scripts/day2_live_rungs.json). --dry-run re-reads but sends no POST. Graph only, never the MCP. Code 17 on a write: wait and retry up to 3 times, then "KILL (not written: code 17)" and no more calls to that account. Write lock shared with the day-1 job. Every live-rung call is logged to ~/.local/share/sh-intraday-kill/kills.jsonl with the rung and the numbers seen.

Proven cap (10-28-2026): a cell with 10+ lifetime RT sales is judged on lifetime CPA / ROAS only. Rungs 0, 1, 2, 3, 6, 7 and the lucky-sale limit are off. Only rung 4 (CPA over 1.05x T), rung 5 (bad days), rung 8 (scale overlap, 1.05x line) and rung 9 can fire. The call text says "proven (N sales): IC/CPC rungs off".

Guards
  • CPA at target (SCR ROAS 1.50+) blocks rungs 1, 6 and 7.
  • 10+ lifetime sales (proven) blocks rungs 0, 1, 2, 3, 6, 7 and the lucky-sale limit.
  • Lucky-sale limit: at the 2x T checkpoint, a cell at target CPA with IC and CPC both out of range is killed (one check).
  • Close call (within 10% of the line): Meta and RT must agree (spend within 5%, sales within max(1, 5%)), else HOLD.
  • HOLD, never kill: live private-stream lander split, open rejected-ad hopper entry, new offers in NO_KILL_OFFERS (Olavita, Cloud9; ProDenta removed 11-10-2026).
  • Settled data only. Fresh data can only save. Ad-set level only. Paused campaigns are skipped (nightly: [ON] ones paused by the 23:30 shutoff count).
  • FAILED READ / STALE DATA (11-03-2026) blocks the call AND the write.
  • No live write on a --cached run, an --asof more than 3 h old, a busy write lock, or after 2 write failures in a run.
Live numbers (read from the code at 11-11-2026 09:02 CT)
no reader named "rungs 1, 4, 4P = LIVE (pause + strip [ON], Graph, --yes; LIVE_RUNGS in scripts/day2_live_rungs.json). Rungs 0, 2, 2L/1L/7L, 3, 5, 6, 7, 8, 9 and CUT 50% = list only." in update_programmatic_rules.py
Change log
  • 11-04-2026: (1) rungs 0 and 2 need "IC not on target" (rung 1's test), every offer; IC on target = WATCH "IC on target, held". Trigger: SCR VID685 (8 IC at $22.72 on $182) and IMG2759-2761 (24 IC at $13.47 on $323) were called KILL with 0-1 sales and went on to 19 sales at ROAS 2.03 and 9 sales at ROAS 1.84. (2) LIVE for rungs 1, 4, 4P (--yes on the nightly and morning Leg L); all other rungs list only. Code 17 on a write = wait/retry 3x, then not written. Stale-data guard blocks writes. (Matt approved 11-04-2026.)
  • 11-03-2026: cache fix + freshness guard. Cache keyed by run start, not ET date (a nightly retry after midnight was reused by the next night: 10-29, 22 KILLs on stale RT). Offers with stale/empty RT or an unread Meta account print 'FAILED READ / STALE DATA, no calls for <offer>' and get no KILL/CUT calls. No rung changed; still list only.
  • 10-28-2026: proven cap. 10+ lifetime RT sales = only rung 4 (1.05x T), rung 5 (bad days), rung 8 (scale overlap) and rung 9 apply; rungs 0-3, 6, 7 and the lucky-sale limit off. Trigger: SCR VID670 (110 sales, ROAS 1.47) was flagged by rung 7 on CPC $1.87 vs $1.72. Replay of the 10-28 list: VID670 KILL -> WATCH, no other call changed. (Matt approved in chat 10-28-2026.)
  • 10-21-2026: v3 is the default (v2 + rung 8 on the rung 4 line, Matt). Early no-sale checkpoint backtested: 0 sales at 1.5x / 1.25x / 1x T. 1x T (v3C) catches 13 of 40 buyer-only kills, no new false kills; recommended. Morning-audit Leg L written, disabled.
  • 10-21-2026: v2: rungs 1-3 one-time checkpoints (day-1 checkpoints judged on the first day-2 run), lucky-sale limit one check at 2x T, close-call sales match max(1, 5%). Backtest: 120 kills, 4 false kills (v1: 119, 5). v2b (rung 1 IC 1.5x) tested, not better.
  • 10-21-2026: built, list only, with a 7-day backtest. Not scheduled. (Matt approved the ladder in chat 10-21-2026.)

Related: Kill Doctrine · day1-intraday-kill · kill-order

22. Clip: bad offer day and week

unknown status: shadow
Owner~/.local/share/sh-shadow/rules.py (new_clip_rules) + shadow_run.py; graded by shadow_grade.py / grade_report.py
Schedulecom.matt.sh-shadow-run com.matt.sh-shadow-run: loaded
ApprovedMatt, 11-04-2026 · Last changed11-04-2026 · Registry fileProgrammatic Rules/clip-bad-offer.md
What it decides

Whether to CLIP any live cell when the offer is off for the day and the week. CLIP = pause, keep [ON].

Rule

All must be true:

1. The cell is any live test or scale cell (ad set in ABO, campaign in CBO). Not Graveyard.

2. Run time is 12:00 ET or later.

3. The offer is over target today (RedTrack, settled, newest 2 hours dropped) AND week-to-date (Monday through now). CPA offers: CPA > target. SCR: ROAS < 1.50. On a Monday, week-to-date = today.

4. Cell spend today >= 0.5x target (TPS $42, RJV $46, REA $64, TFC $43).

5. The cell today is over target, or has 0 sales.

Then: CLIP (pause, keep [ON]).

Guards
  • Proven cell (10+ lifetime sales, lifetime at or under target): clip only when today is over target on a real read (1+ sale, or 0 sales on 1x target spend).
  • Offer in a Sunday hold or a sales-cap hold: skip (holds.json + sh-sales-cap history.jsonl).
  • One clip per cell per day. If clip_noon_scale clips the cell in the same run, this rule holds.
  • Never a cell already paused or clipped on Meta at the run, or killed today by the day-1 auto-kill (sh-intraday-kill/kills.jsonl).
  • SHADOW: list only. No Meta, RedTrack or ClickUp writes. Goes live on the server at the Friday cutover.
Live numbers (read from the code at 11-11-2026 09:02 CT)
no reader named "false" in update_programmatic_rules.py
Change log
  • 11-04-2026: Added in shadow (Matt). From the 11-03 clip study. Rule id clip_bad_offer, family clip, variant '-'.
  • 11-04-2026: Replay 10-12..11-02 (Akka left out of outcomes): 527 clips (SCR 266, RJV 96, REA 42, TFC 39, Akka 35, TPS 22, OSTEO 14, PD 7, Cloud9 4, Olavita 2). Outcome: 124 right, 36 wrong, 332 unclear (cell stopped spending, mostly buyer clipped too: 432 BOTH). 36 on cells clip A never clipped, 132 earlier than clip A. Fixed-grader match 20%.

Related: clip-noon-scale-sweep · intraday-shadow-calls · Intraday System Design 11-03-2026

23. Morning ISSUES (every potential problem in one table)

Live, list only
Owner~/.claude/skills/sh-morning-audit/alerts.py
ScheduleMorning audit 06:00 CT (com.matt.sh-morning-audit), reply 1 of the chat walk-through, and by hand. com.matt.sh-morning-audit: loaded
ApprovedMatt, 11-05-2026 · Last changed11-05-2026 · Registry fileProgrammatic Rules/morning-issues.md
What it decides

Nothing is written. It lists every potential problem in one table, so Matt can troubleshoot from one place.

It is the first section of the morning audit, after OFFER SNAPSHOT and CAPS.

Rule
  • Matt 11-05-2026: "we want a section that's all the potential problems. We just want to spot them all at once in one area of the audit."
  • RT COST GAP (new 11-05-2026): a Meta campaign with $50+ spend where RedTrack cost (sub3 = FB campaign id) is under 50% of the Meta spend. RT cost $0 = HIGH. Yesterday full day and today so far.
  • Today is read only once the offer is 2h past its revive (04:00 ET, SCR 06:00 ET). RT cost posts about 30 min behind Meta (11-05: 0.94-0.98 of Meta on connected campaigns today, 0.99-1.00 yesterday).
  • NO RT CLICKS: $50+ spend, 0 RT clicks. RT CLICK GAP: RT clicks under 50% of Meta link clicks on 100+ link clicks.
  • NO IC: 0 IC at 5x expected IC cost (10x = HIGH). NO SALES: 0 sales at 3x target CPA. Akka uses the one RT CPA target $170 (was $107).
  • LOW LANDER CTR: under 10% on 100+ RT clicks and $50+ spend. DEAD LANDER: one lander under 10% CTR on 150+ views (under 5% = HIGH). NO LANDER: 20+ clicks straight to the offer on an RT campaign not named Direct.
  • ZERO DELIVERY (new 11-05-2026): [ON] live campaign with live ads at $0, 3h+ after its revive, built in the last 2 days or $100+ spent yesterday. Bid-capped = WATCH.
  • ALL ADS REJECTED (new 11-05-2026): a live ad set in an [ON] campaign where no ad can serve.
  • HIGH CPC / CPM: test campaign at 2x+ the offer's scale-lane CPC / CPM = row; 1.5x-2x = one count line.
  • Folded in from other checks: lander_match.py HIGH rows (LANDER CHECK), split audit lander health (LANDER HEALTH), tracking_check.py breaks (TRACKING), a missing late build check.
Guards
  • Read-only. Never writes to Meta or RedTrack.
  • 0 RT clicks = NO RT CLICKS, not a cost row. Google / YouTube / GDN and page-like warm-ups are left out.
  • Dead or billing-blocked accounts ($0 today and yesterday) get no ZERO DELIVERY read.
  • A future name date or ad set start, or ads only in review = not ZERO DELIVERY.
  • 3+ ad sets in one campaign with the same issue = one row. Names only, never RT ids. Verify each HIGH in one call.
Live numbers (read from the code at 11-11-2026 09:02 CT)
This rule has no numeric thresholds to read. The words above are the rule.
Change log
  • 11-05-2026: Built from ALERTS (10-29-2026). RT COST GAP, ZERO DELIVERY, ALL ADS REJECTED added; lander check, lander health and tracking folded in; Akka line $107 -> $170. Trigger: OsteoShield Endocrinologist NN test, $317 on Meta by 08:42 ET with $0 RT cost, unseen by every leg.

Change log

DateRuleWhat changedApproved by
11-10-2026clip LIVE (sh-clip-live)CHANGED before go-live: (1) SCR's first purchase (ROAS) clip is 13:00 ET, not 12:00 (rules.json clip.live.purchase_from_et {default 12, SCR 13}); SCR 10:00 emergency + 11:00 IC unchanged. (2) The clip list is NEVER posted anywhere (no chat, DM or Telegram); run summary goes to ~/shadow/logs/sh-clip-live.out only, clip_live.py has no send code (clip.live.post false, buyer_chat null). Matt reviews the runs in chat. sh-engine 42e71c2, tests 23/23Matt
11-10-2026clip LIVE (sh-clip-live)NEW, LIVE from 11-11-2026: automated clips on the hour, server timer sh-clip-live HH:02 ET 10:02-22:02 ET, clip_live.py (sh-engine skills/sh-clip). Engine = sh-clip v1 on the FULL-DAY RT total (RT cost as spend). 10:00 emergency (spend >= 2x target, 2 more sales still miss) LIVE on test ad sets only; day-1 tests (cell day_no 1) listed 'Day-1 tests (auto-kill owns these)'; scale + graveyard listed 'Emergency list - buyer decides' (rules.json clip.live.emergency_scale false). 11:00 IC clip (3+ IC, IC CPA > IC line x1.10, purchase not at target). 12:00-22:00 every hour hard purchase clip (spend >= 1x target and 1 more sale still misses; SCR ROAS). Guards: purchase at target = keep; offer at target today + 7d = LEASH (no non-emergency clip); scale = campaign level only; international scale not before 15:00 ET; Combined Test / Combined Graveyard skipped; already paused / no [ON] / already clipped today / buyer or Matt touched / sales-cap stop day / failed read skipped; bot (auto surf) raise holds until 14:00 ET, buyer raise all day; proven + Olavita/Cloud9 can be clipped. Pause = Max's hands (GET, POST PAUSED, read back PAUSED + name unchanged, [ON] kept), spaced 4 s, code 17 = stop, 3 fails = stop. Ledgers: hands_ledger + engine ledger (actor clip-live, mode live). Calls logged to sh-clip/<date>.jsonl with live:true; grader keeps them apart from the shadow rows. Buyer message 'Clips HH:00 ET (auto)' built; NOT posted until Matt names the buyer chat (rules.json clip.live.buyer_chat null). Kill switches ~/shadow/state/sh-engine/CLIP_OFF, ~/shadow/state/max/HANDS_OFF. Shadow job kept as the v2 arm. Tests 21/21 + engine 35/35Matt
11-10-2026clip schedule (sh-clip v1+v2, sh-engine clip, Max)CHANGED: clip hours were one hour late. Correct schedule ET: 10:00 emergency, 11:00 IC clip, 12:00 purchase (hard) clip (was 11/12/13). IC and purchase clips are HARD LINES on the FULL-DAY RedTrack total, not settled hours. sh-clip clip_list.py HOURS 10/11/12; v2 IC/hard follow (11/12), v2 emergency 10:00 for all cells (proven cells no longer wait to 11:00), v2 streak stays 11:00 on settled hours. sh-engine rules.json clip.schedule_et {emergency 10, ic 11, purchase 12} + clip.ic_purchase_read full_day; rules/clip.py emergencies from 10:00, IC trigger from 11:00 and purchase scorecard from 12:00 on the full-day read, keep guard on the full day. Shadow timer (10:07-17:52 ET) unchanged. All still SHADOW / LIST ONLY. Tests 35/35Matt
11-10-2026day1-intraday-kill + day2-test-kill-ladder + all-rejected-kill + sh-engine exempt + MaxProDenta KILL EXEMPTION REMOVED (Matt: "ProDenta is not exempt from kills anymore"). ProDenta cells now get KILL calls and real kills like any offer: sh-intraday-kill common.NO_KILL_OFFERS = {OLAVITA, CLOUD9} (day-1 hourly auto-kill + day 2+ ladder); auto_vanilla all-rejected kill NO_KILL_OFFERS = {Olavita}; sh-engine rules.json offers.PRODENTA.no_kill false + exempt.no_kill_offers [OLAVITA, CLOUD9]; Max max.md ruling, max_hands NO_KILL, learned-store L026 conflict cleared. Olavita and Cloud9 exemptions unchanged. Backups *.bak-1110-pdkillMatt
11-10-2026 (budget-surfing-double-winners): AUTO SURF PULLED BACK (Matt: "we might be pushing a little bit too hard on some of these auto surfs"). Decisive cap 4x -> 3x. Headroom split by current budget: $200 or less keeps x1.5; over $200 = x1.125 (25% less). Floor (x2, +50% over $10k) and 2x-over-$10k cap unchanged. Trigger: Akka IMG236-238 11-10 $255 -> $920 (3.6x); under the new rule $690. Last 10 days: 18 of 158 hourly raises were over 3x. Backups *.bak-1110-cap3x.
11-10-2026all-rejected-killCHANGED: an ad set (any [ON] test campaign, incl. SCR5 "Combined Tests") where every ad is [VNL] and none can sell is KILLED hourly, even with no DISAPPROVED ad. Root cause: classify_adsets counted [VNL] only when PAUSED; an ACTIVE [VNL] puppy ad counted as live, so SCR5 Okinawa Village VID692 (120249689206210601) stayed [ON]. Safety kept: a non-[VNL] ad ACTIVE / plain paused / in review, or a [VNL] ad in review, keeps the ad set. Scale campaigns: listed for the morning audit, never killed. kill_adset now drops a dead shared custom audience (subcode 1870065) that blocks the pause. Okinawa ad set killed by hand 11-10 ~08:15 CT. Bak auto_vanilla.py.bak-1110-allvnlMatt
11-09-2026combined-test-exemptNEW: "Combined Test" campaigns (Evolve-style, TPS20 first; run 24/7, buyers hands off, judged over 7 days) are skipped by day-1 kill, day-2 ladder, auto surf + nightly + buyer sh-surf, graveyard, hopper ladder / test slots / spillover, auto_vanilla all-rejected kill, tracking auto-pause, night shutoff backstop, TPS20 'Nightly ALL campaigns OFF' Meta rule (NOT_CONTAIN filter), engine + clip shadow. KEPT: sales cap, auto-vanilla swap, ai_off sweep. 'Combined TESTS' (SCR5) is not matched. Helper sh-shared/combined_test.py, baks *.bak-1109-combinedtestMatt
11-07-2026: auto surf (hourly + nightly) never raises a KILLED campaign or ad set (paused/archived without [ON]). Clips still eligible. Matt.
11-07-2026: offer-raise-blocks - TPS block now Mon-Fri only (auto surf raises TPS Sat-Sun); buyers never blocked (sh-surf HARD-row block removed). Matt.
11-06-2026rejected-ad-ladderSPILLOVER REDESIGNED (Matt: "Any ad rejected should get published in its ad set and its campaign with the same name. Obviously, ads that weren't rejected, we don't need to publish again." + label them ReTest). The generic "[ON] TPS - TPS20 - Ladder Spillover - Test - ABO" camp is killed ($0). A spillover retry now goes into a mirror of its home test campaign in the other test account: same name, account code swapped, " - ReTest" at the end; same objective / ABO. Inside it, the rejected ad's home ad set mirrored (same name, budget, targeting, pixel, 7d click), only ad sets with a rejection, only the rejected ad's retry. One mirror per home campaign / ad set, reused. Buyer list mapped to the target account's own list. Ladder rules and the 20/48h limit unchanged. 5 tries in the killed camp voided (never rejected; not counted as rungs). auto_vanilla guard = ReTest suffix or spillover.json id. Baks *.bak-1106-mirror. TPS onlyMatt
11-06-2026rejected-ad-ladderNEW: SPILLOVER + TPS20 = second TPS test account (roster lane warm -> test). A ladder retry runs in its home test account; if that account is at its 48h rejection limit (20 seasoned / 3 new) and the other TPS test account is under its limit, the retry is built there, in ONE campaign per account "[ON] TPS - <code> - Ladder Spillover - Test - ABO" (ad set copies the home test ad set; ad keeps the original name and _OG tag). Both at the limit = wait. The limit counts each spillover in the account it is built in. auto_vanilla: no kill and no new ladder for the spillover campaign. New TPS tests (drafter, acct_codes.pick_test_account): the TPS test account with fewer new rejections in 48h, tie = alternate, sticky per task; a task title that names an account still wins. TPS onlyMatt
11-06-2026clip (sh-engine) proven guardCHANGED: a proven cell (10+ sales at target) is never KILLED on one bad day, but it CAN be clipped (Matt: "a proven seller with 10+ sales at target is never killed based on one bad day, but it can be clipped"). rules.json clip.fixes.clip_proven_two_bad_days true -> false (was: one bad day never clips, 2 bad days = HOLD Matt decides). Proven cells now run the normal clip rules; noon sweep + bad-offer still need a real read (over target with 1+ sale, or 0 sales on 1x T spend). Kills on proven cells still become clips (engine.py proven_guard). Engine still LIST ONLY. Tests 34/34Matt
11-05-2026rejected-ad-ladder + all-rejected-killDuplicate-first rules updated to the current ladder (Matt: "update the duplicate first rules"). Every rejected ad, test or scale, is vanilla'd right away. One AdRefresh Light try (small copy edit) per rejection; Medium only if Light is rejected. Per-account limit 20 rejections / 48h seasoned, 3 new: at the limit the try waits, the vanilla does not. No duplicate / same-post tier. Code hold removed same day (auto_vanilla.py + hopper.py, baks *.bak-1105-noduphold). Kill guard = open ladder entry by ad idMatt
11-05-2026morning-issuesNEW: morning audit ALERTS becomes ONE ISSUES table (Matt: "a section that's all the potential problems"). RT COST GAP added: Meta spend $50+ and RedTrack cost (sub3) under 50% of it, RT $0 = HIGH, yesterday + today (today 2h+ after the revive; RT cost lags ~30 min). Also ZERO DELIVERY ([ON] at $0 3h after the revive, new or $100+ yesterday) and ALL ADS REJECTED rows; lander_match HIGH, split-audit lander health and tracking_check breaks folded in as rows. Akka NO IC / NO SALES line $107 -> $170 (11-04 single target). List only, no writes. Trigger: OsteoShield Endocrinologist NN test $317 Meta / $0 RT at 08:42 ETMatt
11-04-2026budget-surfing-double-winnersONE-RAISE-PER-DAY guard REMOVED (Matt: "If it's working, we should keep it going"). Repeat rules back to 11-03: scale (non-HV) no daily max; tests/HV max 2 a day; each further raise 3h+ after the last raise by anyone + 90% pace trigger + every gate on settled data; nightly unchanged. Guards in = (a) spend >= 80% of budget pro-rated to the hour + settled pass, on every hourly raise incl. repeats (nightly keeps its 70% floor) and (d) over target today = no raise. No test cap. Auto surf ONMatt
11-04-2026budget-surfing-double-winnersAUTO SURF BACK ON (hourly + nightly; mode/nightly_mode live, both plists reloaded). Test cap (min 4x day-1 budget / 10x target CPA) REMOVED (Matt: a crushing cell must be able to keep doubling). Guards kept: (a) spend >= 80% of budget pro-rated to the hour + settled pass; (b) 1 raise per cell per day by anyone (activity log); (d) over target today = no raiseMatt
11-04-2026budget-surfing-double-winnersRUNAWAY FIX: auto surf hourly + nightly OFF (Mac com.matt.sh-auto-surf + com.matt.sh-nightly-raise unloaded, plists in ~/.local/share/sh-retired-jobs/*.paused-1104, config mode/nightly_mode off; the server never had an auto-surf timer). Trigger: SCR5 IMG2759-IMG2761 $150 -> $9,600 in 3 days (3 automation raises + 3 buyer raises via RedTrack) while it never spent over $983 a day. Four hard guards in double_winners.py (auto surf, nightly, buyer sh-surf plans) and the engine raise_surf.py (list only): (a) spend so far >= 80% of budget pro-rated to the hour AND the settled grade passes; (b) 1 raise per cell per calendar day by anyone, from the Meta activity log (2nd/repeat raises retired); (c) tests capped at min(4x day-1 budget, 10x target CPA; SCR $147) unless Matt raised by hand; (d) over target on the day (settled or all data, either basis) = no raise whatever the IC. Buyer sh-surf: (a)(b)(c) SOFT with a reason, (d) HARD. Auto surf stays off until Matt turns it onMatt
11-04-2026akka-target (surf, clip, graveyard, akka-intraday)Akka = ONE RedTrack CPA target $170, no range ("For Akka, use $170 as our main CPA target. We don't need a range."). Retires push $160 / hold $160-170 / pull $170 (11-01). At or under $170 = at target (raise rules may push); over $170 = over target (clip/cut/kill like any CPA offer). sh-engine rules.json offers.AKKA.target_cpa_rt 170 (rt_cpa_push/hold_band/pull and clip.akka_pull_cpa removed; core.py + clip.py read the one key); double_winners TARGET_OVERRIDE.AKKA 160 -> 170 (auto surf, nightly raise, sh-surf); sh-surf snapshot targets AKKA 170; akka_intraday.py calls AT TARGET / OVER. PostHog ROAS 1.40 settled read and day-1 budget CPA $125 unchangedMatt
11-04-2026sales-cap (sh-sales-cap)BUG FIX: each sale is labelled FB or Google by its RedTrack SOURCE (RT report group offer,source), not by which offer list holds the id. Since 11-02 18:02 ET the YouTube stream 'RM - GG YT - Skin (TPS, Hero) - GMG1' sends traffic to the TPS FB offer 6ab8949e, so the offer sat in both lists and every TPS sale counted as Google; FB late-sales rate learned 0% (pause would fire ~100-150 sales late). Offer lists still decide which offers count; cap total unchanged (TPS 11-02..11-04 2,514 = FB 2,225 + Google 289). Server TPS run state: cached purchase rates + per-day counts cleared so they relearnMatt
11-04-2026sh-engine decide loop (Day 2)NEW, LIST ONLY: engine.py walks every cell after each 15-min snapshot in the fixed order exempt -> kill -> clip -> cut -> raise -> move -> hold (rule modules: day-1 kill, day 2+ ladder v3C, sales cap, clip B + noon sweep + bad-offer, cut, scale pullback DRAFT, surf, graveyard/graduation). Proven cell kill -> clip. Report reports/latest.md with a DIFF vs old jobs and buyers; watchdog sh-engine-health. Clip flags per Matt 11-04: clip_akka_on_rt_cpa, clip_proven_two_bad_days (ask Matt), clip_no_cpc_only, clip_small_scale_no_cost_control, all ON in the engine. No Meta writes; old jobs unchangedMatt
11-04-2026repo split (infra)Three repos. sh-surf, sh-akka-intraday, sh-double-winners -> skyhouseco/sh-buyer-tools (shared with buyers; Mac com.matt.sh-buyer-tools-sync, server ~/sh-buyer-tools + sh-buyer-tools-codepull). sh-sales-cap, sh-daily-brief, sh-tracking-watch (+ sh-graveyard record copy) -> skyhouseco/sh-engine. Removed from sh-build-pipeline (git rm, tools/snapshot.sh, server make_units.py). Server ~/.claude/skills/<skill> = symlink to the clone; sh-daily-brief, sh-tracking-watch, sh-sales-cap-* units run from ~/sh-engine/skills. sh-lander-guard and sh-graveyard/scripts/mcp_read.py stay in the build repo (build code imports them). No rule logic changedMatt
11-04-2026sh-engine (infra)MOVED to its own repo skyhouseco/sh-engine; removed from sh-build-pipeline (repo folder, tools/snapshot.sh copy, server install/units/drift/health). Sync Mac ~/.local/share/sh-engine -> GitHub main (com.matt.sh-engine-sync) -> server ~/sh-engine (sh-engine-codepull). Snapshot timer unchanged (:00/:15/:30/:45), state ~/shadow/state/sh-engine unchanged. No rule logic changedMatt
11-04-2026clip_noon_scale + clip_bad_offerNEW, SHADOW (list only; live at the Friday server cutover): noon scale sweep (scale cells 12:00-14:59 ET, offer over today, cell over or 0 sales, spend >= 0.3x T -> clip) and bad-offer clip (any cell from 12:00 ET, offer over today AND week-to-date, spend >= 0.5x T, cell over or 0 sales -> clip). Guards: proven 10+ sales at target, Sunday/sales-cap holds, 1 clip/cell/day, skip paused or auto-killed. Grader fix: buyer KILL matches a CLIP, pauses 22:45+ ET and automation actors dropped; old vs fixed match side by sideMatt
11-04-2026day2-test-kill-ladderGOES LIVE for rungs 1, 4, 4P (pause + strip [ON] via Graph, --yes on the 23:50 ET nightly and morning Leg L; LIVE_RUNGS in day2_live_rungs.json); rungs 0, 2, 2L/1L/7L, 3, 5-9 stay list only. Rungs 0 and 2 now also need IC not on target (< 2 IC or IC CPA > 1.3x E_IC), all offers; IC on target = WATCH. Trigger: SCR VID685 / IMG2759-2761 killed on 0-1 sales with cheap ICs, then 19 sales ROAS 2.03 / 9 sales ROAS 1.84. Code 17 on a write: retry 3x then not written; stale-data guard blocks writesMatt
11-03-2026day2-test-kill-ladderCACHE FIX + FRESHNESS GUARD: cache keyed by run start (run id), not ET date, so a nightly retry past midnight is never reused next night (10-29: 22 KILLs on 1-day-old RT); nightly retries share one run id + pinned --asof. New guard: stale RT date, 0 RT rows with Meta spend, RT cost today < 50% of Meta spend today, or a Meta account unread -> 'FAILED READ / STALE DATA, no calls for <offer>', its KILL/CUT rows become HOLD. Rungs unchanged; still list onlyMatt
11-03-2026budget-surfing-double-winnersIC BENCH = RT ALL-SCALE: surf IC bench moves from the Meta-pixel at-target bench (benchmarks.json) to Meta spend / RT ICs over all scale campaigns, rolling 14d, rebuilt daily 07:45 ET (ic_bench_rt.py). Used with 5+ scale camps and $10k+ spend, else backstop 0.35x target; fixed OSTEO $30 / AKKA $90 unchanged. SCR $18 -> $20.31, TPS $30 -> $34.18, RJV $32 -> $37.17; TFC/REA/SSC thin -> backstop. Surf + buyer sh-surf only; MB audit / alerts unchangedMatt
11-03-2026offer-raise-blocksNEW: TPS gets NO automated budget or bid raises, no end date (Matt: "Take TPS out of the scaling automations going forward"). One config: sh-double-winners/scripts/raise_blocks.json, read by auto surf (hourly + nightly), double_winners engine, buyer sh-surf (budgets + caps), Friday executor. TPS out of auto-surf offers, hold 9999-12-31. Stale one-off com.matt.tps-budgets-1029 (raised 3 TPS CBOs at 00:01 ET 11-03 after a login reload) disabled with the other TPS one-offs. Builds and cuts unchangedMatt
11-03-2026budget-surfing-double-winnersSCALE REPEAT: scale campaigns (non-HV) no longer limited to 1 raise a day; each further raise needs 3h+ since the last raise by anyone, the 90% pace trigger, the pacing floor and every gate; decisive size, big-budget limits kept. Tests/HV stay max 2. Backtest 10-20..11-02: +5 scale raises, +$752, all 5 at/under targetMatt
11-03-2026budget-surfing-double-winnersPACE TRIGGER: 2nd raise same day (tests/HV) fires when projected full-day spend (spend so far / winner-day share) >= 90% of the current budget, not at a flat 80% spent (that fired after the ad set was already capped). Decisive headroom 1.3 -> 1.5. 3h gap unchanged. Grid backtest 10-20..11-02: 2 objects capped out (was 3), +$1,972 spend, 0 back-to-backMatt
11-03-2026budget-surfing-double-winnersDECISIVE SURF: hourly raise sized once for the rest of the day = max(normal step, spend so far / winner-day share x1.3), cap 4x (2x over $10k), HV + nightly keep their step. 2nd raise same day (tests/HV) only 3h+ after the last raise by ANYONE + 80%+ of budget spent + all gates passing (was 50% / STRONG 30%, no gap); logged SECOND RAISE. Backtest 10-20..11-02: 182 -> 157 auto raises, 33 -> 8 objects raised twice, 13 back-to-back -> 0Matt
11-01-2026budget-surfing-double-winnersSTRONG = passes the gate on ALL data so far too (newest hours carry spend with no sales, so a pass means the real number is better). STRONG tests: 2nd raise at 30% spent (was 50%). STRONG scale: x2 over $10k (was x1.5) and half the pacing floor. Full-day pass qualifies on its own. Settled hours still decide rows that only pass there. Nightly unchanged. All offersMatt
10-30-2026offer-targetsTPS target CPA $90 -> $84 (client official target $80, could land ~$85; $84 keeps us under $85. Day-1 TPS budget 2x = $180 -> $168; IC line /3 ~$30 -> ~$28; benchmarks, audits, kill note, scale tools, hub sheet follow). Bid caps, ROAS floors, graveyard $90 bar, lanes.json unchangedMatt
10-29-2026testing-logNot a rule. New Testing Log system: per-offer test register (Testing Log/tests.jsonl, writer ~/.claude/skills/sh-testing-log/testlog.py), Offer Learnings moved into Testing Log + Cross-Offer Learnings, morning audit Leg O (tests due), hub page sheets/testing-log. No threshold changedMatt
10-28-2026day2-test-kill-ladderProven cap: 10+ lifetime RT sales -> only rung 4 (CPA > 1.05x T / SCR ROAS < 1.43), rung 5 (bad days), rung 8 (scale overlap) and rung 9 can fire; rungs 0-3, 6, 7 and the lucky-sale limit off (PROVEN_SALES = 10). Trigger: SCR VID670 (110 sales, ROAS 1.47) flagged by rung 7 on CPC. Still list onlyMatt
10-28-2026kill-orderLeg D (mb_audit.py) adds KILLED, MAYBE WRONG - DAILY TREND under LEG D FINDINGS: per-day rows per ad set for kill WRONG / WRONG CELL / kill THIN, plus a last-1-2-full-days call vs target; --campaign flag. No threshold changedMatt
10-27-2026offer-targetsTPS target CPA $85 -> $90, reverting 10-26 (day-1 TPS budget 2x = $170 -> $180; IC line /3 ~$28 -> ~$30; benchmarks, audits, kill note, scale tools, hub sheet follow). Bid caps, ROAS floors, graveyard $90 bar, lanes.json unchangedMatt
10-26-2026offer-targetsTPS target CPA $90 -> $85 (day-1 TPS budget 2x = $180 -> $170; IC line /3 ~$30 -> ~$28; benchmarks, audits, kill note, scale tools, hub sheet follow). Bid caps, ROAS floors, graveyard $90 bar unchangedMatt
10-26-2026scale-build-shapeNew single-angle scale set = BC + ROAS only on EVERY offer, no HV ("only run capped ones for a while"); Friday plan momentum no longer adds HV rows; one switch SCALE_HV_ENABLED in sh-scale-build/scripts/lib.py. No threshold changed; tests and All Winners unchangedMatt
10-22-2026offer-targetsSCR target ROAS 1.70 -> 1.50 (implied CPA $129 -> $147; day-1 CPC kill line ~$1.55 -> ~$1.76 at 1% CVR x1.20; benchmarks, audits, kill note, scale tools follow). Bid caps / floors, day-1 budget CPA $160 and IC bar $24 unchangedMatt
10-21-2026day2-test-kill-ladderv3 default: rung 8 on the 1.05x T line (SCR ROAS 1.62); early no-sale checkpoint tested (v3C = 0 sales at 1x T recommended, pending confirm); morning-audit Leg L list wiring written, DISABLEDMatt
10-21-2026day2-test-kill-ladderv2: rungs 1-3 one-time checkpoints, lucky-sale limit one check at 2x T, close-call sales within max(1, 5%); still list onlycoordinator for Matt
10-21-2026day2-test-kill-ladderDay 2+ ladder (built, list only): 9 rungs + guards as Matt approved 10-21; day2_ladder.py + day2_backtest.py; not scheduled, no writesMatt
10-21-2026kill-doctrineKill Doctrine doc added (Matt's kill thinking + map of the draft day 2+ ladder). No rule or number changedMatt (asked for it)
10-21-2026day1-intraday-killCPC kill-line margin 10% -> 20% (break-even CPC x 1.20); checkpoints stay 2x/3xMatt
10-21-2026budget-surfing-double-winnersAuto-surf adds a 13:15 ET run (12:15 CT), scale pacing floor 30% (12:15 stays 25%); still SHADOWMatt
10-21-2026budget-surfing-double-winnersRepeat-double limit REMOVED: a raise yesterday never blocks a raise today; grade on today's data onlyMatt
10-21-2026budget-surfing-double-winnersScale pacing floor 30%-by-hand -> code: 15% (8:15/9:15 ET), 20% (10:15/11:15 ET), 25% (12:15 ET); HV listed never auto-written; repeat-double needs 80% of new budget spent + gate yesterday; auto-surf job 8:15-12:15 ET in SHADOW (live from 10-23 when Matt flips it); SURFED YESTERDAY morning legMatt
10-20-2026: day1-intraday-kill: wrote down the CPC caveat (CPC never kills a cell hitting IC or purchase targets). Code already worked this way; no number changed.
10-20-2026day1-intraday-killKill calls on SETTLED data only: ET hours that ended 90+ min before the run (SETTLE_MINUTES 90); 2x/3x checkpoints on settled spend; fresh data can save, never killMatt
10-20-2026day1-intraday-killList only -> LIVE AUTO-KILL, hourly 24/7, no kill cap, kills listed by offer in morning audit + EOD (no per-kill notification); effective when the job loadsMatt
10-20-2026offer-targetsSCR target ROAS 1.40 -> 1.70 (implied CPA $157 -> $129; SCR kill line, benchmarks, audits follow)Matt
10-20-2026registryProgrammatic Rules registry and hub page createdMatt
10-20-2026lander-split-callsAuto-weights live: END writes on its own; RAISE and REPLACE in shadowMatt
10-20-2026day1-test-budgetDay 1 = 1.5x budget CPA per ad set (TPS 2x = $180). Was 1xMatt
10-20-2026day1-intraday-killBuilt, list only, no schedule loadedMatt (rule pieces)
10-20-2026underfunded-winnersBuilt for /sh-eod Step 3cMatt
10-20-2026offer-targetsTPS target $93 -> $90Matt
10-20-2026budget-surfing-double-winnersBudget on every row; default surf = all 7 offersMatt
10-19-2026rejected-ad-ladderExtended to live tests; live tests duplicate first (retired 10-29 / hold removed 11-05)Matt
10-18-2026budget-surfing-double-winnersNo automatic decrease after a fresh increaseMatt
10-14-2026rejected-ad-ladderSAME x2 first (retired 10-29); no spend floor for scale adsMatt
10-13-2026all-rejected-killLive hourly; ad set level addedMatt
10-12-2026intraday-shadow-callsShadow mode for intraday calls, graded each morningMatt
10-10-2026lander-split-callsTie at 50 sales: new lander ahead = raise to 50%Matt
10-09-2026kill-orderIC first, then sales, then ROAS; pur CPA at target earns run timeMatt
10-08-2026scale-lane-benchmarksRatchet: loosen at most 10% per refreshMatt
10-06-2026graveyard-to-scale10+ sales AND CPA <= $90Matt
10-06-2026all-rejected-killAll ads off for rejection = kill the campaignMatt
10-05-2026lander-split-callsMinimums 24h OR 1,500 clicks OR 10 salesMatt
10-05-2026lander-task-dispositionWin = beat the control and replace itMatt
10-02-2026kill-vs-pauseKILL = pause + strip [ON]; pause keeps [ON]Matt
09-29-2026scale-lane-benchmarksBenchmarks from scale campaigns at targetMatt
09-25-2026scale-queue-barScale queue: 10+ sales at target, ad or ad setMatt
09-15-2026day1-kill-gate-two-icsDay 1 needs 2+ ICs to stay aliveMatt
09-08-2026scale-candidates-barAngle graduation bar setMatt
08-29-2026night-shutoff-on-reviveNightly 23:30 ET shutoff on every accountMatt
10-21-2026: Kill Doctrine: Matt day 2+ decisions (IC by 1x T settled; target CPA within 1-3x T, K7 dropped; lucky-sale limit 1x T).
10-21-2026: day2 ladder: ad-spread test done, no extension (v3C unchanged).
10-29-2026 - split_audit.py (sh-morning-audit Leg I): YouTube/Google traffic dropped from every section (Matt: "It's somebody else"). New is_other_team() filter in pull_objects + pull_hourly drops campaigns titled " - YT - ", "GG GMG", "GDN", "JK - GG" or the tokens YT/GG/GDN/GMG/YouTube/Google (53 campaigns + 1 GDN template today). Prints "YouTube/Google traffic left out (another team): N campaigns." No threshold changes. Backup: split_audit.py.bak-1029-noyt. Lander/offer split monitors print no YT rows; left unchanged.
10-29-2026 - sh-lander-guard audit.py (morning DOMAINS leg): the morning line + Telegram now report a cross-offer domain only when a lander behind it got >= 10 RT clicks in the last 7 days (one RT /report group=landing call, cached daily; R2 signals also need the URL to return 200 and an RT lander). Stale flags go to a "Stale, not reported" table in the audit .md. Bookkeeping (router host) and ignored-item activity lines left the morning output unless live. Build-time guard (guard.py / lander_check) unchanged. Matt: "I'm tired of you putting this in the domain section."
10-29-2026 - build_check.py ad-name lint (adnames / campaign / late): an ad in a "Graveyard" campaign is no longer HIGH AD NAME when its name is its pre-cutover source ad's exact old-style name (proof: ~/.local/share/sh-graveyard/builds.jsonl direct rows; no record -> old HL#_AT#_VID/IMG format). Printed as one line "FYI: N graveyard ads keep pre-cutover source names (by design)". A copy whose recorded source name differs, or a malformed name, stays HIGH. Matt rule: feedback_graveyard_ads_keep_source_name. Backups: build_check.py.bak-1029-gyname, sh-morning-audit SKILL.md.bak-1029-gyname.
11-03: scale-pullback-draft.md created (draft, not built) from 60-day pullback history study.
11-10-2026 - sh-killnote: hit-target tests that reached a scale camp now move to scale (rt_scale_home fallback). Earthling added to killnote BM/offer maps, scale_queue, lander_disposition. lander_disposition: ended no-control lander tasks get a variant-only note + fail; day-1 landers with traffic today are not 'out'. Backups *.bak-1110-earthling / -hitscale.
11-10-2026: test-task-disposition — RT match prefers the spending campaign; 40 skipped tasks reopened.
11-10-2026: hit needs 5 sales; tie-replaced-control lander = scale.
From Programmatic Rules/CHANGELOG.md, newest first.