cli/api: add `--jurisdiction` and document the command

main

Commit

Soph2mo ago

entire api --to cell only reached the caller's home entire-api cell. Add --jurisdiction <slug> (e.g. us, eu) to target a specific jurisdiction's cell instead, reusing the existing cell machinery: it passes auth.CellTarget{Jurisdiction: slug} into NewEntireAPICellClient, which mints the jurisdictional identity token and resolves that jurisdiction's cell URL. No new exchange/URL/security logic.

--jurisdiction targets a cell, so it implies --to cell; combining it with an explicit --to core is a contradiction and errors clearly. The slug is normalized to a bare lowercase DNS label (US/" us " -> us).

Surface it to agents: the command was already visible in entire help and entire agent-help, and agent-help renders live from the Cobra tree, so the updated Long/Example/flag-usage explain --jurisdiction automatically on drill-down. Also document entire api in CLAUDE.md, which was missing it entirely.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com Entire-Checkpoint: 2e2d0343f4a1

Checkpoints

Git Remote e2e Test Coverage Plan

Claude CodeFable 5
View session
Checkpoint 1

Route Pinned Jurisdiction to Its Own Cell

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1