<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Quality-Gate on Tokenise</title><link>https://tokenise.rosvetic.com/tags/quality-gate/</link><description>Recent content in Quality-Gate on Tokenise</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Wed, 25 Nov 2026 07:04:00 +0000</lastBuildDate><atom:link href="https://tokenise.rosvetic.com/tags/quality-gate/index.xml" rel="self" type="application/rss+xml"/><item><title>Move a Node 22 service to Node 26 with a deprecation ledger as the agent's worklist</title><link>https://tokenise.rosvetic.com/posts/node-22-to-26-deprecation-ledger-agent-worklist/</link><pubDate>Wed, 25 Nov 2026 07:04:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/node-22-to-26-deprecation-ledger-agent-worklist/</guid><description>&lt;p&gt;A service has been on Node 22 since the day it was written. Node 22 is in maintenance and stops getting fixes on 30 April 2027, so the upgrade is on the calendar, and nobody wants to be the person who reads three major release posts looking for what applies to this codebase. The usual shortcut is to paste the release notes into an agent and ask it to &amp;ldquo;make this work on Node 26&amp;rdquo;. The agent produces a confident diff, the tests pass, and nobody can say what it did or didn&amp;rsquo;t look for.&lt;/p&gt;</description></item><item><title>Let an agent delete your dead TypeScript, but only the code that's really dead: Knip as the worklist, a triage script as the brake</title><link>https://tokenise.rosvetic.com/posts/dead-code-knip-triage-agent-deletions-typescript/</link><pubDate>Tue, 24 Nov 2026 07:04:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/dead-code-knip-triage-agent-deletions-typescript/</guid><description>&lt;p&gt;Somebody asks the agent to &amp;ldquo;clean up unused code&amp;rdquo; in a TypeScript service. It finds a few helpers, deletes them, runs the tests, and reports green. The diff is 400 lines smaller and looks like a good afternoon.&lt;/p&gt;</description></item><item><title>Your agent's error logging leaks the API key: plant canary secrets and fail the build when one shows up</title><link>https://tokenise.rosvetic.com/posts/canary-secrets-log-leak-test-agent-typescript/</link><pubDate>Sat, 21 Nov 2026 07:02:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/canary-secrets-log-leak-test-agent-typescript/</guid><description>&lt;p&gt;Ask an agent for an API client with decent error handling and the result usually looks great in review. A try/catch, a descriptive message, and a &lt;code&gt;log.error&lt;/code&gt; call that includes everything you&amp;rsquo;d want at 3am: the URL, the headers, the config, the error. Everything includes the credentials.&lt;/p&gt;</description></item><item><title>The config merge your agent wrote lets a JSON body rewrite Object.prototype: a failing test table, a safe merge and a property test in TypeScript</title><link>https://tokenise.rosvetic.com/posts/prototype-pollution-agent-deep-merge-typescript/</link><pubDate>Fri, 20 Nov 2026 07:03:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/prototype-pollution-agent-deep-merge-typescript/</guid><description>&lt;p&gt;A feature request lands that sounds like plumbing: let users override settings. A tenant uploads a JSON file, or a client sends a PATCH with a partial settings object, and the server layers it over the defaults. The agent writes a recursive &lt;code&gt;deepMerge&lt;/code&gt;, maybe a &lt;code&gt;setByPath(&amp;quot;theme.colours.accent&amp;quot;, value)&lt;/code&gt; for the admin screen, adds a test that merges &lt;code&gt;{ a: { b: 1 } }&lt;/code&gt; with &lt;code&gt;{ a: { c: 2 } }&lt;/code&gt;, and the demo is green.&lt;/p&gt;</description></item><item><title>The URL-fetch feature your agent wrote will happily call your internal network: an attack table and a connect-time guard for C#</title><link>https://tokenise.rosvetic.com/posts/ssrf-guard-agent-url-fetch-csharp-attack-table/</link><pubDate>Thu, 19 Nov 2026 07:08:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/ssrf-guard-agent-url-fetch-csharp-attack-table/</guid><description>&lt;p&gt;A feature request arrives that sounds harmless: let users paste a URL and show a preview of the page, or pull in a remote avatar, or register a webhook and send a test ping. The agent builds it in one pass, adds a check that rejects &lt;code&gt;localhost&lt;/code&gt; and the private ranges, and the demo works. Then somebody pastes &lt;code&gt;http://169.254.169.254/latest/meta-data/&lt;/code&gt; and the service politely returns the cloud instance&amp;rsquo;s metadata, credentials included.&lt;/p&gt;</description></item><item><title>The regex your agent wrote hangs on one bad string: a timeout policy, a pumped-input test and a build gate for C#</title><link>https://tokenise.rosvetic.com/posts/regex-backtracking-timeout-budget-agent-validators-csharp/</link><pubDate>Wed, 18 Nov 2026 07:11:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/regex-backtracking-timeout-budget-agent-validators-csharp/</guid><description>&lt;p&gt;A pull request from an agent adds two validators to a signup form: one for a slug, one for a display name. The patterns look tidy, the agent wrote five example tests, all green. The reviewer approves. A week later a bot posts a 40-character display name ending in an exclamation mark, and one request thread spins at 100% CPU until the process is restarted.&lt;/p&gt;</description></item><item><title>Make the build reject the async mistakes agents write in C#</title><link>https://tokenise.rosvetic.com/posts/compiler-gate-async-mistakes-agent-csharp/</link><pubDate>Mon, 16 Nov 2026 07:06:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/compiler-gate-async-mistakes-agent-csharp/</guid><description>&lt;p&gt;An agent adds an endpoint that calls a rates service. The code compiles, the happy-path test passes and the diff looks tidy. Three weeks later a deploy drains slowly because every in-flight request to that service ignores the client&amp;rsquo;s disconnect, and a background audit call has been throwing unobserved exceptions into the void since day one.&lt;/p&gt;</description></item></channel></rss>