II.
SharedContextSpec JSON
Structured · liveshared-context-spec:hooks-mux-unified-hook-event
UnifiedHookEvent (a5c.hooks.v1) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "shared-context-spec:hooks-mux-unified-hook-event",
"_kind": "SharedContextSpec",
"_file": "extensions/shared-context-specs/hooks-mux-core-types.yaml",
"_cluster": "extensions",
"attributes": {
"displayName": "UnifiedHookEvent (a5c.hooks.v1)",
"contextKind": "wire-payload",
"typescriptInterface": "UnifiedHookEvent",
"producerIface": "@a5c-ai/hooks-mux-core adapters (claude, codex, gemini, ...) normalize raw events",
"consumerIfaces": [
"@a5c-ai/hooks-mux-core merge-engine (handler dispatch)",
"@a5c-ai/hooks-mux-core SDK consumers"
],
"fieldSchema": [
"version:literal<a5c.hooks.v1>:required",
"adapter:string:required:Source adapter id",
"phase:ref<CanonicalPhase>:required:Canonical lifecycle phase",
"rawEventName:string:required:Adapter-native event name",
"supportLevel:enum<native|emulated|lossy|unsupported>:required",
"execution:ref<UnifiedExecutionContext>:required",
"payload:map<string,unknown>:required:Phase-specific structured payload",
"env:{ input: map<string,string>, persisted: map<string,string> }:required",
"raw:unknown:required:Original adapter event for debugging"
],
"sourceCitation": "packages/hooks-mux/core/src/types/event.ts:34-47"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "package:a5c-ai-hooks-mux-core",
"to": "shared-context-spec:hooks-mux-unified-hook-event",
"kind": "has_payload_schema",
"attributes": {}
}
]
}