SShortSingh.
Back to feed

Eleven exact-file rules replace repeated model judgments in a code-change risk classifier

0
·12 views

A deterministic classifier that sorts code changes by risk now uses eleven new rules derived from repeated historical answers. Each rule matches one exact file path rather than whole directories or filename patterns, so it cannot quietly broaden its reach. A replay against 1,603 ledger rows showed 37 cases moving from model-or-escalation to a deterministic answer, and none of the 27 previously model-answered cases disagreed with the new result. The replay shows consistency with past decisions, not that future model calls will be avoided or that the earlier model was correct. Mixed-risk commits and commits with unmatched sibling files remain unresolved, and the classifier still advises rather than gating delivery.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Why Zero Trust Must Govern Each AI Agent Tool Call, Not Just the Session

The article argues that placing an AI agent behind an API gateway is not enough, since a single authentication can leave every later tool call with the same broad authority. It contends that Zero Trust for AI requires checking the human subject, workload identity, tenant, delegated task, and risk level before each action. Authorization decisions should be narrow and short-lived, and high-impact operations should need step-up approval tied to the specific operation. The piece also stresses treating model inputs from emails or websites as untrusted, since they may carry prompt injection, and revoking access promptly when tasks are cancelled. It concludes that Zero Trust is an execution-time property verified at every tool boundary rather than a network location.

0
ProgrammingDEV Community ·

Node.js session settings page must enforce ownership and consistent revocation

A design write-up argues that an account settings page for a Node.js developer tool should be built on an authoritative inventory of the user's sessions. Each session is shown with its identifier, last-seen details, and a marker for the current login. Revocation must verify that the selected session belongs to the same verified user, since hiding rows in the browser does not stop a crafted request. Refresh-token renewal and revocation need to be serialized at a durable boundary so a concurrent refresh cannot restore a revoked login. The author also notes that access tokens may outlive a revoked refresh capability, so immediate invalidation should not be promised until it is verified.

0
ProgrammingDEV Community ·

SessionControl: free open-source plugin pauses and resumes all Claude Code sessions

SessionControl is a free, open-source plugin for the Claude Code desktop app that manages every session at once from the title bar. A Pause button tells working sessions to finish their current step, write a handoff note, and wait, while Resume restarts paused sessions from those notes, including sessions that were active when the app crashed. A Stop button interrupts working sessions and their subagents after a confirmation prompt. A counter displays working sessions and subagents separately, with a click-through log. The plugin is installable via a marketplace command, has been tested on Windows, and is experimental on macOS.

0
ProgrammingDEV Community ·

Synaplan CVE-2026-138112 Puts Legacy API Key Creation at Risk Beyond Title Scans

Synaplan, a self-hosted AI platform for chat, retrieval, widgets, and agents, may be exposed through an older API route that does not appear in public page titles. A title search returned only six matches, and an application fingerprint search returned none, which does not establish whether deployments are vulnerable. CVE-2026-138112 affects Synaplan versions 5.6.0 through 5.6.6 due to a flaw in the legacy API endpoint and createApiKey authorization, while version 5.6.7 is listed as unaffected. The guidance recommends inventorying deployments, verifying authorization on key-creation paths, and reviewing keys created during the vulnerable period. Public title searches are described as a lead for finding deployments rather than a reliable way to confirm version or access control status.