// 💡 Daily system design practice in TypeScript
const om = {
name: "Om Dandagvhal",
role: "Final-Year B.Tech IT @ SITRC, Nashik",
class: "BE 2026-27 | Group 37 | Roll 70",
pronouns: "he/him",
location: "Nashik, Maharashtra 🇮🇳",
email: "omd4485@gmail.com",
phone: "+91 9970055620",
currently: [
"🚀 Day 6: Distributed Backend System Design",
"📊 Capstone: Multimodal Sentiment Analysis (MinHash LSH)",
"🎯 Actively applying for Summer 2026 Backend Internships",
"📦 Published: @omdd/agent-loop-guard on npm"
],
interests: ["Distributed Systems", "API Design", "Cloud Native", "Open Source", "AI Safety"],
funFact: "I ship one production-ready backend system every week 📦",
philosophy: "Learn by building. Ship by shipping. Improve by iterating."
};|
|
||
|
|
|
13 ⭐ • npm: agent-loop-guard-js
Prevents runaway loops, repeated tool calls, uncontrolled execution in AI agents
Provider-independent • Zero deps • TypeScript-first • Loop detection
🛠️ Repo • 📦 npm • ⭐ 13
| Package | Version | Links |
|---|---|---|
| agent-loop-guard-js | 📦 npm • 🛠️ Repo • 📊 Bundle |
TypeScript • Redis • BullMQ
| Day | System | Key Technologies | Tests |
|---|---|---|---|
| Day 1 | Rate Limiter | Token Bucket, Sliding Window, Leaky Bucket, Fixed Window, Sliding Log • Redis | ✅ |
| Day 2 | JWT Auth | RBAC, Refresh Tokens, Rotation, Blacklisting, bcrypt | ✅ |
| Day 3 | GraphQL Gateway | Schema Stitching, Redis L1/L2 Cache, Rate Limiting, Auth | ✅ |
| Day 4 | Notification System | WebSocket + Redis Pub/Sub, Multi-channel, Retry + DLQ | ✅ |
| Day 5 | Job Queue | BullMQ + Redis, Priority, Retry, DLQ | 45 tests ✅ |
| Day 6 | Backend System | Service Mesh, Distributed Tracing, Circuit Breakers | 🔄 |
| Project | Description | Key Tech |
|---|---|---|
| 🕸️ Distributed Web Crawler | Scalable MERN crawler with distributed queue, politeness policies, rate limiting | MERN, TS, Redis, BullMQ |
| 🗄️ DB Sharding & Replication | Consistent hashing + Range sharding, Single-leader replication, Quorum reads, Vector clocks | JS, Zero deps, node:test |
| ⚙️ Distributed Task Orchestrator | Priority queues, State persistence, Reliable execution | TS, Redis |
| 📦 Job Queue (Day 5) | BullMQ + Redis, Priority queues, Retry with exponential backoff, DLQ | 45 tests ✅ |
| ☁️ Container Scheduler | Docker orchestration, Resource allocation, Health checks | MERN, TS, Docker |
| Project | Description | Key Tech |
|---|---|---|
| 🛡️ agent-loop-guard ⭐ 13 | AI agent safety library • Loop detection • Tool call limiting • Zero deps • Published on npm | TS, Zero deps |
| Multimodal Sentiment Analysis | MinHash LSH deduplication • Customer feedback analysis • Nearest neighbor search | Python, MinHash LSH |
| AI Code Execution Arena | Sandboxed code execution • Multi-language support • Resource limits | TS, Sandbox |
| Project | Description | Key Tech |
|---|---|---|
| 🐙 GitHub-like Platform | Native Git storage (nodegit) • CI/CD (BullMQ) • Webhooks • Code search • Monaco Editor | MERN, TS, nodegit, BullMQ |
| 🎮 LeetCode Clone | Code execution sandbox • Real-time submissions • Problem management | MERN, TS |
| 🏗️ Advanced System Design MERN | Caching layers • Load balancing • Service mesh | MERN, TS |
| 🏗️ Day 6: Distributed Backend System | Service mesh patterns • Distributed tracing • Circuit breakers | TS, Service Mesh |
| Project | Description | Key Tech |
|---|---|---|
| 🗄️ DB Sharding & Replication | Consistent hashing + Range sharding • Single-leader replication • Quorum reads • Vector clocks • Zero deps | JS, node:test |
| 🧠 Multimodal Sentiment Analysis | MinHash LSH deduplication • Customer feedback analysis • Nearest neighbor search | Python, MinHash LSH |
| 🪙 OmCoin ERC-20 | Solidity • Hardhat • OpenZeppelin • Ethers.js • Deployed on testnet | Solidity, Hardhat |
| 🛰️ GOD'S EYE | Real-time intelligence dashboard • Flights, vessels, AQI, CCTV, seismic • 24 Indian cities | JS, Real-time APIs |
+ 🚧 Day 6 → Distributed Backend System Design [IN PROGRESS]
+ 🚧 Capstone → Multimodal Sentiment Analysis (MinHash) [WEEK 2 of 12]
+ 🎯 Goal → Land a Summer 2026 Backend Internship [ACTIVELY APPLYING]
+ ✅ Done → Day 5 Job Queue (BullMQ, 45 tests) [DONE]
+ ✅ Done → Day 4 Notification System (WS + Redis) [DONE]
+ ✅ Done → Day 3 GraphQL Gateway (Schema Stitching) [DONE]
+ ✅ Done → Day 2 JWT Auth (RBAC, Refresh, Rotation) [DONE]
+ ✅ Done → Day 1 Rate Limiter (5 algorithms) [DONE]
+ ✅ Done → agent-loop-guard (Published on npm) [DONE]| Quarter | Goal | Status |
|---|---|---|
| Q1 (Jan–Mar) | Master backend basics (Node, DB, API, Redis) | ✅ 100% |
| Q2 (Apr–Jun) | Build 6 production backend systems (Weekly) | 🔄 83% (5/6) |
| Q3 (Jul–Sep) | Capstone + Advanced Distributed Systems | 🔄 In Progress |
| Q4 (Oct–Dec) | Land Summer 2026 Internship + Final Year Project | ⏳ Upcoming |
| Detail | Value |
|---|---|
| Degree | B.Tech Information Technology |
| Institute | SITRC, Nashik (Savitribai Phule Pune University) |
| Graduation | 2027 |
| Current Year | Final Year (4th Year) |
| Roll / Group | Roll 70 • Group 37 |
| CGPA | 8.5+ (Till Sem 6) |
What kind of contributor am I? I ship root-cause fixes with regression tests to production OSS — not typo patches. Every contribution below was diagnosed from source, verified against the real runtime, and independently reviewed by an AI code reviewer before a human looked at it.
|
Placing embedding media markers where the prompt names the images The Embedding endpoint put every media marker after the text, so a model received its images in the order they were uploaded rather than the order the prompt named them. llama-server replaces each marker with the next entry in Root cause — the marker was built by scanning the prompt for placeholders in turn, which only gives the right answer when the prompt names the images in upload order Fix — scan the prompt for the placeholders and place each marker where it is named, then build the media in that order Verification — a table-driven test over the marker order, with the failure reproduced against the previous commit Review — a maintainer found the case where a prompt names an image that does not exist; fixed in a follow-up commit, and the review thread is resolved |
Finding high-signal bugs that maintainers accept:
|
| Open PRs | 25 across 20 repositories |
| Merged upstream PRs | 6 |
| Merged since September 2026 | 6 — OpenFilm, Axios, Temporal TypeScript SDK, Sequelize, TokenEconomizer, The Last Signal |
| Repository | What it fixes |
|---|---|
| k3s | The passwd file was written in map order, so it stopped matching the datastore copy and the server refused to start |
| n8n | hasKey threw a TypeError on objects made with Object.create(null) |
| Ollama | Embedding media markers were placed after the text, so images arrived in upload order rather than prompt order |
| Ionic | aria-expanded was ignored on ion-item, so screen readers did not announce the state |
| Consul | A UDP health check could hang forever, because the socket had no read deadline |
| Cua | A stale 20-hour cache duration in --help |
| Cua | Persistent connection pooling for VzApi |
| Plane | A per-view setting for open saved views with the filter applied |
| Weaviate | Multi-shard top-k truncated each target to the final top-k |
| Inngest | Queue capacity was not released under the lease idempotency key |
| Inngest | Discovery was enqueued when a pause had not completed |
| Inngest | apiv1 returned a success for an unknown run ID instead of a 404 |
| Inngest Go | A buffered permanent step failure was not recognised |
| Inngest Go | OpcodeStepFailed was not handled like the HTTP transport does |
| Deno | URLSearchParams accepted non-object iterator results |
| Axios | The response-stream capability probe leaked its request body |
| vLLM | The encoder compute budget was not reclaimed after multimodal pruning |
| Bun | crypto.randomInt did not match Node.js ToIntegerOrInfinity |
| Moleculer | Per-action and per-service validator overrides |
| KafkaJS | The deleteConsumerGroupOffsets admin API |
| Signoz | fmt.Sprintf in the ClickHouse reader |
| GraphQLSP | @gql-tada-ignore-unused to suppress unused-variable errors |
All contributions use signed-off commits and a linear (rebase) history to satisfy DCO checks.
| Repository | What it fixed |
|---|---|
| OpenFilm | A clip placed with a width but no height exported as it was shown |
| Axios | A nullish url was dispatched instead of rejected |
| Temporal TypeScript SDK | Unknown messages from Node.js were not ignored |
| Sequelize | The useUnicodeStrings dialect option for mssql |
| TokenEconomizer | A failed history import raised instead of reporting |
| The Last Signal | The README needed a rewrite for grammar and formatting |
A passing unit test tells you very little. For UI and positioning bugs I build a real-browser harness that exercises the actual production code path:
// Legacy behaviour: the anchor is displaced by exactly the dialog origin
[ok] legacy: the anchor is displaced by exactly the dialog origin
[ok] legacy: the REAL Radix popover covers the text selection (the reported bug)
[ok] fixed: the anchor lands exactly on the selection centre
[ok] fixed: the REAL Radix popover no longer covers the text selectionThe legacy branch is asserted as a bug — so the test proves the bug existed, not just that the new code happens to be self-consistent.
I score targets on four axes before writing any code:
| Signal | Why it matters |
|---|---|
| Reproducible bug reports | A confirmed bug is already agreed-upon work — no design debate |
| Merges external PRs | Maintainers who actually review outside contributions |
| An AI code reviewer is wired in | My PR gets a structured first review before a human sees it |
A public CONTRIBUTING.md with real rules |
The repo wants contributions and states the bar |
- Read
CONTRIBUTING.mdand the repo'sAGENTS.md - Searched for duplicate issues and duplicate PRs
- Root-caused it from source, not from the issue text
- Failing regression test written first
- Minimal diff — no drive-by refactors, no new dependencies
-
typecheck/lint/format/testall green -
pnpm install --frozen-lockfilestill succeeds - Verified in the real runtime, not just the test harness
- PR description explains the root cause, not just the diff
- LLM-use disclosure included, as the repo's template requires


