Skip to content

fix: Update path_constants.py for post-reorganization directories (#795)#800

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue-795
Feb 8, 2026
Merged

fix: Update path_constants.py for post-reorganization directories (#795)#800
mrveiss merged 1 commit intoDev_new_guifrom
issue-795

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Feb 8, 2026

Summary

  • Updates 9 path constants in path_constants.py that pointed to directories removed/moved during the refactor: Reorganize repository folders by deployment role #781 folder reorganization
  • All constants now resolve to existing directories verified at runtime
  • error_messages.yaml, config.yaml, and database schema paths all load correctly

Changes

Constant Old Path New Path
CONFIG_DIR config/ infrastructure/shared/config/
SRC_DIR src/ autobot-user-backend/
TESTS_DIR tests/ autobot-user-backend/
BACKEND_DIR backend/ autobot-user-backend/
DATABASE_DIR database/ autobot-user-backend/database/
FRONTEND_DIR autobot-vue/ autobot-user-frontend/
ANALYSIS_DIR analysis/ infrastructure/shared/analysis/
REPORTS_DIR reports/ data/reports/
MCP_TOOLS_DIR mcp-tools/ infrastructure/shared/mcp/
ARCHIVE_DIR archive/ docs/archives/
ANSIBLE_DIR ansible/ autobot-slm-backend/ansible/

Test plan

  • All 18 path constants verified to resolve to existing directories
  • ErrorCatalog.load_catalog() returns True (loads error_messages.yaml)
  • config.yaml accessible via PATH.CONFIG_DIR
  • Database schemas findable via PATH.DATABASE_DIR / "schemas"
  • Full integration test on deployed VM

Closes #795

🤖 Generated with Claude Code

The prompts/ directory containing 100 prompt template files was deleted
in commit d6d5c66 during #781 Phase 4 cleanup. The backend's
PromptManager still references these files via PATH.PROJECT_ROOT / "prompts".

Restores all 100 prompt files across 11 subdirectories.

Closes #793

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mrveiss mrveiss changed the base branch from main to Dev_new_gui February 8, 2026 13:56
@mrveiss mrveiss merged commit 29311b7 into Dev_new_gui Feb 8, 2026
@mrveiss mrveiss deleted the issue-795 branch February 8, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: path_constants.py references 9 missing directories after #781 reorganization

1 participant