Menu

Sentinel-IR 0.5: your LLM doesn't need the whole file, it needs the gossip
📰

Sentinel-IR 0.5: your LLM doesn't need the whole file, it needs the gossip

DEV Community: rust·jackymenCZ (jackymenCZ)·3 days ago
#UYHohyPF
#devtorust#devto#dev#file#sentinel
Reading 0:00
15s threshold

A 10-minute read for developers, tech leads and the person at your company

who signs the AI invoice.

Source (GitLab, Apache-2.0): https://gitlab.com/jakubrojicek11/sentinel-ir

npm: https://www.npmjs.com/package/sentinel-ir

Playground (runs in your browser): https://sentinel-ir-playground-dc30c8.gitlab.io/

TL;DR for people who scroll

sentinel-ir turns one source file into a small JSON fact sheet built from a

real syntax tree: imports, exports, routes, env reads, network, filesystem,

process and crypto calls, dangerous syntax, a risk level and the line that

caused it. You send that to the model instead of the raw file.

0.5 adds Rust , compile-time risk for build.rs and procedural macros,

hardening against comments and hostile input, and is ~28% faster on a

35,000-file corpus.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.