chore: remove legacy deployment files and update gitignore
Some checks failed
Security Scanning / security-scan (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled

- Removed .deployment_progress tracking file
- Removed .last_backup tracking file
- Removed AITBC1_TEST_COMMANDS.md and AITBC1_UPDATED_COMMANDS.md documentation
- Updated .gitignore for project reorganization (project-config/, docs/, security/, backup-config/)
- Enhanced .gitignore patterns for __pycache__, backups, and monitoring files
- Aligned gitignore with new directory structure from project reorganization
This commit is contained in:
aitbc
2026-04-02 23:17:34 +02:00
parent 7035f09a8c
commit 346f2d340d
19 changed files with 61 additions and 2992 deletions

View File

@@ -9,18 +9,18 @@ echo "=== Updating File References ==="
# Update requirements.txt references
echo "Updating requirements.txt references..."
find /opt/aitbc/scripts -name "*.sh" -type f -exec sed -i 's|/opt/aitbc/requirements\.txt|/opt/aitbc/project-config/requirements.txt|g' {} \;
find /opt/aitbc/scripts -name "*.py" -type f -exec sed -i 's|/opt/aitbc/requirements\.txt|/opt/aitbc/project-config/requirements.txt|g' {} \;
find /opt/aitbc/scripts -name "*.sh" -type f -exec sed -i 's|/opt/aitbc/requirements\.txt|/opt/aitbc/requirements.txt|g' {} \;
find /opt/aitbc/scripts -name "*.py" -type f -exec sed -i 's|/opt/aitbc/requirements\.txt|/opt/aitbc/requirements.txt|g' {} \;
# Update pyproject.toml references (excluding project-config directory)
echo "Updating pyproject.toml references..."
find /opt/aitbc/scripts -name "*.sh" -type f -exec sed -i 's|/opt/aitbc/pyproject\.toml|/opt/aitbc/project-config/pyproject.toml|g' {} \;
find /opt/aitbc/scripts -name "*.py" -type f -exec sed -i 's|/opt/aitbc/pyproject\.toml|/opt/aitbc/project-config/pyproject.toml|g' {} \;
find /opt/aitbc/scripts -name "*.sh" -type f -exec sed -i 's|/opt/aitbc/pyproject\.toml|/opt/aitbc/pyproject.toml|g' {} \;
find /opt/aitbc/scripts -name "*.py" -type f -exec sed -i 's|/opt/aitbc/pyproject\.toml|/opt/aitbc/pyproject.toml|g' {} \;
# Update README.md references
echo "Updating README.md references..."
find /opt/aitbc/scripts -name "*.sh" -type f -exec sed -i 's|/opt/aitbc/README\.md|/opt/aitbc/documentation/README.md|g' {} \;
find /opt/aitbc/scripts -name "*.py" -type f -exec sed -i 's|/opt/aitbc/README\.md|/opt/aitbc/documentation/README.md|g' {} \;
find /opt/aitbc/scripts -name "*.sh" -type f -exec sed -i 's|/opt/aitbc/README\.md|/opt/aitbc/docs/README.md|g' {} \;
find /opt/aitbc/scripts -name "*.py" -type f -exec sed -i 's|/opt/aitbc/README\.md|/opt/aitbc/docs/README.md|g' {} \;
# Update .gitignore references
echo "Updating .gitignore references..."

View File

@@ -1,7 +1,7 @@
#!/bin/bash
#
# AITBC Nightly Health Check
# Runs master planning cleanup and reports documentation/planning cleanliness.
# Runs master planning cleanup and reports docs/planning cleanliness.
#
set -e
@@ -30,7 +30,7 @@ else
log_warn "Master workflow script not found or not executable: $MASTER_WORKFLOW"
fi
log_info "Collecting documentation/planning stats..."
log_info "Collecting docs/planning stats..."
planning_files=$(find "$PLANNING_DIR" -name "*.md" | wc -l)
completed_files=$(find "$DOCS_DIR/completed" -name "*.md" | wc -l)
archive_files=$(find "$DOCS_DIR/archive" -name "*.md" | wc -l)

View File

@@ -144,8 +144,8 @@ setup_venvs() {
log "Installing all dependencies from central requirements.txt..."
# Install main requirements (contains all service dependencies)
if [ -f "/opt/aitbc/project-config/requirements.txt" ]; then
pip install -r /opt/aitbc/project-config/requirements.txt
if [ -f "/opt/aitbc/requirements.txt" ]; then
pip install -r /opt/aitbc/requirements.txt
else
error "Main requirements.txt not found"
fi