Guest User

Untitled

a guest
Mar 20th, 2026
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.68 KB | None | 0 0
  1. ## repository Purpose
  2. This repository is a fiction-writing workspace. The assistant helps draft, revise, organize, and maintain story files with strict version control and clear separation between chapter prose and non-chapter reference material.
  3.  
  4. ---
  5.  
  6. ## Directory structure
  7.  
  8. ### Chapter files
  9. - Active chapter files live directly inside `chapters/`.
  10. - Archived chapter versions live inside `chapters/archive/`.
  11.  
  12. Examples:
  13. - `chapters/chapter01_part01_v1.md`
  14. - `chapters/chapter01_part01_v2.md`
  15. - `chapters/archive/chapter01_part01_v1.md`
  16.  
  17. ### Story bible files
  18. Non-chapter material must never be stored in `chapters/`.
  19.  
  20. Use these folders instead:
  21.  
  22. - `story_bible/outlines/` for plot outlines and beat sheets
  23. - `story_bible/characters/` for character profiles and relationship notes
  24. - `story_bible/world/` for setting, lore, factions, systems, and history
  25. - `story_bible/references/` for tone, themes, style notes, or other support documents
  26.  
  27. Each section keeps its own archive folder:
  28.  
  29. - `story_bible/outlines/archive/`
  30. - `story_bible/characters/archive/`
  31. - `story_bible/world/archive/`
  32. - `story_bible/references/archive/`
  33.  
  34. Examples:
  35. - `story_bible/outlines/outline_ch01_v3.md`
  36. - `story_bible/characters/main_cast_v2.md`
  37. - `story_bible/world/world_notes_v4.md`
  38.  
  39. ---
  40.  
  41. ## File naming rules
  42.  
  43. ### General format
  44. All active files must include a version number in the filename.
  45.  
  46. Format:
  47. `name_vN.md`
  48.  
  49. Where:
  50. - `N` is an integer version number
  51. - version numbers increase sequentially
  52. - do not skip numbers unless explicitly instructed
  53.  
  54. Examples:
  55. - `chapter01_part01_v1.md`
  56. - `chapter01_part01_v2.md`
  57. - `outline_master_v3.md`
  58. - `character_profiles_v5.md`
  59.  
  60. ### Chapter naming
  61. Use:
  62. `chapter##_part##_vN.md`
  63.  
  64. Examples:
  65. - `chapter01_part01_v1.md`
  66. - `chapter03_part02_v4.md`
  67.  
  68. If a chapter is not split into parts, use:
  69. `chapter##_vN.md`
  70.  
  71. Example:
  72. - `chapter05_v2.md`
  73.  
  74. ---
  75.  
  76. ## Revision workflow
  77.  
  78. ### Core rule
  79. Never overwrite a tracked draft without preserving the previous version.
  80.  
  81. ### When revising an existing file
  82. If revising an active file:
  83. 1. Identify its current version number.
  84. 2. Copy or move that exact file into the correct archive folder.
  85. 3. Create a new active file in the original main folder with the next version number.
  86. 4. Apply the requested edits only to the new version.
  87. 5. Leave archived files untouched after archiving.
  88.  
  89. ### Example
  90. If the active file is:
  91. `chapters/chapter01_part01_v3.md`
  92.  
  93. Then before revising:
  94. - archive old version to `chapters/archive/chapter01_part01_v3.md`
  95. - create new version `chapters/chapter01_part01_v4.md`
  96.  
  97. ### Important restrictions
  98. - Do not edit archived files unless explicitly told to restore or reuse one.
  99. - Do not delete older versions.
  100. - Do not rename unrelated files.
  101. - Do not silently replace one file with another.
  102. - Do not create duplicate active versions with the same version number.
  103.  
  104. ---
  105.  
  106. ## Creating new files
  107.  
  108. ### New chapter files
  109. When creating a chapter file for the first time, start at version 1.
  110.  
  111. Example:
  112. - `chapters/chapter02_part01_v1.md`
  113.  
  114. ### New story bible files
  115. When creating a new outline, profile, or world file for the first time, start at version 1.
  116.  
  117. Examples:
  118. - `story_bible/outlines/outline_ch02_v1.md`
  119. - `story_bible/characters/side_characters_v1.md`
  120. - `story_bible/world/magic_system_v1.md`
  121.  
  122. ---
  123.  
  124. ## Context discipline
  125.  
  126. Read only the files needed for the task. confirm with user
  127.  
  128. ### For chapter drafting or revision
  129. Prioritize:
  130. 1. the target chapter file
  131. 2. the most relevant chapter outline
  132. 3. the character files for characters appearing in the scene
  133. 4. world files only if needed for continuity, setting, lore, or mechanics
  134. 5. reference files only if needed for tone or style consistency
  135.  
  136. ### Avoid unnecessary reads
  137. - Do not read unrelated chapters unless explicitly asked
  138. - Do not load the entire story bible by default
  139. - Do not inspect archive files unless needed for comparison, restoration, or continuity checks
  140. - Prefer minimal relevant context over broad scanning
  141.  
  142. ---
  143.  
  144. ## Continuity checks
  145.  
  146. When continuity issues are noticed:
  147. - flag them clearly
  148. - name the conflicting files if possible
  149. - do not make large canon changes automatically
  150. - prefer minimal fixes that preserve existing material
  151. - if revising a chapter, do not rewrite major worldbuilding or character history unless explicitly requested
  152.  
  153. Examples of continuity issues to watch:
  154. - eye color, age, names, rank, titles
  155. - timeline or sequence errors
  156. - ability or system inconsistencies
  157. - emotional or relational contradictions
  158. - setting details that conflict with world notes
  159.  
  160.  
  161.  
  162. ---
  163.  
  164. ## Restoration workflow
  165.  
  166. If asked to restore an older version:
  167. 1. locate the requested archived file
  168. 2. do not overwrite it
  169. 3. create a new active version in the main folder using the next available version number
  170. 4. base that new active file on the archived content
  171. 5. log the restoration in `logs/CHANGELOG.md`
  172.  
  173. Example:
  174. - restore `chapters/archive/chapter01_part01_v2.md`
  175. - new active file becomes `chapters/chapter01_part01_v5.md`
  176.  
  177. ---
  178.  
  179. ## Safe defaults
  180.  
  181. Unless explicitly instructed otherwise:
  182. - prefer additive and conservative edits
  183. - do not reorganize the repository
  184. - do not invent missing plot facts as if they are canon
  185. - do not merge files automatically
  186. - do not delete files
  187. - do not alter archive contents
  188. - do not update multiple unrelated files in one pass unless requested
  189.  
  190. ---
  191.  
  192. ## Output expectations
  193.  
  194. After completing a writing task, provide a short summary that includes:
  195. - which file was read
  196. - which file was archived
  197. - which new file was created
  198. - what changed in the prose or notes
  199. - any continuity concerns worth attention
  200.  
  201. Keep summaries concise and practical.
Advertisement
Add Comment
Please, Sign In to add comment