"""Create the synthetic project used for the real-app effort-label reproduction."""
import pathlib
import subprocess
import sys

project = pathlib.Path(sys.argv[1]).resolve()
(project / '.claude/agents').mkdir(parents=True, exist_ok=True)
(project / '.claude/agents/effort-probe.md').write_text(
    '---\nname: effort-probe\ndescription: Replies OK.\neffort: low\n---\nReply OK.\n'
)
(project / 'README.md').write_text('Synthetic effort label reproduction.\n')
subprocess.run(['git', '-C', str(project), 'init', '-q'], check=True)
