Context. surface studio · domain hathor · route /studio/hathor/npc-to-npc-conversations · auth signed-in + studio entitlement · source apps/oshun/web/src/app/studio/hathor/npc-to-npc-conversations/page.tsx
Last walked. 2026-05-29 automated runtime walk (Playwright headless) — render, /v1 data (2xx), console/page-errors, expected content, screenshot verified; live screen-reader, touch, offline, and telemetry-delivery checks pending a manual AT pass. Evidence: WALKTHROUGH/results/runtime-sweep-2026-05-29.md; body re-derived 2026-06-03 from current source (lane-console architecture)
Purpose#
Admin lane console that validates a multi-NPC conversation transcript for turn-taking integrity — the real turn-taking validator flags participants who spoke vs. stayed silent, self-addressed turns, repeats, and who was addressed. The operator submits a JSON conversation payload and the lane returns the turn-taking diagnostics.
Entry points#
- Quick-action link from
/studio/hathor/npc-behavior-control(verify against that page's source) - Direct URL / bookmark — yes;
alternates.canonicalset to/studio/hathor/npc-to-npc-conversations - Studio overview — see
../../studio-overview.md
Layout regions#
page.tsx renders inside <ShellLayout active="studio">:
- Workspace
<StudioHathorNpcToNpcConversationsWorkspace />(data-hathor-npc-to-npc-conversations-workspace):WorkspaceHeading<h1>— "Hathor NPC-to-NPC Conversations Workspace"- Summary
<p data-hathor-npc-to-npc-conversations-summary> - Live Turn-Taking Validator lane —
<h2 data-cnv-heading>(lanedata-cnv-lane); holds the loading / unauthorized / error / form / result states
- Route Map panel
data-hathor-npc-to-npc-conversations-route-map—<h2>"Route Map" listing the 5STUDIO_HATHOR_NPC_TO_NPC_CONVERSATIONS_ROUTE_MAPentries (profiles / sessions / contexts / governance child paths) - Quick-action lane — two
Link.quickActionanchors: NPC Behavior Control, Back to Studio workspace index
States#
- Loading —
data-cnv-loadingwhile the GET catalog request is in flight - Unauthorized (admin-scope 401/403) —
data-cnv-unauthorized - Error —
data-cnv-error - Ready (form) — conversation textarea + submit
- Result —
data-cnv-resultwithdata-cnv-participants(per-participantdata-cnv-participant-rowcarryingdata-participant/data-silent, plusdata-cnv-spoke/data-cnv-silent/data-cnv-addressed/data-cnv-self-addressed/data-cnv-repeats) - Validation error —
data-cnv-validate-error
Interactions#
Live Turn-Taking Validator lane#
- Conversation payload —
<textarea data-cnv-payload> - Submit —
<button data-cnv-submit>"Validate conversation" → POSTCNV_VALIDATE_ENDPOINT
Route Map panel#
- Route entries — verify match with
STUDIO_HATHOR_NPC_TO_NPC_CONVERSATIONS_ROUTE_MAP(5 entries)
Quick-action lane#
- "Open Hathor NPC Behavior Control workspace" →
/studio/hathor/npc-behavior-control - "Back to Studio workspace index" →
/studio
Data & contracts#
- Reads:
GET /v1/admin/hathor/npc-to-npc-conversations(CNV_ENDPOINT) — the conversation-validation catalog - Writes:
POST /v1/admin/hathor/npc-to-npc-conversations/validate(CNV_VALIDATE_ENDPOINT) with the conversation payload - Realtime: none
- Caching: client
fetchon mount,cache: 'no-store',buildBffAuthHeaders() - Auth/role check: admin-scoped, fail-closed on 401/403; route additionally gated signed-in + studio by the BFF proxy
Cross-references#
- Parent:
../../studio-overview.md - Shell:
../../../shell/04-auth-session.md - Sibling routes:
./studio-hathor-npc-behavior-control.md - Component sources:
apps/oshun/web/src/components/studio/StudioHathorNpcToNpcConversationsWorkspace.tsxapps/oshun/web/src/components/studio/StudioHathorNpcToNpcConversationsRouteMap.ts
Open questions / known gaps#
- Hathor is
unconfirmed-v1perWALKTHROUGH/matrix/routes.csv. Confirm whether the dedicated/studio/hathor/lane consoles ship at V1 or are internal-only.