{
  "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.",
  "uiLocation": "AI Tasks → Faction Details",
  "uiSubtitle": "\"Faction Details Instructions\"",
  "editor": "Graphical form (labeled textareas)",
  "sizeLimits": [
    {
      "field": "Each string leaf under a task (`aiInstructions.<task>.<key>`)",
      "limit": "5,000 chars",
      "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"
      ]
    },
    {
      "field": "Per task (`aiInstructions.<task>` total, sum of instruction chars)",
      "limit": "20,000 chars",
      "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"
      ]
    }
  ],
  "related": "factions - the faction records this task operates on",
  "wikiUrl": "/ai/generateFactionDetails",
  "schema": null,
  "body": "## Schema\r\n\r\n```json\r\n{\r\n  \"aiInstructions\": {\r\n    \"generateFactionDetails\": {\r\n      \"custom\": \"string\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n\r\n## Example\r\n\r\n```json\r\n{\r\n  \"aiInstructions\": {\r\n    \"generateFactionDetails\": {\r\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.\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n\r\n## Fields\r\n\r\n### custom\r\n\r\nThe only key — free-form rules for how factions read beneath their public face.\r\n\r\n## Authoring pattern\r\n\r\nCover in `custom`:\r\n\r\n- Public face vs. operating reality per faction — the stated purpose and the actual methods are rarely the same.\r\n- How member NPCs reflect faction values: through behavior and priorities, not by making loyalty statements."
}