jcode icon indicating copy to clipboard operation
jcode copied to clipboard

Feature Request: Native Identity & Belief Base Loading at Session Startup

Open lumenfield opened this issue 3 months ago • 0 comments

Feature Request: Native Identity & Belief Base Loading

Summary

Add native support for loading agent identity files and belief bases at session startup, eliminating the need for manual reading or hook-based workarounds.

Problem Statement

Currently, jcode starts sessions with an empty system prompt. Agents must manually:

  1. Read identity files (e.g., identity/mingjing.md)
  2. Read belief bases (e.g., belief_state.json)
  3. Call awareness injection tools

This creates friction:

  • New sessions lack contextual awareness
  • Agents waste tokens on repetitive file reading
  • No guarantee identity is loaded before first response
  • Each agent must implement their own loading logic

Proposed Solution

Add configuration options to automatically load identity and belief data.

Current Workaround

Using hooks to create injection files that agents must manually read.


Submitted by: STOS Project jcode version: v0.80.1

lumenfield avatar Aug 27 '26 00:08 lumenfield