System

Runtime Settings

Changes take effect immediately and persist across restarts.

Configuration

⚙ Parameters Agent
{
  "metabolism": {
    "heartbeat_ms": 1000,
    "min_llm_interval_ms": 2000,
    "daily_call_quota": 1000,
    "concurrency": 1,
    "cue_timeout_seconds": 600,
    "auto_rebuild_web": false,
    "cluster_scan_interval_ticks": 30,
    "horizontal_scan_interval_ticks": 20,
    "link_lint_interval_ticks": 100,
    "permanent_brain_check_interval_ticks": 10,
    "context_scan_interval_ticks": 15,
    "reach_scan_interval_ticks": 15,
    "auto_rebuild_vault": false,
    "similarity_matrix_interval_ticks": 3600
  }
}
⚙ Parameters System
{
  "tags": {
    "count": 4,
    "question": "Generate approximately {n} concise tags (1-2 words, lowercase, hyphenate multi-word) that best describe this entity for search and grouping. Cover: organizational domain, functional role or type, key relationships or dependencies, and notable characteristics. Avoid generic terms. Return ONLY a JSON object: {\"tags\": [list of strings]}",
    "max_extension": 0,
    "extension_question": "Given existing tags {existing_tags}, generate up to {n} additional tags that capture new aspects now visible from this entity's relationships, backlinks, and synthesized impression. Return ONLY a JSON object: {\"tags\": [list of new lowercase tag strings not already in the existing list]}",
    "horizontal_threshold": 3,
    "detail_description_question": "In one concise sentence, describe what entities tagged '{tag}' individually share in common in this knowledge base \u2014 focus on their shared traits, roles, or characteristics as distinct entities. Return ONLY a JSON object: {\"description\": \"string\"}",
    "comparative_description_question": "In 2-3 sentences, describe what emerges when entities tagged '{tag}' are compared together \u2014 patterns, tensions, archetypes, or dynamics that only become visible across the group. Return ONLY a JSON object: {\"description\": \"string\"}"
  },
  "entity_lifecycle": {
    "initial_status": "initial",
    "active_status": "active",
    "tombstone_status": "inactive"
  },
  "horizontal": {
    "min_entities_per_tag": 5,
    "max_entities_per_call": 10
  },
  "metabolism": {
    "min_history_for_impression": 57,
    "max_recursion_depth": 1,
    "defer_entity_formation": true
  },
  "ingest": {
    "min_observation_chars": 60,
    "observation_sentences": "3-6"
  },
  "embeddings": {
    "auto_merge_threshold": 0.995,
    "review_threshold": 0.82,
    "doc_dedup_threshold": 0.95,
    "min_obs_for_merge": 3
  },
  "emanations": {
    "synthesis_threshold": 5,
    "context_threshold": 5,
    "reach_threshold": 5,
    "prototype_min_entities": 5,
    "prototype_max_entities_per_call": 10,
    "prototype_cooldown_days": 7
  },
  "llm_governance": {
    "primary_provider": "Claude",
    "failover_providers": [
      "Claude"
    ],
    "providers": {
      "Gemini": {
        "access": "cli",
        "command_template": [
          "/home/cary/.nvm/versions/node/v20.20.2/bin/gemini",
          "-o",
          "json",
          "-m",
          "{model}"
        ],
        "models": [
          "gemini-3-flash-preview",
          "gemini-2.5-pro",
          "gemini-2.5-flash"
        ],
        "timeout_sec": 300,
        "capabilities": {
          "web_search": true
        },
        "error_patterns": {
          "quota": "QUOTA_EXHAUSTED|exhausted your capacity",
          "busy": "503|service unavailable|too busy"
        }
      },
      "Claude": {
        "access": "cli",
        "command_template": [
          "claude",
          "--model",
          "{model}",
          "--output-format",
          "json",
          "-p"
        ],
        "models": [
          "claude-haiku-4-5"
        ],
        "timeout_sec": 420,
        "error_patterns": {
          "quota": "rate limit reached|quota exceeded",
          "busy": "overloaded|capacity"
        }
      }
    }
  }
}
⚙ Template Link
{
  "_doc": "Entity/synapse extraction schema used as inline instructions in the ingest prompt. Placeholders resolved at runtime by ingest.py: {observation_sentences} from parameters_system.json ingest.observation_sentences; {entity_categories} from structure.md categories. The _doc key is never serialized into prompts \u2014 callers read _lf['entities'] and _lf['synapses'] directly.",
  "entities": [
    {
      "entity": "Full canonical name (the unique identifier). Include entities who contribute substantive content \u2014 a stated position, an argument, a decision, a proposal, or an action with real-world consequence. Omit entities whose only presence is incidental or logistical: mentioned in passing, present without contributing, or participating only in routine process steps with no discernible position or outcome.",
      "category": "One of: {entity_categories}.",
      "hierarchy": "The category name, optionally followed by a sub_folder defined for that category in the knowledge base context (e.g. 'Person/board', 'Organization/schools', or just 'Person'). Never invent paths outside this pattern.",
      "observations": [
        {
          "note": "{observation_sentences} substantive sentences capturing one specific moment, stance, decision, or action this entity took. Each entry covers a single distinct involvement \u2014 do not merge unrelated events into one observation. Never write a single-line tag or label. Never describe incidental or logistical presence \u2014 only write what the entity actually said, argued, decided, proposed, or did that reveals their position or had a real consequence.",
          "epistemic_status": "One of: decided | reported | claimed | proposed | alleged. Choose the level that best reflects how this specific observation is established \u2014 e.g. 'decided' for a formal vote or resolution, 'reported' for facts stated in official records, 'claimed' for a speaker's attributed statement, 'proposed' for an agenda item or draft, 'alleged' for an unverified accusation."
        }
      ]
    }
  ],
  "synapses": [
    {
      "participants": [
        {
          "entity_ref": "Must exactly match an 'entity' name above.",
          "role": "This participant's specific role in this synapse (e.g. 'Inquirer', 'Respondent', 'Presenter', 'Mover', 'Seconder', 'Objector', 'Approver')."
        },
        {
          "entity_ref": "Must exactly match an 'entity' name above. Add more participant objects for group interactions \u2014 there is no upper limit on participants per synapse.",
          "role": "This participant's specific role in this synapse."
        }
      ],
      "relationship": "Precise nature of the link (e.g. 'Contractual Oversight', 'Motion and Vote', 'Request and Denial', 'Endorsement').",
      "observation": "2-4 sentences. Capture the specific content, stakes, or outcome of the exchange \u2014 not merely that it occurred. Never write 'They discussed X' without stating what position each party held or what was decided or left unresolved.",
      "epistemic_status": "One of: decided | reported | claimed | proposed | alleged. Reflects the epistemic standing of this specific exchange \u2014 e.g. 'decided' for a formal vote, 'proposed' for a motion not yet voted on, 'claimed' for an attributed statement."
    }
  ]
}
⚙ Template Standard
{
  "_doc": "Baseline output schema for document synthesis. Used by execute_imprint_template.py as the starting point when generating a new doc-type schema. Fields are instruction strings \u2014 the LLM reads them as directives, not literal output values. {doc_type} in _context is resolved at runtime by ingest.py before embedding.",
  "_context": "This is a {doc_type}. Keep this document type in mind throughout \u2014 shape the depth, emphasis, and examples in every field to what is meaningful and observable for this specific type of organizational document.",
  "strategic_narrative": "4-6 sentences. The dominant storyline of this document: what was at stake, what was decided or contested, and the overall institutional direction or mood. Write as an analyst synthesising meaning \u2014 not as a reporter recounting events.",
  "analytical_lenses": {
    "equilibrium_and_tension": "2-3 sentences. What competing forces, interests, or positions are in play? Who or what is pulling in opposite directions, and what holds them in uneasy balance? Name the parties and the axis of tension explicitly.",
    "constraints_and_failures": "2-3 sentences. What limitations \u2014 resource, political, procedural, or informational \u2014 are visibly constraining action? Where did processes, people, or plans fall short, stall, or break down?",
    "novelty_and_deviations": "2-3 sentences. What is new, unexpected, or out of pattern relative to what would be normal for this document type or institution? Flag anything that breaks prior assumptions, signals a shift in direction, or appears for the first time.",
    "frontier_and_uncertainties": "2-3 sentences. What remains genuinely unresolved, deferred, or unknown after this document? What open decisions or pending outcomes could materially shape what comes next?"
  },
  "systemic_health_signals": [
    {
      "indicator": "Short label (3-8 words) naming the signal, e.g. 'Stakeholder Engagement', 'Budget Transparency', 'Board Cohesion', 'Staff Retention'.",
      "polarity": "Positive|Negative|Neutral",
      "observation": "1-2 sentences explaining why this signal has the stated polarity, with specific evidence from this document."
    }
  ],
  "systemic_fragility_indicators": [
    {
      "category": "Short domain label, e.g. 'Governance', 'Staffing', 'Finance', 'Compliance', 'Communication', 'Succession'.",
      "severity": "Low|Medium|High|Critical",
      "observation": "2-3 sentences: what the fragility is, what evidence in this document points to it, and what could deteriorate or break if it goes unaddressed."
    }
  ],
  "key_actions": [
    {
      "action": "Concrete decision, motion, or directive resolved in this document. Write as a past-tense action statement: 'Approved budget amendment of $X for Y', 'Directed superintendent to submit revised plan by [date]'.",
      "epistemic_status": "decided | proposed \u2014 use 'decided' for formally voted or signed items, 'proposed' for motions introduced but not yet voted on or items flagged for future action."
    }
  ],
  "critical_issues": [
    {
      "issue": "Unresolved problem, open risk, or contested matter requiring follow-up. Write as a present-tense issue statement: 'No timeline established for...', 'Conflict unresolved between X and Y regarding...', 'Funding source for Z remains unidentified'.",
      "epistemic_status": "reported | claimed | alleged \u2014 use 'reported' for officially documented concerns, 'claimed' for issues raised by a speaker, 'alleged' for unverified accusations."
    }
  ]
}

