Skip to content

Job pack · supervisor

Production agent product

Durable reducer, gateway from anywhere, traces, evals, HITL, owned prompts. The last 20%.

When: Someone will pay, wait, or sue. The demo is not the product.

Name the five: termination, sandbox, context builder, eval set, pause API. One blob. One orchestrator. Gateway not a text box.

GET /api/canon/jobs/production-agent?format=md

Matching skill · Durable execution

Playbooks

Doctrine to load

Refuse

  • HITL that cannot resume. The human answers and the run is gone. Approval as a side channel, not a tool.
  • Double side effects. Non-idempotent tools, no journal. A retry refunds twice.
  • Unowned prompt. The policy lives in a framework black box you cannot diff, test, or revert.
  • Unbounded loop. No max-turns, token, wall-clock, or money budget. The agent rambles until the bill or the context dies.
  • Eval by demo. Architecture first, golden set never. Success is a recorded GIF.

Checklists

Ready to build

  • Named termination: done schema, max turns, token/money cap.
  • Sandbox / allowlist for every side effect. Secrets in the executor.
  • An explicit context builder: pinned, working, recalled, compacted.
  • A golden set of 20–50 real tasks, run in CI on prompt change.
  • Launch / pause / resume APIs. HITL is a tool that checkpoints.

Security review

  • Retrieved docs, web, and MCP descriptions are labeled untrusted data.
  • MCP servers pinned, hashed, reviewed. No marketplace auto-trust.
  • Secrets injected at the executor, never into the prompt or the workspace dump.
  • Subagents are reduced principals. No parent deploy keys.
  • Allow / ask / deny. Irreversible actions are high-friction asks.

Eval quality

  • 20–50 real tasks, not toys. Include the failures you have already seen.
  • CI on prompt, tool schema, and skill changes.
  • Written rubric. If you cannot score it, you cannot loop it.
  • Generator and evaluator do not share prompt or incentive.

Recipes

Default corpus

langgraphinngestlangfusepromptfoomastra