lore_create
Creates a new novel's foundational world facts, 3-5 character cast, and tracking entities before story planning, following an approved StoryProfile or genre and rejecting overwrites.
Instructions
새 작품의 기반을 모델이 자동 설계한다: 세계 사실, 3~5인 캐스트(characters/.md), 추적 엔티티를 만들어 world/setting.md와 .vibelore/에 저장한다. 보통 lore_profile → lore_profile_decide(approve) 다음에 호출하며, 그러면 StoryProfile의 엔진 장르·시점·언어·분량을 따른다. StoryProfile 없이 genre만으로도 호출할 수 있다. 직접 쓴 설정으로 시작하려면 lore_init을 쓴다. 이미 기반이 있으면 덮어쓰지 않고 거부하며, StoryProfile이 있는데 승인 전이면 거부한다. 세계·캐스트·엔티티·언어 검증마다 status=needs_model을 돌려주므로 lore_resume을 여러 번 이어야 하고, 모두 끝나기 전에는 아무 파일도 저장하지 않는다. 성공하면 {created:true, genre, language, length, worldFacts(개수), characters[{id,name,contradiction}], entities[{id,kind,name}]}. 다음 단계는 lore_story_plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | Yes | 작품 전제와 방향을 담은 자연어 브리프. 승인된 StoryProfile이 있으면 그 독서 계약과 합쳐 설계 입력이 된다. | |
| genre | No | 엔진 장르 id(lore_init과 같은 목록). StoryProfile이 없을 때만 필요하며, 있으면 무시하고 StoryProfile의 엔진 장르를 쓴다. | |
| title | Yes | 작품 제목. 세계·캐스트 설계 입력으로도 쓰인다. | |
| length | No | 화당 분량 계약. unit 은 legacyCodeUnits|graphemes|words, target 은 양의 정수. 생략하면 StoryProfile 값, 없으면 3000(ko는 legacyCodeUnits, 그 외는 graphemes). | |
| workId | Yes | 작품 식별자 ([A-Za-z0-9_-]). 한 디렉터리에는 작품 하나만 둔다. | |
| povMode | No | 시점(예: 3인칭제한, 1인칭). 생략하면 StoryProfile의 시점, 그것도 없으면 제한 3인칭. | |
| project | No | 작품 디렉터리의 절대 경로. 생략하면 서버 실행 디렉터리. | |
| language | No | 작품 언어 BCP 47 태그(예: ko, en-US, ja, zh-Hant). 생략하면 저장된 계약을 따른다. StoryProfile이 있으면 그 언어와 같아야 한다. | |
| targetChapters | No | 완결 목표 화수. 기본 40. | |
| chapterWordCount | No | 구형 분량 인자. 이름과 달리 단어가 아니라 legacyCodeUnits(대략 UTF-16 글자 수)로 해석한다. 새 호출은 length를 쓴다. 둘 다 주면 unit=legacyCodeUnits이고 target이 같아야 하며 아니면 LENGTH_CONTRACT_CONFLICT. |