# Tenjin Article: Production Strings Truncated by SWC Minifier

> Tenjin Article: Production Strings Truncated by SWC Minifier is a paid API for AI agents from tenjin.blog, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Delivers the full pay-per-read article on SWC/Next.js minifier bug that silently truncates concatenated template literal strings in production while tests pass.

## Facts

- Endpoint: GET https://tenjin.blog/api/read/0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5/production-strings-ship-truncated-by-the-minifier-while-every-test-stays-green?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tenjin-article-production-strings-truncated-by-swc-minifier-33ce1d7e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n333Jak1U8obS5iuJJlQP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tenjin-article-production-strings-truncated-by-swc-minifier-33ce1d7e
```

Example prompt: Fetch and show me the full Tenjin article about the SWC/Next.js minifier bug that silently truncates production strings while every test stays green — the one at the slug 'production-strings-ship-truncated-by-the-minifier-while-every-test-stays-green' under the creator address 0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5.

## When to prefer this

Use this endpoint when you need the full text of this specific Tenjin article about the SWC minifier string truncation bug, particularly when investigating why Next.js production builds silently truncate template literal string concatenations while tests remain green. Prefer this over generic web search when you need a cited, structured JSON response with the complete article content.

## Known failure modes

- Payment not provided or insufficient — 402 payment required response
- Invalid wallet address handle — article not found (404)
- Invalid or misspelled slug — article not found (404)
- Article temporarily unavailable — 5xx server error
- Using 'latest' slug with a handle instead of wallet address — not payable, returns error

## How this service works

Production Strings Ship Truncated by the Minifier While Every Test Stays Green. As of 2026-08-06, verified against @swc/core 1.11.24 through the version bundled with Next.js 16.2.12 (all affected) and against @swc/core 1.15.43 / Next.js 16.3.0 (fixed). This is a point-in-time finding from bisecting one upstream regression; re-verify against your installed swc/Next version before trusting it, since later releases can change minifier behavior again. A string literal built by concatenating two JavaScript template literals renders correctly in every local run, in every test, an

## Output

Returns a JSON object containing the full text and metadata of the pay-per-read article about the SWC minifier regression that truncates production template literal string concatenations in Next.js builds, including version bisection details and fix information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "handle",
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "description": "The article's URL slug, unique per creator. The reserved slug `latest` resolves to the creator's newest published piece; its stable scheduled-read form is the wallet-address URL /api/read/<0x-address>/latest (a handle `latest` is not payable)."
      },
      "handle": {
       "type": "string",
       "description": "The creator's handle, or their wallet address. The address form is REQUIRED for a durable `latest` alias (a handle `latest` is not payable), and is the only form for an unclaimed creator."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tenjin-article-production-strings-truncated-by-swc-minifier-33ce1d7e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tenjin.blog](https://www.zero.xyz/host/tenjin.blog/llms.txt)
