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/dataAgent 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
agent-config.txt corruption - Would break entire JAEGIS system
Missing persona/task/template references - Would break agent loading
Broken build configuration - Would break extension compilation
HIGH RISKS
Documentation cross-references - Would break navigation
Script execution failures - Would break automation
Service configuration errors - Would break background services
MEDIUM RISKS
Relative path issues - Would cause file not found errors
Case sensitivity issues - Would cause problems on Linux/Mac
Missing file extensions - Would cause ambiguous references
Recommended Update Sequence
Phase 1: Preparation
Create backup of all files
Create reference mapping document
Validate current system functionality
Phase 2: Core System Updates
DO NOT UPDATE agent-config.txt - JAEGIS-agent structure stays in place
Update documentation files to reference new locations
Update script files to reference new locations
Phase 3: Configuration Updates
Update build configuration files
Update service configuration files
Update any remaining hardcoded references
Phase 4: Validation
Test agent loading functionality
Test build processes
Test script execution
Test service functionality
Next Steps
Create detailed dependency map (Task 1.3)
Identify critical system files (Task 1.4)
Assess risks and impacts (Task 1.5)
Plan reference update strategy (Phase 2)
Status: β TASK 1.2 COMPLETE - Hardcoded references identified and analyzed
Last updated