docs(devkit): ship Windows adoption guides

This commit is contained in:
thanhnv
2026-07-21 23:51:03 +07:00
parent 7b2ba60a3a
commit 6faf589694
6 changed files with 353 additions and 3 deletions
@@ -36,6 +36,11 @@ assert 'CASAN_PROJECT_ID: "sample-project"' in workflow
assert "__PROJECT_ID__" not in workflow
assert (root / "bin/casan-chat").exists()
assert (root / "bin/casan-chat.ps1").exists()
for relative in ("docs/casan/CASAN_ADOPTION_WINDOWS.md", "docs/casan/CASAN_PROMPT_ENFORCEMENT.md"):
text = (root / relative).read_text(encoding="utf-8")
assert "sample-project" in text
assert "Sample Project" in text or relative.endswith("CASAN_PROMPT_ENFORCEMENT.md")
assert "__PROJECT_ID__" not in text and "__PROJECT_NAME__" not in text
PY
(cd "$TARGET" && bin/casan prompt verify) | grep -q 'CASAN_PROMPT_ENFORCEMENT_VALID project=sample-project'