chore(artifacts): keep throwaway expansion helpers in scripts/tier2/artifacts/ (per Tier 2 convention)

This commit is contained in:
ed
2026-07-03 00:05:08 -04:00
parent 465433e067
commit 8ef66e0287
7 changed files with 251 additions and 0 deletions
@@ -0,0 +1,19 @@
#!/usr/bin/env python3
import sys
from pathlib import Path
NL = chr(10)
count = 0
for d in sorted(Path("conductor/directives").iterdir()):
meta = d / "meta.md"
if not meta.exists():
continue
content = meta.read_text(encoding="utf-8")
if chr(92) + "n" not in content:
continue
fixed = content.replace(chr(92) + "n", NL)
meta.write_text(fixed, encoding="utf-8")
count += 1
print("FIXED " + d.name)
print("Total fixed: " + str(count))