{"tab":"ai","section":"generateFactionDetails","title":"Faction Details","summary":"Generates faction details — hidden agendas, operating methods, and the gap between stated purpose and actual practice. Use custom to shape how `factions` are portrayed beneath their public face.","kind":"schema","uiLocation":"AI Tasks → Faction Details","uiSubtitle":"\"Faction Details Instructions\"","editor":"Graphical form (labeled textareas)","related":[{"section":"factions","note":"the faction records this task operates on"}],"wikiUrl":"/ai/generateFactionDetails","schema":null,"sizeLimits":[{"id":"aiInstructionIndividual","group":"AI Instructions Limits","label":"Each string leaf under a task (`aiInstructions.<task>.<key>`)","measure":"rawChars","enforced":5000,"display":5000,"sections":["ai/aiInstructions","ai/generateStory","ai/generateInitialStart","ai/generateCharacterBackground","ai/generateNPCDetails","ai/generateNPCUpdates","ai/generateLocationDetails","ai/generateRegionDetails","ai/generateFactionDetails","ai/generateEncounters","ai/generateItemGenerationAndUsage","ai/generateActionInfo","ai/generateNPCIntents","ai/generateNewNPC","ai/generateLearnedAbilities"]},{"id":"aiInstructionPerTask","group":"AI Instructions Limits","label":"Per task (`aiInstructions.<task>` total, sum of instruction chars)","measure":"rawChars","enforced":20000,"display":20000,"sections":["ai/aiInstructions","ai/generateStory","ai/generateInitialStart","ai/generateCharacterBackground","ai/generateNPCDetails","ai/generateNPCUpdates","ai/generateLocationDetails","ai/generateRegionDetails","ai/generateFactionDetails","ai/generateEncounters","ai/generateItemGenerationAndUsage","ai/generateActionInfo","ai/generateNPCIntents","ai/generateNewNPC","ai/generateLearnedAbilities"]}],"blocks":[{"type":"example","lang":"json","code":"{\n  \"aiInstructions\": {\n    \"generateFactionDetails\": {\n      \"custom\": \"## Presentation\\nDistinguish public face from operating reality. A faction's stated purpose and its actual methods are rarely identical. Member NPCs embody faction values through behavior and priorities — not explicit declarations of loyalty.\"\n    }\n  }\n}"},{"type":"prose","md":"## Fields\n\n### custom\n\nThe only key — free-form rules for how factions read beneath their public face."},{"type":"prose","md":"## Authoring pattern\n\nCover in `custom`:\n\n- Public face vs. operating reality per faction — the stated purpose and the actual methods are rarely the same.\n- How member NPCs reflect faction values: through behavior and priorities, not by making loyalty statements."}],"body":"## Example\n\n```json\n{\n  \"aiInstructions\": {\n    \"generateFactionDetails\": {\n      \"custom\": \"## Presentation\\nDistinguish public face from operating reality. A faction's stated purpose and its actual methods are rarely identical. Member NPCs embody faction values through behavior and priorities — not explicit declarations of loyalty.\"\n    }\n  }\n}\n```\n\n## Fields\n\n### custom\n\nThe only key — free-form rules for how factions read beneath their public face.\n\n## Authoring pattern\n\nCover in `custom`:\n\n- Public face vs. operating reality per faction — the stated purpose and the actual methods are rarely the same.\n- How member NPCs reflect faction values: through behavior and priorities, not by making loyalty statements."}