This page says what a deployment needs before the first Merkl Subsidy Campaign run, which of the process map's automations (A1–A12) run where, and what the platform cannot do for this process yet.
The process map is the ops document "Merkl campaign - incentives - process mapping": one Merkl Token
holding campaign (campaignType 18, MAX_APR, capped APR) per Skybase Morpho vault per week, funded by
the Skybase USDS Demand Subsidies Safe 0x3F32bC09d41eE699844F8296e806417D6bf61Bba. Merkl Topup (the
Sky Savings Rate FIX_APR campaign) is a separate template and is unchanged.
| Template | Key | Covers |
|---|---|---|
| Merkl Subsidy Campaign | merkl-subsidy | Skybase confirmation (A11, ✅ only), USDT balance (A10), payload (A7, A6), contract identity (A9), proposer signature, queued-transaction check (A4), second signer (A2), signature watch (A12 gate, A8, A5) |
| Merkl Subsidy Campaign: execution | merkl-subsidy-execution | Bot execution (A12), live campaign check (A4), OEA Payments Tracker row (A3), last-amount history, Skybase summary |
The campaign run starts the execution run with its values once the Safe transaction has its signatures. The Safe executor alone is over half of the platform's program size limit, so the two parts cannot be one program. The execution run does nothing when started by hand.
/database (needs database:write):
merkl-subsidy-settings and merkl-subsidy-amounts. Without them a run still works: it uses the
template defaults and has no "last week" amount to propose. The run says which source it used.merkl-subsidy-settings, a document with id settings. Both fields are
optional; an unusable value falls back to the template default.{ "skybaseConfirmers": ["U0AKKA6E6BS", "U0BALQ2BZTQ"], "aprCapPercent": "10" }
skybaseConfirmers are the Slack user ids tagged on every request; a ✅ from any one of them confirms
the amount. The template default is Kacper (U0AKKA6E6BS) first and Kuba (U0BALQ2BZTQ) as backup,
tagged in that order. Add or remove a Skybase person here, no release needed. aprCapPercent
changes only on an explicit Skybase decision.
C0ALAHCKUN5) and
#soterlabs-signers (C0AKV749160) and must be a member of both. Reading the confirmation (A11)
needs one more bot scope, reactions:read. It reads the reactions on the request message only:
no channel history, no replies. Without it the confirmation watch stops at once with Slack's
answer, including the scope it needs, and the proposer enters the confirmed amount and link by
hand.ETH_RPC_URL, SAFE_API_KEY, SAFE_EXECUTOR_PRIVATE_KEY
and the two PROCESS_EFFECT_* keys (see deployment). The contract identity
check, the USDT balance check and the queued-transaction check read through the same Ethereum RPC
and Safe Transaction Service endpoints as the Safe executor; without them those checks fail closed
and the run waits there.The proposer picks the vault and, by default, lets ProcessOS ask Skybase. ProcessOS posts one request per run in #ozone-skybase-general: one vault, one amount (the one entered, or last week's for the vault), one week, mentioning the confirmers and tagging the proposer:
USDS Flagship Merkl campaign, week starting 2026-10-27 16:00 UTC (7 days, APR cap 10%): 7500 USDS React ✅ to confirm. To change the amount, reply here and tag @proposer.
It then checks the request's reactions every five minutes:
white_check_mark) reaction on the current request from an
allowlisted confirmer. ✔️, 👍 and every other emoji, a ✅ from anyone else (the bot included) and a
✅ on an earlier request do not count. The run shows what it saw and did not count.The proposer can end the wait by hand and enter the amount and a confirmation link. The run records
the path: slack, manual, or manual-override (Slack was asked but the values were entered or
changed by hand). Without a confirmation link the proposal cannot be submitted, so nobody signs.
The two weekly runs can start themselves: a document in the platform's schedules collection (see
scheduled starts) starts one run per vault every Monday 08:00 UTC, with the vault preset on
"Start the run" (the template's startValuesStepKey). It is disabled until you enable it:
{
"name": "Merkl subsidy",
"templateKey": "merkl-subsidy",
"enabled": false,
"cadence": { "every": "week", "weekday": "monday", "time": "08:00" },
"cutoff": { "weekday": "tuesday", "time": "16:00" },
"runs": [
{ "key": "usds-flagship", "label": "USDS Flagship", "values": { "vault": "USDS Flagship" } },
{ "key": "usdt-savings", "label": "USDT Savings", "values": { "vault": "USDT Savings" } }
],
"noticeChannel": "C0AKV749160",
"owner": { "email": "<the person responsible, e.g. erwe@soterlabs.com>" },
"sharing": { "defaultVisibility": "none", "editors": ["<proposer and signer emails, e.g. erwe@soterlabs.com>", "<e.g. adam@soterlabs.com>"] }
}
To turn it on: insert it under /database as document merkl-subsidy-weekly in schedules, fill in the owner
and the editors (the people who may propose and sign: they get editor access to each run), and set
"enabled": true. The template allows scheduled starts (its start permissions name processes:start-scheduled),
so the ProcessOS account needs nothing more. A run that
is not started by the cutoff (the campaign start) is skipped and the skip is posted; it is never started late.
The template also declares three deadlines. The attention sweep posts them to #soterlabs-signers
when due, then repeats them at most every 30 minutes while unresolved. Compatible notices from the
same campaign are grouped into one message, with a row per vault naming its Safe nonce and process
link. Pickup (A1), signing (A8), and not-ready (A5) notices all use this format. A8 says "awaiting a
second signature" only for runs at cosign_review; earlier stages say "awaiting signing".
The signature-watch reminders and escalations remain transaction-specific workflow effects (and already name the vault). Skybase amount-confirmation requests also stay separate: a reaction on each request confirms that vault's amount and must not acknowledge another vault.
Deadlines:
| Deadline | Due | While the run waits at |
|---|---|---|
| A1, not picked up | 3 hours after the run reached "Start the run" (11:00 for a Monday 08:00 start) | Start the run |
| A8, not signed | 3 hours before the first Tuesday 16:00 after the run started | any step before the signature watch |
| A5, not ready | 1 hour before that Tuesday 16:00 | any step before the signature watch |
Inside the signature watch the run posts its own A8/A5 pings (with the owners who have not signed), so a run there is never pinged twice.
safe-rpc, safe-service-mainnet, slack). An explicit PROCESS_APP_CONFIG must provide the same
names.Before A8/A5 deadline warnings, deployment attention infrastructure reads the linked transaction from the mainnet Safe Transaction Service. A matching transaction in the Demand Subsidies Safe with confirmed successful execution is omitted from the warning. A bounded worker-local cache remembers validated successful hashes, so a later service outage cannot revive their warnings during that worker's lifetime. Changing the linked hash, a restart, or cache eviction requires a fresh read. Unsigned notices include live signature counts rather than inferring them from the saved review step. Fully signed but unexecuted transactions are labelled “signed, awaiting execution”; failed executions are reported as failures. Failed reads, unexpected response shapes, or mismatched transaction/Safe identities produce a status-unavailable notice rather than a claim that signatures are missing. The Safe API key, when configured, stays in the HTTP Authorization header. These reads have a five-second timeout and never follow redirects.
Missing transaction hashes leave a proposal/review reminder. This reconciliation never advances a
run or marks a human control point complete: signing directly in Safe does not submit cosign_review.
The checklist remains pending in ProcessOS even after execution. Completed transactions stop generating
signing/execution deadline warnings while that review is outstanding.
The October 27 false positives came from the backup deadlines introduced in #253: they inferred transaction readiness from the current ProcessOS step. Earlier signature-watch checks read Safe but only ran after manual review. Frequency/grouping changes (#261/#262) retained that inference.