@ixo/decision-oracle 0.2.32 → 0.2.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -787,6 +787,6 @@ symlinks are not packed). CI diffs them — change one, copy it to the other.
787
787
 
788
788
  ## Status
789
789
 
790
- Published on npm: `@ixo/decision-oracle` 0.2.32 and `@ixo/decision-oracle-client` 0.1.3.
790
+ Published on npm: `@ixo/decision-oracle` 0.2.33 and `@ixo/decision-oracle-client` 0.1.3.
791
791
 
792
792
  Apache License 2.0: `LICENSE` at the repo root and in each package.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/decision-oracle",
3
- "version": "0.2.32",
3
+ "version": "0.2.33",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Run an IXO evaluation oracle: pull claims, produce facts with your handlers, let the decision engine decide, sign on chain",
6
6
  "keywords": [
@@ -49,7 +49,10 @@ Amounts are **integer base units** (6 decimals: `1000000` = 1 coin). The denom i
49
49
  - **Third-party oracle:** IXO (`uixo`) anywhere, or on mainnet USDC — USDC.inj,
50
50
  `ibc/77C12480BD8C29BF0ACEC2143736C15BAF8CD232CA27BAE09336677B828955E6`. **Never PAY (`upay`)**:
51
51
  register refuses it on an oracle IXO does not run (`pay_requires_ixo_managed`).
52
- - **IXO-managed oracle:** PAY (`upay`, 1 PAY = $1) is allowed.
52
+ - **IXO-managed oracle:** PAY (`upay`, 1 PAY = $1) is allowed — but only once the decision engine
53
+ marks the oracle `ixoManaged` on its plan (`GET /v1/oracles/me`). IXO sets that plan, and only
54
+ after the oracle is registered (`engine register`). Until then every hire/register in `upay` is
55
+ refused `409 pay_requires_ixo_managed`. Order: register → IXO sets the plan → first hire.
53
56
  - **Free:** `minAmount: "0"` — any evaluation leg, or none, is accepted. Bound your engine spend
54
57
  with an `openhands.admit` hook (an allow-list, a daily budget) if anyone can hire you.
55
58
  - Price it so your 80% share covers the engine's per-decision fee: the chain pays each evaluation
@@ -119,7 +122,7 @@ A claim marked FLAGGED while a person reviews pays nothing until its final verdi
119
122
  | Worker fails to start on mainnet | `EVALUATION_DENOM` / `EVALUATION_MIN_AMOUNT` missing or only one set → set both |
120
123
  | `/v1/info` shows the old price after deploy | mainnet: the env vars win over `src/index.ts` → edit the env's vars |
121
124
  | Hire/register `402 evaluation_underpaid` | the collection's evaluation leg is below the minimum or in another denom → the app must escrow your coin and amount |
122
- | Register refuses `pay_requires_ixo_managed` | PAY on a third-party oracle → use `uixo` or USDC.inj |
125
+ | Register refuses `pay_requires_ixo_managed` | PAY on an oracle the engine does not mark `ixoManaged` → use `uixo` or USDC.inj, or (IXO-run) have IXO set the plan after `engine register` |
123
126
  | App shows the old price | card not refreshed (step 5) or the app hard-codes it (step 6) |
124
127
  | `--price-pay must be a positive PAY amount` | free check: drop `--price-pay` |
125
128