AI Compaction: Shorten the Context, Not the Business Record
Design long-running AI workflows with durable application state, explicit compaction boundaries and tests that catch lost constraints before actions execute.
Timour Spiridonov
ARGONAUTE DIGITAL / ENGINEERING NOTES
Practical notes on Next.js, TypeScript, cloud architecture and AI-assisted engineering.
Design long-running AI workflows with durable application state, explicit compaction boundaries and tests that catch lost constraints before actions execute.
Timour Spiridonov
Turn a portfolio deployment into evidence of engineering judgment: identify artifacts, define stop conditions, rehearse recovery and verify data compatibility.
Timour Spiridonov
Review PostgreSQL transaction boundaries with consistent lock ordering, complete-transaction retries, bounded attempts and deterministic concurrency tests.
Timour Spiridonov
Build reliable asynchronous AI batch workflows with durable request manifests, per-item outcomes, selective retries and guarded publication of stale results.
Timour Spiridonov
Design Node.js exports around bounded production, slow consumers, cancellation and honest completion signals rather than a stream-shaped API alone.
Timour Spiridonov
Design a dependable AI streaming interface with explicit completion states, guarded tool inputs, reconnect semantics and tests for interrupted responses.
Timour Spiridonov
Protect edit forms with atomic PostgreSQL version checks, HTTP If-Match preconditions and a conflict UI that preserves unsaved work.
Timour Spiridonov
Design request deadlines across Node.js, outbound calls and PostgreSQL so a timed-out response does not leave expensive work running without an owner.
Timour Spiridonov
Design a bounded shutdown for a Node.js HTTP service on Cloud Run: drain requests, preserve dependencies, and test interrupted writes without promising zero loss.
Timour Spiridonov