{
  "schema": "bdl.ai-bootstrap.v2",
  "canonical_site": "https://bdl-lang.org",
  "baseline": "5.2.2 ALIGNED",
  "purpose": "Enable a fresh AI system to discover, understand, author and validate BDL from the canonical site without guessing native state.",
  "start_here": [
    "https://bdl-lang.org/ai-bootstrap.json",
    "https://bdl-lang.org/llms-full.txt",
    "https://bdl-lang.org/ai-corpus/manifest.json",
    "https://bdl-lang.org/ai-discovery.json",
    "https://bdl-lang.org/ai-knowledge.json"
  ],
  "retrieval_ranking": [
    "Status=Current",
    "Version descending",
    "Confidence",
    "Evidence freshness"
  ],
  "authority_order": [
    "Current Source",
    "Runtime/Test Evidence",
    "Verified Artifact/SHA/Diff",
    "Last Verified Closure",
    "Historical Docs"
  ],
  "hard_prohibitions": [
    "Never guess native IDs",
    "Never infer Runtime Support from a model property",
    "Never use direct SQL mutation as a BDL workaround",
    "Never silently drop unsupported properties",
    "Never emulate deferred Selective Export by filtering full export",
    "Never auto-approve destructive mutation",
    "Never claim Build PASS as Runtime Verified"
  ],
  "mandatory_pipeline": [
    "Requirement decomposition",
    "Shared/Core reuse check",
    "Artifact selection",
    "Pattern selection",
    "Capability and known-gap lookup",
    "Live metadata resolution",
    "Minimal BDL authoring",
    "Parser/Preflight validation",
    "ValidateOnly/Compile",
    "Plan and human review",
    "Approval where required",
    "Governed execute",
    "Reload/Post-verify",
    "Export/Round-trip evidence"
  ],
  "required_generation_output": [
    "selected artifact/pattern",
    "capability status",
    "source/evidence references",
    "assumptions",
    "known gaps",
    "BDL JSON",
    "expected validation/compile gates",
    "expected execution risk and approval requirement"
  ],
  "machine_surfaces": {
    "current_sources": "https://bdl-lang.org/ai-corpus/current-sources.jsonl",
    "knowledge_chunks": "https://bdl-lang.org/ai-corpus/knowledge-chunks.jsonl",
    "contracts": "https://bdl-lang.org/ai-corpus/contracts.jsonl",
    "catalogs": "https://bdl-lang.org/ai-corpus/catalogs.jsonl",
    "preserved_index": "https://bdl-lang.org/ai-corpus/preserved-index.json",
    "source_index": "https://bdl-lang.org/ai-corpus/source-index.json",
    "supersession_map": "https://bdl-lang.org/ai-corpus/supersession-map.json",
    "legacy_ai_knowledge": "https://bdl-lang.org/ai-knowledge.json",
    "discovery": "https://bdl-lang.org/ai-discovery.json",
    "release": "https://bdl-lang.org/bdl-release.json"
  }
}
