Per-Candidate Queues, Sandboxed Agent Workspaces & Atomic Folder Commits
Single-tenant EU queues, closed tool allow-lists, and all-or-nothing folder commits.
aura.careers) prevents AI agents from corrupting CVs or looping unchecked through strict runtime isolation. Each candidate's non-question jobs run sequentially through one Durable Object queue (agent-runtime/08), each AI run executes in an isolated EU Durable Object (09) with declared-path sandboxes (17, privacy-security/38), closed tool allow-lists (18), four-axis run limits (16), and atomic, SHA-256-verified folder commits (34, 46). Per-candidate queues, isolated EU run hosts, workspace path guards, atomic folder commits, hourly limits, and reconciliation crons are always on in production. Discovery, LinkedIn search/fetch, and live application workflows activate only for candidates gated under PRODUCT_RUN_CANDIDATES (/rollout), and */5 * * * * reconciliation crons run on deployed Workers rather than PR Previews.
How every background AI run is queued, capped, and isolated.
Isolated EU Run Host & 8-State Lifecycle (agent-runtime/09, 10, 13)
AuraRun) with SQLite result persistence, moving atomically through an eight-state transition table where accepted, failed, and rejected are terminal. Background discovery, LinkedIn, and application Workflows receive IDs and account epochs only—keeping CV text out of Workflow inputs.Four-Axis Run Ceilings & Execution Limits (agent-runtime/16, 24, 25, 26)
turn-policy.ts.Closed Tool Registry & Controlled External Access (agent-runtime/18, 19)
linkedin-finder can call Serper web search (capped at 12 searches including retries) and only linkedin-fetcher can fetch a LinkedIn profile—a CV reader has zero outbound search or browser tools.Pinned Skills & Validated Model Routing (agent-runtime/21, 22)
409 on mismatch), while models.yaml validates aliases (claude-sonnet-5-5 and claude-haiku-5-5 via custom-zgw) on load and before every call without silently downgrading to unvetted providers.Hourly Candidate Rate Limits (privacy-security/34)
Shows concrete numeric limits and strict isolation boundaries against loops, race conditions, and tool escalation.
Zero half-written CVs, anonymous Git version history, and 5-minute crash sweeps.
Declared-Path Workspace & Traversal Guards (agent-runtime/17, privacy-security/38)
Status: Partial on Worker pre-seeding—detailed below) using shared path validation rules that block traversal tricks. In production Workers there is no local disk at all; in local developer/corpus runners, Linux /proc/self/fd and O_NOFOLLOW checks guard against symlinks.Versioned Candidate Folder & Deduplicated Storage (agent-runtime/32, 33, 47)
max_files / 100 ceiling). Identical bytes already recorded in R2 skip redundant writes, and hash-keyed object paths prevent silent overwrites.Atomic Commits, Replay Safety & Anonymous Git Repos (agent-runtime/34, 45, 46, privacy-security/37, foundation/35)
max 100 files + 100 removals) checking the base revision, idempotent writer replay hashes, and core write idempotency keys (foundation/35) so stale or retried requests never clobber newer CV edits.Stuck Agent & Workflow Settlement (ops-internal/03, 04)
*/5 * * * *), background reconciliation closes stuck do_ agent runs (>10 min old, up to 20/pass) with typed error codes while refunding daily quota in the same atomic batch, and settles or re-enqueues lost discovery/LinkedIn Workflows (>5 min old, up to 25 runs and 50 cleanups/pass).Application Recovery Without Duplicate Sends (ops-internal/05)
submission_unknown—never retrying an uncertain employer submit.Directly proves why network hiccups, Durable Object resets, or double taps cannot corrupt a CV or send two copies of an application.
Hard ceilings and automated recovery timings.
| Aspect | Exact Behavior | Notes & Boundaries |
|---|---|---|
Hourly Candidate Quotas (privacy-security/34) | Cap: 30 uploads / 20 AI starts / 60 voice transcriptions per fixed clock hour | App Behavior: Enforced atomically in SQL; UI surfaces limit when reached. |
Agent Run Hard Ceilings (agent-runtime/16, 08) | Cap: 15,000,000 tokens / 1,500 calls / 3,600s max; undeclared agents 100k tokens / 30 calls; container pool default 8 (CV_COMPUTE_MAX_INSTANCES) | Recovery: Tighter limit wins; job defaults to 2 attempts. |
Model & Payload Guards (agent-runtime/24, 25, 19) | Cap: 2 model retries (3 attempts), 2 newest images, 800-char inline trim, 10 MiB max request, 12 Serper searches | Recovery: 429/4xx fail immediately as provider_http_error; outage ends cleanly as provider_error. |
Folder & Commit Bounds (agent-runtime/32, 33, 34) | Cap: 20 MiB/file, 100 input files, 100 commit files + 100 removals, 20s remote Git timeout | Recovery: Up to 3 retries on folder_head_moved; store outage fails cleanly as folder_store_unavailable. |
5-Minute Recovery Sweeps (ops-internal/03, 04, 05) | Cadence: */5 * * * * | Throughput: 20 stuck agent runs, 25 product runs + 50 cleanups, 50 application recoveries/pass (unlimited overdue expiry). |
Provides exact verifiable boundaries without marketing inflation.
Known gaps and runtime caveats documented directly from code.
Partial Worker seed_from Gap (agent-runtime/17)
seed_from inputs into output files before an agent starts, production Worker RunWorkspace lacks that pre-seed step. In code, calling edit_file on an unseeded output fails with file_operation_failed (live production Worker edit behavior was not separately runtime-tested in that audit note).Disabled Schema Tool Names & Loop-Check Scope (agent-runtime/18, 26)
read_page_image, read_page_text) have no implementation, so any agent naming them is rejected at load. On the production Worker, repeated-call loop detection applies to page-image readers, CV edits, and the application verifier—other agents rely on step/time/budget limits, and dropped connections consume part of the shared max_nudges (2) budget.In-Memory Workspace Resets & Long-Job Queuing (agent-runtime/08, 09, 10, 33)
do_reset after retry rather than folder_size_cap, and GET /v1/runs collapses 8 internal statuses into 4 UI states (queued, running, completed, failed).Dispatch & Write Idempotency Boundaries (agent-runtime/06, foundation/35, agent-runtime/46)
503 chain_failed; the app's "make CV current" call (POST /v1/cv/pool/:id/current) does not yet send an idempotency key despite server support; and repo commits fail with HTTP 503 rather than falling back to D1 if the Durable Object or FOLDER_REPOS is unreachable.Commit Trailers, Workflow History & Single-Route Routing (privacy-security/37, agent-runtime/13, 21, 22)
Aura-Run trailers link back to internal run IDs; Cloudflare Workflow histories retain IDs/hashes/counts for 1–3 days; Worker skill loading accepts RELEASE strings like dev rather than forcing a 40-hex commit SHA; and all 29 model aliases currently route through custom-zgw without automatic cross-provider failover.Recovery Delay & No Quota UI Counter (ops-internal/03, 04, 05, privacy-security/34, agent-runtime/32)
Radical candor around a Partial status item and runtime trade-offs earns deep trust with senior engineers.
Continue Exploring Aura Careers
/trust/signed-links-and-access-isolationPII-Scrubbed Error Reporting & Metadata-Only AI Tracing/trust/pii-free-diagnosticsStore Billing Integrity, Entitlement Cache & Webhook Safety/trust/billing-and-credit-integrityRelease Safety, Gradual Rollouts & Secret Scanning/trust/release-safety-and-engineeringHow Quote-Backed CV Reading Works End to End/features/evidence-verified-cv-reading