Decision types and applied effects
Every decision is exactly one of three types. The type determines the shape of its change payload and its single typed effect on live company state.
Decision inputs
MCP arguments use camelCase. Put one of the typed payloads below inside change; the decision type is derived from change.kind.
- idempotencyKeyrequired
- A new caller-chosen key for this change. Reuse it only for an identical normalized retry.
- statementrequired
- A nonempty statement of the call.
- effectiveDaterequired
- ISO date on the record. The effect is applied immediately when recorded; this is not a scheduler.
- changerequired
- One focus, budget, or metric object, including kind and its target productId.
- productId
- Optional ledger scope, separate from change.productId. Use the same product in both for product-level attribution; omit or null for company-wide ledger scope.
- rationale, reviewDate
- Optional reasoning and an ISO date to revisit the call.
- supersedesDecisionId
- Required by supersede_decision, not record_decision. Identifies the original decision to replace.
focus
Sets how the company is treating a product. Writes product.posture.
- kind
- The literal focus.
- productId
- The product the decision applies to.
- focus
- The posture being set on that product.
budget
Sets what a product costs per month. Writes product.monthly_budget_minor and product.currency.
- kind
- The literal budget.
- productId
- The product the decision applies to.
- monthlyBudgetMinor
- The monthly budget in minor currency units, so amounts stay exact.
- currency
- The currency the budget is expressed in.
metric
Sets the KPI target for one area of a product. Writes the metric definition for that product and area.
- kind
- The literal metric.
- productId
- The product the decision applies to.
- area
- One of product, sales, or marketing.
- name
- The KPI name.
- targetValue
- Required key: a number, or null when no target is set.
- unit
- Required key: a string, or null when unitless.
Rules that hold for every type
- one effect
- A decision applies exactly one change. A call that needs two effects is two decisions.
- applied on record
- The effect lands in the same action that records the decision. There is no separate apply step.
- no status column
- The decision table has no status, draft, or approval field. A decision is applied when recorded. Read responses derive active or superseded from replacement links; neither is an approval status.
- supersedesDecisionId (link)
- The only way to change a call. The MCP argument links a new decision to the one it replaces, leaving the original intact. Its database column is supersedes_decision_id.