titan-agent 5.6.5 → 5.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,7 @@ import { shouldDeliberate, analyze, generatePlan, executePlan, handleApproval, g
18
18
  import { initGraph, addEpisode, getGraphContext } from "../memory/graph.js";
19
19
  import { isAvailable as isBrainAvailable, selectTools as brainSelectTools, ensureLoaded as ensureBrainLoaded } from "./brain.js";
20
20
  import { DEFAULT_CORE_TOOLS } from "./toolSearch.js";
21
+ import { maybeBuildIdentityFactSheet } from "./identityIntercept.js";
21
22
  import { classifyPipeline, resolvePipelineConfig } from "./pipeline.js";
22
23
  import { buildSelfAwarenessContext } from "./selfAwareness.js";
23
24
  import { assembleSystemPrompt } from "./systemPromptParts.js";
@@ -953,6 +954,10 @@ ${voiceMemCtx}
953
954
  if (overrides?.systemPrompt) systemPrompt = overrides.systemPrompt + "\n\n" + systemPrompt;
954
955
  if (preRoutedContext) systemPrompt += preRoutedContext;
955
956
  }
957
+ const identityFactSheet = maybeBuildIdentityFactSheet(message);
958
+ if (identityFactSheet) {
959
+ systemPrompt += "\n\n" + identityFactSheet;
960
+ }
956
961
  let taskEnforcementActive = false;
957
962
  if (voiceFastPath) {
958
963
  } else if (pipelineTaskEnforcement) {