mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 23:09:35 +00:00
Complete Tier-1 closure follow-through by wiring docs governance gates, RC release readiness checks, source-of-truth enforcement, executive weekly contract surface, and go-live severity notes. Add full go-live revenue execution documentation set (production activation, real production playbook, trust expansion, first 3 clients, live deployment, and automated revenue engine) and register all canonical paths. Made-with: Cursor
36 lines
894 B
Python
36 lines
894 B
Python
#!/usr/bin/env python3
|
|
"""Lightweight glossary presence check for Tier-1 Docs/Governance CI."""
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
ROOT = Path(__file__).resolve().parent.parent
|
|
GLOSSARY = ROOT / "docs" / "glossary-dealix-planes-tracks.md"
|
|
|
|
# Stable anchors that must remain if the glossary is the naming contract.
|
|
REQUIRED_SUBSTRINGS = (
|
|
"Decision",
|
|
"Execution",
|
|
"Trust",
|
|
"Operating",
|
|
"Plane",
|
|
)
|
|
|
|
|
|
def main() -> int:
|
|
if not GLOSSARY.is_file():
|
|
print("MISSING", GLOSSARY, file=sys.stderr)
|
|
return 1
|
|
text = GLOSSARY.read_text(encoding="utf-8")
|
|
missing = [s for s in REQUIRED_SUBSTRINGS if s not in text]
|
|
if missing:
|
|
print("GLOSSARY_FAIL missing:", missing, file=sys.stderr)
|
|
return 1
|
|
print("glossary consistency OK")
|
|
return 0
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|