/*
Master barrel for @warpgogol/werkstatt-shared/ontology — re-exports all public APIs from the
enums, manifest, and cosmic sub-modules so consumers can import from the
package root or sub-paths.
- Do not add business logic here — keep as a pure re-export barrel.
- Do not re-export internal helpers (semver/kebab validators).
- RFC-1097: step 6 — compass.migrate codemod run
Mechanical v1 to v2 header migration across the workspace: 942 files rewritten — CHANGE_SUMMARY windows collapsed into history, forbidden v1 blocks stripped, KEY_DECISIONS seeded from @ai-invariant comments (5 files) or TODO placeholders (103 files), blocks reordered to canonical order.
- RFC-1097: sweep — werkstatt-engine clean
Sweep batch 4: 73 Compass headers on headerless engine files (certification, component-runtime, isolation, evolution, testing), real KEY_DECISIONS on 75 files (kernel, cache, dht, swim, gitmesh, runtime), ~80 purpose expansions (CONTRACT-02/PURPOSE-02), non-goals on 13 CONTRACT-03 files, CS-07 history literal fix repo-wide (253 files). Policy: .template.ts/.template.astro excludedPaths. werkstatt-engine now 0 diagnostics.
*/
// ---------------------------------------------------------------------------
// Enums — Layer
// ---------------------------------------------------------------------------
export { LayerValues, layerSchema } from "./enums.ts";
export type { Layer } from "./enums.ts";
// ---------------------------------------------------------------------------
// Enums — SemanticRole (RFC-0084: open, archetype-derived; type alias only)
// ---------------------------------------------------------------------------
export type { SemanticRole } from "./enums.ts";
// ---------------------------------------------------------------------------
// Enums — ComponentRole
// ---------------------------------------------------------------------------
export { ComponentRoleValues, componentRoleSchema } from "./enums.ts";
export type { ComponentRole } from "./enums.ts";
// ---------------------------------------------------------------------------
// Enums — Industry
// ---------------------------------------------------------------------------
export { IndustryValues, industrySchema, IndustryLabels } from "./enums.ts";
export type { Industry } from "./enums.ts";
// ---------------------------------------------------------------------------
// Manifest schema + types
// ---------------------------------------------------------------------------
export {
KNOWN_INTENTS,
pageManifestSchema,
sectionManifestSchema,
componentManifestSchema,
manifestSchema,
} from "./manifest.ts";
export type {
KnownIntent,
PageManifest,
SectionManifest,
ComponentManifest,
Manifest,
} from "./manifest.ts";
// ---------------------------------------------------------------------------
// Schemas — Constellation, Biome, SiteFamily, SystemManifest (DNA-23, RFC-0025, RFC-0071)
// ---------------------------------------------------------------------------
export {
constellationSchema,
constellationSlotSchema,
biomeSchema,
biomeAxesSchema,
biomeConstraintsSchema,
biomeFontEntrySchema,
biomeFontsSchema,
biomeGeometrySchema,
biomeMotionSchema,
biomePaletteSchema,
biomeProvenanceSchema,
biomeSiteBackgroundSchema,
biomeSpacingSchema,
biomeTypographySchema,
siteFamilySchema,
siteFamilyDetectionSchema,
siteFamilyRecipeSchema,
SiteFamilyContract,
sectionArchetypeSchema,
systemManifestSchema,
systemCollectionSchema,
} from "./schemas/index.ts";
export type {
Constellation,
ConstellationSlot,
Biome,
BiomeAxes,
BiomeConstraints,
BiomeFontEntry,
BiomeFontsConfig,
BiomeGeometry,
BiomeMotion,
BiomePalette,
BiomeProvenance,
BiomeSiteBackground,
BiomeSpacing,
BiomeTypography,
SiteFamily,
SiteFamilyDetection,
SiteFamilyRecipe,
SectionArchetypeContract,
SectionArchetypeId,
SectionArchetypeLayoutHint,
SystemManifest,
SystemPagePin,
SystemPlanetPin,
SystemCollectionData,
} from "./schemas/index.ts";
// ---------------------------------------------------------------------------
// Schemas — PageEntry, BlockEntry (DNA-24, RFC-0026)
// ---------------------------------------------------------------------------
export { PageEntrySchema, BlockEntrySchema } from "./schemas/index.ts";
export type { PageEntry, BlockEntry } from "./schemas/index.ts";
// getSectionPropsSchema is NOT re-exported from the root barrel — it imports
// node:fs/promises. Import from @warpgogol/werkstatt-shared/ontology/schemas/manifest-resolver.
// ---------------------------------------------------------------------------
// Schemas — Capability catalog (RFC-0288)
// ---------------------------------------------------------------------------
export {
capabilityInputOutputSchema,
capabilityOutputSchema,
capabilityRecordSchema,
} from "./schemas/index.ts";
export type {
CapabilityInputOutputSchema,
CapabilityNestedProperty,
CapabilityOutputSchema,
CapabilityRecord,
} from "./schemas/index.ts";
// ---------------------------------------------------------------------------
// Shared section props fragments (RFC-0101, RFC-0102, RFC-0103)
// ---------------------------------------------------------------------------
export {
SHARED_SECTION_PROPS,
isSharedSectionPropsId,
composeManifestPropsSchema,
sharedSectionPropsChangelog,
} from "./shared-section-props/index.ts";
export type {
JsonSchemaFragment,
SharedSectionPropsId,
SharedSectionPropsRef,
} from "./shared-section-props/index.ts";
// ---------------------------------------------------------------------------
// Cosmic catalogs (DNA-23, RFC-0025)
// ---------------------------------------------------------------------------
export {
StarCatalog,
starNameSchema,
PlanetCatalog,
planetNameSchema,
MoonCatalog,
moonNameSchema,
cosmicNameSchema,
} from "./cosmic/index.ts";
export type { StarName, PlanetName, MoonName, CosmicName } from "./cosmic/index.ts";
// ---------------------------------------------------------------------------
// Biome token projection (RFC-0071 consolidated mapping)
// ---------------------------------------------------------------------------
export {
BIOME_TO_TOKEN_MAP,
BIOME_TOKEN_ALIASES,
BIOME_TOKEN_DERIVED,
getBiomeField,
projectBiomeToTokens,
getAllProjectedTokenNames,
} from "./biome-token-projection.ts";
export type { BiomeTokenAlias, BiomeTokenDerived } from "./biome-token-projection.ts";