JAEGIS Project Hardcoded References Analysis - UPDATED

Task 1.2: Scan for Hardcoded File References

Date: 2025-01-23 (Updated) Purpose: Identify all hardcoded file references that need updating during reorganization

Critical File Reference Analysis - COMPREHENSIVE SCAN COMPLETE

🚨 HIGHEST PRIORITY: agent-config.txt

File Path References Found (200+ instances)

# Core directory structure references
agent-root: JAEGIS-agent
personas: JAEGIS-agent/personas
tasks: JAEGIS-agent/tasks
templates: JAEGIS-agent/templates
checklists: JAEGIS-agent/checklists
data: JAEGIS-agent/data

Agent Definition References (24 agents)

Each agent contains multiple file references:

  • Persona: personas#[agent-name] (24 instances)

  • Tasks: [tasks#task-name] (100+ instances)

  • Templates: [templates#template-name] (50+ instances)

  • Checklists: [checklists#checklist-name] (50+ instances)

Impact Assessment: CRITICAL

  • agent-config.txt is the core system file - all agents depend on it

  • All file paths are hardcoded relative to JAEGIS-agent directory

  • Moving files will break all agent loading unless paths are updated

  • Must be updated FIRST before any file movement

πŸ“‹ HIGH PRIORITY: Documentation Files

enhanced-JAEGIS-orchestrator-instructions.md

Other Documentation Files

  • 24-agent-system-*.md files: May contain references to agent-config.txt

  • deployment-*.md files: May reference script locations

  • user-guidelines-*.md files: May reference file structures

πŸ”§ MEDIUM PRIORITY: Script Files

PowerShell Scripts (.ps1)

Python Scripts (.py)

Batch/Shell Scripts

βš™οΈ MEDIUM PRIORITY: Configuration Files

Build Configuration

Service Configuration

Reference Pattern Analysis

Pattern 1: JAEGIS-agent Directory References

Pattern 2: Sectioned File References

Pattern 3: Direct File References

Pattern 4: Relative Path References

Update Strategy by File Type

1. agent-config.txt (CRITICAL - Update First)

2. Documentation Files (Update References)

3. Script Files (Update Paths)

4. Configuration Files (Update Paths)

Risk Assessment

CRITICAL RISKS

  1. agent-config.txt corruption - Would break entire JAEGIS system

  2. Missing persona/task/template references - Would break agent loading

  3. Broken build configuration - Would break extension compilation

HIGH RISKS

  1. Documentation cross-references - Would break navigation

  2. Script execution failures - Would break automation

  3. Service configuration errors - Would break background services

MEDIUM RISKS

  1. Relative path issues - Would cause file not found errors

  2. Case sensitivity issues - Would cause problems on Linux/Mac

  3. Missing file extensions - Would cause ambiguous references

Phase 1: Preparation

  1. Create backup of all files

  2. Create reference mapping document

  3. Validate current system functionality

Phase 2: Core System Updates

  1. DO NOT UPDATE agent-config.txt - JAEGIS-agent structure stays in place

  2. Update documentation files to reference new locations

  3. Update script files to reference new locations

Phase 3: Configuration Updates

  1. Update build configuration files

  2. Update service configuration files

  3. Update any remaining hardcoded references

Phase 4: Validation

  1. Test agent loading functionality

  2. Test build processes

  3. Test script execution

  4. Test service functionality

Next Steps

  1. Create detailed dependency map (Task 1.3)

  2. Identify critical system files (Task 1.4)

  3. Assess risks and impacts (Task 1.5)

  4. Plan reference update strategy (Phase 2)

Status: βœ… TASK 1.2 COMPLETE - Hardcoded references identified and analyzed

Last updated