| @objectstack/spec | patch |
|---|
Annotate the schema-only event/subscription/connector surfaces flagged by the #3197 audit with explicit "not yet enforced / not yet implemented" notes in their doc comments and .describe() texts, so authoring metadata against them is no longer silently swallowed. No runtime behavior or schema shape changes — documentation only.
Surfaces annotated (each trace re-confirmed against the current tree before annotating):
GraphQLSubscriptionConfigSchema(api/graphql.zod.ts) — no subscription transport exists; the GraphQL HTTP entry serves query/mutation only.WebSocketMessageType+ module header (api/websocket.zod.ts) — no WebSocket server is mounted (#2462); the protocol is a future wire contract.RealtimeEventType(api/realtime.zod.ts) — zero runtime importers; the engine emitsdata.record.*names (which don't match this enum's members) and nothing emitsfield.changed.- Connector
webhooks/WebhookConfigSchema/WebhookEventSchemaandtriggers/ConnectorTriggerSchema(integration/connector.zod.ts) —AutomationEngine.registerConnectorreads onlyactions; webhook events and trigger definitions parse but are never dispatched or polled. - Automation
ConnectorTriggerSchema/TriggerRegistrySchema(automation/trigger-registry.zod.ts) — no runtime importer; thestreamtrigger mechanism exists only here. NotificationChannelSchema(system/notification.zod.ts) + the mirroredNotificationChannelcontract type — implemented delivery channels areinbox/email/sms;push/slack/teams/webhookdead-letter, and the enum'sin-appdoes not match the registeredinboxchannel id.
The audit's sixth row (SubscriptionEventType, formerly data/subscription.zod.ts) needed no annotation — it was already removed outright by the feed-contract retirement (#1959).