Define knowledge skill separation model

This commit is contained in:
2026-05-19 15:31:14 -07:00
parent 4560a006e7
commit 26db07d54f
3 changed files with 92 additions and 1 deletions
@@ -0,0 +1,40 @@
#!/usr/bin/env python3
"""Verify the 0.1.R MVP knowledge/skill separation model is documented."""
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
DOC = ROOT / "Docs" / "KnowledgeAndSkillFoundation.md"
ROADMAP = ROOT / "AGRARIAN_DEVELOPMENT_ROADMAP.md"
REQUIRED = {
DOC: [
"## MVP Separation Model",
"Knowledge:",
"Practical experience:",
"Physical stats:",
"Tools:",
"Infrastructure:",
"basic survival actions must remain possible",
],
ROADMAP: [
"[x] Define the MVP separation between knowledge, practical experience, physical stats, tools, and infrastructure.",
],
}
def main() -> None:
missing: list[str] = []
for path, snippets in REQUIRED.items():
text = path.read_text(encoding="utf-8")
for snippet in snippets:
if snippet not in text:
missing.append(f"{path.relative_to(ROOT)} missing {snippet!r}")
if missing:
raise SystemExit("FAILED: " + "; ".join(missing))
print("OK: knowledge/skill separation model is documented.")
if __name__ == "__main__":
main()