fill_bypasses_reserved

The running jobjob_7Hq2 · delivered · document.fr-CA.pdf · $49.00 charged

A fill rung could offer a reserved act to someone who doesn't hold its credential.

FixFails inExit
Take the rung out, or add a staff role that holds the credential.pools/translators.ts · pools.translators.fill1

Owned by When no one claims: the page that explains what this gate holds.

npx services.dev check
  ✗ A fill rung could offer a reserved act to someone who doesn't hold its credential. Take the rung out, or add a staff role that holds the credential. The translators Pool's fill rung 'staff 4h' offers translator's Task to your staff, and no staff role holds sworn translator.
    at pools/translators.ts · pools.translators.fill
✗ 1 to fix
pools/translators.ts
import { Pool } from 'services.dev'

export const translators = Pool({
  name: 'translators',
  roles: { translator: { credential: 'sworn translator' } },
  join: { name: 'text', languages: 'language[]' },
  verify: 'https://verify.example.test/translators',
  fill: ['raise 10% 2h', 'staff 4h'],
})
git add -A && git diff --staged
diff --git a/pools/translators.ts b/pools/translators.ts
index 8bec4e9..71b927f 100644
--- a/pools/translators.ts
+++ b/pools/translators.ts
@@ -5,5 +5,5 @@ export const translators = Pool({
   roles: { translator: { credential: 'sworn translator' } },
   join: { name: 'text', languages: 'language[]' },
   verify: 'https://verify.example.test/translators',
-  fill: ['raise 10% 2h', 'staff 4h'],
+  fill: ['raise 10% 2h', 'widen 4h'],
 })
npx services.dev check
✓ ready to sell · 1 Service · it keeps at least 80% of every job
rules.ts
import { Rules } from 'services.dev'

export default Rules({
  version: '2026-10',
  services: {
    translation: {
      sign: { reserved: 'sworn translator', where: '*', position: 'A sworn translator signs a translation filed with a registry.' },
    },
  },
})
services/translation.ts
import { Service } from 'services.dev'
import { translators } from '../pools/translators.ts'
import rules from '../rules.ts'

export default Service({
  name: 'Translation',
  input: { document: 'file', to: 'language: a BCP 47 tag, such as fr-CA' },
  output: { document: 'file' },
  rules,
  roles: { translator: { pool: translators } },
  deliver: {
    translate: 'ai',
    harden: { review: 'adversarial', lenses: ['meaning', 'terms'] },
    sign: { by: 'translator', stamp: true },
  },
  price: 89,
})
npx services.dev check --json · the fill_bypasses_reserved failure
{
  "code": "fill_bypasses_reserved",
  "reason": "A fill rung could offer a reserved act to someone who doesn't hold its credential.",
  "next": "Take the rung out, or add a staff role that holds the credential. The translators Pool's fill rung 'staff 4h' offers translator's Task to your staff, and no staff role holds sworn translator.",
  "doc_url": "https://services.dev/docs/reference/check/fill_bypasses_reserved",
  "file": "pools/translators.ts",
  "path": "pools.translators.fill"
}
The whole document check --json prints
npx services.dev check --json
{
  "ai": {
    "cents_per_call": 42,
    "simulated": true
  },
  "mcp": {
    "tools": 13,
    "tokens": 4490,
    "sandbox": 9,
    "budget": 8000
  },
  "files": [
    {
      "path": "rules.ts",
      "lines": 6,
      "kind": "rules",
      "says": "rules 2026-10 · 1 Service · 1 row"
    },
    {
      "path": "pools/translators.ts",