Better HN
topnewbestaskshowjobs
Log inSign up

ravikirany22

3 karma · joined Mar 23, 2026 (8mo ago) · 2 submissions

Building Context Debt — AST-native drift detection for AI coding tools. Detects when your CLAUDE.md or .cursorrules is lying to your agents.

Previously: Co-founder @ CurieAI (Head of Eng/Product).

github.com/ravikiranyalamanchili/context-debt

Submissions

comment 8mo ago · link · parent

For code specifically this is the hardest part — the "source data" (the codebase) changes constantly with every commit, but the AI config files that describe it don't update automatically.The approach that works best is AST-diffing rather than hash-based reindexing — you can detect semantic changes (function renamed, interface deleted) rather than just textual changes, which gives you much more precise invalidation signals.

comment 8mo ago · link · parent

This matches what we've been seeing empirically. The issue isn't just quantity of context — it's staleness. AGENTS.md and CLAUDE.md that reference renamed functions, deleted interfaces, or outdated patterns actively mislead the model with confident but wrong information.We've been auditing TypeScript repos and finding 10-84% of symbol references in AI config files are stale. A model reading a CLAUDE.md that says "use UserService.createUser()" when that function was renamed three weeks ago isn't just getting irrelevant context — it's getting a confident lie.The quality problem is probably as significant as the quantity problem, maybe more so.