{"id":"@lssm-tech/example.locale-jurisdiction-gate","slug":"example.locale-jurisdiction-gate","name":"@lssm-tech/example.locale-jurisdiction-gate","version":"5.0.4","path":"examples/locale-jurisdiction-gate","manifestPath":"examples/locale-jurisdiction-gate/package.json","manifestBlobSha":"add90d28eee2cecaba3dddac6d4e6c2ee364edfb","layer":"examples","physicalArea":null,"primaryArea":"examples-and-patterns","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"example","catalogStatus":"active","adoptionMode":"reference-only","stability":"stable"},"description":"Example: enforce locale + jurisdiction + kbSnapshotId + allowed scope for assistant calls (fail-closed).","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"example","status":"active","adoptionMode":"reference-only","stability":"stable","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./docs","./docs/locale-jurisdiction-gate.docblock","./entities","./entities/models","./events","./example","./forms","./forms/assistant-context.form","./handlers","./handlers/demo.handlers","./locale-jurisdiction-gate.feature","./operations","./operations/assistant","./policy","./policy/assistant-gate.policy","./policy/guard","./policy/types","./translations","./translations/assistant-gate.en-GB.translation","./translations/assistant-gate.en-US.translation","./translations/assistant-gate.fr-FR.translation"],"documentation":[{"title":"Example Locale Jurisdiction Gate documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.locale-jurisdiction-gate","kind":"readme"}],"examples":[],"replacements":[],"nonAdoptableRationale":"This example is published for reference and learning, not as a reusable library dependency."},"canonicalImports":[],"scripts":{"publish:pkg":"bun publish --tolerate-republish --ignore-scripts --verbose","publish:pkg:canary":"bun publish:pkg --tag canary","build":"contractspec-bun-build build","build:bundle":"contractspec-bun-build transpile","build:types":"contractspec-bun-build types","dev":"contractspec-bun-build dev","clean":"rimraf dist .turbo","lint":"bun lint:fix","lint:fix":"node ../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../scripts/biome.cjs check --write .","lint:check":"node ../../scripts/biome.cjs check .","test":"bun test","prebuild":"contractspec-bun-build prebuild","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.contracts-spec":"workspace:^","@lssm-tech/lib.schema":"workspace:^"},"devDependencies":{"@lssm-tech/tool.typescript":"workspace:*","typescript":"catalog:","@lssm-tech/tool.bun":"workspace:*"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./docs":"./src/docs/index.ts","./docs/locale-jurisdiction-gate.docblock":"./src/docs/index.ts","./entities":"./src/entities/index.ts","./entities/models":"./src/entities/models.ts","./events":"./src/events.ts","./example":"./src/example.ts","./forms":"./src/forms/index.ts","./forms/assistant-context.form":"./src/forms/assistant-context.form.ts","./handlers":"./src/handlers/index.ts","./handlers/demo.handlers":"./src/handlers/demo.handlers.ts","./locale-jurisdiction-gate.feature":"./src/locale-jurisdiction-gate.feature.ts","./operations":"./src/operations/index.ts","./operations/assistant":"./src/operations/assistant.ts","./policy":"./src/policy/index.ts","./policy/assistant-gate.policy":"./src/policy/assistant-gate.policy.ts","./policy/guard":"./src/policy/guard.ts","./policy/types":"./src/policy/types.ts","./translations":"./src/translations/index.ts","./translations/assistant-gate.en-GB.translation":"./src/translations/assistant-gate.en-GB.translation.ts","./translations/assistant-gate.en-US.translation":"./src/translations/assistant-gate.en-US.translation.ts","./translations/assistant-gate.fr-FR.translation":"./src/translations/assistant-gate.fr-FR.translation.ts"},"publishExports":{".":{"types":"./dist/index.d.ts","browser":"./dist/browser/index.js","bun":"./dist/index.js","node":"./dist/node/index.js","default":"./dist/index.js"},"./docs":{"types":"./dist/docs/index.d.ts","browser":"./dist/browser/docs/index.js","bun":"./dist/docs/index.js","node":"./dist/node/docs/index.js","default":"./dist/docs/index.js"},"./docs/locale-jurisdiction-gate.docblock":{"types":"./dist/docs/index.d.ts","browser":"./dist/browser/docs/index.js","bun":"./dist/docs/index.js","node":"./dist/node/docs/index.js","default":"./dist/docs/index.js"},"./entities":{"types":"./dist/entities/index.d.ts","browser":"./dist/browser/entities/index.js","bun":"./dist/entities/index.js","node":"./dist/node/entities/index.js","default":"./dist/entities/index.js"},"./entities/models":{"types":"./dist/entities/models.d.ts","browser":"./dist/browser/entities/models.js","bun":"./dist/entities/models.js","node":"./dist/node/entities/models.js","default":"./dist/entities/models.js"},"./events":{"types":"./dist/events.d.ts","browser":"./dist/browser/events.js","bun":"./dist/events.js","node":"./dist/node/events.js","default":"./dist/events.js"},"./example":{"types":"./dist/example.d.ts","browser":"./dist/browser/example.js","bun":"./dist/example.js","node":"./dist/node/example.js","default":"./dist/example.js"},"./forms":{"types":"./dist/forms/index.d.ts","browser":"./dist/browser/forms/index.js","bun":"./dist/forms/index.js","node":"./dist/node/forms/index.js","default":"./dist/forms/index.js"},"./forms/assistant-context.form":{"types":"./dist/forms/assistant-context.form.d.ts","browser":"./dist/browser/forms/assistant-context.form.js","bun":"./dist/forms/assistant-context.form.js","node":"./dist/node/forms/assistant-context.form.js","default":"./dist/forms/assistant-context.form.js"},"./handlers":{"types":"./dist/handlers/index.d.ts","browser":"./dist/browser/handlers/index.js","bun":"./dist/handlers/index.js","node":"./dist/node/handlers/index.js","default":"./dist/handlers/index.js"},"./handlers/demo.handlers":{"types":"./dist/handlers/demo.handlers.d.ts","browser":"./dist/browser/handlers/demo.handlers.js","bun":"./dist/handlers/demo.handlers.js","node":"./dist/node/handlers/demo.handlers.js","default":"./dist/handlers/demo.handlers.js"},"./locale-jurisdiction-gate.feature":{"types":"./dist/locale-jurisdiction-gate.feature.d.ts","browser":"./dist/browser/locale-jurisdiction-gate.feature.js","bun":"./dist/locale-jurisdiction-gate.feature.js","node":"./dist/node/locale-jurisdiction-gate.feature.js","default":"./dist/locale-jurisdiction-gate.feature.js"},"./operations":{"types":"./dist/operations/index.d.ts","browser":"./dist/browser/operations/index.js","bun":"./dist/operations/index.js","node":"./dist/node/operations/index.js","default":"./dist/operations/index.js"},"./operations/assistant":{"types":"./dist/operations/assistant.d.ts","browser":"./dist/browser/operations/assistant.js","bun":"./dist/operations/assistant.js","node":"./dist/node/operations/assistant.js","default":"./dist/operations/assistant.js"},"./policy":{"types":"./dist/policy/index.d.ts","browser":"./dist/browser/policy/index.js","bun":"./dist/policy/index.js","node":"./dist/node/policy/index.js","default":"./dist/policy/index.js"},"./policy/assistant-gate.policy":{"types":"./dist/policy/assistant-gate.policy.d.ts","browser":"./dist/browser/policy/assistant-gate.policy.js","bun":"./dist/policy/assistant-gate.policy.js","node":"./dist/node/policy/assistant-gate.policy.js","default":"./dist/policy/assistant-gate.policy.js"},"./policy/guard":{"types":"./dist/policy/guard.d.ts","browser":"./dist/browser/policy/guard.js","bun":"./dist/policy/guard.js","node":"./dist/node/policy/guard.js","default":"./dist/policy/guard.js"},"./policy/types":{"types":"./dist/policy/types.d.ts","browser":"./dist/browser/policy/types.js","bun":"./dist/policy/types.js","node":"./dist/node/policy/types.js","default":"./dist/policy/types.js"},"./translations":{"types":"./dist/translations/index.d.ts","browser":"./dist/browser/translations/index.js","bun":"./dist/translations/index.js","node":"./dist/node/translations/index.js","default":"./dist/translations/index.js"},"./translations/assistant-gate.en-GB.translation":{"types":"./dist/translations/assistant-gate.en-GB.translation.d.ts","browser":"./dist/browser/translations/assistant-gate.en-GB.translation.js","bun":"./dist/translations/assistant-gate.en-GB.translation.js","node":"./dist/node/translations/assistant-gate.en-GB.translation.js","default":"./dist/translations/assistant-gate.en-GB.translation.js"},"./translations/assistant-gate.en-US.translation":{"types":"./dist/translations/assistant-gate.en-US.translation.d.ts","browser":"./dist/browser/translations/assistant-gate.en-US.translation.js","bun":"./dist/translations/assistant-gate.en-US.translation.js","node":"./dist/node/translations/assistant-gate.en-US.translation.js","default":"./dist/translations/assistant-gate.en-US.translation.js"},"./translations/assistant-gate.fr-FR.translation":{"types":"./dist/translations/assistant-gate.fr-FR.translation.d.ts","browser":"./dist/browser/translations/assistant-gate.fr-FR.translation.js","bun":"./dist/translations/assistant-gate.fr-FR.translation.js","node":"./dist/node/translations/assistant-gate.fr-FR.translation.js","default":"./dist/translations/assistant-gate.fr-FR.translation.js"}},"types":"./dist/index.d.ts","files":["LICENSE","README.md","dist","!**/*.test.*","!**/*.spec.*","!**/*.tsbuildinfo"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/example.locale-jurisdiction-gate","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"examples/locale-jurisdiction-gate/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs","importPath":"@lssm-tech/example.locale-jurisdiction-gate/docs","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/locale-jurisdiction-gate/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs/locale-jurisdiction-gate.docblock","importPath":"@lssm-tech/example.locale-jurisdiction-gate/docs/locale-jurisdiction-gate.docblock","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/locale-jurisdiction-gate/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./entities","importPath":"@lssm-tech/example.locale-jurisdiction-gate/entities","target":"./src/entities/index.ts","targets":[{"conditions":[],"target":"./src/entities/index.ts","sourcePath":"examples/locale-jurisdiction-gate/src/entities/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/entities/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./entities/models","importPath":"@lssm-tech/example.locale-jurisdiction-gate/entities/models","target":"./src/entities/models.ts","targets":[{"conditions":[],"target":"./src/entities/models.ts","sourcePath":"examples/locale-jurisdiction-gate/src/entities/models.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/entities/models.ts","sourceStatus":"verified source file"}]},{"subpath":"./events","importPath":"@lssm-tech/example.locale-jurisdiction-gate/events","target":"./src/events.ts","targets":[{"conditions":[],"target":"./src/events.ts","sourcePath":"examples/locale-jurisdiction-gate/src/events.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/events.ts","sourceStatus":"verified source file"}]},{"subpath":"./example","importPath":"@lssm-tech/example.locale-jurisdiction-gate/example","target":"./src/example.ts","targets":[{"conditions":[],"target":"./src/example.ts","sourcePath":"examples/locale-jurisdiction-gate/src/example.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/example.ts","sourceStatus":"verified source file"}]},{"subpath":"./forms","importPath":"@lssm-tech/example.locale-jurisdiction-gate/forms","target":"./src/forms/index.ts","targets":[{"conditions":[],"target":"./src/forms/index.ts","sourcePath":"examples/locale-jurisdiction-gate/src/forms/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/forms/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./forms/assistant-context.form","importPath":"@lssm-tech/example.locale-jurisdiction-gate/forms/assistant-context.form","target":"./src/forms/assistant-context.form.ts","targets":[{"conditions":[],"target":"./src/forms/assistant-context.form.ts","sourcePath":"examples/locale-jurisdiction-gate/src/forms/assistant-context.form.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/forms/assistant-context.form.ts","sourceStatus":"verified source file"}]},{"subpath":"./handlers","importPath":"@lssm-tech/example.locale-jurisdiction-gate/handlers","target":"./src/handlers/index.ts","targets":[{"conditions":[],"target":"./src/handlers/index.ts","sourcePath":"examples/locale-jurisdiction-gate/src/handlers/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/handlers/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./handlers/demo.handlers","importPath":"@lssm-tech/example.locale-jurisdiction-gate/handlers/demo.handlers","target":"./src/handlers/demo.handlers.ts","targets":[{"conditions":[],"target":"./src/handlers/demo.handlers.ts","sourcePath":"examples/locale-jurisdiction-gate/src/handlers/demo.handlers.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/handlers/demo.handlers.ts","sourceStatus":"verified source file"}]},{"subpath":"./locale-jurisdiction-gate.feature","importPath":"@lssm-tech/example.locale-jurisdiction-gate/locale-jurisdiction-gate.feature","target":"./src/locale-jurisdiction-gate.feature.ts","targets":[{"conditions":[],"target":"./src/locale-jurisdiction-gate.feature.ts","sourcePath":"examples/locale-jurisdiction-gate/src/locale-jurisdiction-gate.feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/locale-jurisdiction-gate.feature.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations","importPath":"@lssm-tech/example.locale-jurisdiction-gate/operations","target":"./src/operations/index.ts","targets":[{"conditions":[],"target":"./src/operations/index.ts","sourcePath":"examples/locale-jurisdiction-gate/src/operations/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/operations/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/assistant","importPath":"@lssm-tech/example.locale-jurisdiction-gate/operations/assistant","target":"./src/operations/assistant.ts","targets":[{"conditions":[],"target":"./src/operations/assistant.ts","sourcePath":"examples/locale-jurisdiction-gate/src/operations/assistant.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/operations/assistant.ts","sourceStatus":"verified source file"}]},{"subpath":"./policy","importPath":"@lssm-tech/example.locale-jurisdiction-gate/policy","target":"./src/policy/index.ts","targets":[{"conditions":[],"target":"./src/policy/index.ts","sourcePath":"examples/locale-jurisdiction-gate/src/policy/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/policy/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./policy/assistant-gate.policy","importPath":"@lssm-tech/example.locale-jurisdiction-gate/policy/assistant-gate.policy","target":"./src/policy/assistant-gate.policy.ts","targets":[{"conditions":[],"target":"./src/policy/assistant-gate.policy.ts","sourcePath":"examples/locale-jurisdiction-gate/src/policy/assistant-gate.policy.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/policy/assistant-gate.policy.ts","sourceStatus":"verified source file"}]},{"subpath":"./policy/guard","importPath":"@lssm-tech/example.locale-jurisdiction-gate/policy/guard","target":"./src/policy/guard.ts","targets":[{"conditions":[],"target":"./src/policy/guard.ts","sourcePath":"examples/locale-jurisdiction-gate/src/policy/guard.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/policy/guard.ts","sourceStatus":"verified source file"}]},{"subpath":"./policy/types","importPath":"@lssm-tech/example.locale-jurisdiction-gate/policy/types","target":"./src/policy/types.ts","targets":[{"conditions":[],"target":"./src/policy/types.ts","sourcePath":"examples/locale-jurisdiction-gate/src/policy/types.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/policy/types.ts","sourceStatus":"verified source file"}]},{"subpath":"./translations","importPath":"@lssm-tech/example.locale-jurisdiction-gate/translations","target":"./src/translations/index.ts","targets":[{"conditions":[],"target":"./src/translations/index.ts","sourcePath":"examples/locale-jurisdiction-gate/src/translations/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/translations/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./translations/assistant-gate.en-GB.translation","importPath":"@lssm-tech/example.locale-jurisdiction-gate/translations/assistant-gate.en-GB.translation","target":"./src/translations/assistant-gate.en-GB.translation.ts","targets":[{"conditions":[],"target":"./src/translations/assistant-gate.en-GB.translation.ts","sourcePath":"examples/locale-jurisdiction-gate/src/translations/assistant-gate.en-GB.translation.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/translations/assistant-gate.en-GB.translation.ts","sourceStatus":"verified source file"}]},{"subpath":"./translations/assistant-gate.en-US.translation","importPath":"@lssm-tech/example.locale-jurisdiction-gate/translations/assistant-gate.en-US.translation","target":"./src/translations/assistant-gate.en-US.translation.ts","targets":[{"conditions":[],"target":"./src/translations/assistant-gate.en-US.translation.ts","sourcePath":"examples/locale-jurisdiction-gate/src/translations/assistant-gate.en-US.translation.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/translations/assistant-gate.en-US.translation.ts","sourceStatus":"verified source file"}]},{"subpath":"./translations/assistant-gate.fr-FR.translation","importPath":"@lssm-tech/example.locale-jurisdiction-gate/translations/assistant-gate.fr-FR.translation","target":"./src/translations/assistant-gate.fr-FR.translation.ts","targets":[{"conditions":[],"target":"./src/translations/assistant-gate.fr-FR.translation.ts","sourcePath":"examples/locale-jurisdiction-gate/src/translations/assistant-gate.fr-FR.translation.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/src/translations/assistant-gate.fr-FR.translation.ts","sourceStatus":"verified source file"}]}],"entryCount":22,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Example Locale Jurisdiction Gate documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.locale-jurisdiction-gate","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/example.locale-jurisdiction-gate.txt"},"readme":{"status":"available","body":"# @lssm-tech/example.locale-jurisdiction-gate\n\nWebsite: https://contractspec.io\n\n**Example: enforce locale + jurisdiction + kbSnapshotId + allowed scope for assistant calls (fail-closed).**\n\n## What This Demonstrates\n\n- Canonical `policy` export via `AssistantGatePolicy`.\n- Canonical `form` export via `AssistantContextForm`.\n- Canonical `translation` exports for `en-US`, `en-GB`, and `fr-FR`.\n- Fail-closed policy guard pattern for AI assistant calls.\n- Entity models for locale/jurisdiction gating.\n- Event-driven policy enforcement.\n- Handler and operation separation with typed operations.\n- Feature definition pattern.\n- `src/docs/` contains docblocks and documentation-facing exports.\n\n## Running Locally\n\nFrom `examples/locale-jurisdiction-gate`:\n- `bun run dev`\n- `bun run build`\n- `bun run test`\n- `bun run typecheck`\n\n## Usage\n\nUse `@lssm-tech/example.locale-jurisdiction-gate` as a reference implementation, or import its exported surfaces into a workspace that composes ContractSpec examples and bundles.\n\n## Architecture\n\n- `src/docs/` contains docblocks and documentation-facing exports.\n- `src/entities/` contains domain entities and value objects.\n- `src/events.ts` is package-level event definitions.\n- `src/example.ts` is the runnable example entrypoint.\n- `src/forms/` contains the exported assistant context form spec.\n- `src/handlers/` contains handlers or demo adapters wired to contract surfaces.\n- `src/index.ts` is the root public barrel and package entrypoint.\n- `src/locale-jurisdiction-gate.feature.ts` defines a feature entrypoint.\n- `src/translations/` contains the exported locale catalogs.\n\n## Public Entry Points\n\n- Export `.` resolves through `./src/index.ts`.\n- Export `./docs` resolves through `./src/docs/index.ts`.\n- Export `./docs/locale-jurisdiction-gate.docblock` is an alias of `./docs` and resolves through `./src/docs/index.ts`.\n- Export `./entities` resolves through `./src/entities/index.ts`.\n- Export `./entities/models` resolves through `./src/entities/models.ts`.\n- Export `./events` resolves through `./src/events.ts`.\n- Export `./example` resolves through `./src/example.ts`.\n- Export `./forms` resolves through `./src/forms/index.ts`.\n- Export `./forms/assistant-context.form` resolves through `./src/forms/assistant-context.form.ts`.\n- Export `./handlers` resolves through `./src/handlers/index.ts`.\n- Export `./handlers/demo.handlers` resolves through `./src/handlers/demo.handlers.ts`.\n- Export `./locale-jurisdiction-gate.feature` resolves through `./src/locale-jurisdiction-gate.feature.ts`.\n- Export `./policy/assistant-gate.policy` resolves through `./src/policy/assistant-gate.policy.ts`.\n- Export `./translations` resolves through `./src/translations/index.ts`.\n- Export `./translations/assistant-gate.en-GB.translation` resolves through `./src/translations/assistant-gate.en-GB.translation.ts`.\n- Export `./translations/assistant-gate.en-US.translation` resolves through `./src/translations/assistant-gate.en-US.translation.ts`.\n- Export `./translations/assistant-gate.fr-FR.translation` resolves through `./src/translations/assistant-gate.fr-FR.translation.ts`.\n- The package publishes 21 total export subpaths; keep docs aligned with `package.json`.\n\n## Local Commands\n\n- `bun run dev` — contractspec-bun-build dev\n- `bun run build` — contractspec-bun-build build\n- `bun run test` — bun test\n- `bun run lint` — bun lint:fix\n- `bun run lint:check` — biome check .\n- `bun run lint:fix` — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .\n- `bun run typecheck` — tsgo --noEmit\n- `bun run publish:pkg` — bun publish --tolerate-republish --ignore-scripts --verbose\n- `bun run publish:pkg:canary` — bun publish:pkg --tag canary\n- `bun run clean` — rimraf dist .turbo\n- `bun run build:bundle` — contractspec-bun-build transpile\n- `bun run build:types` — contractspec-bun-build types\n- `bun run prebuild` — contractspec-bun-build prebuild\n\n## Recent Updates\n\n- Replace eslint+prettier by biomejs to optimize speed.\n- Missing contract layers.\n\n## Notes\n\n- Works alongside `@lssm-tech/lib.contracts-spec`, `@lssm-tech/lib.schema`, `@lssm-tech/tool.bun`, `@lssm-tech/tool.typescript`.\n","sourcePath":"examples/locale-jurisdiction-gate/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/locale-jurisdiction-gate/README.md","blobSha":"cb8248717eae9f473d84ba998cea04d702a63e3f","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","origin":"README recovered byte-for-byte from pinned aggregate guide","integrity":"exact Git blob match","executionStatus":"not executed"},"provenance":{"repository":"lssm-tech/contractspec","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","manifestOrigin":"pinned GitHub manifest fetch","manifestComplete":true,"publicationPolicyApplied":false},"areaSlug":"examples-and-patterns","areaTitle":"Examples and implementation patterns","displayName":"example.locale-jurisdiction-gate","runtimes":["node"],"platforms":["server"],"kind":"example","scope":"Package manifest","canonicalRoute":"/docs/packages/example.locale-jurisdiction-gate/","contextUrl":"/docs/packages/example.locale-jurisdiction-gate.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}