"""Seed initial DRAFT creative patterns for AI material planning."""

from __future__ import annotations

import sys
from pathlib import Path

from dotenv import load_dotenv

_HERE = Path(__file__).parent
load_dotenv(_HERE / ".env")
sys.path.insert(0, str(_HERE))

from tools.material_strategy_learning import (  # noqa: E402
    DEFAULT_PATTERN_VERSION,
    seed_default_draft_patterns,
)


def main() -> int:
    count = seed_default_draft_patterns()
    print(f"OK: seeded {count} DRAFT patterns pattern_version={DEFAULT_PATTERN_VERSION}")
    return 0


if __name__ == "__main__":
    raise SystemExit(main())