System Log View full log →

📋 Recent entries
[2026-05-01 15:56:08] [INFO   ] [similarity_matrix] no prototype entities with embeddings — skipping
[2026-05-01 15:56:08] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 15:56:08] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 15:56:08] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 15:57:49] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 15:57:49] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 15:57:49] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 15:59:30] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 15:59:30] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 15:59:30] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 16:01:11] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 16:01:11] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 16:01:11] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 16:02:52] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 16:02:52] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 16:02:52] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 16:04:33] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 16:04:33] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 16:04:33] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 16:06:13] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 16:06:13] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 16:06:13] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 16:07:54] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 16:07:54] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 16:07:54] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 16:09:33] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 16:09:33] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 16:09:33] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 16:11:13] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 16:11:13] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 16:11:13] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 16:12:53] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 16:12:53] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 16:12:53] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 16:14:33] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 16:14:33] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 16:14:33] [INFO   ] [link_lint] Total links that would be added: 0
[2026-05-01 16:16:12] [INFO   ] [link_entities] report entity written: Query: Entity Link Scan 2026-04-29
[2026-05-01 16:16:12] [INFO   ] [link_lint] Entities that would be modified: 0
[2026-05-01 16:16:12] [INFO   ] [link_lint] Total links that would be added: 0

View →
🔍Esc to close

💬 Ask the knowledge base

Recent Sessions