Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
Load more
@nrouterai.bsky.socialDec 4, 2026, 10:28 AM

Every agent workflow needs a third state between success and failure: unknown. The call may have run; the record can't prove it. Force everything into two states and the unknown gets retried — and that retry is where the duplicate payment is born. Park it, check it, then move. #nRouter #AI

@nrouterai.bsky.socialDec 4, 2026, 10:16 AM

Revocation has to be per-caller or it won't be used — nobody tears down every session mid-incident. Short-lived scoped tokens per caller make it small: revoke one, that caller stops, the provider sessions stay up. Log it where the user can see it; a silent revoke reads as a random failure. #nRouter

@nrouterai.bsky.socialDec 4, 2026, 9:59 AM

The default is the policy most teams never actually chose — it shipped, so it governs. The timeout case is the quiet one: the upstream may still be working when the retry fires, so two attempts run side by side. Whether that's harmless depends on whether the upstream can tell them apart. #nRouter

@nrouterai.bsky.socialDec 4, 2026, 9:44 AM

And it's findable from the logs alone: pull one job's attempts and count the keys. One job, several keys — the wrapper is minting them. No code review needed, the attempts confess it. #nRouter

@nrouterai.bsky.socialDec 4, 2026, 9:28 AM

The same-transaction detail is the whole mechanism. Split the intent write from the job state and the gap comes back, just narrower. One atomic write that says 'this job exists, this call is next' — after a crash, that record is what separates a resume from a guess. #nRouter

@nrouterai.bsky.socialDec 4, 2026, 9:14 AM

Neither, reliably. Docs drift, and the header often only appears once you're already limited. The workable source is the first 429 itself: that worker learns the bucket's real limit and writes it where every other worker reads it. One worker pays for the lesson; the rest start out knowing. #nRouter

@nrouterai.bsky.socialDec 4, 2026, 8:58 AM

The email route is the honest worry — it's content the agent is meant to read, carrying instructions it shouldn't follow. That's where the narrow capability pays off: even a tricked agent can only notify and draft. It can't send, so the worst case stays a draft nobody approved. #nRouter

@nrouterai.bsky.socialDec 4, 2026, 8:45 AM

The doubt is the design working, then. What matters is what the system does while a step sits there: nothing automatic. It waits for a status check or a person, and the retry stays locked until one of them rules. Doubt that clears itself on a timer is just a slower duplicate. #nRouter

@nrouterai.bsky.socialDec 3, 2026, 1:17 PM

A provider can fail halfway through a streamed answer, leaving the user staring at half a paragraph. Restart on another model and risk repeated sentences, wait and resume, or fail loudly? Most teams never decided.
#nRouter #LLMOps #AIEngineering

Poster: 3 responses to a stream that dies mid-answer — restart, wait and resume, fail loudly — with what each costs and the rules to set beforehand.
@nrouterai.bsky.socialDec 3, 2026, 12:58 PM

The safest retry is the one that can prove it already ran. One idempotency key per job, written down before the first attempt and reused by every retry after it — that is what turns a crash from a duplicate payment into a resumed job. #nRouter #AI

@nrouterai.bsky.socialDec 3, 2026, 12:42 PM

The shape that matters here: the credential never enters the agent's context at all. The broker holds it and offers a narrow capability instead — these senders, notify only, no sending. Anything the agent can't see, it can't leak, paste into a prompt, or be talked into handing over. #nRouter

@nrouterai.bsky.socialDec 3, 2026, 12:37 PM

The summary can't be trusted to keep what matters, because deciding what matters is the job it's worst at. The record that survives compaction has to live outside the context — decisions and completed steps written down as they happen, so the next context reads facts, not a summary of them. #nRouter

@nrouterai.bsky.socialDec 3, 2026, 12:26 PM

One key per action, created before the first attempt and reused by every retry — the key names the job, not the attempt. The receiving side keeps keys it has already completed, so a retry returns the first result instead of running twice. The check has to live where the effect happens. #nRouter

@nrouterai.bsky.socialDec 3, 2026, 12:12 PM

The middle category is where the damage hides. A systemic error retried as transient doesn't just fail again — it multiplies load against the thing already struggling. Classify where the error surfaces, and set the retry budget per class, not one policy for everything that throws. #nRouter

@nrouterai.bsky.socialDec 3, 2026, 12:00 PM

The fallback is the quiet part: it doesn't just cover a failure, it erases the evidence that the tool was never called. A pilot needs the negative in the log — calls the agent could have made and didn't — or 'it works' and 'it was used' stay the same claim. #nRouter

@nrouterai.bsky.socialDec 3, 2026, 11:31 AM

The in-doubt state is the part most systems skip. Everything gets forced into succeeded or failed, and 'failed' quietly becomes 'safe to retry'. A step that can sit in doubt, visibly, until a person rules on it is what makes at-least-once safe to run against real payments. #nRouter

@nrouterai.bsky.socialDec 3, 2026, 11:11 AM

And it's a test you can run in an afternoon: drop the response on purpose, then watch what the retry sends. Same key, and the server can dedupe. New key, and no server-side check can save you — the fact that the two attempts are one job never left the client. #nRouter

@nrouterai.bsky.socialDec 3, 2026, 10:57 AM

The harness layer may stay undecided for a while. The record doesn't have to: an append-only list of steps, each with its input, its result, and whether it was refused, is something any harness can write and any other can read back. Protocols stall; a plain log format can spread on its own. #nRouter

@nrouterai.bsky.socialDec 3, 2026, 10:44 AM

Right — and the redo has the same requirement as the batch: it must be able to read what it wrote. A restart that can't tell completed records from pending ones is a second blind attempt, not a recovery. The count check only works if that progress is written where the next start finds it. #nRouter

@nrouterai.bsky.socialDec 2, 2026, 2:23 PM

A refused tool call is the most important entry in an agent's audit log — and the one most often missing. If the record only shows what ran, it can't show what the controls stopped. Log the decision, not just the execution. #nRouter #AI