2026-11-27 16:21 UTC

Laya developer announces CLI guardrail for coding-agent file actions

state: expiredheat: mediumuncertainty: mediumrelevance: mediumcoding-agents tool-call-guardrails agent-safetyNandakishor M

What is this?

Nandakishor M, associated with the Laya decision-engine project, announced CLI support for using a decision model as a gate on file-changing calls in Claude Code, Codex, Cursor and similar tools. The X post says the model was fitted and calibrated on synthetic data and reports accuracy rising from 60.9% to 95.7%, with ECE of 0.065, on 46 held-out proposals. These are the developer’s claims; the supplied sources do not independently validate the results or establish the tool’s adoption. A web result for the project’s GitHub repository warns that calibration samples in a notebook come from training items and says evaluation should use separate held-out data. It is unclear whether that warning concerns the same evaluation or setup, so the claimed held-out result and the warning need follow-up rather than being treated as resolved.

Why it matters

A fast, model-based gate could add a common safety layer to coding agents that can create or delete files, potentially making powerful tools easier to use with less risk. The important question is whether it reliably catches harmful actions without blocking legitimate work. The announcement is promising but early: the reported test set is small, results are self-reported, and the calibration evidence needs clarification.

Current assessment

New: on Nov. 1, 2026, Nandakishor M announced CLI support for a decision-engine guardrail intended to gate file creation, deletion and other unwanted or malicious actions across Claude Code, Codex and Cursor. The post reports fitting and calibration on a large synthetic corpus, then 95.7% accuracy and ECE 0.065 on 46 held-out proposals, versus 60.9% accuracy before fitting and calibration. These figures and the protection claim are developer-reported, not independently established; the supplied evidence does not specify the test composition, baseline details, false-positive/false-negative rates, or whether the gate is available and usable beyond the announcement. A GitHub search result for Laya cautions that calibration samples in a notebook come from training items and recommends separate held-out evaluation. The available snippet does not establish whether it refers to this CLI evaluation, so the potential conflict warrants checking the repository and evaluation protocol. If effective, this kind of lightweight gate could extend safety controls across multiple coding-agent products without requiring each agent provider to build its own; actual reliability and adoption remain open questions.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-31 13:00⭐ origin echo-reconstructedThe furthest-back primary artifact located is the X post itself. It says: “Decision engine as your agentic, super-fast guardrail or gate. We
Nandakishor M (@Nandakishorm1) on x (echo) · attributed from hn.story.50333981
—
11-02 07:18first on hacker news · published · +42.3hDecision model-based tool call guardrails for Claude Code, Codex, and Cursor
porridgeraisin
—
11-02 07:18amplified on hacker news 👑hn.story.50333981
porridgeraisin
peak 1 · 0 comments · 104% of case engagement
11-02 07:21our radar first saw it · +42.4hdiscovery anchor: hn.story.50333981—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnDecision model-based tool call guardrails for Claude Code, Codex, and Cursor
Retrieved article excerpt

Open article · Retrieved 2026-11-02T07:22:15.783269+00:00

[@Nandakishorm1](https://x.com/Nandakishorm1)

[Nandakishor m](https://x.com/Nandakishorm1)[@Nandakishorm1](https://x.com/Nandakishorm1)

Decision engine as your agentic, super-fast guardrail or gate. We have added CLI support; with just one line, your full claude code/codex/cursor, etc., is protected from unwanted file deletion, creation, or malicious attacks. Fitted and calibrated on a large corpus of synthetic data, 46 held-out proposals. Before: accuracy 60.9 percent. After fit+calibrate: accuracy 95.7 percent, ECE at 0.065. ECE close to zero is a more trust worthy result.
prompt in first comment

![](https://pbs.twimg.com/amplify_video_thumb/2116999771013730304/img/5A0kg-ICLWyBuPor?format=webp&name=medium)

00:00

[9:08 PM · Nov 1, 2026](https://x.com/Nandakishorm1/status/2117000769148957070)·[1,097

Views](https://x.com/Nandakishorm1/status/2117000769148957070)

[6](https://x.com/compose/post?in_reply_to=2117000769148957070)

28

9
porridgeraisin10
🟧 echo.x ⭐The furthest-back primary artifact located is the X post itself. It says: “Decision engine as your agentic, super-fast guardrail or gate. WeNandakishor M (@Nandakishorm1)——

Interpretation history

Decision trace