upgrade_below_payout
The approved price adds less than the person's payout.
| Fix | Fails in | Exit |
|---|---|---|
| Raise price.approved past the payout. | services/translation.ts | 1 |
Owned by Service(): the page that explains what this gate holds.
✗ The approved price adds less than the person's payout. Raise price.approved past the payout.
https://services.dev/docs/reference/check/upgrade_below_payout
✗ 1 to fiximport { Service } from 'services.dev'
export default Service({
name: 'Translation',
description: 'A document, translated.',
input: { document: 'file', to: 'language: a BCP 47 tag, such as fr-CA' },
output: { document: 'file' },
price: { usd: 49, approved: 59, payout: 30 },
})diff --git a/services/translation.ts b/services/translation.ts
index 6de3e19..470e0d1 100644
--- a/services/translation.ts
+++ b/services/translation.ts
@@ -5,5 +5,5 @@ export default Service({
description: 'A document, translated.',
input: { document: 'file', to: 'language: a BCP 47 tag, such as fr-CA' },
output: { document: 'file' },
- price: { usd: 49, approved: 59, payout: 30 },
+ price: { usd: 49, approved: 89, payout: 30 },
})✓ ready to sell · 1 Service · it keeps at least 46% of every job{
"code": "upgrade_below_payout",
"reason": "The approved price adds less than the person's payout.",
"next": "Raise price.approved past the payout.",
"doc_url": "https://services.dev/docs/reference/check/upgrade_below_payout"
}The whole document check --json prints
{
"ai": {
"cents_per_call": 42,
"simulated": true
},
"mcp": {
"tools": 13,
"tokens": 4516,
"sandbox": 9,
"budget": 8000
},
"services": [
{
"path": "services/translation.ts",
"lines": 5,
"steps": "draft · ai → review · ai · adversarial · then a person approves",
"ok": false,
"price": "$49 per job, or $59 with a person's approval, within 48 hours, charged on delivery.",
"who": "AI delivers unless the buyer pays for a person's approval.",
"agent": {