Instructions:Config

From Encyclopedia Ephemera
Revision as of 14:15, 9 April 2026 by EphemeraAdmin (talk | contribs) (1 revision imported: 260409 Test)
Instruction Metadata
id config
type reference
applies_to mixed
task_type
priority critical
status active
canonical true
include_by_default yes
requires
tags config,context,system


Summary

Runtime configuration page for the EphemeraAgent context assembly pipeline.

Scope

Read by context.php at the start of every context-aware agent call. This page is a special case: it contains a machine-readable JSON block used directly by the PHP backend.

Notes

  • Do not remove the <nowiki> block.
  • Changes take effect on the next agent call.
  • If the JSON is invalid, PHP falls back to built-in defaults.
{
  "max_tokens": 20000,
  "max_depth": 2,
  "fully_resolve": false,
  "max_related_pages": 5,
  "max_sources": 5,
  "hop_depth": 1,
  "include_talk": true,
  "talk_sections": [
    "Reliability Assessment",
    "Bias Analysis",
    "Editorial Notes"
  ],
  "instruction_prefix": "Instructions",
  "source_prefix": "Sources",
  "world_bible_page": "Instructions:World Bible",
  "config_page": "Instructions:Config",
  "core_instructions": [
    "Instructions:Core/Canon Policy",
    "Instructions:Core/Continuity Rules"
  ],
  "source_subtypes": [
    "Interview",
    "Corporate Advertisement",
    "Government Resolution",
    "Government Report",
    "News Article",
    "Personal Log",
    "Official Statement",
    "Academic Paper",
    "Propaganda Broadcast",
    "Legal Document"
  ],
  "task_types": {
  },
  "use_wikipedia": false,
  "max_wikipedia_lookups": 3
}