---
entity: caisson_node
workspace_id: ws_quickstart
workspace_slug: quickstart
node_id: nd_qs_helper_normalize
node_type: Implementation
status: verified
environment_version: node:22-ts:5.8
environment_lock_hash: 902c6c679663f6d8cd1f4a7a11f7c66b06f7ca39be1d1b5cf5cae8b9a5af2728
spec_hash: 3f70ac58f160e4403286dce2d6828250254d983cc4bd7196320c3573c06b7428
---

# Verified Helper: Unicode-Safe normalizeKey (`nd_qs_helper_normalize`)

Normalizes Unicode strings (NFKD diacritic stripping, lowercase, ASCII hyphenation) for reuse across quickstart tasks.

## Frozen Target Specification
```ts
// src/helpers/normalizeKey.ts
// Verified Caisson helper artifact (art_qs_helper_normalize).
// Normalizes arbitrary Unicode titles into lowercase ASCII URL slugs.

export function normalizeKey(input: string): string {
  return input
    .normalize('NFKD')
    .replace(/[\u0300-\u036f]/g, '')
    .toLowerCase()
    .replace(/[^a-z0-9]+/g, '-')
    .replace(/^-+|-+$/g, '');
}
```

## Verified Solution
```ts
// src/helpers/normalizeKey.ts
// Verified Caisson helper artifact (art_qs_helper_normalize).
// Normalizes arbitrary Unicode titles into lowercase ASCII URL slugs.

export function normalizeKey(input: string): string {
  return input
    .normalize('NFKD')
    .replace(/[\u0300-\u036f]/g, '')
    .toLowerCase()
    .replace(/[^a-z0-9]+/g, '-')
    .replace(/^-+|-+$/g, '');
}
```

## Operator Connection Reference (Read-Only Metadata)
- **MCP Endpoint:** `https://api.caisson.tools/mcp` (Streamable HTTP, Bearer token issued by workspace operator)
- **Workspace ID:** `ws_quickstart`
- **Verification Policy:** No local toolchain required: server-side verification handles compilation and replay.
- **Read-Only Discovery:** `https://caisson.tools/llms.txt`
