OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Fail-closed gating for assistant calls requiring locale/jurisdiction/snapshot/scope and citations.
Operations (2)
•
`assistant.answer` (v1.0.0)
•
`assistant.explainConcept` (v1.0.0)
Events (3)
•
`assistant.answer.requested` (v1.0.0)
•
`assistant.answer.blocked` (v1.0.0)
•
`assistant.answer.delivered` (v1.0.0)
Source Definition
import { defineFeature } from '@lssm-tech/lib.contracts-spec';
import { AssistantGatePolicy } from './policy/assistant-gate.policy';
export const LocaleJurisdictionGateFeature = defineFeature({
meta: {
key: 'locale-jurisdiction-gate',
version: '1.0.0',
title: 'Locale + Jurisdiction Gate',
description:
'Fail-closed gating for assistant calls requiring locale/jurisdiction/snapshot/scope and citations.',
domain: 'knowledge',
owners: ['@examples'],
tags: ['assistant', 'policy', 'locale', 'jurisdiction', 'knowledge'],
stability: 'experimental',
},
operations: [
{ key: 'assistant.answer', version: '1.0.0' },
{ key: 'assistant.explainConcept', version: '1.0.0' },
],
events: [
{ key: 'assistant.answer.requested', version: '1.0.0' },
{ key: 'assistant.answer.blocked', version: '1.0.0' },
{ key: 'assistant.answer.delivered', version: '1.0.0' },
],
presentations: [],
opToPresentation: [],
presentationsTargets: [],
capabilities: {
requires: [{ key: 'knowledge', version: '1.0.0' }],
},
policies: [
{
key: AssistantGatePolicy.meta.key,
version: AssistantGatePolicy.meta.version,
},
],
knowledge: [
{ key: 'locale-jurisdiction-gate.knowledge.rules', version: '1.0.0' },
],
docs: [
'docs.examples.locale-jurisdiction-gate.goal',
'docs.examples.locale-jurisdiction-gate.reference',
],
});