Context. surface studio · domain hathor · route /studio/hathor/llm-npc · auth signed-in + studio entitlement · source apps/oshun/web/src/app/studio/hathor/llm-npc/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#
Aggregator surface that composes Hathor's LLM-NPC operator lanes: a Capability
Summary plus the embedded NPC Personality System, NPC Memory System, NPC
Dialogue Generation, and NPC Safety Guardrails workspaces. The page itself issues
no /v1 fetch — each embedded lane owns its own admin-scoped, fail-closed
backend wiring.
Entry points#
- Breadcrumb — Studio › Hathor NPC Personality System › LLM NPC
- Quick-action links to npc-personality-system, npc-memory-system, npc-dialogue-generation, npc-safety-guardrails, and Back to Studio
- Direct URL / bookmark — yes;
alternates.canonicalset - Studio overview — see
../../studio-overview.md
Layout regions#
page.tsx renders inside <ShellLayout active="studio">:
- Breadcrumb panel (
data-hathor-llm-npc-breadcrumbs): Studio → Hathor NPC Personality System → LLM NPC (current) - Workspace
<section data-hathor-llm-npc-workspace>:<h1>(WorkspaceHeading) "Hathor LLM NPC Workspace"- Summary
<p data-hathor-llm-npc-summary> - Capability Summary (
data-hathor-llm-npc-capability-summary,<h2>): capability cards keyed bydata-hathor-llm-npc-capability - NPC Personality System Lane (
data-hathor-llm-npc-personality-lane,<h2>) →<StudioHathorNpcPersonalitySystemWorkspace /> - NPC Memory System Lane (
data-hathor-llm-npc-memory-lane,<h2>) →<StudioHathorNpcMemorySystemWorkspace /> - NPC Dialogue Generation Lane (
data-hathor-llm-npc-dialogue-lane,<h2>) →<StudioHathorNpcDialogueGenerationWorkspace /> - NPC Safety Guardrails Lane (
data-hathor-llm-npc-safety-lane,<h2>) →<StudioHathorNpcSafetyGuardrailsWorkspace />
- Route Map panel (
data-hathor-llm-npc-route-map):<h2>"Route Map" + 6 entries fromSTUDIO_HATHOR_LLM_NPC_ROUTE_MAP - Quick-action lane: five
Link.quickActionanchors (see Entry points)
States#
This page owns no fetch; each embedded lane carries its own loading / unauthorized / error / ready / result states:
- NPC Personality System Lane — delegated to the personality workspace
- NPC Memory System Lane — delegated to
./studio-hathor-npc-memory-system.md - NPC Dialogue Generation Lane — delegated to the dialogue workspace
- NPC Safety Guardrails Lane — delegated to
./studio-hathor-npc-safety-guardrails.md
Interactions#
Embedded lanes#
- NPC Personality System Lane
- NPC Memory System Lane
- NPC Dialogue Generation Lane
- NPC Safety Guardrails Lane
Route Map panel#
- 6 route entries — verify match with
STUDIO_HATHOR_LLM_NPC_ROUTE_MAP
Quick-action lane#
- "Open Hathor NPC Personality System workspace" (→
/studio/hathor/npc-personality-system) - "Open Hathor NPC Memory System workspace" (→
/studio/hathor/npc-memory-system) - "Open Hathor NPC Dialogue Generation workspace" (→
/studio/hathor/npc-dialogue-generation) - "Open Hathor NPC Safety Guardrails workspace" (→
/studio/hathor/npc-safety-guardrails) - "Back to Studio workspace index" (→
/studio)
Data & contracts#
- Reads / Writes: none at the aggregator level; embedded lanes own their
/v1/admin/hathor/*fetches - Realtime: none
- Caching: embedded client fetches use
cache: 'no-store'+buildBffAuthHeaders - Auth/role check: each embedded lane is admin-scoped fail-closed; route is behind the signed-in + studio proxy gate
Cross-references#
- Parent:
../../studio-overview.md - Shell:
../../../shell/04-auth-session.md - Embedded / sibling lanes:
./studio-hathor-npc-memory-system.md,./studio-hathor-npc-safety-guardrails.md - Component sources:
apps/oshun/web/src/components/studio/StudioHathorLlmNpcWorkspace.tsxapps/oshun/web/src/components/studio/StudioHathorLlmNpcRouteMap.tsapps/oshun/web/src/components/studio/StudioHathorNpcPersonalitySystemWorkspace.tsxapps/oshun/web/src/components/studio/StudioHathorNpcMemorySystemWorkspace.tsxapps/oshun/web/src/components/studio/StudioHathorNpcDialogueGenerationWorkspace.tsxapps/oshun/web/src/components/studio/StudioHathorNpcSafetyGuardrailsWorkspace.tsx
Open questions / known gaps#
- Hathor is
unconfirmed-v1perWALKTHROUGH/matrix/routes.csv. Confirm whether the dedicated/studio/hathor/*admin lane consoles ship in V1. - Route Map advertises
personality/,memory/,dialogue/,safety/, andgovernance/sub-routes with nopage.tsxyet.