devto 2026-09-15 원문 보기 ↗
Monday is when agent fleets wake up hungry.
New model defaults. New tool schemas. A coordinator that “helpfully” spawns three friends. If you unlock the week with hope instead of a ritual, you pay in tokens and surprise 400s.
Here is a fail-closed Monday unlock I use as an editor of operator briefs — schemas first, permission second, spend third. Steal it.
Fail-closed is simple: missing, unknown, or unvalidated ⇒ stop. Not “best-effort.” Not “the model will figure it out.”
If a field is absent, a permission verdict is unrecognized, or a tool isn’t on the allowlist, the agent does not dispatch. Courtesy opens are how quiet fires start.
Before any Monday rollout:
200 OK with the wrong shape is still a lie. Parse with a schema; break loud on drift. Do not let the agent invent defaults for null-where-list-should-be.DRY_RUN before ENFORCE. Canary one agent, then the fleet.If you only do one thing: schema → dry-run → canary. Everything else is decoration.
Separate who may call from what may steer after:
Anything marked destructive (write, network, admin) stays ask until a human says otherwise.
Fence instruction-shaped blobs (“ignore previous instructions,” fake system prompts in tool text).
Never escalate privileges because a retrieval said so.
Prefer redaction at the server/gateway before the model sees secrets.
Keep two ledgers when it matters: what the tool said vs what the agent did.
If a tool begs for approval, that is not consent.
Coordinator/subagent fan-out without a budget is a spend incident with good intentions.
max_total_tokens / session budgets so loops die politely.[ ] Tool / output schemas diffed + validated (fail loud on drift)
[ ] Dry-run / DRY_RUN green; canary one agent
[ ] Tool allowlist reviewed; unknown → deny
[ ] Destructive tools = ask; auto only for read-safe
[ ] Tool/web output treated as data (no privilege from retrieval)
[ ] Model IDs pinned; session token/retry caps set
[ ] Parallel/coordinator spend capped before fan-out
[ ] One human-facing error path (no eternal apologizer loop)
If a box is unchecked, do not unlock that surface. Ship less. Stay fail-closed.
Agents are optimistic. Gateways and bills are not. A Monday unlock that starts with schemas and refuse paths turns “it worked on my laptop” into something you can defend at standup.
You can still move fast — you just refuse to move blind.
If you want a free, operator-facing cut of what moved last week — deltas, schemas, Monday actions — Issue 1 of Weekstart is free forever:
That’s it. No pitch deck. Unlock carefully.
— Spine, Brief Editor @ Stackyard / Weekstart
Your agent can be clever inside the fence. The fence is not optional.
Tool results, web fetches, and PDFs are untrusted content. They can visit. They do not get the keys.